/**
 * DBH - Official Website Core Stylesheet
 * Apple / Linear Aesthetic Design System
 */

:root {
    /* Color Palette - Dark Obsidian Theme */
    --bg-base: #07090e;
    --bg-surface: #0e121a;
    --bg-surface-elevated: #151b26;
    --bg-glass: rgba(21, 27, 38, 0.7);
    --bg-glass-hover: rgba(30, 41, 59, 0.8);
    --bg-glass-card: rgba(255, 255, 255, 0.03);

    /* Accents & Brand Gradients */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --accent-cyan: #06b6d4;
    --accent-cyan-glow: rgba(6, 182, 212, 0.25);
    --accent-purple: #8b5cf6;
    --accent-orange: #f97316;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #07090e;

    /* Borders & Lines */
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(255, 255, 255, 0.22);
    --border-primary: rgba(99, 102, 241, 0.4);

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 50px -10px var(--primary-glow);
    --shadow-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.15);

    /* Layout & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --container-max: 1200px;
    --header-height: 76px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Override (Optional / Auto) */
[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-hover: rgba(241, 245, 249, 0.95);
    --bg-glass-card: rgba(0, 0, 0, 0.02);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --border-highlight: rgba(0, 0, 0, 0.18);
    --border-primary: rgba(79, 70, 229, 0.35);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 10px 40px -10px rgba(99, 102, 241, 0.2);
    --shadow-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Ambient Lighting */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-1 {
    position: absolute;
    top: -15%;
    left: 30%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: floatGlow 18s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    position: absolute;
    top: 40%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 70%);
    filter: blur(90px);
    border-radius: 50%;
    animation: floatGlow 22s ease-in-out infinite alternate-reverse;
}

.ambient-glow-3 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, rgba(244, 63, 94, 0.03) 50%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.08); }
    100% { transform: translate(-30px, 60px) scale(0.95); }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-primary {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-amber {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Card System */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), var(--shadow-inner-glow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-lg), var(--shadow-inner-glow);
}

/* Badges & Pills */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    margin-bottom: 20px;
}

.pill-badge.pulse .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #818cf8 0%, #4f46e5 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-medium);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.btn-apple {
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-apple:hover {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.brand-logo img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-logo .brand-text {
    background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo .pro-tag {
    font-size: 0.68rem;
    padding: 2px 7px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

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

.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-switch span {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.lang-switch span.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 90px;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 920px;
    margin: 0 auto 50px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.4rem);
    line-height: 1.12;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.hero-tags span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-tags svg {
    color: var(--accent-emerald);
}

/* Hero Interactive Mockup Showcase */
.hero-showcase {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    perspective: 1200px;
}

.mockup-wrapper {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 16px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px -10px var(--primary-glow);
    backdrop-filter: blur(20px);
}

.mockup-screen {
    background: #0d1017;
    border-radius: calc(var(--radius-xl) - 8px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 500px;
}

@media (max-width: 860px) {
    .mockup-screen {
        grid-template-columns: 1fr;
    }
}

/* Mockup Sidebar */
.mockup-sidebar {
    background: rgba(14, 18, 26, 0.95);
    border-right: 1px solid var(--border-subtle);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.mockup-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mockup-menu-item:hover, .mockup-menu-item.active {
    background: rgba(99, 102, 241, 0.12);
    color: var(--text-primary);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.mockup-menu-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
}

/* Mockup Main Viewport */
.mockup-viewport {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.mockup-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-header-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.mockup-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.78rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* Interactive Floating Cards inside Mockup */
.mockup-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.mockup-mini-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
}

.mockup-mini-card:hover {
    border-color: var(--border-highlight);
    background: rgba(255, 255, 255, 0.04);
}

.mini-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mini-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* TOTP Code Box Simulation */
.totp-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.totp-code {
    font-size: 1.35rem;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: var(--accent-cyan);
}

.totp-timer {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    border-top-color: transparent;
    animation: spinTimer 30s linear infinite;
}

@keyframes spinTimer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */
.trust-section {
    padding: 30px 0 70px;
}

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

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.trust-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-light);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 18px;
}

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

/* ==========================================================================
   Feature Deep-Dive Explorer
   ========================================================================== */
.deepdive-section {
    padding: 80px 0;
}

.deepdive-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.deepdive-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.deepdive-tab-btn:hover, .deepdive-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary-light);
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}

.deepdive-content-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
    .deepdive-content-card {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 32px;
    }
}

.deepdive-text-block h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.deepdive-text-block p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.feature-check-list svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.deepdive-visual-card {
    background: #090c13;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Security Architecture Section
   ========================================================================== */
.security-section {
    padding: 80px 0;
}

.security-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.security-comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-glass);
}

.security-comparison-table th, 
.security-comparison-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.94rem;
}

.security-comparison-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 600;
}

.security-comparison-table th.highlight-col,
.security-comparison-table td.highlight-col {
    background: rgba(99, 102, 241, 0.08);
    font-weight: 600;
    color: var(--text-primary);
}

.security-comparison-table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 920px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--primary-light);
    box-shadow: 0 0 50px -10px var(--primary-glow), var(--shadow-lg);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(21, 27, 38, 0.8) 100%);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.pricing-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    min-height: 42px;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-currency {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-highlight);
}

.faq-question {
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 26px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 26px 22px;
    max-height: 300px;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
    padding: 80px 0 100px;
}

.cta-banner-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(14, 18, 26, 0.95) 100%);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.cta-banner-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-banner-card p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 36px;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 40px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.88rem;
    max-width: 320px;
}

.footer-column h4 {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}
