:root { --primary: #0a5c73; --secondary: #0e7490; --accent: #0e7490; --bg-light: #faf6ef; --bg-white: #FFFFFF; --text-dark: #2d2d2d; --text-gray: #0a5c73; --text-light: #f59e0b; --shadow-sm: 0 2px 8px rgba(139, 94, 60, 0.08); --shadow-md: 0 4px 20px rgba(139, 94, 60, 0.12); --shadow-lg: 0 8px 40px rgba(139, 94, 60, 0.16); --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);}

html { scroll-behavior: smooth; font-size: 16px;}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text-dark); background: var(--bg-light); line-height: 1.7; overflow-x: hidden;}

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

.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 251, 245, 0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: var(--shadow-sm); transition: var(--transition);}

.header.scrolled { background: rgba(255, 251, 245, 0.98);}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px;}

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; color: var(--primary);}

.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem;}

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

.nav-link { color: var(--text-gray); font-weight: 500; position: relative; padding: 8px 0;}

.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition);}

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

.nav-link:hover { color: var(--primary);}

.header-cta { background: var(--primary); color: white; padding: 10px 24px; border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition);}

.header-cta:hover { background: var(--accent); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md);}

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px;}

.mobile-toggle span { width: 24px; height: 2px; background: var(--primary); transition: var(--transition);}

.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; background: linear-gradient(135deg, var(--bg-light) 0%, #f0f7fa 50%, var(--bg-light) 100%); position: relative; overflow: hidden;}

.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%); border-radius: 50%; animation: float 20s ease-in-out infinite;}

.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 70%); border-radius: 50%; animation: float 15s ease-in-out infinite reverse;}

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1;}

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(139, 92, 60, 0.1); color: var(--primary); padding: 8px 16px; border-radius: 50px; font-size: 0.875rem; font-weight: 500; margin-bottom: 20px;}

.hero-badge::before { content: '📚';}

.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; color: var(--text-dark);}

.hero-title span { color: var(--primary); position: relative;}

.hero-title span::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 8px; background: rgba(139, 92, 60, 0.2); z-index: -1;}

.hero-subtitle { font-size: 1.25rem; color: var(--text-gray); margin-bottom: 16px; font-weight: 400; }
.hero-desc { font-size: 1.125rem; color: var(--text-gray); margin-bottom: 32px; max-width: 520px;}

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

.btn-primary { background: var(--primary); color: white; padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;}

.btn-primary:hover { background: var(--accent); color: white; transform: translateY(-2px); box-shadow: var(--shadow-lg);}

.btn-secondary { background: white; color: var(--primary); padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; border: 2px solid var(--primary); cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;}

.btn-secondary:hover { background: var(--primary); color: white; transform: translateY(-2px);}

.hero-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(139, 94, 60, 0.15);}

.hero-stat { text-align: center;}

.hero-stat-value { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1;}

.hero-stat-note { font-size: 0.7rem; color: #999; margin-top: 4px; }
.hero-stat-label { font-size: 0.875rem; color: var(--text-light); margin-top: 8px;}

.hero-visual { position: relative;}

.hero-phone-mock { background: linear-gradient(145deg, #1a1a1a, #333); border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg), 0 50px 100px rgba(0,0,0,0.2); max-width: 320px; margin: 0 auto; transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: var(--transition);}

.hero-phone-mock:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg);}

.hero-phone-screen { background: var(--bg-light); border-radius: 30px; overflow: hidden; aspect-ratio: 9/19;}

.hero-phone-header { background: var(--primary); color: white; padding: 20px; text-align: center;}

.hero-phone-header h4 { font-size: 0.9rem; margin-bottom: 4px;}

.hero-phone-header p { font-size: 0.7rem; opacity: 0.8;}

.hero-phone-body { padding: 16px;}

.hero-phone-qr { width: 120px; height: 120px; background: white; margin: 0 auto 16px; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);}

.hero-phone-result { background: linear-gradient(135deg, #0e7490, #059669); color: white; padding: 12px; border-radius: 8px; text-align: center; font-size: 0.85rem;}

.hero-phone-result .icon { font-size: 1.2rem; margin-bottom: 4px;}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease;}

.reveal.visible { opacity: 1; transform: translateY(0);}

.hero-desc { margin: 0 auto 32px;}

.hero-actions { justify-content: center;}

.hero-stats { justify-content: center;}

.hero-visual { max-width: 400px; margin: 40px auto 0;}

.mobile-toggle { display: flex;}

.hero { padding: 100px 0 60px;}

.hero-title { font-size: 2.25rem;}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 251, 245, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(139, 94, 60, 0.15);
    z-index: 999;
    flex-direction: column;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(139, 94, 60, 0.1);
    transition: all 0.2s;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: var(--primary);
    background: rgba(139, 94, 60, 0.05);
}

/* ===== Tablet: 768px - 1024px ===== */
@media screen and (max-width: 1024px) {
    .container { padding: 0 16px; }
    
    .hero-inner { gap: 40px; }
    .hero-title { font-size: 2.75rem; }
    .hero-desc { font-size: 1rem; }
    .hero-stat-value { font-size: 2.25rem; }
    .hero-stats { gap: 30px; }
    
    .section-title { font-size: 2rem; }
    .section-desc { font-size: 1rem; }
    
    .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .solution-item { padding: 24px; }
    .solution-flow { gap: 8px; }
    .flow-step { padding: 12px; min-width: 70px; }
    .flow-step-icon { font-size: 1.5rem; }
    .flow-step h4 { font-size: 0.75rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .feature-card { padding: 20px; }
    .feature-icon { font-size: 2rem; }
    
    .contact-grid { gap: 30px; }
    .contact-form { padding: 24px; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-title { color: #c8a951; font-weight: 600; margin-bottom: 16px; font-size: 1.05rem; }
    .footer-links a { color: #c8a951; text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
    .footer-links a:hover { color: #d4b85e; }
    .footer-desc { color: #c8a951; font-size: 0.9rem; line-height: 1.6; }
    .footer-copyright { color: #c8a951; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; margin-top: 30px; }
}

/* ===== Mobile: < 768px ===== */
@media screen and (max-width: 767px) {
    html { font-size: 15px; }
    
    .container { padding: 0 15px; }
    
    /* Header */
    .header { height: 60px; }
    .header-inner { height: 60px; }
    .logo { font-size: 1.1rem; }
    .logo-icon { width: 36px; height: 36px; font-size: 1rem; }
    .nav { display: none; }
    .header-cta { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-toggle span { height: 2px; }
    
    /* Hero */
    .hero { min-height: auto; padding: 90px 0 50px; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
    .hero-title { font-size: 1.85rem; line-height: 1.25; margin-bottom: 16px; }
    .hero-desc { font-size: 0.95rem; max-width: 100%; margin-bottom: 24px; }
    .hero-actions { justify-content: center; gap: 12px; }
    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.95rem; width: 100%; max-width: 280px; justify-content: center; }
    .hero-stats { justify-content: center; gap: 20px; padding-top: 24px; margin-top: 24px; }
    .hero-stat-value { font-size: 1.75rem; }
    .hero-stat-label { font-size: 0.8rem; }
    .hero-visual { max-width: 280px; margin: 0 auto; }
    .hero-phone-mock { max-width: 240px; transform: none; }
    
    /* Sections */
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-tag { font-size: 0.8rem; padding: 4px 12px; }
    .section-title { font-size: 1.65rem; line-height: 1.3; margin: 12px 0; }
    .section-desc { font-size: 0.9rem; }
    
    /* Pain Points */
    .pain-grid { grid-template-columns: 1fr; gap: 16px; }
    .pain-card { padding: 20px; }
    .pain-icon { font-size: 2rem; margin-bottom: 12px; }
    .pain-card h3 { font-size: 1.1rem; }
    .pain-card p { font-size: 0.9rem; }
    
    /* Solutions */
    .solution-item { padding: 20px; margin-bottom: 24px; }
    .solution-visual { margin-bottom: 20px; }
    .solution-flow { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .flow-step { min-width: 65px; padding: 10px; }
    .flow-step-icon { font-size: 1.4rem; }
    .flow-step h4 { font-size: 0.7rem; }
    .flow-arrow { display: none; }
    .solution-content h3 { font-size: 1.15rem; }
    .solution-content p { font-size: 0.9rem; }
    .solution-features { padding-left: 0; }
    .solution-features li { font-size: 0.9rem; padding-left: 20px; margin-bottom: 8px; }
    .solution-features li::before { left: 0; }
    
    /* Advantages */
    .advantage-grid { grid-template-columns: 1fr; gap: 16px; }
    .advantage-card { padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    .advantage-number { font-size: 1.5rem; width: auto; }
    .advantage-icon { font-size: 1.8rem; margin: 0; }
    .advantage-card h3 { font-size: 1.1rem; width: calc(100% - 80px); margin: 0; }
    .advantage-card p { width: 100%; font-size: 0.9rem; margin-top: 8px; }
    
    /* Cases */
    .case-grid { grid-template-columns: 1fr; gap: 16px; }
    .case-card { padding: 20px; }
    .case-image { font-size: 2.5rem; margin-bottom: 12px; }
    .case-tag { font-size: 0.75rem; padding: 3px 10px; }
    .case-card h3 { font-size: 1.1rem; }
    .case-card p { font-size: 0.9rem; }
    .case-metrics { flex-direction: row; gap: 16px; margin-top: 16px; }
    .case-metric { flex: 1; }
    .case-metric-value { font-size: 1.25rem; }
    .case-metric-label { font-size: 0.75rem; }
    
    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-value { font-size: 1.75rem; }
    .stat-label { font-size: 0.85rem; }
    .stat-note { font-size: 0.7rem; }
    
    /* Features */
    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 20px; }
    .feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
    .feature-card h3 { font-size: 1.1rem; }
    .feature-card p { font-size: 0.9rem; }
    
    /* FAQ */
    .faq-item { padding: 16px; }
    .faq-question { font-size: 0.95rem; padding-right: 30px; }
    .faq-question::after { font-size: 1.25rem; }
    .faq-answer { font-size: 0.9rem; padding-top: 12px; }
    
    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-info { padding: 24px; }
    .contact-info h2 { font-size: 1.5rem; }
    .contact-item { font-size: 0.9rem; }
    .contact-form { padding: 20px; }
    .form-group { margin-bottom: 16px; }
    .form-label { font-size: 0.9rem; }
    .form-input, .form-textarea, .form-select { padding: 12px; font-size: 0.95rem; }
    .form-textarea { min-height: 100px; }
    .form-submit { padding: 14px; font-size: 1rem; }
    
    /* CTA */
    .cta-section { padding: 60px 20px; }
    .cta-title { font-size: 1.5rem; }
    .cta-desc { font-size: 0.9rem; }
    .cta-buttons { flex-direction: column; gap: 12px; }
    .cta-btn { width: 100%; max-width: 280px; padding: 14px 24px; }
    
    /* Footer */
    .footer { padding: 40px 0 20px; background: linear-gradient(135deg, #0a4f5f 0%, #0a5c73 50%, #0e7490 100%); color: #c8a951; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-brand { max-width: 100%; }
    .footer-logo { justify-content: center; }
    .footer-desc { font-size: 0.85rem; }
    .footer-title { font-size: 1rem; margin-bottom: 16px; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { font-size: 0.85rem; }
    .footer-bottom { padding-top: 20px; margin-top: 20px; flex-direction: column; gap: 12px; text-align: center; }
    .footer-copyright { font-size: 0.8rem; }
    .footerICP { font-size: 0.8rem; }
    
    /* Process */
    .process-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-item { padding: 20px; }
    
    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card { padding: 24px; }
    .pricing-price { font-size: 2rem; }
    
    /* Table */
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table { min-width: 600px; font-size: 0.85rem; }
    .data-table th, .data-table td { padding: 10px 12px; }
    
    /* Touch targets */
    .btn-primary, .btn-secondary, .form-submit, .cta-btn {
        min-height: 48px;
        min-width: 44px;
    }
    
    a[href], button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove tap highlight */
    a, button {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Animations */
    .reveal { transform: translateY(20px); }
}

/* ===== Small Mobile: < 375px ===== */
@media screen and (max-width: 374px) {
    html { font-size: 14px; }
    
    .hero-title { font-size: 1.65rem; }
    .hero-stat-value { font-size: 1.5rem; }
    .hero-stat-label { font-size: 0.75rem; }
    .hero-stats { gap: 15px; }
    
    .section-title { font-size: 1.5rem; }
    .section-desc { font-size: 0.85rem; }
    
    .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 0.9rem; }
}

/* ===== Hover effects disabled on touch devices ===== */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::after { width: 0; }
    .nav-link:active::after { width: 100%; }
    
    .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
    
    .btn-primary:active, .btn-secondary:active {
        transform: translateY(1px);
    }
}

/* === 滚动渐入动画 === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes float3D {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-12px) rotateY(3deg); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.scroll-animate {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate.visible {
    opacity: 1;
}
.scroll-animate.fade-up.visible { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scroll-animate.fade-left.visible { animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scroll-animate.fade-right.visible { animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* === 波浪分隔线 === */
.wave-divider {
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
    margin: -1px 0;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* === 玻璃质感卡片 === */
.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(10,92,115,0.15);
    border-color: rgba(14,116,144,0.2);
}

/* === 渐变流光按钮 === */
.cta-shimmer {
    background: linear-gradient(135deg, #0a5c73, #0e7490, #0a5c73);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10,92,115,0.3);
}
.cta-shimmer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10,92,115,0.4);
}

/* === Hero 3D手机浮动 === */
.hero-phone-3d {
    animation: float3D 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(10,92,115,0.25));
}

/* === 统计数字动效 === */
.stat-number {
    background: linear-gradient(135deg, #0a5c73, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* === 区块装饰光斑 === */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* === 改进header滚动效果 === */
.header.scrolled {
    background: rgba(255,251,245,0.98) !important;
    box-shadow: 0 4px 30px rgba(10,92,115,0.1) !important;
    backdrop-filter: blur(20px) !important;
}

/* === 移动端优化 === */
@media (max-width: 768px) {
    .wave-divider { height: 40px; }
    .glass-card:hover { transform: none; }
    .hero-phone-3d { animation: float3D 8s ease-in-out infinite; }
}
