/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, 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);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页英雄区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-tag i {
    color: #fbbf24;
}

.cta-button {
    display: inline-block;
    background: #fbbf24;
    color: #1f2937;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.cta-button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 400px;
}

.login-section h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.login-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.login-option {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
    flex: 1;
    max-width: 200px;
}

.login-option:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.login-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid #fbbf24;
}

.login-icon i {
    font-size: 1.8rem;
    color: #fbbf24;
}

.login-option h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.login-option p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fbbf24;
    color: #1f2937;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.login-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    color: #1f2937;
}

.qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.qr-code:hover {
    transform: scale(1.05);
    border-color: #fbbf24;
}

.qr-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

/* 产品介绍区域 */
.products {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 3rem;
    font-weight: bold;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-header i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.product-header h3 {
    font-size: 2rem;
    color: #1f2937;
    font-weight: bold;
}

 .product-content {
     display: grid;
     grid-template-columns: 1fr 2fr;
     gap: 3rem;
     grid-template-areas: 
         "features pricing"
         "comparison comparison";
 }

 .product-features {
     grid-area: features;
 }
 
 .product-pricing {
     grid-area: pricing;
 }
 
 .product-features h4,
 .product-pricing h4 {
     font-size: 1.5rem;
     color: #1f2937;
     margin-bottom: 1.5rem;
     font-weight: bold;
 }

.product-features ul {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.product-features i {
    color: #10b981;
    margin-right: 1rem;
    font-size: 1.1rem;
}

 .pricing-note-inline {
     font-size: 0.9rem;
     color: #6b7280;
     font-weight: normal;
     font-style: italic;
 }
 
 .pricing-table {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1.5rem;
 }

.pricing-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-item.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
    border-color: #2563eb;
}

.pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-item.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-item h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.pricing-item.featured .price {
    color: #fbbf24;
}

.original-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 1.5rem;
}

.pricing-item ul {
    list-style: none;
    text-align: left;
}

.pricing-item li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.pricing-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

 .pricing-item.featured li::before {
     color: #fbbf24;
 }
 
 /* 功能对比表 */
 .feature-comparison {
     grid-area: comparison;
     margin-top: 3rem;
 }
 
 .feature-comparison h4 {
     font-size: 1.5rem;
     color: #1f2937;
     margin-bottom: 1.5rem;
     font-weight: bold;
     text-align: center;
 }
 
 .comparison-table {
     overflow-x: auto;
     background: white;
     border-radius: 15px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }
 
 .comparison-table table {
     width: 100%;
     border-collapse: collapse;
     min-width: 800px;
 }
 
 .comparison-table th {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     color: white;
     padding: 1rem;
     text-align: center;
     font-weight: bold;
     font-size: 1.1rem;
 }
 
 .comparison-table th:first-child,
 .comparison-table th:nth-child(2) {
     text-align: left;
     background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
     color: white;
 }
 
 .comparison-table td {
     padding: 1rem;
     text-align: center;
     border-bottom: 1px solid #e5e7eb;
     font-size: 1rem;
 }
 
 .comparison-table td:first-child,
 .comparison-table td:nth-child(2) {
     text-align: left;
     font-weight: 500;
     background: #f8fafc;
 }
 
 .comparison-table td:nth-child(2) {
     font-size: 0.9rem;
     line-height: 1.4;
     max-width: 200px;
     color: #6b7280;
 }
 
 .comparison-table tr:hover {
     background: #f8fafc;
 }
 
 .comparison-table tr:hover td:first-child,
 .comparison-table tr:hover td:nth-child(2) {
     background: #e0e7ff;
 }
 
 .comparison-table i.fa-check {
     color: #10b981;
     font-size: 1.2rem;
 }
 
 .comparison-table i.fa-times {
     color: #ef4444;
     font-size: 1.2rem;
 }
 
 .comparison-table tr:nth-child(even) {
     background: #fafafa;
 }
 
 .comparison-table tr:nth-child(even):hover {
     background: #f0f9ff;
 }
 
 /* 层级结构样式 */
 .platform-header {
     background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
     color: white;
     font-weight: bold;
     font-size: 1.2rem;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
 }
 
 .platform-header td {
     padding: 1.5rem 1rem !important;
     text-align: center;
     background: transparent !important;
 }
 
 .module-header {
     background: #e0e7ff !important;
     font-weight: bold;
     color: #1e40af;
 }
 
 .module-header td {
     background: #e0e7ff !important;
     padding: 1.2rem 1rem !important;
 }
 
 .feature-item {
     background: #f8fafc;
 }
 
 .feature-item td:first-child {
     padding-left: 2rem !important;
     font-size: 0.95rem;
     color: #374151;
 }
 
 .feature-item:hover {
     background: #f0f9ff !important;
 }
 
 .feature-item:hover td:first-child {
     background: #f0f9ff !important;
 }

/* 客户案例区域 */
.cases {
    padding: 5rem 0;
    background: #f8fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.case-item:hover .case-icon {
    transform: scale(1.1);
}

.case-icon i {
    font-size: 2rem;
    color: white;
}

.case-item h4 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: bold;
}

.case-item p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.stat i {
    color: #2563eb;
}

/* 联系我们区域 */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e0e7ff;
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-item p {
    color: #6b7280;
}

.social-media {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
}

.social-media h4 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: bold;
}

.social-media > p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.qr-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.qr-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.qr-code {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-code i {
    font-size: 2rem;
    color: white;
}

.qr-item:hover .qr-code {
    transform: scale(1.1);
}

.qr-item h5 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.qr-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.beian-info {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.beian-item {
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
    text-decoration: none;
}

.beian-item:hover {
    color: #e5e7eb;
}

.beian-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.35rem;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
         .hamburger {
         display: flex;
     }
     
     .nav-logo h2 {
         font-size: 1.2rem;
     }
     
     .logo-image {
         width: 35px;
         height: 35px;
     }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

         .hero-container {
         grid-template-columns: 1fr;
         text-align: center;
         gap: 2rem;
     }
     
     .login-section {
         min-width: auto;
         padding: 2rem 1rem;
     }
     
     .login-options {
         flex-direction: column;
         gap: 1.5rem;
     }
     
     .login-option {
         min-width: auto;
     }

    .hero-content h1 {
        font-size: 2rem;
    }

         .product-content {
         grid-template-columns: 1fr;
         gap: 2rem;
         grid-template-areas: 
             "features"
             "pricing"
             "comparison";
     }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qr-codes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

         .section-title {
         font-size: 2rem;
     }
     
     .comparison-table {
         margin: 0 -15px;
         border-radius: 0;
     }
     
     .comparison-table table {
         min-width: 600px;
         font-size: 0.8rem;
     }
     
     .comparison-table th,
     .comparison-table td {
         padding: 0.5rem 0.3rem;
     }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 2rem 1rem;
    }

    .pricing-item {
        padding: 1.5rem;
    }
    
    .comparison-table table {
        min-width: 500px;
        font-size: 0.75rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.4rem 0.2rem;
    }
    
    .comparison-table td:nth-child(2) {
        max-width: 120px;
        font-size: 0.7rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.product-card,
.contact-content {
    animation: fadeInUp 0.8s ease-out;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}
