/* 玄晶引擎XgenCore Works V2 - 蓝紫渐变风格 */

:root {
    --primary: #0066FF;
    --secondary: #7B4DFF;
    --gradient: linear-gradient(135deg, #0066FF 0%, #7B4DFF 100%);
    --gradient-reverse: linear-gradient(135deg, #7B4DFF 0%, #0066FF 100%);
    --bg-light: #F0F5FF;
    --bg-white: #FFFFFF;
    --text-dark: #0B1A33;
    --text-gray: #6B7280;
    --success: #00C48C;
    --warning: #FF9500;
    --border: rgba(0, 102, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 102, 255, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 102, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        
        .logo img {
            height: 40px;
            width: auto;
        }
        
        .logo-text {
            font-size: 20px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 102, 255, 0.08);
}

.btn-primary {
    color: white;
    background: var(--gradient);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.45);
}

.btn-white {
    color: var(--primary);
    background: white;
    font-weight: 600;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/indexbanner.jpeg') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 26, 51, 0.85) 0%, rgba(11, 26, 51, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 14px;
    color: white;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: white;
    max-width: 800px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* 通用Section */
.section {
    padding: 100px 40px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 卡片网格 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 特色卡片 */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 图文卡片 */
.content-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-card.reverse {
    direction: rtl;
}

.content-card.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-body h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-body p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-list {
    list-style: none;
    margin-top: 24px;
}

.content-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list .check {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.content-list .check svg {
    width: 14px;
    height: 14px;
    color: white;
}

/* 数据展示 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.data-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.data-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.data-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.data-label {
    font-size: 14px;
    color: var(--text-gray);
}

/* 流程步骤 */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: var(--gradient);
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-desc {
    font-size: 14px;
    color: var(--text-gray);
    max-width: 160px;
    margin: 0 auto;
}

/* 对比卡片 */
.compare-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.compare-card.traditional {
    border-color: #E5E7EB;
}

.compare-card.opc {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(123, 77, 255, 0.03) 100%);
}

.compare-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-card.traditional h3 {
    color: var(--text-gray);
}

.compare-card.opc h3 {
    color: var(--primary);
}

.compare-list {
    list-style: none;
}

.compare-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-list .icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compare-list .icon.close {
    background: #FEE2E2;
}

.compare-list .icon.close svg {
    color: #EF4444;
}

.compare-list .icon.check {
    background: #D1FAE5;
}

.compare-list .icon.check svg {
    color: var(--success);
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 40px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* 页面横幅 */
.page-banner {
    padding-top: 72px;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--text-dark);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(123, 77, 255, 0.15) 0%, transparent 50%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

.page-banner-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.page-banner-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.7;
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

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

/* 联系卡片 */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-info {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA区域 */
.cta-section {
    background: var(--gradient);
    padding: 100px 40px;
    text-align: center;
}

.cta-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* 响应式 */
@media (max-width: 1024px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .content-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-card.reverse {
        direction: ltr;
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
}
