/* ========================================
   全局样式与变量
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-light: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-white: #ffffff;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #edf2f7;
    --bg-dark: #1a1a2e;
    
    --border: #e2e8f0;
    --border-light: rgba(255,255,255,0.1);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(102,126,234,0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   公告栏
   ======================================== */
.announcement-bar {
    background: var(--gradient);
    color: var(--text-white);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

.announcement-text {
    font-weight: 500;
}

/* ========================================
   头部导航
   ======================================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   主横幅
   ======================================== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: var(--bg-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    opacity: 0.08;
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-light);
    border: 1px solid rgba(102,126,234,0.2);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 20px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: var(--text-white);
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary-lg.light {
    background: var(--text-white);
    color: var(--primary);
}

.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.btn-secondary-lg:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 手机模型 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 3px rgba(255,255,255,0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a202c;
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: 50px 16px 16px;
}

.app-header {
    background: rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card {
    background: rgba(255,255,255,0.15);
    height: 80px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* 浮动卡片 */
.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
}

.card-emoji {
    font-size: 24px;
}

.card-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   信任指标
   ======================================== */
.trust-bar {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ========================================
   通用section样式
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--text-white);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-light);
    border: 1px solid rgba(102,126,234,0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header.light .section-badge {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--text-white);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-desc {
    color: rgba(255,255,255,0.8);
}

/* ========================================
   产品展示
   ======================================== */
.products {
    padding: 100px 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient);
    color: var(--text-white);
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.card-flag {
    font-size: 48px;
    text-align: center;
    padding: 30px 0 20px;
    background: var(--gradient-light);
}

.card-content {
    padding: 24px 28px 28px;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-content h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.price-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.card-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.card-benefits li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.card-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.btn-card {
    display: block;
    text-align: center;
    background: var(--gradient);
    color: var(--text-white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   为什么选择我们
   ======================================== */
.why-us {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon-wrap {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card h4 {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   购买流程
   ======================================== */
.process {
    padding: 100px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process .container {
    position: relative;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.process-step {
    flex: 1;
    max-width: 300px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.2);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    opacity: 0.3;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step h4 {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.7;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    margin-top: 80px;
}

.process-cta {
    text-align: center;
}

/* ========================================
   常见问题
   ======================================== */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-item h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   底部CTA
   ======================================== */
.bottom-cta {
    padding: 80px 0;
    background: var(--bg-dark);
    text-align: center;
}

.bottom-cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
}

.bottom-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.btn-cta-lg {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient);
    color: var(--text-white);
    padding: 20px 40px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.btn-cta-lg:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(102,126,234,0.4);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #0f0f1a;
    color: var(--text-white);
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 50px 0 70px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-items {
        gap: 30px;
    }
    
    .trust-divider {
        display: none;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .products-grid,
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bottom-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .btn-primary-lg,
    .btn-secondary-lg {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .trust-number {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 40px;
    }
    
    .process-step {
        padding: 30px 24px;
    }
    
    .btn-cta-lg {
        padding: 16px 32px;
        font-size: 16px;
    }
}
