/* ============================================
   智行车宝 — 科技公司·国际化视觉
   Dark Theme | Cyber-Tech | Global Design
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    /* Core Colors */
    --bg-primary: #080B12;
    --bg-secondary: #0D1117;
    --bg-card: #131820;
    --bg-card-hover: #181E28;
    --border: #1E2636;
    --border-light: #263040;

    /* Brand */
    --accent: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --accent-light: #60A5FA;
    --accent-dark: #2563EB;

    /* Secondary Colors */
    --cyan: #06B6D4;
    --cyan-glow: rgba(6, 182, 212, 0.3);
    --purple: #8B5CF6;
    --purple-glow: rgba(139, 92, 246, 0.3);
    --emerald: #10B981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --amber: #F59E0B;
    --rose: #F43F5E;

    /* Text */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0F172A;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --glow-blue: 0 0 30px var(--accent-glow);
    --glow-cyan: 0 0 30px var(--cyan-glow);

    /* Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition: 0.35s var(--ease-out);

    /* Typography */
    --font-display: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-display);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========== Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 11, 18, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(30, 38, 54, 0.6);
    transition: all 0.4s var(--ease-out);
}

.header.scrolled {
    background: rgba(8, 11, 18, 0.92);
    border-bottom-color: rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    position: relative;
}

.logo-icon {
    transition: filter 0.3s ease;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

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

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.08);
}

.nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: border-color 0.35s ease;
}

.nav a:hover::before {
    border-color: rgba(59, 130, 246, 0.25);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Large ambient glow orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb.o1 {
    width: 700px;
    height: 700px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-orb.o2 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    bottom: -150px;
    left: -100px;
    animation-delay: -3s;
}

.hero-orb.o3 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    top: 40%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Accent lines */
.hero-accent-lines {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background:
        linear-gradient(45deg, transparent 40%, var(--accent) 40%, var(--accent) 41%, transparent 41%),
        linear-gradient(-45deg, transparent 60%, var(--cyan) 60%, var(--cyan) 61%, transparent 61%);
    background-size: 120px 120px;
    animation: lineShift 20s linear infinite;
}

@keyframes lineShift {
    0% { background-position: 0 0; }
    100% { background-position: 120px 120px; }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--accent-light); }
    50% { opacity: 0.5; box-shadow: 0 0 12px var(--accent-light); }
}

.hero-text h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--cyan) 40%, var(--purple) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Hero Image - Floating Device */
.hero-image {
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-frame {
    position: relative;
    width: 320px;
    background: linear-gradient(135deg, #1A1F2E, #0F131C);
    border-radius: 28px;
    padding: 3px;
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.12),
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: deviceFloat 6s ease-in-out infinite;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

@keyframes deviceFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(0.5deg); }
    75% { transform: translateY(8px) rotate(-0.5deg); }
}

.device-screen {
    background: linear-gradient(180deg, #111827 0%, #0D1321 100%);
    border-radius: 26px;
    padding: 28px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Scan lines effect */
.device-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(59, 130, 246, 0.02) 2px,
        rgba(59, 130, 246, 0.02) 4px
    );
    border-radius: 26px;
    pointer-events: none;
}

.device-notch {
    width: 60px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.qr-code-display {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.qr-code-display::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: scanBorder 2s ease-in-out infinite;
}

@keyframes scanBorder {
    0%, 100% { border-color: rgba(59, 130, 246, 0.2); }
    50% { border-color: rgba(59, 130, 246, 0.5); }
}

.qr-code-display img {
    border-radius: 8px;
}

.qr-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.qr-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--emerald);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
}

.qr-info-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s ease-in-out infinite;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: inherit;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #4F46E5);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light), var(--purple));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ========== Section Common ========== */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-tag-accent {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== Features Section ========== */
.features {
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.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-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    background: var(--bg-card-hover);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(59, 130, 246, 0.06);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.feature-card:hover .feature-icon::after {
    border-color: currentColor;
}

/* Icon colors with glow */
.icon-blue { background: rgba(59, 130, 246, 0.12); color: var(--accent-light); }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: var(--cyan); }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--purple); }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: var(--emerald); }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.icon-rose { background: rgba(244, 63, 94, 0.12); color: var(--rose); }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========== Products Section ========== */
.products {
    background: var(--bg-primary);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(59, 130, 246, 0.08);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.badge-hot {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-new {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.product-img {
    background: linear-gradient(180deg, #111827, #0D1321);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.product-info {
    padding: 22px 24px 24px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.product-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

/* ========== How It Works ========== */
.how-it-works {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Flow line background */
.how-it-works::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    pointer-events: none;
    z-index: 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.step-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 18px;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
}

.step-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    border: 2px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step:hover .step-icon {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
    transform: scale(1.08);
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 62px;
    color: var(--border-light);
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.step:hover + .step-connector {
    color: var(--accent);
}

/* ========== Testimonials ========== */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.06);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.avatar-female {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.avatar-corp {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== FAQ ========== */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.4s ease;
}

.faq-item:hover {
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.35s var(--ease-out);
    color: var(--text-muted);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-light);
}

.faq-item.active .faq-question {
    color: var(--accent-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out), padding 0.45s var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 220px;
    padding-bottom: 22px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========== CTA Section ========== */
.cta {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 44px;
    gap: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-light);
    border: 1px solid rgba(59, 130, 246, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ========== Toast ========== */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.01em;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ========== Particle Canvas ========== */
#particleCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 56px;
    }

    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-image {
        flex: 0 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 620px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(8, 11, 18, 0.96);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease-out);
        z-index: 999;
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav a {
        padding: 14px 20px;
        border-radius: var(--radius);
        font-size: 15px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 26px;
    }

    .hero-image {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works::after {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .device-frame {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}
