/* ============================================================
   迅达酷客 - 首页样式 v2.0（全新设计）
   配套 main.css 「云脉 Indigo」设计系统
   ============================================================ */

/* ---------- 通用小节标题点缀 ---------- */
.section-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: #fff;
    padding: 88px 0 96px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 560px 400px at 8% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
        radial-gradient(ellipse 640px 480px at 95% 100%, rgba(167, 139, 250, 0.25), transparent 62%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}
.hero-tag i { color: #fde68a; }

.hero-text h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.hero-highlight {
    background: linear-gradient(90deg, #a5b4fc, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 16px;
    line-height: 1.75;
    opacity: 0.88;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.btn-ghost-white {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}
.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    transform: translateY(-1px);
}

.hero-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
    opacity: 0.85;
}
.hero-trust i { margin-right: 6px; color: #6ee7b7; }

/* Hero 右侧浏览器示意图 */
.hero-visual { position: relative; }
.browser-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(19, 17, 41, 0.35);
    overflow: hidden;
    transform: rotate(1.5deg);
    transition: transform var(--transition-slow);
}
.hero-visual:hover .browser-card { transform: rotate(0deg); }
.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-light);
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.browser-url {
    flex: 1;
    margin-left: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.browser-url i { color: var(--success); font-size: 11px; }
.browser-body { padding: 36px 32px 32px; text-align: center; }
.cert-shield {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}
.cert-lines { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 20px; }
.cert-lines .line {
    height: 9px;
    border-radius: var(--radius-full);
    background: var(--bg-muted);
}
.line.w-80 { width: 80%; }
.line.w-60 { width: 60%; }
.line.w-70 { width: 70%; }
.cert-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: var(--success-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-full);
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: chipFloat 4s ease-in-out infinite;
}
.float-chip i { color: var(--primary); }
.chip-1 { top: 8%; left: -28px; animation-delay: 0s; }
.chip-2 { top: 42%; right: -24px; animation-delay: 1.2s; }
.chip-3 { bottom: 6%; left: -14px; animation-delay: 2.2s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ---------- 品牌墙 ---------- */
.brand-wall {
    background: var(--bg-card);
    padding: 36px 0;
    border-bottom: 1px solid var(--border-light);
}
.brand-wall-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 8px 16px;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    filter: grayscale(0.5);
    opacity: 0.85;
}
.brand-logo-item:hover {
    filter: none;
    opacity: 1;
    border-color: var(--primary-200);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.brand-logo-item img {
    /* 统一高度：各厂商 logo 宽高比不同，高度一致视觉才整齐 */
    height: 22px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

/* ---------- 数据统计 ---------- */
.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-page);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}
.stat-item {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 16px;
    transition: all var(--transition);
}
.stat-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.stat-item h3 {
    font-size: 34px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.counter-wrapper { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-item p { color: var(--text-secondary); font-size: 14px; }

/* ---------- 核心优势 ---------- */
.features { padding: var(--space-3xl) 0; background: var(--bg-card); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.feature-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    transition: all var(--transition-slow);
}
.feature-card:hover {
    background: var(--bg-card);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.28);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- 热销产品 ---------- */
.products { padding: var(--space-3xl) 0; background: var(--bg-page); }
.products .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.products .product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 30px 28px;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
}
.products .product-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}
.products .product-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.16);
}
.product-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
}
.products .product-header h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; padding-right: 52px; }
.products .product-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.products .product-period { font-size: 13px; color: var(--text-tertiary); font-weight: 400; margin-left: 4px; }
.products .product-features { margin-bottom: 24px; flex-grow: 1; }
.products .product-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.products .product-features i { color: var(--success); font-size: 12px; flex-shrink: 0; }
.product-button { width: 100%; }
.products-more { text-align: center; margin-top: var(--space-2xl); }

/* ---------- 申请流程 ---------- */
.process-section { padding: var(--space-3xl) 0; background: var(--bg-card); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-100), var(--primary-200), var(--primary-100));
    z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.process-step:hover .step-number {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}
.step-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--text-secondary); }

/* ---------- 客户评价 ---------- */
.testimonials { padding: var(--space-3xl) 0; background: var(--bg-page); }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-stars { color: #fbbf24; font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
    flex-grow: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.author-info h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.author-info p { font-size: 12px; color: var(--text-tertiary); }

/* ---------- 新闻与帮助 ---------- */
.news-help { padding: var(--space-3xl) 0; background: var(--bg-card); }
.news-section { margin-bottom: var(--space-2xl); }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}
.section-header h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.section-header h3 i { color: var(--primary); margin-right: 8px; }
.view-all { font-size: 13px; color: var(--primary); font-weight: 500; }
.view-all:hover { text-decoration: underline; }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: all var(--transition);
}
.news-item:hover { border-color: var(--primary-200); background: var(--primary-50); }
.news-date {
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 5px 10px;
}
.news-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.news-excerpt { font-size: 12px; color: var(--text-tertiary); margin-top: 3px; }
.help-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.help-section {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
}
.help-list { display: flex; flex-direction: column; gap: 4px; }
.help-title {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.help-title:hover { color: var(--primary); background: var(--primary-50); padding-left: 14px; }

/* ---------- 兼容性 ---------- */
.compatibility { padding: var(--space-3xl) 0; background: var(--bg-page); }
.security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}
.compat-badge {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px 30px;
    transition: all var(--transition);
    min-width: 110px;
}
.compat-badge:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.compat-badge .badge-icon {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 10px;
}
.compat-badge p { font-size: 13px; font-weight: 600; color: var(--text-secondary); }

/* ---------- FAQ 手风琴 ---------- */
.faq-section { padding: var(--space-3xl) 0; background: var(--bg-card); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-200); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}
.faq-question i {
    color: var(--text-tertiary);
    font-size: 13px;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
    padding: 0 22px;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 22px 20px;
}
.faq-answer p { font-size: 13px; color: var(--text-secondary); line-height: 1.75; }

/* ---------- 底部 CTA ---------- */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: var(--gradient-hero);
    color: #fff;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 620px 320px at 50% -30%, rgba(255, 255, 255, 0.14), transparent 62%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-inner p { font-size: 16px; opacity: 0.88; margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .hero-text h1 { font-size: 36px; }
    .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
    .chip-1 { left: -6px; }
    .chip-2 { right: -6px; }
    .chip-3 { left: 2px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .products .products-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
    .process-steps::before { display: none; }
    .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .help-groups { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { padding: 56px 0 64px; }
    .hero-text h1 { font-size: 29px; }
    .hero-sub { font-size: 14px; }
    .float-chip { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .brand-logo-item { height: 40px; padding: 6px 12px; }
    .brand-logo-item img { height: 18px; max-width: 92px; }
    .cta-inner h2 { font-size: 24px; }
}
