/* ========================================
   X-Card Brand Site - Main Stylesheet
   Theme: Dark Tech + Premium Finance
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-card-hover: #222839;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #0569FF;
    --accent-light: #3b82f6;
    --accent-glow: rgba(5, 105, 255, 0.25);
    --gradient-main: linear-gradient(135deg, #0569FF, #7c3aed);
    --gradient-card: linear-gradient(135deg, rgba(5, 105, 255, 0.1), rgba(124, 58, 237, 0.1));
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(5, 105, 255, 0.15);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== Section Shared ===== */
.section {
    padding: 72px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(5, 105, 255, 0.12);
    border: 1px solid rgba(5, 105, 255, 0.25);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f1f5f9, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(5, 105, 255, 0.08);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(5, 105, 255, 0.08), transparent),
        radial-gradient(ellipse 500px 500px at 80% 30%, rgba(124, 58, 237, 0.06), transparent),
        radial-gradient(ellipse 300px 300px at 50% 80%, rgba(5, 105, 255, 0.05), transparent);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 800px 600px at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 800px 600px at 50% 50%, black, transparent);
    z-index: 0;
}

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

.hero-content { padding: 40px 0; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(5, 105, 255, 0.1);
    border: 1px solid rgba(5, 105, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title { margin-bottom: 20px; }

.title-line {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
}

.title-line.accent {
    background: linear-gradient(135deg, #3b82f6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.hero-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item { display: flex; flex-direction: column; }

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f1f5f9, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ===== Hero Visual / Card Mockup ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-phone-mockup {
    position: relative;
    width: 320px;
    height: 520px;
}

.card-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 280px;
    perspective: 1000px;
}

.card-front {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #1a1f2e, #0f1729);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.card-front::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5,105,255,0.1), transparent);
    transform: rotate(15deg);
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #d4a843, #f5d68a);
    border-radius: 4px;
    margin-bottom: 20px;
}

.card-brand { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.15rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.card-holder {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.card-expiry { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.card-network {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    color: rgba(255,255,255,0.15);
    letter-spacing: 1px;
}

.phone-frame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 360px;
    background: #1a1f2e;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.1);
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f1729;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-balance { text-align: center; margin-bottom: 20px; }

.balance-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }

.balance-amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f1f5f9, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.phone-currency {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.phone-currency span {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    color: var(--text-muted);
}

.phone-actions { display: flex; justify-content: center; gap: 20px; }

.phone-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.action-icon {
    width: 40px;
    height: 40px;
    background: rgba(5,105,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.phone-action span:last-child { font-size: 0.75rem; color: var(--text-muted); }

/* ===== Scroll indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-arrow { font-size: 1.2rem; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Supported By ===== */
.supported-by {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
}

.supported-label { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.supported-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.supported-logo {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(5, 105, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.bg-purple { background: rgba(124, 58, 237, 0.15); }
.bg-blue { background: rgba(5, 105, 255, 0.15); }
.bg-green { background: rgba(16, 185, 129, 0.15); }
.bg-gold { background: rgba(245, 158, 11, 0.15); }
.bg-cyan { background: rgba(6, 182, 212, 0.15); }
.bg-pink { background: rgba(236, 72, 153, 0.15); }

.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== Scenarios / Tabs ===== */
.scenarios-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
}

.scenario-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.scenario-tab:hover { border-color: rgba(5, 105, 255, 0.3); color: var(--text-primary); }
.scenario-tab.active {
    background: rgba(5, 105, 255, 0.15);
    border-color: var(--accent);
    color: var(--accent-light);
}

.scenario-panel { display: none; animation: fadeIn 0.4s ease; }
.scenario-panel.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.scenario-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.scenario-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.scenario-content > p { color: var(--text-secondary); margin-bottom: 24px; }

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-item {
    padding: 10px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.platform-item:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(5, 105, 255, 0.08);
}

.scenario-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.scenario-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 8px 0;
}

/* ===== How It Works / Steps ===== */
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(124, 58, 237, 0.3));
    margin-top: 28px;
    flex-shrink: 0;
}

/* ===== Products ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 产品区最新文章卡片 */
.product-news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
.product-news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(5,105,255,0.3);
    box-shadow: var(--shadow-glow);
}
.product-news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.product-news-header .news-icon {
    font-size: 1.4rem;
}
.product-news-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.product-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.product-news-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.product-news-list li:last-child {
    border-bottom: none;
}
.product-news-list a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s;
}
.product-news-list a:hover {
    color: var(--accent-light);
}
.product-news-list .news-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-news-list .news-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.product-news-list .news-tag {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(5,105,255,0.1);
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--accent-light);
    margin-right: 6px;
}
.product-news-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.product-news-footer a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.product-news-footer a:hover {
    gap: 8px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-card.featured {
    border-color: rgba(5, 105, 255, 0.3);
    background: linear-gradient(135deg, rgba(5,105,255,0.05), rgba(124,58,237,0.05));
}

.product-card.premium {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245,158,11,0.03), rgba(234,179,8,0.08));
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(5,105,255,0.15);
    border: 1px solid rgba(5,105,255,0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
}

.product-badge.premium-badge {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.product-header { text-align: center; padding: 16px 0; margin-bottom: 20px; }
.product-icon { font-size: 2.4rem; margin-bottom: 12px; }
.product-header h3 { font-size: 1.3rem; font-weight: 700; }
.product-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.product-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.product-features li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== Why Section ===== */
.why-section {
    background: var(--bg-secondary);
    padding: 64px 0;
}

.why-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.why-left h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 16px 0 16px;
    background: linear-gradient(135deg, #f1f5f9, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-left > p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1.05rem; }

.why-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.why-list li { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }
.why-list li strong { color: var(--text-primary); }

.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
}

.why-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent-light); margin-bottom: 6px; }
.why-stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(5, 105, 255, 0.2); }
.faq-item.active { border-color: rgba(5, 105, 255, 0.3); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    gap: 16px;
}

.faq-arrow { font-size: 0.9rem; color: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}
.faq-answer p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { padding: 56px 0; }

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(5,105,255,0.08), rgba(124,58,237,0.08));
    border: 1px solid rgba(5,105,255,0.15);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
}

.cta-box h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.cta-box p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social { display: flex; gap: 12px; }

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}
.social-link:hover { border-color: var(--accent); background: rgba(5,105,255,0.1); }

.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-links a { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--accent-glow);
    z-index: 999;
    transition: all 0.3s;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-2px); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 0; }
    .hero-subtitle { margin: 0 auto 24px; }
    .hero-tags, .hero-actions, .hero-stats { justify-content: center; }
    .title-line { font-size: 2.6rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-news-card { grid-column: 1 / -1; }
    .why-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .section-title { font-size: 1.6rem; }
    .section-header { margin-bottom: 28px; }
    .container { padding: 0 16px; }

    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu .nav-link { font-size: 1rem; padding: 8px 0; }
    .nav-btn { display: none; }
    .mobile-only { display: block; }

    .title-line { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-tags { gap: 6px; }
    .hero-tag { font-size: 0.78rem; padding: 4px 10px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 20px; justify-content: space-around; width: 100%; }
    .stat-num { font-size: 1.1rem; }

    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 20px 16px; }
    .feature-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 14px; }
    .feature-card h3 { font-size: 1rem; }
    .feature-card p { font-size: 0.85rem; }

    .scenarios-tabs { gap: 6px; margin-bottom: 24px; }
    .scenario-tab { padding: 8px 14px; font-size: 0.8rem; }
    .scenario-content { padding: 20px; }
    .scenario-content h3 { font-size: 1.2rem; }
    .platform-grid { gap: 8px; }
    .platform-item { padding: 8px 14px; font-size: 0.82rem; }
    .scenario-list li { font-size: 0.88rem; }

    .products-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-card { padding: 20px 16px; }
    .product-news-card { padding: 20px 16px; }
    .product-news-list .news-title { font-size: 0.8rem; }
    .product-header { margin-bottom: 14px; }
    .product-icon { font-size: 2rem; }
    .product-features { gap: 8px; }
    .product-features li { font-size: 0.85rem; }

    .steps { flex-direction: column; gap: 16px; }
    .step { padding: 0; }
    .step-num { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 12px; }
    .step-content h3 { font-size: 1rem; }
    .step-content p { font-size: 0.82rem; }
    .step-connector { width: 2px; height: 24px; margin: 0 auto; }

    .why-wrapper { grid-template-columns: 1fr; gap: 24px; }
    .why-left h2 { font-size: 1.5rem; }
    .why-stats-grid { gap: 12px; }
    .why-stat { padding: 20px 16px; }
    .why-stat-num { font-size: 1.3rem; }

    .faq-list { gap: 8px; }
    .faq-question { font-size: 0.85rem; padding: 14px 16px; }
    .faq-answer { padding: 0 16px; }
    .faq-item.active .faq-answer { padding: 0 16px 16px; }
    .faq-answer p { font-size: 0.82rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .cta-box { padding: 32px 20px; }
    .cta-box h2 { font-size: 1.4rem; }
    .cta-box p { font-size: 0.9rem; margin-bottom: 20px; }
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; }

    .card-phone-mockup { transform: scale(0.7); }
}

@media (max-width: 480px) {
    .section { padding: 40px 0; }
    .title-line { font-size: 1.5rem; }
    .section-title { font-size: 1.35rem; }
    .hero-title { margin-bottom: 14px; }
    .hero-stats { flex-wrap: wrap; gap: 12px; }
    .stat-item { flex: 1; min-width: 60px; }
    .card-phone-mockup { transform: scale(0.55); }
    .hero-visual { min-height: 300px; }
    .platform-item { font-size: 0.78rem; padding: 6px 10px; }
}
