/* ===================================================================
   AI Data Analyst Pro — Luxury & Ultra-Premium Stylesheet
   Executive Obsidian, Champagne Gold, Royal Violet, Glassmorphism
   =================================================================== */

/* ===== CSS CUSTOM PROPERTIES =====
   Cohesive Indigo/Cyan "AI & Data Intelligence" palette - one restrained accent family
   instead of gold + purple + cyan competing in the same gradients. Variable NAMES are
   kept identical to what the rest of this file and templates already reference, so this
   is a drop-in visual identity change with no risk to markup/structure. */
:root, [data-theme="dark"] {
    --bg-dark: #04060c;
    --bg-surface: #080d1a;
    --bg-card: rgba(12, 18, 34, 0.78);
    --bg-card-solid: #0d1424;
    --bg-card-hover: rgba(20, 29, 54, 0.9);
    --border-glass: rgba(255, 255, 255, 0.09);
    --border-gold: rgba(99, 102, 241, 0.35);
    --border-glow: rgba(99, 102, 241, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-gold: #6366f1;
    --accent-gold-dark: #4f46e5;
    --accent-amber: #818cf8;
    --accent-blue: #38bdf8;
    --accent-purple: #6366f1;
    --accent-violet: #4f46e5;
    --accent-cyan: #22d3ee;
    --accent-green: #10b981;
    --accent-red: #f43f5e;
    --header-bg: rgba(4, 6, 12, 0.88);
    --footer-bg: #020306;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
    --gradient-gold: linear-gradient(135deg, #818cf8 0%, #6366f1 60%, #4338ca 100%);
    --gradient-royal: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    --gradient-luxury: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
    --gradient-mesh: radial-gradient(ellipse at 15% 25%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
                     radial-gradient(ellipse at 85% 15%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
                     radial-gradient(ellipse at 50% 85%, rgba(34, 211, 238, 0.08) 0%, transparent 55%);
    --shadow-glow: 0 12px 40px -10px rgba(99, 102, 241, 0.35), 0 0 25px rgba(56, 189, 248, 0.18);
    --shadow-card: 0 10px 36px -8px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-luxury: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 35px -5px rgba(99, 102, 241, 0.25);
    --font-heading: 'Outfit', 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
}

[data-theme="light"] {
    --bg-dark: #fbfbfd;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-solid: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-surface: #f1f5f9;
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-gold: rgba(79, 70, 229, 0.3);
    --border-glow: rgba(79, 70, 229, 0.35);
    --text-primary: #090d16;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent-gold: #4f46e5;
    --accent-gold-dark: #4338ca;
    --accent-amber: #6366f1;
    --accent-blue: #0284c7;
    --accent-purple: #4f46e5;
    --accent-violet: #4338ca;
    --accent-cyan: #0891b2;
    --accent-green: #059669;
    --accent-red: #e11d48;
    --header-bg: rgba(251, 251, 253, 0.92);
    --footer-bg: #0d1424;
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
    --gradient-gold: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    --gradient-royal: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    --gradient-luxury: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
    --gradient-mesh: radial-gradient(ellipse at 15% 25%, rgba(79, 70, 229, 0.05) 0%, transparent 45%),
                     radial-gradient(ellipse at 85% 15%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
    --shadow-glow: 0 10px 40px -10px rgba(79, 70, 229, 0.2);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-luxury: 0 16px 40px rgba(79, 70, 229, 0.15);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

img, video, canvas, svg, iframe { max-width: 100%; height: auto; }

/* Top-of-page navigation progress bar (see static/js/page-progress.js) */
#page-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #6366f1, #38bdf8);
    z-index: 999999;
    opacity: 0;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
    transition: width 2.2s cubic-bezier(0.1, 0.7, 0.3, 1), opacity 0.2s ease;
}

#page-progress-bar.page-progress-active {
    width: 80%;
    opacity: 1;
}

#page-progress-spinner {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}
#page-progress-spinner.page-progress-spinner-active { display: flex; }
.page-progress-spinner-ring {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: page-progress-spin 0.7s infinite linear;
}
@keyframes page-progress-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.landing-body {
    background-color: var(--bg-dark);
    background-image: var(--gradient-mesh);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-gold), var(--accent-purple), var(--accent-blue)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--accent-amber), var(--accent-violet)); }

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

a { color: inherit; text-decoration: none; }

/* ===== PAGE LOAD ANIMATION ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-glow { 0% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.25); } 100% { box-shadow: 0 0 35px rgba(168, 85, 247, 0.45); } }
@keyframes pulse-icon { 0% { transform: scale(1); } 100% { transform: scale(1.06); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes rotate3d { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes borderGlow {
    0%, 100% { border-color: rgba(245, 158, 11, 0.35); }
    50% { border-color: rgba(168, 85, 247, 0.55); }
}
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* Stagger children animation delay */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.48s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.56s; }

/* ===== 3D BACKGROUND CANVAS ===== */
.hero-bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    transition: opacity 0.4s ease;
}

[data-theme="light"] .hero-bg-canvas {
    opacity: 0.55 !important;
}

/* ===== GLASSMORPHIC NAVBAR ===== */
header.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInDown 0.6s ease-out;
}

header.site-header.scrolled {
    background: var(--header-bg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.15);
    border-bottom-color: var(--border-glow);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-icon-box {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45);
    animation: pulse-icon 4s infinite alternate;
}

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

.nav-drawer-header, .nav-drawer-close, .mobile-nav-overlay {
    display: none;
}

body.mobile-nav-locked {
    overflow: hidden;
}

/* Duplicate of the dedicated .btn-nav-login button above the hamburger - only needed as a
   fallback inside the mobile dropdown where that button is hidden for space (see the
   max-width: 768px block below), so it stays hidden everywhere else. */
.nav-mobile-signin-item {
    display: none;
}

.nav-link-item {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    padding: 6px 0;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-luxury);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link-item:hover, .nav-link-item.active {
    color: var(--accent-gold);
}
.nav-link-item:hover::after, .nav-link-item.active::after { width: 100%; }

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

.btn-theme-toggle {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}

.btn-theme-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: rotate(20deg);
}

.btn-nav-login {
    color: var(--text-primary);
    font-size: 14px; font-weight: 600;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-nav-register {
    background: var(--gradient-luxury);
    background-size: 200% 200%;
    color: #fff;
    font-size: 14px; font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex; align-items: center; gap: 6px;
}

.btn-nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.6), 0 0 20px rgba(168, 85, 247, 0.4);
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
    padding-top: 96px;
    padding-bottom: 12px;
    position: relative;
    z-index: 2;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-list a { color: var(--accent-gold); font-weight: 600; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }

/* ===== SECTION COMMON ===== */
.landing-section {
    padding: 56px 0;
    position: relative;
    z-index: 2;
}

/* Ensure first landing-section on any page clears fixed navbar (76px) when breadcrumbs are omitted */
body.landing-body > main > .landing-section:first-child,
main > .landing-section:first-child {
    padding-top: 105px;
}

/* When breadcrumb bar is present before main, keep top section padding compact */
.breadcrumb-bar + main > .landing-section:first-child {
    padding-top: 24px;
}

.landing-section + .landing-section { border-top: 1px solid var(--border-glass); }

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

/* ===== ADSENSE SLOTS (COLLAPSED WHEN EMPTY) ===== */
.adsense-slot {
    margin: 0 auto;
    max-width: 970px;
    text-align: center;
    overflow: hidden;
}

/* Hide empty adsense containers so they do not produce big blank gaps */
.adsense-slot:empty,
.adsense-slot:not(:has(iframe)):not(:has(ins[data-ad-status="filled"])) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}

.adsense-between-sections {
    margin: 16px auto;
}

.adsense-footer-banner {
    margin: 20px auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.18);
    animation: pulse-glow 3s infinite alternate;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.section-title .gradient-text {
    background: var(--gradient-luxury);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding-top: 155px;
    padding-bottom: 85px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 26px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 26px;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.28);
    animation: pulse-glow 3s infinite alternate, fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5.8vw, 66px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.8px;
    margin-bottom: 24px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 35%, #6366f1 65%, #38bdf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

.hero-subtitle {
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--text-secondary);
    max-width: 820px;
    margin: 0 auto 44px auto;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ===== LUXURY BUTTONS ===== */
.btn-hero-primary {
    background: var(--gradient-luxury);
    background-size: 200% 200%;
    color: #ffffff;
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.42), 0 0 25px rgba(168, 85, 247, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    animation: gradient-shift 5s ease infinite;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-hero-primary:hover::after {
    transform: rotate(30deg) translateX(100%);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 45px rgba(245, 158, 11, 0.6), 0 0 35px rgba(168, 85, 247, 0.45);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.btn-hero-secondary:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

/* ===== LUXURY TRUST BAR ===== */
.hero-trust-bar {
    padding: 22px 32px;
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px) saturate(160%);
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: var(--shadow-luxury);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.hero-trust-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient-luxury);
    opacity: 0.8;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 24px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}
.trust-item-title { font-weight: 800; font-size: 14px; color: var(--text-primary); letter-spacing: -0.2px; }
.trust-item-sub { font-size: 12px; color: var(--text-muted); }

/* ===== LUXURY FEATURE CARDS ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(160%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-luxury);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-luxury);
}

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

.feature-icon-wrapper {
    width: 60px; height: 60px;
    border-radius: var(--radius-lg);
    background: var(--gradient-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    margin-bottom: 22px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.38);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon-wrapper { transform: scale(1.12) rotate(6deg); box-shadow: 0 12px 30px rgba(245, 158, 11, 0.55); }

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* ===== SECURITY CARDS ===== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.security-card {
    display: flex;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 28px;
    backdrop-filter: blur(20px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.security-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-luxury);
}

.security-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.icon-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.icon-blue { background: rgba(56, 189, 248, 0.15); color: var(--accent-blue); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }

.security-card-title { font-family: var(--font-heading); font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--text-primary); }
.security-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== LUXURY PRICING CARD ===== */
.pricing-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid rgba(245, 158, 11, 0.45);
    border-radius: var(--radius-2xl);
    padding: 52px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    backdrop-filter: blur(24px) saturate(170%);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-luxury);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(245, 158, 11, 0.55);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.pricing-plan-title { font-family: var(--font-heading); font-size: 32px; font-weight: 900; margin-bottom: 10px; color: var(--text-primary); }

.pricing-price {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
}

.pricing-price span {
    font-size: 18px;
    font-weight: 500;
    -webkit-text-fill-color: var(--text-muted);
}

.pricing-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    text-align: left;
    margin: 36px 0;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-feature-item i { color: var(--accent-gold); font-size: 15px; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.testimonial-stars { display: flex; gap: 3px; color: #f59e0b; font-size: 14px; margin-bottom: 16px; }

.testimonial-text { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}

.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.faq-question:hover { color: var(--accent-blue); }
.faq-question i { transition: transform 0.3s ease; color: var(--accent-blue); font-size: 13px; }
.faq-question.open i { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer.open { display: block; animation: fadeIn 0.3s ease; }

/* ===== SANDBOX / DEMO ===== */
.sandbox-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-top: 32px;
}

.sandbox-prompt-chips {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}

.chip-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex; align-items: center; gap: 6px;
}

.chip-btn:hover, .chip-btn.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.sandbox-result-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sandbox-result-table th { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); font-weight: 700; padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-glass); }
.sandbox-result-table td { padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: var(--text-secondary); }
.sandbox-result-table tr:hover td { background: rgba(59, 130, 246, 0.06); }

.sandbox-ai-takeaway-box {
    margin-top: 20px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.sandbox-ai-takeaway-header {
    font-weight: 700;
    color: var(--accent-blue);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
}

/* Pipeline */
.pipeline-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pipeline-step-card {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.pipeline-step-card.active-step { border-color: var(--border-glow); box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); }

.pipeline-num { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.pipeline-title { font-size: 13px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; justify-content: center; gap: 6px; }

.sandbox-explain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

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

.sandbox-explain-card:hover { border-color: var(--border-glow); }
.sandbox-explain-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.sandbox-explain-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ===== VIDEO / MOCKUP ===== */
.hero-mockup-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    padding: 3px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.4));
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.25);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-mockup-card {
    background: var(--bg-surface);
    border-radius: calc(var(--radius-xl) - 3px);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.video-header-bar {
    background: var(--header-bg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
}

.dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title-bar { font-size: 12px; font-weight: 600; color: var(--text-muted); }

.video-live-tag { font-size: 11px; font-weight: 700; color: #ef4444; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.8px; }

.stage-switcher-tabs {
    display: flex;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-glass);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.stage-tab-btn {
    flex: 1;
    padding: 10px 12px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stage-tab-btn:hover, .stage-tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.video-player-container {
    position: relative;
    width: 100%;
    background: var(--bg-surface);
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.animated-workflow-screen {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-surface);
    z-index: 2;
}

.video-step-header { display: flex; justify-content: space-between; align-items: center; }

.video-stage-badge {
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-timer-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    font-family: monospace;
}

.video-progress-bar-track { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 4px; }
.video-progress-bar-fill { width: 0%; height: 100%; background: var(--gradient-primary); border-radius: 4px; transition: width 0.1s linear; }

.video-replay-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(7, 9, 14, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.btn-replay-big {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

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

.video-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-top: 1px solid var(--border-glass);
    background: var(--header-bg);
}

.video-ctrl-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}

.video-ctrl-btn:hover { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }

.stage-visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}

.voice-wave-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-bottom: 8px; }
.v-bar { width: 6px; background: var(--accent-purple); border-radius: 3px; animation: float 0.6s ease-in-out infinite; }
.v-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.v-bar:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.v-bar:nth-child(3) { height: 28px; animation-delay: 0.2s; }
.v-bar:nth-child(4) { height: 16px; animation-delay: 0.3s; }
.v-bar:nth-child(5) { height: 22px; animation-delay: 0.4s; }

.stage-export-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.export-card-pulse {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: pulse-glow 3s infinite alternate;
}

.export-card-pulse i { font-size: 24px; }

/* ===== ROI CALCULATOR ===== */
.roi-slider {
    width: 100%;
    accent-color: var(--accent-cyan);
    cursor: pointer;
    height: 6px;
}

.roi-result-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-glow);
    text-align: center;
}

.roi-big-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 900;
    color: var(--accent-green);
    margin-bottom: 8px;
}

/* ===== ANIMATED COUNTER ===== */
.counter-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 42px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; font-weight: 600; }

/* ===== ADSENSE SLOTS ===== */
.adsense-slot {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 24px;
    min-height: 90px;
    position: relative;
    z-index: 2;
}

.adsense-between-sections { margin: 24px auto; }

/* (Footer defined in LUXURY EXECUTIVE FOOTER section below) */

/* ===== PAYMENT MODAL ===== */
.payment-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-modal-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease-out;
}

.payment-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.payment-modal-close:hover { color: var(--accent-red); }

.payment-modal-badge {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 20px; }

.method-card {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.2s ease;
}

.method-card:hover { border-color: var(--border-glow); }

.method-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.method-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; display: flex; align-items: center; gap: 4px; }
.easypaisa-badge { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.nayapay-badge { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.sadapay-badge { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }

.method-title { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }

.method-number-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 8px 12px;
}

.num-text { font-family: monospace; font-size: 16px; font-weight: 700; color: var(--text-primary); letter-spacing: 1px; }

.btn-copy {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex; align-items: center; gap: 4px;
    transition: all 0.2s ease;
}

.btn-copy:hover { background: rgba(59, 130, 246, 0.25); }

.verification-steps-box { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.v-step-item { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.v-step-num {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.btn-whatsapp-direct {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp-direct:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }

.payment-divider {
    text-align: center;
    position: relative;
    margin: 16px 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.payment-divider::before, .payment-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 80px);
    height: 1px;
    background: var(--border-glass);
}

.payment-divider::before { left: 0; }
.payment-divider::after { right: 0; }

.btn-submit-payment-proof {
    width: 100%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit-payment-proof:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4); }

/* ===== LUXURY EXECUTIVE FOOTER ===== */
.site-footer {
    background: #04060c;
    border-top: none;
    padding: 68px 0 32px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.45) 20%, rgba(168, 85, 247, 0.45) 50%, rgba(59, 130, 246, 0.45) 80%, transparent);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 140px;
    background: radial-gradient(ellipse at top, rgba(245, 158, 11, 0.07), transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr 1fr 1fr 1.6fr;
    gap: 36px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.footer-brand .brand-icon-box {
    width: 38px;
    height: 38px;
    background: var(--gradient-luxury);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.footer-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 330px;
}

.footer-enterprise-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: #fde68a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

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

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.footer-social-link:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
}

.footer-links-col h4,
.footer-newsletter-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

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

.footer-links-col a {
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-links-col a i {
    font-size: 10px;
    color: var(--accent-gold);
    opacity: 0.65;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-links-col a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-links-col a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.footer-newsletter-col p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 16px;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-newsletter-form input::placeholder {
    color: #94a3b8;
}

.footer-newsletter-form input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter-form button {
    padding: 11px 18px;
    background: var(--gradient-luxury);
    border: none;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.footer-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

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

.footer-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    user-select: none;
}

/* ===== LUXURY AUTH PAGES (LOGIN / SIGNUP) ===== */
.auth-luxury-page {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px 20px;
    position: relative;
    z-index: 2;
}

.auth-luxury-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-2xl);
    padding: 44px 38px;
    box-shadow: var(--shadow-luxury);
    backdrop-filter: blur(28px) saturate(180%);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-luxury-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-luxury);
}

.auth-luxury-card.auth-signup-card {
    max-width: 680px;
}

.auth-brand-badge {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--gradient-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
    animation: pulse-icon 4s infinite alternate;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}

.auth-form-group {
    margin-bottom: 18px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-wrapper i.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    outline: none;
}

.auth-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

.btn-toggle-pwd {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    transition: color 0.2s ease;
}

.btn-toggle-pwd:hover {
    color: var(--accent-gold);
}

.auth-submit-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--gradient-luxury);
    background-size: 200% 200%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.38);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: gradient-shift 5s ease infinite;
    text-decoration: none;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.55), 0 0 20px rgba(168, 85, 247, 0.4);
}

.auth-footer-links {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer-links a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-links a:hover {
    text-decoration: underline;
}

/* ===== HIGH CONTRAST & VISIBILITY IN LIGHT MODE ===== */
[data-theme="light"] .feature-card,
[data-theme="light"] .security-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .pricing-card,
[data-theme="light"] .hero-trust-bar,
[data-theme="light"] .auth-luxury-card,
[data-theme="light"] .sandbox-box,
[data-theme="light"] .pipeline-step-card,
[data-theme="light"] .sandbox-explain-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .feature-card-title,
[data-theme="light"] .security-card-title,
[data-theme="light"] .pricing-plan-title,
[data-theme="light"] .testimonial-name,
[data-theme="light"] .faq-question,
[data-theme="light"] .auth-title,
[data-theme="light"] .pipeline-title,
[data-theme="light"] .sandbox-explain-title {
    color: #090d16 !important;
}

[data-theme="light"] .feature-card-desc,
[data-theme="light"] .security-card-desc,
[data-theme="light"] .testimonial-text,
[data-theme="light"] .faq-answer,
[data-theme="light"] .auth-subtitle,
[data-theme="light"] .sandbox-explain-desc,
[data-theme="light"] .pricing-feature-item {
    color: #334155 !important;
}

[data-theme="light"] .auth-input {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #090d16 !important;
}

[data-theme="light"] .auth-input:focus {
    background: #ffffff !important;
    border-color: var(--accent-gold) !important;
}

[data-theme="light"] .site-footer {
    background: #060911 !important;
}

[data-theme="light"] .site-footer h4,
[data-theme="light"] .site-footer .footer-brand span {
    color: #ffffff !important;
}

[data-theme="light"] .site-footer .footer-desc,
[data-theme="light"] .site-footer .footer-newsletter-col p {
    color: #cbd5e1 !important;
}

[data-theme="light"] .site-footer .footer-links-col a,
[data-theme="light"] .site-footer .footer-bottom-links a {
    color: #cbd5e1 !important;
}

[data-theme="light"] .site-footer .footer-links-col a:hover,
[data-theme="light"] .site-footer .footer-bottom-links a:hover {
    color: #818cf8 !important;
}

[data-theme="light"] .site-footer .footer-newsletter-form input {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

[data-theme="light"] .site-footer .footer-newsletter-form input::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .site-footer .footer-bottom p {
    color: #94a3b8 !important;
}

[data-theme="light"] .site-footer .footer-social-link {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f8fafc !important;
}

[data-theme="light"] .site-footer .footer-social-link:hover {
    background: rgba(99, 102, 241, 0.22) !important;
    border-color: #818cf8 !important;
    color: #818cf8 !important;
}

[data-theme="light"] .site-footer .footer-enterprise-badge {
    background: rgba(99, 102, 241, 0.14) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    color: #c7d2fe !important;
}

[data-theme="light"] .site-footer .footer-dot {
    color: #64748b !important;
}

[data-theme="light"] .hero-mockup-card {
    background: #ffffff !important;
}

[data-theme="light"] .video-header-bar,
[data-theme="light"] .stage-switcher-tabs {
    background: #f8fafc !important;
}

[data-theme="light"] .chip-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-theme="light"] .chip-btn.active,
[data-theme="light"] .chip-btn:hover {
    background: rgba(217, 119, 6, 0.15) !important;
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .pricing-features-grid { grid-template-columns: 1fr; }
    .pipeline-flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Off-canvas slide-in drawer, not a centered dropdown - the previous version faded
       the whole link list in as a full-width block right under the header, which read
       as a centered popup rather than navigation. This slides in from the right edge
       like a standard mobile nav drawer, with a backdrop overlay and explicit close (X). */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0; right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--header-bg);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 4px;
        border-left: 1px solid var(--border-glass);
        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.mobile-open { transform: translateX(0); }

    .nav-links .nav-link-item, .nav-links .nav-mobile-signin-item .nav-link-item {
        display: block;
        padding: 14px 10px;
        border-bottom: 1px solid var(--border-glass);
        font-size: 15px;
    }

    .nav-drawer-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 8px;
        border-bottom: none !important;
    }

    .nav-drawer-close {
        display: block;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 22px;
        cursor: pointer;
        padding: 6px;
        line-height: 1;
    }

    .mobile-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 15, 0.6);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-nav-overlay.mobile-open {
        display: block;
        opacity: 1;
    }

    .mobile-toggle { display: block; }

    .btn-nav-login { display: none; }
    .nav-mobile-signin-item { display: block; }

    /* At 22px with a 44px icon box, "AI Analyst Pro" wrapped to two lines and collided
       with the theme-toggle button next to it on a real phone - confirmed live. */
    .brand-logo { font-size: 15px; gap: 8px; white-space: nowrap; }
    .brand-icon-box { width: 34px; height: 34px; font-size: 15px; }

    .hero-title { letter-spacing: -0.5px; }
    .hero-section { padding-top: 120px; }

    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .payment-methods-grid { grid-template-columns: 1fr; }
    .pipeline-flow-grid { grid-template-columns: 1fr 1fr; }
    .stage-export-grid { grid-template-columns: 1fr 1fr; }
    .hero-trust-bar { flex-direction: column; text-align: center; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .video-player-container { height: 280px; }

    /* docs.html sets this 2-column grid as an inline style (280px sidebar + content),
       which held at that fixed width on a real phone and pushed the content column
       off-screen - text was visibly cut off at the right edge. !important is needed
       since an inline style otherwise outranks any stylesheet rule, media query or not. */
    .docs-layout-grid { grid-template-columns: 1fr !important; }
    .docs-sidebar { position: static !important; }

    /* signup.html's Phone/Country/City row is a fixed 3-column inline grid - on a real
       390px phone each column was too narrow for its placeholder text, which visibly
       truncated ("+1...", "Uni...", "Ne..."). Confirmed live via screenshot. */
    .auth-row-3col { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
    .pipeline-flow-grid { grid-template-columns: 1fr; }
    .stage-export-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .sandbox-prompt-chips { flex-direction: column; }
    .chip-btn { width: 100%; justify-content: center; }

    /* signup.html's Name/Username/Email/Password 2-column rows held up fine down to
       ~390px but started truncating placeholder text ("e.g. Joh...") on a real 360px
       phone - confirmed live via screenshot. */
    .auth-row-2col { grid-template-columns: 1fr !important; }
}

/* ===== FLASH MESSAGE BANNERS (public/landing pages) ===== */
.flash-banner-container {
    max-width: 640px;
    margin: 110px auto 0 auto;
    padding: 0 20px;
}
.flash-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
    border-left-width: 4px;
}
.flash-banner-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}
.flash-banner-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}
.flash-banner-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}
.flash-banner-info {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
}
