/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-brand .tagline {
    font-size: 0.9rem;
    color: #666;
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/icons/wave.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* 服务板块 */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '•';
    color: #667eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #764ba2;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat h3 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-video {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #000;
}

.about-video-player {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    display: block;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '伯乐团队';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* 成功案例 */
.cases {
    padding: 100px 0;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: relative;
}

.case-image .image-placeholder {
    height: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.case-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.case-tags span {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item i,
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    fill: white;
}

.contact-item h4 {
    color: #2c5aa0;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p,
.footer-section li {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ecf0f1;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.social-icon-svg {
    fill: white;
    transition: fill 0.3s ease;
}

.social-icon:hover .social-icon-svg {
    fill: white;
}

.qr-popup {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 180px;
    text-align: center;
}

.qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.qr-popup img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-popup p {
    font-size: 12px;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.social-icon:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* 增强的二维码占位符 */
.qr-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 8px;
}

.qr-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
}

.qr-placeholder span {
    font-size: 14px;
    font-weight: 600;
}

/* 不同平台的背景色 */
.wechat-bg {
    background: linear-gradient(135deg, #07C160, #059142);
}

.weibo-bg {
    background: linear-gradient(135deg, #E6162D, #B51225);
}

.kuaishou-bg {
    background: linear-gradient(135deg, #FF5722, #E64A19);
}

.douyin-bg {
    background: linear-gradient(135deg, #000000, #434343);
}

.linkedin-bg {
    background: linear-gradient(135deg, #0077B5, #005885);
}

/* 悬停提示 */
.tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 不同平台的颜色主题 */
.social-icon[data-platform="wechat"] {
    --platform-color: #07C160;
}

.social-icon[data-platform="weibo"] {
    --platform-color: #E6162D;
}

.social-icon[data-platform="kuaishou"] {
    --platform-color: #FF5722;
}

.social-icon[data-platform="douyin"] {
    --platform-color: #000000;
}

.social-icon[data-platform="linkedin"] {
    --platform-color: #0077B5;
}

.social-icon[data-platform="wechat"] .qr-popup {
    border-top: 3px solid #07C160;
}

.social-icon[data-platform="weibo"] .qr-popup {
    border-top: 3px solid #E6162D;
}

.social-icon[data-platform="kuaishou"] .qr-popup {
    border-top: 3px solid #FF5722;
}

.social-icon[data-platform="douyin"] .qr-popup {
    border-top: 3px solid #000000;
}

.social-icon[data-platform="linkedin"] .qr-popup {
    border-top: 3px solid #0077B5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .qr-popup {
        width: 160px;
        padding: 12px;
    }
    
    .qr-popup img {
        width: 130px;
        height: 130px;
    }
    
    .qr-popup p {
        font-size: 11px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-section {
        padding: 80px 0 100px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 2rem;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0 auto;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-video {
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    .about-video-player {
        border-radius: 10px;
        height: auto;
        min-height: 250px;
    }
    
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 80px;
        min-height: 100vh;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.2rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 4vw, 1rem);
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}