/* ============================================
   FLOWGUARD
   ============================================ */

/* Fonts are loaded from fonts.css (base64 embedded) */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --bg-deep: #0a0f1c;
    --bg-elevated: #111827;
    --bg-surface: #1f2937;
    --bg-hover: #374151;

    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --accent-primary: #3b82f6;
    --accent-glow: #60a5fa;
    --accent-cyan: #06b6d4;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --gradient-start: #1e40af;
    --gradient-end: #7c3aed;

    /* Typography */
    --font-family: "Soehne", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;

    --line-height-tight: 1.1;
    --line-height-snug: 1.3;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Borders & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px var(--k3);
    --shadow-md: 0 4px 6px var(--k4);
    --shadow-lg: 0 10px 15px var(--k5);
    --shadow-xl: 0 20px 25px var(--k5);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 600ms ease;

    /* Z-index */
    --z-header: 100;
    --z-mobile-menu: 90;
    --z-modal: 200;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    background-color: var(--bg-deep);
    overflow-x: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- FOUC Prevention ---------- */
/* Generic class - add .pf to any element to prevent FOUC */
.pf,
/* Homepage hero */
.hero-badge,
.hero-line,
.hero-subtitle,
.hero-cta,
.hero-for,
.hero-visual,
/* Features page */
.features-hero-content,
.feature-pills,
/* How it works page */
.hiw-hero .section-label,
.hiw-hero-title,
.hiw-hero-subtitle,
.hiw-scroll-btn,
.worry-cycle,
/* Pricing page */
.pricing-hero .section-label,
.pricing-hero-title,
.pricing-hero-subtitle,
/* Addons page */
.addons-hero .section-label,
.addons-hero-title .title-line,
.addons-hero-subtitle,
/* FAQ page */
.faq-hero .section-label,
.faq-hero .title-line,
.faq-hero-subtitle,
.faq-search-wrapper,
/* Contact page */
.contact-hero .section-label,
.contact-hero-title,
.contact-hero-subtitle,
/* Generic page template */
.page-hero-content {
    opacity: 0;
}

/* Fallback: show content if JS is disabled or GSAP fails to load */
.no-gsap .pf,
.no-gsap .hero-badge,
.no-gsap .hero-line,
.no-gsap .hero-subtitle,
.no-gsap .hero-cta,
.no-gsap .hero-for,
.no-gsap .hero-visual,
.no-gsap .features-hero-content,
.no-gsap .feature-pills,
.no-gsap .hiw-hero .section-label,
.no-gsap .hiw-hero-title,
.no-gsap .hiw-hero-subtitle,
.no-gsap .hiw-scroll-btn,
.no-gsap .worry-cycle,
.no-gsap .pricing-hero .section-label,
.no-gsap .pricing-hero-title,
.no-gsap .pricing-hero-subtitle,
.no-gsap .addons-hero .section-label,
.no-gsap .addons-hero-title .title-line,
.no-gsap .addons-hero-subtitle,
.no-gsap .faq-hero .section-label,
.no-gsap .faq-hero .title-line,
.no-gsap .faq-hero-subtitle,
.no-gsap .faq-search-wrapper,
.no-gsap .contact-hero .section-label,
.no-gsap .contact-hero-title,
.no-gsap .contact-hero-subtitle,
.no-gsap .page-hero-content {
    opacity: 1 !important;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: var(--line-height-tight);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-2xl);
    --line-height-tight: 1.3;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-glow);
}

a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- Gradient Orbs Background ---------- */
.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    /* Force isolated GPU layer to prevent flickering */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    isolation: isolate;
    contain: strict;
}

.orb {
    position: absolute;
    border-radius: 50%;
    /* REMOVED blur - using gradient backgrounds instead */
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        rgba(30, 64, 175, 0.6) 0%,
        rgba(124, 58, 237, 0.3) 30%,
        transparent 70%
    );
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle at center,
        rgba(6, 182, 212, 0.5) 0%,
        rgba(59, 130, 246, 0.25) 30%,
        transparent 70%
    );
    bottom: 20%;
    left: -100px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle at center,
        rgba(124, 58, 237, 0.5) 0%,
        rgba(59, 130, 246, 0.25) 30%,
        transparent 70%
    );
    top: 50%;
    right: 10%;
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    padding: var(--space-lg) 0;
    /* REMOVED all blur effects to eliminate flickering */
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background-color var(--transition-base),
        padding var(--transition-base),
        border-bottom-color var(--transition-base);
}

.header.scrolled {
    background-color: rgba(10, 15, 28, 0.97);
    padding: var(--space-md) 0;
    border-bottom-color: var(--w05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-weight: 700;
    font-size: var(--font-size-xl);
    transition: opacity var(--transition-fast);
    z-index: 91;
}

.logo:hover {
    color: var(--text-primary);
    opacity: 0.9;
}

.logo-icon {
    color: var(--accent-primary);
}

/* Navigation */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    background: rgba(6, 182, 212, 0.15);
    color: #67e8f9;
    border-radius: var(--radius-sm);
    vertical-align: middle;
    margin-left: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-base);
}

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

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

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link-account {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.nav-link-account:hover {
    color: var(--text-primary);
}

.btn-header {
    display: inline-flex;
}

@media (min-width: 1024px) {
    .header-actions {
        display: flex;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: calc(var(--z-mobile-menu) + 10);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-deep);
    z-index: var(--z-mobile-menu);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition-base),
        visibility var(--transition-base);
    padding-top: 80px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu > nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg) var(--space-xl);
    overflow-y: auto;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--w06);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: var(--space-md) 0;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--text-primary);
}

.btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--w08);
    margin: var(--space-md) 0;
}

.mobile-nav-secondary {
    margin-bottom: var(--space-lg);
}

.mobile-nav-secondary .mobile-nav-link {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    padding: var(--space-sm) 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-glow);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--bg-surface);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    background: var(--w02);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

.btn-glow {
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: var(--space-4xl);
    position: relative;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--accent-glow);
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-xl);
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.hero-line-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Visual - Mission Control Dashboard */
.hero-visual {
    margin-top: var(--space-3xl);
    perspective: 1200px;
    opacity: 0;
    transform: translateY(40px);
}

.dashboard-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0 20px;
}

/* Floating Stat Cards */
.floating-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(
        145deg,
        rgba(20, 25, 40, 0.98),
        rgba(15, 20, 32, 0.99)
    );
    border: 1px solid var(--w08);
    border-radius: 14px;
    box-shadow:
        0 15px 40px -10px var(--k5),
        0 0 0 1px var(--w03);
    z-index: 10;
    /* REMOVED backdrop-filter - causes flickering with animation */
    animation: floatIn 0.8s ease-out forwards;
    opacity: 0;
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.floating-stat-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.3),
        transparent,
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.floating-stat:hover .floating-stat-glow {
    opacity: 1;
}

.floating-stat-uptime {
    top: 0;
    left: -20px;
    animation-delay: 0.3s;
}

.floating-stat-tests {
    top: 30px;
    right: -30px;
    animation-delay: 0.5s;
}

.floating-stat-speed {
    bottom: 100px;
    right: -10px;
    animation-delay: 0.7s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.2),
        rgba(16, 185, 129, 0.05)
    );
    border-radius: 10px;
    color: var(--success);
}

.floating-stat-icon-blue {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.2),
        rgba(59, 130, 246, 0.05)
    );
    color: var(--accent-primary);
}

.floating-stat-icon-purple {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.2),
        rgba(139, 92, 246, 0.05)
    );
    color: #a78bfa;
}

.floating-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.floating-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.floating-stat-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.floating-stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.floating-stat-trend {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 4px;
}

.floating-stat-trend-up {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.floating-stat-badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 8px;
    background: var(--w05);
    border-radius: 6px;
    margin-left: 4px;
}

/* Main Dashboard Panel */
.dashboard-panel {
    position: relative;
    background: linear-gradient(
        165deg,
        rgba(17, 22, 38, 0.95),
        rgba(10, 14, 26, 0.98)
    );
    border: 1px solid var(--w06);
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.08),
        0 30px 70px -20px var(--k6),
        0 0 120px -40px rgba(59, 130, 246, 0.2);
    overflow: hidden;
    transform: rotateX(2deg);
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.dashboard-panel:hover {
    transform: rotateX(0deg);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.15),
        0 40px 80px -20px var(--k7),
        0 0 150px -40px rgba(59, 130, 246, 0.3);
}

.dashboard-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(
        ellipse,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.dashboard-period {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--w05);
    border: 1px solid var(--w08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dashboard-period:hover {
    background: var(--w08);
    border-color: var(--w12);
}

.period-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dashboard-period svg {
    color: var(--text-muted);
}

/* Chart Area */
.dashboard-chart {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
    min-width: 45px;
}

.chart-y-axis span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: right;
}

.chart-area {
    flex: 1;
    position: relative;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.chart-grid-line {
    width: 100%;
    height: 1px;
    background: var(--w04);
}

.chart-svg {
    width: 100%;
    height: 120px;
    position: relative;
    z-index: 1;
}

.chart-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 2;
}

.chart-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawLine 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-area-path {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* HTML-based chart dots for crisp rendering */
.chart-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 3;
}

.chart-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: dotPop 0.3s ease-out forwards;
}

.chart-dot:nth-child(1) {
    animation-delay: 1.2s;
}
.chart-dot:nth-child(2) {
    animation-delay: 1.4s;
}
.chart-dot:nth-child(3) {
    animation-delay: 1.6s;
}
.chart-dot:nth-child(4) {
    animation-delay: 1.8s;
}
.chart-dot:nth-child(5) {
    animation-delay: 2s;
}
.chart-dot:nth-child(6) {
    animation-delay: 2.2s;
}

@keyframes dotPop {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.chart-dot-current {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    animation:
        dotPop 0.3s ease-out forwards,
        dotPulse 2s ease-in-out infinite;
    animation-delay: 2.4s, 2.7s;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
    }
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 4px;
}

.chart-x-axis span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

.chart-x-axis span:last-child {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Uptime Grid */
.dashboard-uptime {
    background: var(--w02);
    border: 1px solid var(--w05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

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

.uptime-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.uptime-percentage {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--success);
}

.uptime-grid {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.uptime-day {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--w05);
    transition: all 0.2s ease;
}

.uptime-day.up {
    background: rgba(16, 185, 129, 0.4);
}

.uptime-day.partial {
    background: rgba(245, 158, 11, 0.5);
}

.uptime-day.down {
    background: rgba(239, 68, 68, 0.5);
}

.uptime-day.today {
    box-shadow:
        0 0 0 2px var(--success),
        0 0 12px rgba(16, 185, 129, 0.4);
    background: var(--success);
}

.uptime-day:hover {
    transform: scale(1.2);
}

/* Test Flows Section */
.dashboard-tests {
    background: var(--w02);
    border: 1px solid var(--w05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

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

.tests-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.tests-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(16, 185, 129, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
}

.tests-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.test-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--w02);
    border: 1px solid var(--w04);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.test-item:hover {
    background: var(--w04);
    border-color: var(--w08);
}

.test-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-passed .test-status {
    color: var(--success);
}

.test-failed .test-status {
    color: var(--error);
}

.test-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.test-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.test-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.test-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--success);
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
}

.test-detail {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.test-detail::before {
    content: "•";
    margin-right: 8px;
    opacity: 0.4;
}

.test-detail:first-of-type::before {
    display: none;
}

.test-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.test-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--w04);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.test-action-btn:hover {
    background: var(--w1);
    color: var(--text-primary);
}

.test-action-btn:active {
    transform: scale(0.95);
}

.test-details {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.test-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.test-duration {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono, monospace);
}

.test-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Dashboard Status Bar */
.dashboard-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--w05);
    position: relative;
    z-index: 2;
}

.status-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
}

.status-live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.status-timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-timestamp strong {
    color: var(--text-secondary);
}

/* Activity Feed */
.activity-feed {
    position: absolute;
    bottom: 60px;
    left: -40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(
        145deg,
        rgba(20, 25, 40, 0.98),
        rgba(15, 20, 32, 0.99)
    );
    border: 1px solid var(--w06);
    border-radius: 10px;
    /* REMOVED backdrop-filter - causes flickering with animation */
    box-shadow: 0 10px 30px -10px var(--k4);
    opacity: 0;
    transform: translateX(-20px) translateZ(0);
    -webkit-transform: translateX(-20px) translateZ(0);
    animation: slideIn 0.5s ease-out forwards;
}

.activity-item:nth-child(1) {
    animation-delay: 1.5s;
}
.activity-item:nth-child(2) {
    animation-delay: 1.7s;
}
.activity-item:nth-child(3) {
    animation-delay: 1.9s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

.activity-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.activity-item-success .activity-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.activity-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.activity-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Hero Visual Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 0;
    }

    .dashboard-panel {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .chart-y-axis {
        display: none;
    }

    .dashboard-chart {
        margin-bottom: 16px;
    }

    .test-item {
        padding: 8px 10px;
        gap: 10px;
    }

    .test-status svg {
        width: 24px;
        height: 24px;
    }

    .test-name {
        font-size: 0.75rem;
    }

    .test-meta-row {
        gap: 6px;
    }

    .test-badge {
        font-size: 0.55rem;
        padding: 1px 4px;
    }

    .test-detail {
        display: none;
    }

    .test-detail:last-child {
        display: inline;
        font-size: 0.6rem;
    }

    .test-detail:last-child::before {
        display: none;
    }

    .test-actions {
        gap: 2px;
    }

    .test-action-btn {
        width: 24px;
        height: 24px;
    }

    .test-action-btn svg {
        width: 12px;
        height: 12px;
    }

    .dashboard-status {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Original browser mockup */
.browser-mockup {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--w1);
    box-shadow:
        var(--shadow-xl),
        0 0 60px rgba(59, 130, 246, 0.1);
    transform: rotateX(5deg);
    transition: transform var(--transition-slow);
}

.browser-mockup:hover {
    transform: rotateX(0deg);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--w05);
}

.browser-dots {
    display: flex;
    gap: var(--space-sm);
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-hover);
}

.browser-dots span:first-child {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-deep);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.browser-content {
    padding: var(--space-lg);
}

/* Dashboard Preview */
.dashboard-preview {
    display: flex;
    min-height: 300px;
    background: var(--bg-deep);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dash-sidebar {
    width: 60px;
    background: var(--bg-surface);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.dash-logo {
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.dash-nav-item {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    opacity: 0.5;
}

.dash-nav-item.active {
    background: var(--accent-primary);
    opacity: 1;
}

.dash-main {
    flex: 1;
    padding: var(--space-lg);
}

.dash-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
}

.dash-header-title {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.dash-header-btn {
    font-size: 9px;
    background: var(--accent-primary);
    color: white;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.dash-test-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.dash-test-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-surface);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--success);
}

.dash-test-item.dash-test-running {
    border-left-color: var(--accent-primary);
}

.dash-test-status {
    flex-shrink: 0;
}

.dash-test-status svg {
    display: block;
}

.dash-test-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--bg-hover);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.dash-test-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dash-test-name {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-test-time {
    font-size: 8px;
    color: var(--text-muted);
}

.dash-summary {
    display: flex;
    gap: var(--space-sm);
    background: var(--bg-surface);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
}

.dash-summary-item {
    flex: 1;
    text-align: center;
}

.dash-summary-value {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.dash-summary-item.dash-summary-success .dash-summary-value {
    color: var(--success);
}

.dash-summary-label {
    font-size: 8px;
    color: var(--text-muted);
}

/* Legacy stats (for backward compatibility) */
.dash-stats {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stat-card {
    flex: 1;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border-left: 3px solid;
}

.stat-green {
    border-color: var(--success);
}

.stat-blue {
    border-color: var(--accent-primary);
}

.stat-purple {
    border-color: var(--gradient-end);
}

.stat-icon {
    width: 20px;
    height: 20px;
    background: currentColor;
    opacity: 0.3;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.stat-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.dash-chart {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    height: 100px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    height: 100%;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(
        to top,
        var(--accent-primary),
        var(--accent-cyan)
    );
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    height: var(--height);
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* ---------- Social Proof ---------- */
.social-proof {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--w05);
    border-bottom: 1px solid var(--w05);
}

.social-proof-text {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
}

.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .logo-bar {
        gap: var(--space-xl);
    }
}

.social-proof-hint {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--space-xl);
    opacity: 0.7;
}

.client-logo {
    width: auto;
    height: 23px;
    opacity: 1 !important;
}
.client-logo img {
    object-fit: contain;
    height: 100%;
    width: auto;
}

/* ---------- Section Styles ---------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Features Section ---------- */
.features {
    padding: var(--space-5xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--w05);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow:
        var(--shadow-lg),
        0 0 30px rgba(59, 130, 246, 0.1);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.feature-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-primary);
}

.feature-link:hover {
    gap: var(--space-sm);
}

/* ---------- Deep Dive Sections ---------- */
.deep-dive {
    padding: var(--space-5xl) 0;
}

.deep-dive-alt {
    background: var(--bg-elevated);
}

.deep-dive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .deep-dive-grid {
        grid-template-columns: 1fr 1fr;
    }

    .deep-dive-grid-reverse {
        direction: rtl;
    }

    .deep-dive-grid-reverse > * {
        direction: ltr;
    }
}

.deep-dive-content .section-label {
    text-align: left;
}

.deep-dive-content .section-title {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.deep-dive-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.check-icon {
    flex-shrink: 0;
}

/* Flow Editor Mockup */
.flow-editor-mockup {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--w1);
}

.flow-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-deep);
    border-bottom: 1px solid var(--w05);
}

.flow-editor-title {
    font-weight: 500;
    color: var(--text-primary);
}

.flow-status {
    font-size: var(--font-size-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.flow-editor-canvas {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--w05);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    width: 100%;
    max-width: 280px;
}

.flow-step-icon {
    color: var(--accent-primary);
}

.flow-step-start .flow-step-icon {
    color: var(--success);
}

.flow-step-assert {
    border-color: rgba(16, 185, 129, 0.3);
}

.flow-step-assert .flow-step-icon {
    color: var(--success);
}

.flow-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    margin-left: 30px;
}

.flow-editor-footer {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-deep);
    border-top: 1px solid var(--w05);
}

.flow-run-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.status-dot-success {
    background: var(--success);
    animation: none;
}

/* ============================================
   Enhanced Flow Editor - Premium Checkout Flow
   ============================================ */

.flow-editor-premium {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(17, 24, 39, 0.95),
        rgba(10, 15, 28, 0.98)
    );
    border: 1px solid var(--w08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 4px 6px var(--k3),
        0 10px 40px var(--k4),
        inset 0 1px 0 var(--w05);
}

.flow-ambient-glow {
    display: none;
}

.flow-editor-premium .flow-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--k2);
    border-bottom: 1px solid var(--w06);
}

.flow-editor-premium .flow-editor-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.flow-status-active {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

/* Enhanced Canvas */
.flow-canvas-enhanced {
    padding: var(--space-lg);
}

/* Enhanced Flow Steps */
.flow-step-enhanced {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: 6px;
}

.flow-step-enhanced:last-child {
    padding-bottom: 0;
}

/* Connector line between steps */
.flow-step-enhanced:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 22px;
    width: 2px;
    height: calc(100% - 10px);
    background: var(--w06);
    border-radius: 1px;
}

.flow-step-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: 50%;
    flex-shrink: 0;
}

.flow-step-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 12px;
    background: var(--w025);
    border: 1px solid var(--w06);
    border-radius: var(--radius-sm);
    width: 100%;
}

.flow-step-icon-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.flow-step-text {
    flex: 1;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.flow-step-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    flex-shrink: 0;
}

/* Enhanced Footer */
.flow-footer-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--k15);
    border-top: 1px solid var(--w05);
}

.flow-run-status-enhanced {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.status-dot-animated {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.flow-run-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.flow-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.flow-stat svg {
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flow-canvas-enhanced {
        padding: var(--space-md);
    }

    .flow-step-card {
        padding: 8px 10px;
    }

    .flow-step-icon-enhanced {
        width: 24px;
        height: 24px;
    }

    .flow-run-stats {
        display: none;
    }
}

/* Monitoring Mockup - Clean Style */
.monitoring-mockup-clean {
    background: linear-gradient(
        145deg,
        rgba(17, 24, 39, 0.95),
        rgba(10, 15, 28, 0.98)
    );
    border: 1px solid var(--w08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 4px 6px var(--k3),
        0 10px 40px var(--k4),
        inset 0 1px 0 var(--w05);
}

.monitoring-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--k2);
}

.monitoring-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.monitoring-status-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.monitoring-content {
    padding: var(--space-md) var(--space-lg);
}

.monitoring-stats-row {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.monitoring-stat {
    flex: 1;
    padding: 10px 12px;
    background: var(--w025);
    border: 1px solid var(--w06);
    border-radius: var(--radius-sm);
    text-align: center;
}

.monitoring-stat-value {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.monitoring-stat-label {
    font-size: 10px;
    color: var(--text-muted);
}

.monitoring-timeline {
    background: var(--w025);
    border: 1px solid var(--w06);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

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

.timeline-label {
    font-size: 11px;
    color: var(--text-muted);
}

.timeline-status {
    font-size: 10px;
    color: var(--warning);
}

.timeline-bars {
    display: flex;
    gap: 3px;
    height: 20px;
}

.timeline-bar {
    flex: 1;
    border-radius: 2px;
}

.timeline-bar.up {
    background: var(--success);
    opacity: 0.7;
}

.timeline-bar.down {
    background: var(--danger);
}

.monitoring-footer {
    padding: var(--space-md) var(--space-lg);
    background: var(--k15);
    border-top: 1px solid var(--w05);
}

.monitoring-footer-text {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* Report Delivery Card - Clean Style */
.report-delivery-card {
    background: linear-gradient(
        145deg,
        rgba(17, 24, 39, 0.95),
        rgba(10, 15, 28, 0.98)
    );
    border: 1px solid var(--w08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 4px 6px var(--k3),
        0 10px 40px var(--k4),
        inset 0 1px 0 var(--w05);
}

.report-delivery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--k2);
}

.report-delivery-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.report-delivery-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.report-delivery-content {
    padding: var(--space-md) var(--space-lg);
}

.report-delivery-success {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.report-success-icon {
    color: var(--success);
    flex-shrink: 0;
}

.report-success-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--success);
}

.report-delivery-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.report-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--w025);
    border: 1px solid var(--w06);
    border-radius: var(--radius-sm);
}

.report-detail-label {
    font-size: 11px;
    color: var(--text-muted);
}

.report-detail-value {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.report-detail-branded {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--gradient-end)
    );
    border-radius: 2px;
}

.report-mini-preview {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 12px;
    background: var(--w025);
    border: 1px solid var(--w06);
    border-radius: var(--radius-sm);
}

.mini-preview-doc {
    width: 28px;
    height: 36px;
    background: var(--w9);
    border-radius: 3px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mini-doc-header {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--gradient-end)
    );
    border-radius: 1px;
}

.mini-doc-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.mini-doc-line {
    height: 2px;
    background: var(--k15);
    border-radius: 1px;
}

.mini-doc-line.short {
    width: 60%;
}

.mini-preview-label {
    font-size: 11px;
    color: var(--text-muted);
}

.report-delivery-footer {
    padding: var(--space-md) var(--space-lg);
    background: var(--k15);
    border-top: 1px solid var(--w05);
}

.report-delivery-time {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: var(--space-5xl) 0;
    background: var(--bg-elevated);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-connector-h {
        display: none;
    }
}

.step {
    position: relative;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--w08);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px -8px var(--k4);
}

.steps-container .step-number {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-md);
    color: var(--accent-primary);
    letter-spacing: -0.02em;
    background: transparent;
    opacity: 0.2;
    margin-left: 23px;
    margin-bottom: 50px;
    margin-top: 10px;
}

.steps-container .step-content {
    position: relative;
}

.steps-container .step-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.steps-container .step-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.65;
    font-size: var(--font-size-sm);
}

.steps-container .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.steps-container .step:hover .step-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: translateX(4px);
}

.steps-container .step-icon svg {
    width: 24px;
    height: 24px;
}

.step-connector-h {
    display: none;
}

/* ---------- Benefits ---------- */
.benefits {
    padding: var(--space-5xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: var(--bg-elevated);
    border: 1px solid var(--w05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.benefit-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.benefit-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.benefit-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.testimonials-line {
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08) 30%, rgba(59, 130, 246, 0.08) 70%, transparent);
}

.testimonials-line--1 { top: 0; }
.testimonials-line--2 { bottom: 0; }

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

.testimonial-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--w04);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.testimonial-accent {
    display: none;
}

.testimonial-quote {
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--font-family);
    font-style: normal;
}

.testimonial-quote p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.testimonial-quote p:first-child {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
}

.testimonial-quote p:last-child {
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--w05);
}

.testimonial-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.testimonial-avatar-fallback {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
    color: var(--w6);
    font-size: var(--font-size-lg);
    font-weight: 600;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar-wrapper--fallback .testimonial-avatar { display: none; }
.testimonial-avatar-wrapper--fallback .testimonial-avatar-fallback { display: flex; }

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.testimonial-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.testimonial-role {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    /* REMOVED blur - using gradient backgrounds instead */
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle at center,
        rgba(30, 64, 175, 0.4) 0%,
        rgba(59, 130, 246, 0.2) 30%,
        transparent 70%
    );
    top: -200px;
    left: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle at center,
        rgba(124, 58, 237, 0.4) 0%,
        rgba(6, 182, 212, 0.2) 30%,
        transparent 70%
    );
    bottom: -150px;
    right: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-lg);
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* ---------- Footer ---------- */
.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    border-top: 1px solid var(--w05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-nav {
        gap: var(--space-4xl);
    }
}

.footer-nav-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav-list a {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

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

.footer-bottom {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--w05);
}

.footer-copyright {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Animations ---------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

/* Stagger delays for grid items */
/* Transition delays removed - GSAP handles animations */

/* ============================================
   GENERIC PAGE HERO (Template)
   ============================================ */

/* ---------- Page Hero ---------- */
.page-hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.page-hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: var(--line-height-relaxed);
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: calc(var(--space-4xl) + 80px);
    }

    .page-hero-title {
        font-size: var(--font-size-3xl);
    }

    .page-hero-subtitle {
        font-size: var(--font-size-lg);
    }
}

/* ============================================
   FEATURES PAGE STYLES
   ============================================ */

/* ---------- Features Hero ---------- */
.features-hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
}

.features-hero-content {
    margin-bottom: var(--space-2xl);
}

.features-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    color: var(--text-primary);
}

.features-hero-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: var(--space-lg) auto 0;
    line-height: var(--line-height-relaxed);
}

/* ---------- Feature Pills Navigation ---------- */
.feature-pills {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 50;
}

.feature-pills-inner {
    display: inline-flex;
    gap: var(--space-sm);
    background: var(--bg-elevated);
    padding: var(--space-sm);
    border-radius: var(--radius-full);
    border: 1px solid var(--w08);
    transition: box-shadow var(--transition-base);
}

.feature-pills.sticky {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    /* Use flexbox centering instead of transform to avoid GSAP transform conflicts */
    display: flex;
    justify-content: center;
    z-index: 50;
}

.feature-pills.sticky .feature-pills-inner {
    box-shadow: 0 10px 40px var(--k5);
    animation: pillSlideDown 0.3s ease-out;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: all var(--transition-base);
    text-decoration: none;
}

.feature-pill:hover {
    color: var(--text-primary);
    background: var(--w05);
}

.feature-pill.active {
    color: var(--text-primary);
    background: var(--bg-surface);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Accent colors for pills */
.feature-pill[data-accent="blue"].active {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.feature-pill[data-accent="green"].active {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.feature-pill[data-accent="purple"].active {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.pill-number {
    font-size: var(--font-size-xs);
    font-weight: 600;
    opacity: 0.5;
}

.pill-label {
    font-weight: 500;
}

/* Responsive pills */
@media (max-width: 640px) {
    .feature-pills {
        gap: var(--space-xs);
        padding: var(--space-xs);
    }

    .feature-pill {
        padding: var(--space-sm) var(--space-md);
    }

    .pill-number {
        display: none;
    }
}

/* ---------- Feature Sections ---------- */
.feature-section {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
    /* Force GPU layer to prevent flickering from child blur elements */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    isolation: isolate;
}

.feature-section:nth-child(even) {
    background: var(--bg-elevated);
}

/* Large watermark numbers */
.feature-number {
    position: absolute;
    font-size: clamp(10rem, 25vw, 20rem);
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* Number positioning based on section */
.feature-section:nth-child(odd) .feature-number {
    top: var(--space-3xl);
    left: -5%;
}

.feature-section:nth-child(even) .feature-number {
    top: var(--space-3xl);
    right: -5%;
    text-align: right;
}

/* Accent color system */
[data-accent="blue"] {
    --section-accent: var(--accent-primary);
    --section-accent-glow: rgba(59, 130, 246, 0.15);
}

[data-accent="green"] {
    --section-accent: var(--success);
    --section-accent-glow: rgba(16, 185, 129, 0.15);
}

[data-accent="purple"] {
    --section-accent: #8b5cf6;
    --section-accent-glow: rgba(139, 92, 246, 0.15);
}

/* Feature section grid */
.feature-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .feature-section-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .feature-section-grid.reverse {
        grid-template-columns: 1fr 1.2fr;
    }

    .feature-section-grid.reverse .feature-section-visual {
        order: -1;
    }
}

/* Feature section content */
.feature-section-content {
    max-width: 500px;
}

.feature-section-content .section-label {
    color: var(--section-accent);
    text-align: left;
}

.feature-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.feature-section-desc {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* Feature list with accent colors */
.feature-section .feature-list-item .check-icon {
    color: var(--section-accent);
}

/* Feature section visual */
.feature-section-visual {
    position: relative;
}

.feature-section-visual .flow-editor-mockup,
.feature-section-visual .monitoring-mockup,
.feature-section-visual .report-mockup {
    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-base);
}

.feature-section-visual:hover .flow-editor-mockup,
.feature-section-visual:hover .monitoring-mockup {
    transform: translateY(-8px);
    box-shadow:
        0 30px 60px -15px var(--k5),
        0 0 50px var(--section-accent-glow);
}

.feature-section-visual:hover .report-mockup {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow:
        0 30px 60px -15px var(--k5),
        0 0 50px var(--section-accent-glow);
}

/* Accent decorative elements - using radial gradient instead of blur for better performance */
.feature-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--section-accent) 0%,
        transparent 70%
    );
    opacity: 0.06;
    pointer-events: none;
    /* GPU layer */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.feature-section:nth-child(odd)::before {
    top: 10%;
    right: -10%;
}

.feature-section:nth-child(even)::before {
    bottom: 10%;
    left: -10%;
}

/* Feature section CTA link */
.feature-section-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--section-accent);
    transition: gap var(--transition-fast);
}

.feature-section-link:hover {
    gap: var(--space-md);
    color: var(--section-accent);
}

/* ============================================
   FEATURE SHOWCASE (Visual-First Layout)
   ============================================ */

/* Feature Showcase Section */
.feature-showcase {
    padding: var(--space-4xl) 0 var(--space-5xl);
    position: relative;
}

.feature-showcase-alt {
    background: var(--bg-elevated);
}

/* Showcase Header - Centered, Minimal */
.feature-showcase-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.feature-showcase-number {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

[data-accent="green"] .feature-showcase-number {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

[data-accent="purple"] .feature-showcase-number {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.feature-showcase-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.feature-showcase-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-tag svg {
    color: var(--accent-primary);
}

.feature-tag-green {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

.feature-tag-green svg {
    color: var(--success);
}

.feature-tag-purple {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.feature-tag-purple svg {
    color: #8b5cf6;
}

/* ===========================================
   FEATURE STAGE - Epic Video Showcase
   =========================================== */

.feature-stage {
    position: relative;
    padding: var(--space-3xl) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ambient Background Glow */
.feature-ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    pointer-events: none;
    z-index: 0;
}

[data-color="blue"] .feature-ambient {
    background: radial-gradient(
        ellipse at center,
        rgba(59, 130, 246, 0.15) 0%,
        transparent 60%
    );
}

[data-color="green"] .feature-ambient {
    background: radial-gradient(
        ellipse at center,
        rgba(16, 185, 129, 0.15) 0%,
        transparent 60%
    );
}

[data-color="purple"] .feature-ambient {
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.15) 0%,
        transparent 60%
    );
}

/* Floating Particles */
.feature-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.6;
}

[data-color="blue"] .particle {
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}
[data-color="green"] .particle {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}
[data-color="purple"] .particle {
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6;
}

.particle:nth-child(1) {
    top: 10%;
    left: 5%;
    animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(2) {
    top: 20%;
    right: 10%;
    animation: particleFloat 10s ease-in-out infinite 1s;
    width: 6px;
    height: 6px;
}
.particle:nth-child(3) {
    bottom: 30%;
    left: 8%;
    animation: particleFloat 7s ease-in-out infinite 2s;
    width: 3px;
    height: 3px;
}
.particle:nth-child(4) {
    bottom: 15%;
    right: 5%;
    animation: particleFloat 9s ease-in-out infinite 0.5s;
}
.particle:nth-child(5) {
    top: 40%;
    left: 3%;
    animation: particleFloat 11s ease-in-out infinite 3s;
    width: 5px;
    height: 5px;
}
.particle:nth-child(6) {
    top: 60%;
    right: 8%;
    animation: particleFloat 8s ease-in-out infinite 1.5s;
    width: 3px;
    height: 3px;
}

@keyframes particleFloat {
    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.7;
    }
}

/* Video Frame - The Star of the Show */
.feature-frame {
    position: relative;
    width: 100%;
    max-width: var(--container-max);
    z-index: 2;
    padding: 24px;
    background: linear-gradient(
        145deg,
        var(--w03) 0%,
        var(--w01) 100%
    );
    border-radius: 28px;
}

.frame-border {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(
        145deg,
        var(--w15),
        var(--w03)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

[data-color="blue"] .frame-border {
    background: linear-gradient(
        145deg,
        rgba(59, 130, 246, 0.4),
        rgba(59, 130, 246, 0.05)
    );
}

[data-color="green"] .frame-border {
    background: linear-gradient(
        145deg,
        rgba(16, 185, 129, 0.4),
        rgba(16, 185, 129, 0.05)
    );
}

[data-color="purple"] .frame-border {
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.4),
        rgba(139, 92, 246, 0.05)
    );
}

.frame-content {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
    background: var(--k4);
    box-shadow:
        0 0 0 1px var(--k2),
        0 25px 80px -20px var(--k6),
        inset 0 1px 0 var(--w05);
}

.frame-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--w4),
        transparent
    );
    z-index: 5;
}

.feature-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Corner Accents */
.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 10;
}

.frame-corner::before,
.frame-corner::after {
    content: "";
    position: absolute;
    background: var(--w3);
}

.frame-corner::before {
    width: 100%;
    height: 2px;
}

.frame-corner::after {
    width: 2px;
    height: 100%;
}

[data-color="blue"] .frame-corner::before,
[data-color="blue"] .frame-corner::after {
    background: var(--accent-primary);
}

[data-color="green"] .frame-corner::before,
[data-color="green"] .frame-corner::after {
    background: var(--success);
}

[data-color="purple"] .frame-corner::before,
[data-color="purple"] .frame-corner::after {
    background: #8b5cf6;
}

.frame-corner-tl {
    top: -15px;
    left: -15px;
}
.frame-corner-tl::before {
    top: 0;
    left: 0;
}
.frame-corner-tl::after {
    top: 0;
    left: 0;
}

.frame-corner-tr {
    top: -15px;
    right: -15px;
}
.frame-corner-tr::before {
    top: 0;
    right: 0;
}
.frame-corner-tr::after {
    top: 0;
    right: 0;
}

.frame-corner-bl {
    bottom: -15px;
    left: -15px;
}
.frame-corner-bl::before {
    bottom: 0;
    left: 0;
}
.frame-corner-bl::after {
    bottom: 0;
    left: 0;
}

.frame-corner-br {
    bottom: -15px;
    right: -15px;
}
.frame-corner-br::before {
    bottom: 0;
    right: 0;
}
.frame-corner-br::after {
    bottom: 0;
    right: 0;
}

.frame-corner-tl,
.frame-corner-tr,
.frame-corner-bl,
.frame-corner-br {
    opacity: 0.1;
}

/* Feature Explainers - Detailed descriptions under video */
.feature-explainers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    width: 100%;
    max-width: var(--container-max);
    position: relative;
    z-index: 3;
}

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

@media (max-width: 640px) {
    .feature-explainers {
        grid-template-columns: 1fr;
    }
}

.feature-explainer {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--w02);
    border: 1px solid var(--w06);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-explainer:hover {
    background: var(--w04);
    border-color: var(--w1);
    transform: translateY(-4px);
}

[data-color="blue"] .feature-explainer:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2);
}

[data-color="green"] .feature-explainer:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.2);
}

[data-color="purple"] .feature-explainer:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.2);
}

.explainer-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--w05);
}

[data-color="blue"] .explainer-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
}

[data-color="green"] .explainer-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

[data-color="purple"] .explainer-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.explainer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.explainer-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    margin-bottom: 0.5rem;
}

.explainer-text {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-stage {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }

    .feature-frame {
        padding: 16px;
        max-width: 100%;
    }

    .floating-pill {
        display: none;
    }
}

@media (max-width: 768px) {
    .feature-frame {
        padding: 12px;
        border-radius: 20px;
    }

    .frame-content {
        border-radius: 12px;
    }

    .frame-corner {
        display: none;
    }
}

/* ============================================
   BROWSER SHOWCASE - Premium Screenshot Display
   ============================================ */

/* Main showcase container */
.browser-showcase {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-3xl) 0;
    /* Force GPU layer */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    isolation: isolate;
}

/* Decorative backdrop */
.showcase-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0);
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
    isolation: isolate;
    contain: layout style;
}

.backdrop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* REMOVED blur filter - using enhanced gradients instead for performance */
    opacity: 0.6;
    pointer-events: none;
}

.backdrop-glow-blue {
    background: radial-gradient(
        ellipse 60% 60% at 50% 50%,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(59, 130, 246, 0.15) 30%,
        rgba(59, 130, 246, 0.05) 50%,
        transparent 70%
    );
}

.backdrop-glow-green {
    background: radial-gradient(
        ellipse 60% 60% at 50% 50%,
        rgba(16, 185, 129, 0.3) 0%,
        rgba(16, 185, 129, 0.15) 30%,
        rgba(16, 185, 129, 0.05) 50%,
        transparent 70%
    );
}

.backdrop-glow-purple {
    background: radial-gradient(
        ellipse 60% 60% at 50% 50%,
        rgba(139, 92, 246, 0.3) 0%,
        rgba(139, 92, 246, 0.15) 30%,
        rgba(139, 92, 246, 0.05) 50%,
        transparent 70%
    );
}

.backdrop-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle at 1px 1px,
        var(--w03) 1px,
        transparent 0
    );
    background-size: 24px 24px;
    mask-image: radial-gradient(
        ellipse 60% 60% at 50% 50%,
        black 20%,
        transparent 70%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 60% 60% at 50% 50%,
        black 20%,
        transparent 70%
    );
}

/* Floating badges */
.showcase-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-primary);
    z-index: 10;
    box-shadow:
        0 8px 32px var(--k3),
        0 0 0 1px var(--w05) inset;
    /* REMOVED backdrop-filter - causes flickering when combined with animation */
    /* animation disabled to prevent flickering */
    /* animation: badgeFloat 6s ease-in-out infinite; */
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.showcase-badge svg {
    color: var(--accent-primary);
}

.showcase-badge-left {
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.showcase-badge-right {
    bottom: 20%;
    right: -3%;
    animation-delay: -3s;
}

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

/* Badge color variants */
.showcase-badge-green {
    border-color: rgba(16, 185, 129, 0.2);
}

.showcase-badge-green svg {
    color: var(--success);
}

.showcase-badge-purple {
    border-color: rgba(139, 92, 246, 0.2);
}

.showcase-badge-purple svg {
    color: #8b5cf6;
}

/* Recording dot animation */
.badge-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: recordPulse 1.5s ease-in-out infinite;
}

@keyframes recordPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* Live pulse animation */
.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Browser frame */
.browser-frame {
    position: relative;
    z-index: 5;
    background: #1a1a2e;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 50px 100px -30px var(--k6),
        0 30px 60px -20px var(--k5),
        0 0 0 1px var(--w08),
        0 0 0 1px var(--k5) inset;
    transform: perspective(2000px) rotateX(2deg);
    transition:
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s ease;
}

.browser-frame:hover {
    transform: perspective(2000px) rotateX(0deg) translateY(-8px);
    box-shadow:
        0 60px 120px -30px var(--k7),
        0 40px 80px -20px var(--k5),
        0 0 0 1px var(--w1),
        0 0 0 1px var(--k5) inset;
}

/* Browser chrome (title bar) */
.browser-chrome {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(180deg, #2a2a3e 0%, #222233 100%);
    border-bottom: 1px solid var(--w05);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.dot::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: var(--w2);
    border-radius: 50%;
}

.dot-red {
    background: linear-gradient(135deg, #ff6058 0%, #c74b44 100%);
}
.dot-yellow {
    background: linear-gradient(135deg, #ffbd2e 0%, #c79620 100%);
}
.dot-green {
    background: linear-gradient(135deg, #28ca42 0%, #1e9631 100%);
}

.browser-tabs {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 var(--space-xl);
}

.browser-tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: var(--w05);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-secondary);
}

.browser-tab svg {
    color: var(--accent-primary);
}

.browser-tab-active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
}

.browser-actions {
    display: flex;
    gap: var(--space-sm);
}

.browser-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: background var(--transition-fast);
}

.browser-action-btn:hover {
    background: var(--w05);
}

/* Browser toolbar */
.browser-toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 8px 16px;
    background: #1e1e2e;
    border-bottom: 1px solid var(--w03);
}

.browser-nav-buttons {
    display: flex;
    gap: 4px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--w05);
    color: var(--text-secondary);
}

.browser-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 12px;
    background: var(--k3);
    border-radius: var(--radius-md);
    border: 1px solid var(--w05);
}

.browser-url-bar svg {
    color: var(--success);
    flex-shrink: 0;
}

.url-text {
    font-size: 12px;
    color: var(--text-muted);
    font-family: ui-monospace, "SF Mono", monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-toolbar-actions {
    display: flex;
}

.toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 18px;
    transition: all var(--transition-fast);
}

.toolbar-btn:hover {
    background: var(--w05);
}

/* Browser viewport */
.browser-viewport {
    position: relative;
    background: #ffffff;
    line-height: 0;
}

.browser-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .showcase-badge-left {
        left: 0;
        top: 5%;
    }

    .showcase-badge-right {
        right: 0;
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    .browser-showcase {
        padding: var(--space-xl) 0;
    }

    .showcase-badge {
        display: none;
    }

    .browser-frame {
        transform: none;
        border-radius: var(--radius-lg);
    }

    .browser-frame:hover {
        transform: translateY(-4px);
    }

    .browser-chrome {
        padding: 8px 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .browser-tabs {
        display: none;
    }

    .browser-toolbar {
        padding: 6px 12px;
    }

    .browser-nav-buttons {
        display: none;
    }

    .url-text {
        font-size: 10px;
    }
}

/* App Window */
.app-window {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--w08);
    box-shadow:
        0 25px 80px -20px var(--k5),
        0 0 0 1px var(--w05) inset;
    max-width: 1100px;
    margin: 0 auto;
}

.app-window-header {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(
        180deg,
        var(--w03) 0%,
        transparent 100%
    );
    border-bottom: 1px solid var(--w05);
}

.app-window-dots {
    display: flex;
    gap: 6px;
}

.app-window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.app-window-dots span:nth-child(1) {
    background: #ff5f57;
}
.app-window-dots span:nth-child(2) {
    background: #ffbd2e;
}
.app-window-dots span:nth-child(3) {
    background: #28ca42;
}

.app-window-title {
    flex: 1;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.app-window-actions {
    display: flex;
    gap: var(--space-sm);
}

.app-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--w05);
    color: var(--text-muted);
}

.app-badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.app-btn-save,
.app-btn-primary {
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    background: var(--accent-primary);
    color: white;
}

.app-window-body {
    padding: 0;
    min-height: 400px;
}

/* Flow Editor Layout */
.flow-editor-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 420px;
}

@media (max-width: 768px) {
    .flow-editor-layout {
        grid-template-columns: 1fr;
    }
}

/* Steps Panel */
.steps-panel {
    background: var(--bg-elevated);
    border-right: 1px solid var(--w05);
    display: flex;
    flex-direction: column;
}

.steps-panel-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    border-bottom: 1px solid var(--w05);
}

.steps-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.steps-count {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.steps-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-sm);
}

/* Step Items */
.step-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    margin-bottom: 2px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.step-item:hover {
    background: var(--w03);
}

.step-item-selected {
    background: var(--w05);
    border: 1px solid var(--w08);
}

.step-drag {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.5;
    cursor: grab;
}

.step-number {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Step Icons - Match Plugin Colors */
.step-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
}

.step-icon-navigate {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.step-icon-click {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.step-icon-type {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.step-icon-check {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.step-info {
    flex: 1;
    min-width: 0;
}

.step-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.step-detail {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Steps Footer */
.steps-panel-footer {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 1px solid var(--w05);
}

.steps-add-btn,
.steps-record-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.steps-add-btn {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--w1);
}

.steps-record-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--w1);
}

.record-dot {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
}

/* Browser Preview */
.browser-preview {
    display: flex;
    flex-direction: column;
    background: var(--bg-deep);
}

.browser-preview-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--w05);
}

.browser-preview-nav {
    display: flex;
    gap: var(--space-xs);
}

.browser-nav-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
}

.browser-preview-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    font-size: 11px;
    color: var(--text-muted);
}

.browser-preview-zoom {
    font-size: 10px;
    color: var(--text-muted);
}

.browser-preview-content {
    flex: 1;
    padding: var(--space-xl);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Fake About Page */
.fake-about-page {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    width: 100%;
    max-width: 400px;
    color: var(--bg-deep);
}

.fake-page-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: var(--space-lg);
}

.fake-form-group {
    margin-bottom: var(--space-md);
}

.fake-form-label {
    display: block;
    font-size: 12px;
    color: #4b5563;
    margin-bottom: var(--space-xs);
}

.fake-form-input {
    height: 36px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
}

.fake-form-textarea {
    height: 80px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
}

.fake-submit-btn {
    padding: var(--space-sm) var(--space-lg);
    background: #14b8a6;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

/* Monitoring Dashboard Layout */
.monitoring-dashboard {
    padding: var(--space-xl);
}

.monitoring-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: var(--k2);
    border-bottom: 1px solid var(--w06);
}

.monitoring-status-big {
    position: relative;
    width: 48px;
    height: 48px;
}

.status-pulse-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease-out infinite;
}

.status-pulse-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.monitoring-status-info {
    flex: 1;
}

.monitoring-status-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.monitoring-status-value {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--success);
}

.monitoring-status-time {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Monitoring Stats Grid */
.monitoring-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

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

.monitoring-stat-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.monitoring-stat-card .monitoring-stat-value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.monitoring-stat-card .monitoring-stat-value.stat-green {
    color: var(--success);
}

.monitoring-stat-card .monitoring-stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* Monitoring Timeline */
.monitoring-timeline-section {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.monitoring-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.monitoring-timeline-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.monitoring-timeline-legend {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 11px;
    color: var(--text-muted);
}

.legend-up,
.legend-down {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: var(--space-xs);
}

.legend-up {
    background: var(--success);
}
.legend-down {
    background: var(--danger);
}

.monitoring-timeline-bars {
    display: flex;
    gap: 3px;
    height: 32px;
}

.monitoring-timeline-bars .timeline-bar {
    flex: 1;
    border-radius: 2px;
}

.monitoring-timeline-bars .timeline-bar.up {
    background: var(--success);
}

.monitoring-timeline-bars .timeline-bar.down {
    background: var(--danger);
}

/* Monitoring Chart */
.monitoring-chart-section {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.monitoring-chart-title {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.monitoring-chart {
    height: 80px;
}

.response-chart-svg {
    width: 100%;
    height: 100%;
}

/* Reports Layout */
.reports-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 400px;
}

@media (max-width: 768px) {
    .reports-layout {
        grid-template-columns: 1fr;
    }
}

.reports-list {
    background: var(--bg-elevated);
    border-right: 1px solid var(--w05);
}

.reports-list-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--w05);
}

.reports-list-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.report-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-bottom: 1px solid var(--w03);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.report-list-item:hover {
    background: var(--w02);
}

.report-list-item-selected {
    background: rgba(139, 92, 246, 0.08);
    border-left: 3px solid #8b5cf6;
}

.report-list-icon {
    color: var(--text-muted);
}

.report-list-info {
    flex: 1;
    min-width: 0;
}

.report-list-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.report-list-meta {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
}

.report-list-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: var(--radius-full);
}

/* Report Preview Panel */
.report-preview-panel {
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
}

.report-preview-page {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    width: 100%;
    max-width: 320px;
    color: var(--bg-deep);
    box-shadow: 0 10px 40px var(--k3);
}

.report-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid #e5e7eb;
}

.report-preview-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
}

.report-preview-logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: var(--radius-sm);
}

.report-preview-badge {
    font-size: 9px;
    padding: 3px 8px;
    background: #f3f4f6;
    color: #64748b;
    border-radius: var(--radius-full);
}

.report-preview-title {
    margin-bottom: var(--space-md);
}

.report-preview-title-main {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.report-preview-title-sub {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.report-preview-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(16, 185, 129, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.report-preview-highlight-label {
    display: block;
    font-size: 9px;
    color: #64748b;
}

.report-preview-highlight-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
}

.report-preview-stats {
    display: flex;
    gap: var(--space-sm);
}

.report-preview-stat {
    flex: 1;
    text-align: center;
    padding: var(--space-sm);
    background: #f9fafb;
    border-radius: var(--radius-md);
}

.report-preview-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.report-preview-stat-label {
    font-size: 9px;
    color: #64748b;
    text-transform: uppercase;
}

/* ---------- Feature Highlight Box ---------- */
.feature-highlight-box {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.feature-highlight-box.feature-highlight-green {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-highlight-box.feature-highlight-purple {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--section-accent);
    border-radius: var(--radius-md);
    color: white;
}

.feature-highlight-content {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.feature-highlight-content strong {
    color: var(--text-primary);
}

/* ---------- Test Recorder Mockup ---------- */
.recorder-mockup {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--w1);
    box-shadow: var(--shadow-xl);
}

.recorder-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.recorder-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.recorder-dot {
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    animation: recorderPulse 1.5s ease-in-out infinite;
}

@keyframes recorderPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.recorder-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--danger);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recorder-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.recorder-step-count {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.recorder-stop-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    cursor: pointer;
}

.recorder-browser {
    background: var(--bg-deep);
}

.recorder-browser-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--w05);
}

.recorder-url {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-deep);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.recorder-content {
    position: relative;
    padding: var(--space-lg);
    min-height: 180px;
}

/* Fake page content */
.fake-page {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    color: var(--bg-deep);
}

.fake-header {
    height: 20px;
    background: linear-gradient(90deg, #e5e7eb 30%, transparent 30%);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.fake-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.fake-input {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-sm);
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
}

.fake-input-active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.fake-label {
    font-size: 9px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fake-value {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--bg-deep);
}

.fake-value-muted {
    font-size: var(--font-size-xs);
    color: #94a3b8;
}

.fake-cursor {
    display: inline-block;
    width: 2px;
    height: 12px;
    background: var(--accent-primary);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.fake-button {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    background: var(--accent-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-align: center;
    overflow: hidden;
}

.fake-button-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--w3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.recorder-click-indicator {
    position: absolute;
    top: 35%;
    left: 25%;
    pointer-events: none;
}

.click-ripple {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: clickRipple 1.5s ease-out infinite;
}

@keyframes clickRipple {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Recorded steps panel */
.recorder-steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-sm);
    background: var(--bg-elevated);
    border-top: 1px solid var(--w05);
}

.recorder-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 10px;
}

.recorder-step-done {
    color: var(--text-muted);
}

.recorder-step-active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.step-num {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 50%;
    font-weight: 600;
    font-size: 9px;
}

.recorder-step-active .step-num {
    background: var(--accent-primary);
    color: white;
}

.step-action {
    color: var(--text-muted);
}

.step-target {
    font-weight: 500;
    color: var(--text-secondary);
}

.recorder-step-active .step-target {
    color: var(--accent-glow);
}

/* ---------- Alert Stack Mockup (Phone) ---------- */
.alert-stack-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    padding: var(--space-xl) 0;
}

.phone-frame {
    width: 280px;
    background: var(--bg-elevated);
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 25px 60px -15px var(--k5),
        inset 0 0 0 1px var(--w1);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: var(--bg-deep);
    border-radius: 0 0 16px 16px;
    margin: 0 auto var(--space-sm);
}

.phone-screen {
    background: var(--bg-deep);
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
}

.phone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    font-size: 11px;
    color: var(--text-primary);
}

.phone-time {
    font-weight: 600;
}

.phone-icons {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.phone-battery {
    font-size: 10px;
}

/* Notification stack */
.notification-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
}

.notification {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--w08);
}

.notification-alert {
    border-color: rgba(239, 68, 68, 0.3);
    animation: notificationSlide 0.3s ease;
}

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

.notification-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.notification-icon-alert {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.notification-icon-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.notification-icon-info {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

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

.notification-app {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.notification-time {
    font-size: 9px;
    color: var(--text-muted);
}

.notification-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.notification-body {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Floating stat badge */
.floating-stat-badge {
    position: absolute;
    top: 20px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 30px var(--k3);
}

.floating-stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--success);
}

.floating-stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ---------- Email Mockup ---------- */
.email-mockup {
    display: flex;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--w1);
    box-shadow: var(--shadow-xl);
    min-height: 380px;
}

.email-sidebar {
    width: 140px;
    background: var(--bg-elevated);
    padding: var(--space-md);
    border-right: 1px solid var(--w05);
    display: none;
}

@media (min-width: 768px) {
    .email-sidebar {
        display: block;
    }
}

.email-sidebar-header {
    margin-bottom: var(--space-lg);
}

.email-compose-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--accent-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 500;
}

.email-folders {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.email-folder {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-secondary);
}

.email-folder-active {
    background: var(--w05);
    color: var(--text-primary);
}

.email-count {
    margin-left: auto;
    padding: 2px 6px;
    background: var(--accent-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 600;
}

.email-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.email-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--w05);
}

.email-subject-line {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.email-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-md);
    color: #8b5cf6;
    flex-shrink: 0;
}

.email-subject-info {
    flex: 1;
    min-width: 0;
}

.email-from {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

.email-subject {
    display: block;
    font-size: 10px;
    color: var(--text-secondary);
}

.email-time {
    font-size: 9px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.email-body {
    padding: var(--space-md);
    flex: 1;
}

.email-greeting {
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.email-text {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.email-text strong {
    color: var(--text-primary);
}

/* Email report preview */
.email-report-preview {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--bg-deep);
}

.email-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #e5e7eb;
}

.email-report-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 10px;
    font-weight: 600;
}

.email-report-logo-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: var(--radius-sm);
}

.email-report-badge {
    font-size: 8px;
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: var(--radius-full);
    color: #64748b;
}

.email-report-stats {
    display: flex;
    gap: var(--space-sm);
}

.email-report-stat {
    flex: 1;
    text-align: center;
    padding: var(--space-sm);
    background: #f9fafb;
    border-radius: var(--radius-sm);
}

.email-report-stat-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-deep);
}

.email-report-stat-value.stat-success {
    color: var(--success);
}

.email-report-stat-label {
    font-size: 8px;
    color: #64748b;
    text-transform: uppercase;
}

/* Email attachment */
.email-attachment {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--w08);
}

.email-attachment svg {
    color: #8b5cf6;
    flex-shrink: 0;
}

.email-attachment-info {
    flex: 1;
    min-width: 0;
}

.email-attachment-name {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.email-attachment-size {
    font-size: 9px;
    color: var(--text-muted);
}

.email-download-btn {
    padding: var(--space-xs) var(--space-sm);
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
}

/* ---------- Utility Classes ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */

/* ---------- HIW Hero ---------- */
.hiw-hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hiw-hero-content {
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.hiw-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.hiw-hero-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hiw-hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.hiw-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-primary);
    font-weight: 500;
    transition: all var(--transition-base);
}

.hiw-scroll-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(2px);
    color: var(--accent-glow);
}

.hiw-scroll-btn svg {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* Worry Cycle */
.worry-cycle {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--w05);
}

.worry-cycle-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.worry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.worry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    color: var(--text-muted);
    transition: all 0.5s ease;
}

.worry-item span {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.worry-connector {
    width: 30px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--bg-surface),
        rgba(239, 68, 68, 0.3)
    );
    border-radius: 1px;
}

.worry-update .worry-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
}
.worry-check .worry-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbb F24;
}
.worry-hope .worry-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}
.worry-worry .worry-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* ---------- Comparison Section - Editorial Split Design ---------- */
.hiw-comparison {
    padding: var(--space-4xl) 0 0 0;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.comparison-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.comparison-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: var(--space-md);
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        var(--text-secondary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Split Screen Container */
.comparison-split {
    display: flex;
    flex-direction: column;
    min-height: 700px;
}

@media (min-width: 1024px) {
    .comparison-split {
        flex-direction: row;
        min-height: 600px;
    }
}

/* Split Panels */
.split-panel {
    flex: 1;
    position: relative;
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .split-panel {
        padding: var(--space-4xl);
    }
}

.split-content {
    max-width: 480px;
    width: 100%;
}

/* Old Way Panel - Red Theme */
.split-old {
    background: linear-gradient(
        160deg,
        rgba(239, 68, 68, 0.15) 0%,
        rgba(239, 68, 68, 0.03) 50%,
        transparent 100%
    );
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

@media (min-width: 1024px) {
    .split-old {
        border-bottom: none;
        border-right: 1px solid var(--w05);
    }

    .split-old::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 150px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(239, 68, 68, 0.05)
        );
        pointer-events: none;
    }
}

/* New Way Panel - Green Theme */
.split-new {
    background: linear-gradient(
        200deg,
        rgba(16, 185, 129, 0.15) 0%,
        rgba(16, 185, 129, 0.03) 50%,
        transparent 100%
    );
}

@media (min-width: 1024px) {
    .split-new::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 150px;
        background: linear-gradient(
            270deg,
            transparent,
            rgba(16, 185, 129, 0.05)
        );
        pointer-events: none;
    }
}

/* Labels */
.split-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--danger);
    margin-bottom: var(--space-lg);
}

.split-label-good {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--success);
}

.label-icon {
    font-size: 10px;
    font-weight: 900;
}

/* Titles */
.split-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.split-old .split-title {
    color: var(--text-primary);
}

.split-new .split-title {
    background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.split-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Journey Steps */
.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--k3);
    border-radius: var(--radius-xl);
    border: 1px solid var(--w05);
}

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    font-size: var(--font-size-sm);
    font-weight: 800;
    color: var(--danger);
}

.journey-steps-good .step-num {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}

.step-text strong {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.step-text span {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.journey-connector {
    width: 2px;
    height: 16px;
    background: rgba(239, 68, 68, 0.3);
    margin-left: 15px;
    border-radius: 1px;
}

.journey-steps-good .journey-connector {
    background: rgba(16, 185, 129, 0.3);
}

/* Stats */
.split-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-block {
    flex: 1;
    text-align: center;
    padding: var(--space-md);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-lg);
}

.stat-block-good {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--danger);
}

.stat-block-good .stat-number {
    color: var(--success);
}

.stat-unit {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.stat-desc {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 2px;
}

/* Quote */
.split-quote {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--danger);
    opacity: 0.8;
    padding-left: var(--space-md);
    border-left: 3px solid rgba(239, 68, 68, 0.4);
}

.split-quote-good {
    color: var(--success);
    border-left-color: rgba(16, 185, 129, 0.4);
}

/* Center Divider */
.split-divider {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .split-divider {
        display: flex;
        margin: 0 -40px;
    }
}

.divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--w2) 20%,
        var(--w2) 80%,
        transparent 100%
    );
}

.divider-badge {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--bg-elevated) 0%,
        var(--bg-deep) 100%
    );
    border: 2px solid var(--w15);
    border-radius: 50%;
    font-size: var(--font-size-sm);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    box-shadow: 0 8px 32px var(--k3);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .split-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: var(--space-md) var(--space-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-desc {
        text-align: right;
    }
}

/* ---------- Pipeline Section ---------- */
.hiw-pipeline {
    padding: var(--space-5xl) 0;
    background: var(--bg-elevated);
}

.pipeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: var(--bg-deep);
    border-radius: var(--radius-xl);
    border: 1px solid var(--w05);
    overflow-x: auto;
}

.pipeline-diagram {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-sm);
    min-width: 800px;
    padding: var(--space-md);
    position: relative;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    flex: 0 0 auto;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.pipeline-stage.active {
    opacity: 1;
}

.stage-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.stage-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.pipeline-stage.active .stage-icon {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.stage-node-final .stage-icon {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.pipeline-stage.active .stage-node-final .stage-icon {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.stage-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.stage-desc {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-align: center;
    max-width: 100px;
}

/* Mini Steps */
.stage-steps {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 140px;
}

.mini-step {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
}

.step-navigate {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}
.step-click {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}
.step-type {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}
.step-check {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

/* Stage Result */
.stage-result {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
}

.result-pass {
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.result-or {
    color: var(--text-muted);
}

.result-fail {
    padding: 2px 8px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Pipeline Connector */
.pipeline-connector {
    flex: 1;
    min-width: 40px;
    max-width: 80px;
    height: 2px;
    position: relative;
    margin-top: 28px;
}

.connector-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 1px;
}

.connector-pulse {
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* ---------- Triggers Section ---------- */
.hiw-triggers {
    padding: var(--space-5xl) 0;
}

.triggers-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .triggers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .triggers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trigger-card {
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--w05);
    transition: all var(--transition-base);
}

.trigger-card:hover {
    transform: translateY(-4px);
    border-color: var(--w1);
    box-shadow: 0 20px 40px var(--k3);
}

.trigger-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.trigger-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}
.trigger-icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}
.trigger-icon-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}
.trigger-icon-orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}
.trigger-icon-green {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}
.trigger-icon-pink {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.trigger-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.trigger-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* ---------- Checklist Section ---------- */
.hiw-checklist {
    padding: var(--space-5xl) 0;
    background: var(--bg-elevated);
}

.checklist-container {
    max-width: 700px;
    margin: 0 auto;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-deep);
    border-radius: var(--radius-lg);
    border: 1px solid var(--w05);
    transition: all var(--transition-base);
}

.checklist-item:hover {
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(4px);
}

.checklist-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    color: var(--success);
}

.checklist-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.checklist-action {
    font-weight: 600;
    color: var(--text-primary);
}

.checklist-question {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Scenario Section - Mission Control Dashboard ---------- */
.hiw-scenario {
    padding: var(--space-5xl) 0;
    background: linear-gradient(
        180deg,
        var(--bg-deep) 0%,
        var(--bg-elevated) 100%
    );
}

/* Mission Control Container */
.mission-control {
    max-width: 900px;
    margin: 0 auto;
    background: #0a0f1a;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--w08);
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--w05),
        0 20px 50px var(--k5),
        0 0 100px rgba(59, 130, 246, 0.1);
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 100%
    );
    border-bottom: 1px solid var(--w08);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.mission-control .mc-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.mission-control .mc-status-live {
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
        opacity: 0.8;
    }
}

.dashboard-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.meta-divider {
    opacity: 0.3;
}

/* Event Feed */
.event-feed {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-event {
    display: grid;
    grid-template-columns: 72px auto 1fr;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--w02);
    border-radius: var(--radius-lg);
    border-left: 3px solid transparent;
    transition: background var(--transition-base);
}

.feed-event:hover {
    background: var(--w04);
}

/* Event Status Colors */
.feed-event[data-status="info"] {
    border-left-color: var(--accent-secondary);
}

.feed-event[data-status="detected"] {
    border-left-color: var(--accent-primary);
}

.feed-event[data-status="running"] {
    border-left-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
}

.feed-event[data-status="error"] {
    border-left-color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

.feed-event[data-status="alert"] {
    border-left-color: #f97316;
}

.feed-event[data-status="success"] {
    border-left-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

/* Timestamp */
.event-timestamp {
    font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-muted);
    padding-top: 2px;
}

/* Status Badges */
.event-status {
    display: flex;
    align-items: flex-start;
}

.mission-control .mc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mission-control .mc-status-info {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-secondary);
}

.mission-control .mc-status-detected {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
}

.mission-control .mc-status-running {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    position: relative;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.mission-control .mc-status-error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.error-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
}

.mission-control .mc-status-alert {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.mission-control .mc-status-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

/* Event Details */
.event-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
}

.feed-event[data-status="error"] .event-title {
    color: var(--danger);
}

.feed-event[data-status="success"] .event-title {
    color: var(--success);
}

.event-meta {
    font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.event-screenshot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 4px 8px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--danger);
    width: fit-content;
}

/* Progress Bar */
.event-progress {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: 6px;
}

.progress-bar {
    flex: 1;
    max-width: 150px;
    height: 4px;
    background: var(--w1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 33%;
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.progress-text {
    font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
    font-size: 10px;
    color: var(--text-muted);
}

/* Dashboard Summary */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--w05);
    border-top: 1px solid var(--w08);
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: #0a0f1a;
    text-align: center;
}

.summary-value {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--success);
    letter-spacing: -0.02em;
}

.summary-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Scenario Card - Clean Style */
.scenario-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(
        145deg,
        rgba(17, 24, 39, 0.95),
        rgba(10, 15, 28, 0.98)
    );
    border: 1px solid var(--w08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 4px 6px var(--k3),
        0 10px 40px var(--k4),
        inset 0 1px 0 var(--w05);
}

.scenario-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--k2);
}

.scenario-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.scenario-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.scenario-content {
    padding: var(--space-md) var(--space-lg);
}

.scenario-timeline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-lg);
}

.timeline-event {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px 14px;
    background: var(--w025);
    border: 1px solid var(--w06);
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateX(-10px);
    animation: eventSlideIn 0.4s ease-out forwards;
}

.timeline-event:nth-child(1) {
    animation-delay: 0.3s;
}
.timeline-event:nth-child(2) {
    animation-delay: 0.6s;
}
.timeline-event:nth-child(3) {
    animation-delay: 0.9s;
}
.timeline-event:nth-child(4) {
    animation-delay: 1.2s;
}
.timeline-event:nth-child(5) {
    animation-delay: 1.5s;
}

@keyframes eventSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-event-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.timeline-event-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.event-time {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    width: 38px;
    flex-shrink: 0;
}

.event-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: indicatorPulse 2s ease-in-out infinite;
    animation-delay: inherit;
}

@keyframes indicatorPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 4px transparent;
        opacity: 0.7;
    }
}

.event-indicator.event-info {
    background: var(--accent-cyan);
    color: var(--accent-cyan);
}

.event-indicator.event-running {
    background: #fbbf24;
    color: #fbbf24;
}

.event-indicator.event-error {
    background: var(--danger);
    color: var(--danger);
    animation: errorPulse 1s ease-in-out infinite;
}

@keyframes errorPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.event-indicator.event-alert {
    background: #f97316;
    color: #f97316;
}

.event-indicator.event-success {
    background: var(--success);
    color: var(--success);
    animation: successPulse 1.5s ease-in-out infinite;
}

@keyframes successPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.event-text {
    flex: 1;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.timeline-event-error .event-text {
    color: var(--danger);
    font-weight: 500;
}

.timeline-event-success .event-text {
    color: var(--success);
    font-weight: 500;
}

.scenario-stats {
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    animation: statsReveal 0.5s ease-out 2s forwards;
}

@keyframes statsReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scenario-stat {
    flex: 1;
    padding: 16px 12px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    text-align: center;
}

.scenario-stat-value {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--success);
    margin-bottom: 4px;
}

.scenario-stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.scenario-footer {
    padding: var(--space-md);
    background: rgba(16, 185, 129, 0.08);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    text-align: center;
    opacity: 0;
    animation: footerReveal 0.5s ease-out 2.3s forwards;
}

@keyframes footerReveal {
    to {
        opacity: 1;
    }
}

.scenario-footer-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--success);
}

.scenario-footer-text::before {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .feed-event {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .event-timestamp {
        order: -1;
    }

    .event-status {
        order: 0;
    }

    .event-details {
        order: 1;
    }

    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .summary-stat {
        padding: var(--space-md);
        flex-direction: row;
        justify-content: space-between;
    }

    .summary-value {
        order: 1;
    }

    .summary-label {
        margin-top: 0;
    }
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
    .worry-cycle-track {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .worry-connector {
        width: 2px;
        height: 20px;
        background: linear-gradient(
            180deg,
            var(--bg-surface),
            rgba(239, 68, 68, 0.3)
        );
    }

    .comparison-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .comparison-stats {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .pipeline-diagram {
        flex-direction: column;
        align-items: center;
        min-width: auto;
        gap: var(--space-lg);
    }

    .pipeline-connector {
        width: 2px;
        height: 30px;
        min-width: 2px;
        max-width: 2px;
        margin-top: 0;
    }

    .connector-line {
        width: 2px;
        height: 100%;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */

/* ---------- Pricing Hero ---------- */
.pricing-hero {
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
    text-align: center;
    position: relative;
}

.pricing-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

.pricing-hero-title .title-line {
    display: block;
}

.pricing-hero-title .title-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary) 0%,
        var(--accent-cyan) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ---------- Pricing Section ---------- */
.pricing-section {
    padding: var(--space-4xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    position: relative;
    display: flex;
    flex-direction: column;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--k3);
}

.pricing-card-header {
    margin-bottom: var(--space-lg);
}

.pricing-tier-name {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.pricing-tier-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Price Display */
.pricing-price {
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
}

.price-currency {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-secondary);
    align-self: flex-start;
    margin-top: 8px;
}

.price-amount {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.price-period {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-left: 4px;
}

.price-onetime {
    color: var(--warning);
    font-weight: 600;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pricing-feature strong {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-check {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ---------- Popular Card (Pro) ---------- */
.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.25),
        0 20px 40px var(--k3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), #60a5fa);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* ---------- Lifetime Card (Special) ---------- */
.pricing-card.lifetime {
    background: var(--bg-elevated);
    border: 2px solid #f59e0b;
    position: relative;
    overflow: visible;
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.3),
        0 0 30px rgba(245, 158, 11, 0.15),
        0 20px 40px var(--k3);
}

.pricing-card.lifetime:hover {
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.5),
        0 0 50px rgba(245, 158, 11, 0.25),
        0 25px 50px var(--k4);
}

.launch-ribbon {
    position: absolute;
    top: -1px;
    right: 24px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 8px 14px 12px;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    z-index: 10;
}

.lifetime-urgency {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-xs);
    color: #fbbf24;
    font-weight: 600;
}

.pricing-card.lifetime .pricing-tier-name {
    color: #fbbf24;
}

.pricing-card.lifetime .pricing-tier-desc {
    color: var(--text-secondary);
}

.pricing-card.lifetime .price-amount {
    color: #fbbf24;
}

.pricing-card.lifetime .price-currency {
    color: var(--text-muted);
}

.pricing-card.lifetime .feature-check {
    color: #fbbf24;
}

.pricing-card.lifetime .pricing-feature {
    color: var(--text-secondary);
}

.pricing-card.lifetime .pricing-feature strong {
    color: var(--text-primary);
}

.pricing-feature-highlight {
    color: #fbbf24 !important;
    font-weight: 600;
}

.btn-lifetime {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 700;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-lifetime:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: #000!important;
}

/* ---------- Value Comparison Section ---------- */
.value-section {
    padding: var(--space-5xl) 0 var(--space-4xl);
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.value-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--w1), transparent);
}

.value-content {
    max-width: 900px;
    margin: 0 auto;
}

.value-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.value-title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--space-md);
}

.value-subtitle {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    max-width: 600px;
    margin: var(--space-md) auto 0;
    line-height: 1.6;
}

.value-comparison {
    display: flex;
    align-items: stretch;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.value-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-vs-text {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.value-card {
    flex: 1;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    position: relative;
}

.value-card-other {
    background: var(--w03);
    border: 1px solid var(--w06);
}

.value-card-flowguard {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.value-card-badge {
    position: absolute;
    top: -10px;
    right: var(--space-lg);
    background: linear-gradient(135deg, var(--accent-primary), var(--success));
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.value-card-header {
    margin-bottom: var(--space-lg);
}

.value-card-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.value-card-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.value-price-range {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.value-card-other .value-price-range {
    color: var(--text-secondary);
}

.value-card-flowguard .value-price-range {
    background: linear-gradient(135deg, var(--accent-primary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-price-period {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.value-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.value-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.value-feature svg {
    flex-shrink: 0;
}

.value-feature-negative svg {
    color: rgba(239, 68, 68, 0.7);
}

.value-feature-positive svg {
    color: var(--success);
}

.value-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--w06);
}

.value-stat {
    text-align: center;
}

.value-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: var(--space-xs);
}

.value-stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Value Section Responsive */
@media (max-width: 768px) {
    .value-comparison {
        flex-direction: column;
        gap: var(--space-md);
    }

    .value-vs {
        padding: var(--space-sm) 0;
    }

    .value-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .value-stat {
        padding: var(--space-md);
        border-bottom: 1px solid var(--w06);
    }

    .value-stat:last-child {
        border-bottom: none;
    }
}

/* ---------- Comparison Table ---------- */
.comparison-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-deep);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: var(--space-3xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--w08);
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: var(--bg-elevated);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--w06);
}

.comparison-table th {
    background: var(--bg-surface);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.comparison-table td {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.comparison-table .feature-col {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table .popular-col {
    background: rgba(59, 130, 246, 0.05);
}

.comparison-table th.popular-col {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
}

.comparison-table .lifetime-col {
    background: rgba(245, 158, 11, 0.03);
}

.comparison-table th.lifetime-col {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.comparison-table tbody tr:hover {
    background: var(--w02);
}

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

/* Check icons. The tick is the SVG the template prints — the circle must
   not draw a second one on top of it. */
.check-yes,
.check-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 1;
}

.check-yes {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.check-yes .feature-check { width: 14px; height: 14px; display: block; }

.check-no {
    background: rgba(107, 114, 128, 0.15);
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ---------- Trust Section ---------- */
.trust-section {
    padding: var(--space-4xl) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--w06);
    border-radius: var(--radius-xl);
    transition:
        transform var(--transition-base),
        border-color var(--transition-base);
}

.trust-badge:hover {
    transform: translateY(-4px);
    border-color: var(--w12);
}

.trust-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1),
        rgba(6, 182, 212, 0.1)
    );
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    color: var(--accent-cyan);
}

.trust-title {
    font-weight: 700;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.trust-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-deep);
}

.faq-list {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
}

.faq-item {
    border: 1px solid var(--w08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

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

.faq-item.active {
    border-color: var(--accent-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-base);
}

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

.faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition:
        transform var(--transition-base),
        color var(--transition-base);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

/* ---------- Pricing Responsive ---------- */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding-top: calc(var(--space-4xl) + 80px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card {
        padding: var(--space-xl);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .trust-badge {
        padding: var(--space-lg);
    }

    .trust-icon {
        width: 48px;
        height: 48px;
    }

    .comparison-table-wrapper {
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .faq-question {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--font-size-sm);
    }

    .faq-answer p {
        padding: 0 var(--space-lg) var(--space-md);
    }
}

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

    .pricing-hero-title {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* ---------- FAQ Hero ---------- */
.faq-hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
}

.faq-hero-content {
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.faq-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.faq-hero-title .title-line {
    display: block;
}

.faq-hero-title .title-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.faq-hero-subtitle .hero-link {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-base);
}

.faq-hero-subtitle .hero-link:hover {
    color: var(--accent-cyan);
}

/* ---------- FAQ Search ---------- */
.faq-search-wrapper {
    display: flex;
    justify-content: center;
}

.faq-search {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.faq-search .search-icon {
    position: absolute;
    left: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-base);
}

.faq-search input {
    width: 100%;
    padding: var(--space-lg) var(--space-lg) var(--space-lg)
        calc(var(--space-lg) + 28px);
    background: var(--bg-elevated);
    border: 1px solid var(--w1);
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.faq-search input::placeholder {
    color: var(--text-muted);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.faq-search input:focus + .search-icon,
.faq-search:focus-within .search-icon {
    color: var(--accent-primary);
}

.search-shortcut {
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-shortcut kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-xs);
    background: var(--bg-surface);
    border: 1px solid var(--w1);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-family: inherit;
    color: var(--text-muted);
}

/* ---------- Category Navigation ---------- */
.faq-categories-nav {
    padding: var(--space-lg) 0 var(--space-xl);
    position: sticky;
    top: 80px;
    z-index: 40;
    background: linear-gradient(
        180deg,
        var(--bg-base) 0%,
        var(--bg-base) 90%,
        transparent 100%
    );
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base);
}

.category-tab svg {
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.category-tab:hover {
    background: var(--bg-surface);
    border-color: var(--w12);
    color: var(--text-primary);
}

.category-tab:hover svg {
    opacity: 1;
}

.category-tab.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.category-tab.active svg {
    opacity: 1;
}

/* ---------- FAQ Content Section ---------- */
.faq-content {
    padding: var(--space-2xl) 0 var(--space-5xl);
}

/* ---------- FAQ Category Blocks ---------- */
.faq-category {
    margin-bottom: var(--space-4xl);
}

.faq-category:last-of-type {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
    color: var(--accent-primary);
}

.category-icon-testing {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    color: var(--success);
}

.category-icon-monitoring {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15),
        rgba(59, 130, 246, 0.1)
    );
    color: #8b5cf6;
}

.category-icon-technical {
    background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.15),
        rgba(59, 130, 246, 0.1)
    );
    color: var(--accent-cyan);
}

.category-icon-billing {
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.15),
        rgba(249, 115, 22, 0.1)
    );
    color: #f59e0b;
}

.category-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.category-desc {
    font-size: var(--font-size-base);
    color: var(--text-muted);
}

/* ---------- FAQ Items List ---------- */
.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

/* Override existing faq-item styles for page context */
.faq-content .faq-item {
    border: 1px solid var(--w08);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-content .faq-item:hover {
    border-color: var(--w15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--k15);
}

.faq-content .faq-item.active {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

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

.faq-content .faq-question span {
    flex: 1;
}

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

.faq-content .faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition:
        transform var(--transition-base),
        color var(--transition-base);
}

.faq-content .faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-content .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content .faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-content .faq-answer p,
.faq-content .faq-answer ul,
.faq-content .faq-answer ol {
    padding: 0 var(--space-xl) var(--space-md);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.faq-content .faq-answer p:first-child {
    padding-top: 0;
}

.faq-content .faq-answer ul,
.faq-content .faq-answer ol {
    padding-left: var(--space-xl);
    list-style: none;
}

.faq-content .faq-answer ul li,
.faq-content .faq-answer ol li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--space-sm);
}

/* Unordered list - gradient dot bullets */
.faq-content .faq-answer ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* Ordered list - numbered badges */
.faq-content .faq-answer ol {
    counter-reset: faq-counter;
}

.faq-content .faq-answer ol li {
    counter-increment: faq-counter;
}

.faq-content .faq-answer ol li::before {
    content: counter(faq-counter);
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.faq-content .faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------- No Results ---------- */
.faq-no-results {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.no-results-icon {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    opacity: 0.5;
}

.faq-no-results h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.faq-no-results p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.faq-no-results a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Contact Section ---------- */
.faq-contact {
    padding: var(--space-5xl) 0;
    background: var(--bg-deep);
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    background: linear-gradient(
        135deg,
        var(--bg-elevated) 0%,
        var(--bg-surface) 100%
    );
    border: 1px solid var(--w08);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.contact-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-content .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.decoration-dots {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.decoration-dots span {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
}

.decoration-dots span:nth-child(2) {
    opacity: 0.5;
    margin-left: var(--space-md);
}

.decoration-dots span:nth-child(3) {
    opacity: 0.7;
    margin-left: var(--space-xl);
}

/* ---------- FAQ Page Responsive ---------- */
@media (max-width: 768px) {
    .faq-hero {
        padding-top: calc(var(--space-4xl) + 80px);
    }

    .faq-hero-title {
        font-size: 2rem;
    }

    .faq-categories-nav {
        top: 70px;
        padding: var(--space-md) 0;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 var(--space-md);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tab {
        flex-shrink: 0;
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-xs);
    }

    .category-icon {
        width: 56px;
        height: 56px;
    }

    .category-title {
        font-size: var(--font-size-xl);
    }

    .faq-content .faq-question {
        padding: var(--space-lg);
        font-size: var(--font-size-sm);
    }

    .faq-content .faq-answer p,
    .faq-content .faq-answer ul,
    .faq-content .faq-answer ol {
        padding: 0 var(--space-lg) var(--space-md);
    }

    .faq-content .faq-answer ul,
    .faq-content .faq-answer ol {
        padding-left: var(--space-lg);
    }

    .contact-card {
        padding: var(--space-2xl);
    }

    .contact-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .faq-search input {
        padding: var(--space-md) var(--space-md) var(--space-md)
            calc(var(--space-md) + 28px);
        font-size: var(--font-size-sm);
    }

    .faq-search .search-icon {
        left: var(--space-md);
    }

    .search-shortcut {
        display: none;
    }

    .faq-content .faq-item {
        border-radius: var(--radius-lg);
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* ---------- Contact Hero ---------- */
.contact-hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.contact-hero-title .title-line {
    display: block;
}

.contact-hero-title .title-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ---------- Section Header Center ---------- */
.section-header-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-header-center h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-header-center p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* ---------- Quick Help Section - Portal Design ---------- */
.quick-help-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

/* Custom Header */
.quick-help-header {
    position: relative;
    margin-bottom: var(--space-3xl);
}

.header-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    margin-bottom: var(--space-lg);
    border-radius: 2px;
}

.header-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: var(--space-sm);
}

.quick-help-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.quick-help-header h2 em {
    font-style: normal;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-help-header p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    max-width: 500px;
}

/* Portal Grid - Asymmetric Layout */
.portal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: stretch;
}

.portal-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Portal Card Base */
.portal-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease;
}

.portal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        var(--w1),
        var(--w02)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Portal Glow Effect */
.portal-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(59, 130, 246, 0.08) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.portal-card:hover .portal-glow {
    opacity: 1;
}

.portal-glow-green {
    background: radial-gradient(
        circle at center,
        rgba(16, 185, 129, 0.1) 0%,
        transparent 50%
    );
}

.portal-glow-purple {
    background: radial-gradient(
        circle at center,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 50%
    );
}

/* Portal Number */
.portal-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    opacity: 0.6;
    font-family: var(--font-mono, monospace);
    z-index: 4;
}

/* Featured Portal Card */
.portal-featured {
    background: linear-gradient(
        145deg,
        rgba(30, 35, 50, 0.9),
        rgba(20, 25, 35, 0.95)
    );
    min-height: 340px;
}

/* Animated border glow for featured card */
.portal-featured::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.4),
        rgba(6, 182, 212, 0.2),
        rgba(59, 130, 246, 0.1),
        rgba(6, 182, 212, 0.3)
    );
    background-size: 300% 300%;
    animation: portalGlow 6s ease-in-out infinite;
    z-index: 0;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

@keyframes portalGlow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.portal-featured:hover::after {
    opacity: 0.8;
}

.portal-featured:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 25px 50px var(--k3),
        0 0 80px rgba(59, 130, 246, 0.1);
}

.portal-featured::before {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.3),
        rgba(6, 182, 212, 0.1),
        var(--w05)
    );
}

.portal-featured:hover::before {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.5),
        rgba(6, 182, 212, 0.2),
        var(--w1)
    );
}

.portal-featured .portal-content {
    position: relative;
    z-index: 3;
    padding: var(--space-2xl);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portal-featured .portal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.2),
        rgba(6, 182, 212, 0.1)
    );
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
    color: var(--accent-primary);
    margin-bottom: var(--space-xl);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.portal-featured:hover .portal-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.portal-featured h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.portal-featured p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: auto;
    max-width: 320px;
}

.portal-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--accent-primary);
    transition: gap 0.3s ease;
}

.portal-featured:hover .portal-cta {
    gap: var(--space-md);
}

.portal-cta svg {
    transition: transform 0.3s ease;
}

.portal-featured:hover .portal-cta svg {
    transform: translateX(4px);
}

/* Portal Pattern (decorative) */
.portal-pattern {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.portal-pattern span {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.portal-pattern span:nth-child(odd) {
    opacity: 0.5;
}

/* Secondary Portal Cards */
.portal-secondary {
    background: linear-gradient(
        145deg,
        rgba(25, 30, 42, 0.8),
        rgba(18, 22, 32, 0.9)
    );
    flex: 1;
}

.portal-secondary:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow:
        0 15px 35px var(--k25),
        -4px 0 20px rgba(59, 130, 246, 0.05);
}

.portal-secondary .portal-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
}

.portal-secondary .portal-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.08)
    );
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.portal-secondary:hover .portal-icon {
    transform: scale(1.1);
}

.portal-icon-green {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.15),
        rgba(6, 182, 212, 0.08)
    ) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
    color: var(--success) !important;
}

.portal-icon-purple {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15),
        rgba(59, 130, 246, 0.08)
    ) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
    color: #8b5cf6 !important;
}

.portal-text {
    flex: 1;
    min-width: 0;
}

.portal-secondary h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.portal-secondary p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.portal-secondary:hover .portal-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-primary);
}

/* Green variant hover glow */
.portal-secondary:has(.portal-icon-green):hover {
    box-shadow:
        0 15px 35px var(--k25),
        -4px 0 20px rgba(16, 185, 129, 0.08);
}

.portal-secondary:has(.portal-icon-green):hover .portal-arrow {
    color: var(--success);
}

/* Purple variant hover glow */
.portal-secondary:has(.portal-icon-purple):hover {
    box-shadow:
        0 15px 35px var(--k25),
        -4px 0 20px rgba(139, 92, 246, 0.08);
}

.portal-secondary:has(.portal-icon-purple):hover .portal-arrow {
    color: #8b5cf6;
}

/* ---------- Contact Options Section ---------- */
.contact-options-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-deep);
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.contact-option {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.contact-option:hover {
    border-color: var(--w15);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--k15);
}

.contact-option-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
}

.contact-option-icon-green {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    color: var(--success);
}

.contact-option-icon-purple {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15),
        rgba(59, 130, 246, 0.1)
    );
    color: #8b5cf6;
}

.contact-option h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.contact-option p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.contact-option-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-option-link:hover {
    color: var(--accent-cyan);
}

.contact-option-highlight {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* ---------- Contact Form Section ---------- */
.contact-form-section {
    padding: var(--space-5xl) 0;
}

.contact-form-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-2xl);
}

.contact-form-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.contact-form-header h2 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.contact-form-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: transparent;
    border: none;
    padding: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group:last-of-type {
    margin-bottom: var(--space-xl);
}

/* Input Wrapper - Clean Style */
.input-wrapper {
    position: relative;
}

.input-wrapper label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--w1);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    transition: all var(--transition-base);
    outline: none;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 140px;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    padding-right: var(--space-3xl);
}

/* Focus line animation */
.input-focus-line {
    display: none;
}

/* Input focus state */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Select arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper .select-arrow {
    position: absolute;
    right: var(--space-lg);
    bottom: var(--space-md);
    color: var(--text-muted);
    pointer-events: none;
    transition:
        transform var(--transition-base),
        color var(--transition-base);
}

.select-wrapper select:focus ~ .select-arrow {
    color: var(--accent-primary);
    transform: rotate(180deg);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-text {
    transition: opacity var(--transition-base);
}

.btn-submit .btn-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-submit .btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    opacity: 0;
}

.btn-submit.loading .btn-loader {
    opacity: 1;
}

/* ---------- Form Success State ---------- */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-4xl);
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-2xl);
}

.form-success.active {
    display: block;
}

.contact-form.hidden {
    display: none;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-xl);
    color: var(--success);
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-icon svg circle {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    animation: drawCircle 0.6s ease-out forwards;
}

.success-icon svg path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 0.4s ease-out 0.4s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.form-success h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* ---------- Form Footer ---------- */
.form-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
}

.form-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.form-note svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ---------- Contact Info Cards ---------- */
.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.info-card:hover {
    border-color: var(--w15);
    transform: translateX(4px);
}

.info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.info-icon-clock {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.15),
        rgba(6, 182, 212, 0.1)
    );
    color: var(--success);
}

.info-icon-help {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15),
        rgba(59, 130, 246, 0.1)
    );
    color: #8b5cf6;
}

.info-content h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.info-content p,
.info-content a {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.info-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.info-content a:hover {
    color: var(--accent-cyan);
}

/* Decorative Pattern */
.contact-decoration-pattern {
    position: absolute;
    bottom: -60px;
    right: -40px;
    opacity: 0.3;
    pointer-events: none;
}

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

.pattern-grid span {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.pattern-grid span:nth-child(2n) {
    opacity: 0.3;
}

.pattern-grid span:nth-child(3n) {
    opacity: 0.7;
}

/* ---------- Contact Page Responsive ---------- */
@media (max-width: 1024px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .portal-featured {
        min-height: 280px;
    }

    .portal-stack {
        flex-direction: row;
    }

    .portal-secondary {
        flex: 1;
    }

    .contact-options-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .contact-form-container {
        padding: var(--space-2xl);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1;
        min-width: 200px;
    }

    .info-card:hover {
        transform: translateY(-2px);
    }

    .contact-decoration-pattern {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: calc(var(--space-4xl) + 80px);
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .section-header-center h2 {
        font-size: var(--font-size-xl);
    }

    .quick-help-section,
    .contact-options-section {
        padding: var(--space-3xl) 0;
    }

    /* Portal Responsive */
    .quick-help-header h2 {
        font-size: 1.75rem;
    }

    .portal-stack {
        flex-direction: column;
    }

    .portal-featured {
        min-height: auto;
    }

    .portal-featured .portal-content {
        padding: var(--space-xl);
    }

    .portal-featured .portal-icon {
        width: 52px;
        height: 52px;
    }

    .portal-featured h3 {
        font-size: var(--font-size-lg);
    }

    .portal-secondary .portal-content {
        padding: var(--space-lg);
    }

    .portal-secondary .portal-icon {
        width: 44px;
        height: 44px;
    }

    .portal-pattern {
        display: none;
    }

    .contact-option {
        padding: var(--space-lg);
    }

    .contact-form-container {
        padding: var(--space-xl);
    }

    .contact-form-header h2 {
        font-size: var(--font-size-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-footer {
        gap: var(--space-md);
    }

    .form-note {
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-info {
        flex-direction: column;
    }

    .info-card {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        padding: var(--space-md);
        padding-top: calc(var(--space-md) + 8px);
        font-size: var(--font-size-sm);
    }

    .input-wrapper label {
        font-size: var(--font-size-sm);
    }

    .form-success {
        padding: var(--space-2xl);
    }
}
/* ============================================
           CHANGELOG PAGE STYLES
           ============================================ */

/* Hero Section - Matches FAQ/Contact pattern */
.changelog-hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
}

.changelog-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.changelog-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.changelog-hero-title .title-line {
    display: block;
}

.changelog-hero-title .title-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.changelog-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Changelog List Section */
.changelog-section {
    padding: var(--space-3xl) 0 var(--space-5xl);
}

.changelog-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Version Entry */
.version-entry {
    position: relative;
    padding-left: var(--space-xl);
    padding-bottom: var(--space-3xl);
    border-left: 2px solid var(--bg-surface);
}

.version-entry:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

/* Timeline dot */
.version-entry::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 15px;
    width: 12px;
    height: 12px;
    background: var(--bg-deep);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
}

.version-entry:first-child::before {
    border-color: var(--success);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Version Header */
.version-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.version-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    font-family: "SF Mono", "Monaco", "Inconsolata", monospace;
}

.version-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-badge-latest {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.version-badge-major {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.version-date {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-left: auto;
}

@media (max-width: 600px) {
    .version-date {
        margin-left: 0;
        width: 100%;
    }
}

/* Change Categories */
.change-category {
    margin-bottom: var(--space-lg);
}

.change-category:last-child {
    margin-bottom: 0;
}

.category-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.category-label svg {
    width: 12px;
    height: 12px;
}

.category-added {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.category-fixed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.category-improved {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-glow);
}

.category-security {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Change List */
.change-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.change-item {
    position: relative;
    padding: 6px 0 6px var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.change-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
}

.change-item code {
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-family: "SF Mono", "Monaco", "Inconsolata", monospace;
    color: var(--accent-cyan);
}

/* Divider between versions */
.version-entry + .version-entry {
    margin-top: 0;
}

/* ============================================
   LEGAL PAGES (Terms, Privacy)
   ============================================ */

.legal-content-section {
    padding: var(--space-4xl) 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--bg-surface);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-snug);
}

.legal-section h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-snug);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin: var(--space-md) 0;
    padding-left: var(--space-xl);
}

.legal-section ul {
    list-style-type: disc;
}

.legal-section ol {
    list-style-type: decimal;
}

.legal-section li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-xs);
}

.legal-section li strong {
    color: var(--text-primary);
    font-weight: 500;
}

.legal-section a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--accent-glow);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-content-section {
        padding: var(--space-2xl) 0;
    }

    .legal-section {
        margin-bottom: var(--space-2xl);
        padding-bottom: var(--space-xl);
    }

    .legal-section h2 {
        font-size: var(--font-size-lg);
    }
}

/* ============================================
   USAGE CALCULATOR SECTION
   ============================================ */

.calculator-section {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            ellipse at 30% 20%,
            rgba(59, 130, 246, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 70% 80%,
            rgba(124, 58, 237, 0.06) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Quick Setup Panel */
.calc-quick-setup {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(6, 182, 212, 0.05) 100%
    );
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    grid-column: 1 / -1;
}

.calc-quick-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.calc-quick-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.calc-quick-hint {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.calc-quick-inputs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.calc-quick-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.calc-quick-field-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.calc-quick-field-label svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.calc-quick-stepper {
    display: flex;
    align-items: center;
    background: var(--bg-deep);
    border: 1px solid var(--w15);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
}

.calc-stepper-btn {
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--w05);
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-stepper-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    color: var(--accent-primary);
}

.calc-stepper-btn:active {
    transform: scale(0.95);
    background: rgba(59, 130, 246, 0.4);
}

.calc-stepper-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--w1);
    border-right: 1px solid var(--w1);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}

.calc-stepper-input::-webkit-outer-spin-button,
.calc-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-stepper-input:focus {
    outline: none;
    background: rgba(59, 130, 246, 0.1);
}

.calc-quick-select {
    height: 44px;
    padding: 0 var(--space-lg);
    background: var(--bg-deep);
    border: 1px solid var(--w15);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    width: 100%;
}

.calc-quick-select:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background-color: var(--w02);
}

.calc-quick-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.calc-quick-select option {
    background: var(--bg-deep);
    color: var(--text-primary);
    padding: var(--space-sm);
}

.calc-quick-summary {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--w08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.calc-summary-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.calc-summary-text strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.calc-summary-plan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.calc-summary-plan-arrow {
    color: var(--accent-primary);
    font-size: 14px;
}

.calc-summary-plan-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.calc-summary-plan-name {
    font-size: 14px;
    color: var(--text-primary);
}

.calc-summary-plan-price {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 500;
}

.calc-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    grid-column: 1 / -1;
}

.calc-divider::before,
.calc-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--w1),
        transparent
    );
}

.calc-divider span {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Slider Group */
.calc-slider-group {
    background: linear-gradient(
        135deg,
        var(--bg-elevated) 0%,
        rgba(17, 24, 39, 0.8) 100%
    );
    border: 1px solid var(--w06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.calc-slider-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.3),
        transparent
    );
}

.calc-slider-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.calc-slider-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--gradient-end)
    );
    border-radius: var(--radius-lg);
    color: white;
    flex-shrink: 0;
}

.calc-slider-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.calc-slider-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.calc-slider-sublabel {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.calc-slider-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-glow);
    font-variant-numeric: tabular-nums;
    min-width: 100px;
    text-align: right;
}

/* Custom Range Slider */
.calc-slider-container {
    position: relative;
    padding: var(--space-md) 0;
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    top: 15px;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-glow)
    );
    border-radius: 50%;
    cursor: grab;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.5),
        0 2px 8px var(--k3);
    border: 3px solid white;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.7),
        0 4px 12px var(--k4);
}

.calc-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-glow)
    );
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border: 3px solid white;
}

.calc-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    transform: translateY(-50%);
    overflow: hidden;
}

.calc-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-glow)
    );
    border-radius: var(--radius-full);
    transition: width 0.15s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.calc-slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-md);
    padding: 0 4px;
}

.calc-slider-markers span {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Context Info */
.calc-context {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--w06);
}

.calc-context-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.calc-context-item.active {
    opacity: 1;
    transform: translateX(0);
}

.calc-context-icon {
    font-size: var(--font-size-lg);
}

.calc-context-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.calc-context-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Recommendation Panel */
.calc-recommendation {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--bg-elevated) 0%,
        var(--bg-surface) 100%
    );
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.calc-rec-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(59, 130, 246, 0.15) 0%,
        transparent 60%
    );
    animation: recGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes recGlow {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.8;
    }
}

.calc-rec-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
}

.calc-rec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.calc-rec-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-rec-badge {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.calc-rec-plan {
    text-align: center;
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--w06);
}

.calc-rec-name {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    transition: all 0.3s ease;
}

.calc-rec-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.calc-rec-currency {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    font-weight: 500;
}

.calc-rec-amount {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.calc-rec-period {
    font-size: var(--font-size-base);
    color: var(--text-muted);
}

/* Usage Meters */
.calc-rec-comparison {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.calc-rec-meter {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.calc-rec-meter-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.calc-rec-meter-track {
    position: relative;
    height: 8px;
    background: var(--bg-deep);
    border-radius: var(--radius-full);
    overflow: visible;
}

.calc-rec-meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--success), #34d399);
    border-radius: var(--radius-full);
    transition:
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s ease;
}

.calc-rec-meter-fill.warning {
    background: linear-gradient(90deg, var(--warning), #fbbf24);
}

.calc-rec-meter-fill.danger {
    background: linear-gradient(90deg, var(--danger), #f87171);
}

.calc-rec-meter-marker {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 16px;
    background: var(--text-primary);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px var(--w3);
}

.calc-rec-meter-info {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Add-ons Section */
.calc-rec-addons {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.calc-rec-addons-label {
    font-size: var(--font-size-sm);
    color: var(--warning);
    font-weight: 500;
    display: block;
    margin-bottom: var(--space-sm);
}

.calc-rec-addon-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.calc-rec-addon-item {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.calc-rec-addon-price {
    color: var(--text-primary);
    font-weight: 500;
}

.calc-rec-btn {
    width: 100%;
    justify-content: center;
}

/* Usage Examples */
.calc-examples {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-3xl);
}

.calc-example {
    background: var(--bg-elevated);
    border: 1px solid var(--w06);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-example:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.calc-example.active {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
}

.calc-example-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.calc-example-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

.calc-example-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calc-recommendation {
        position: relative;
        top: 0;
    }

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

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

    .calc-slider-header {
        flex-wrap: wrap;
    }

    .calc-slider-value {
        width: 100%;
        text-align: left;
        margin-top: var(--space-sm);
    }

    .calc-quick-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .calc-quick-inputs {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .calc-examples {
        grid-template-columns: 1fr;
    }

    .calc-quick-inputs {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ADD-ONS PAGE
   ============================================ */

/* ---------- Addons Hero ---------- */
.addons-hero {
    padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
    text-align: center;
    position: relative;
}

.addons-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.addons-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

.addons-hero-title .title-line {
    display: block;
}

.addons-hero-title .title-accent {
    background: linear-gradient(
        135deg,
        var(--accent-primary) 0%,
        var(--accent-cyan) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.addons-hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ---------- Addons Section ---------- */
.addons-section {
    padding: var(--space-3xl) 0 var(--space-5xl);
}

/* ---------- Tab Navigation ---------- */
.addons-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.addons-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--w06);
    box-shadow: 0 4px 24px var(--k3);
}

.addons-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.addons-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-lg);
}

.addons-tab svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.addons-tab span {
    position: relative;
    z-index: 1;
}

.addons-tab:hover {
    color: var(--text-primary);
}

.addons-tab:hover svg {
    transform: scale(1.1);
}

.addons-tab.active {
    color: white;
}

.addons-tab.active::before {
    opacity: 1;
}

.addons-tab.active svg {
    transform: scale(1.1);
}

/* ---------- Tab Content ---------- */
.addons-tab-content {
    display: none;
    animation: addonsFadeIn 0.5s ease-out;
}

.addons-tab-content.active {
    display: block;
}

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

/* ---------- Category Header ---------- */
.category-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.category-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.15)
    );
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: var(--space-xl);
    position: relative;
}

.category-icon-wrapper::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

.category-icon-wrapper svg {
    width: 36px;
    height: 36px;
    color: var(--accent-glow);
}

.category-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.category-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    max-width: 550px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* ---------- Addon Cards Grid ---------- */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

/* Large card - first item spans 2 rows */
.addon-card.featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---------- Addon Cards ---------- */
.addon-card {
    background: var(--bg-elevated);
    border: 1px solid var(--w08);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.addon-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.addon-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05),
        rgba(6, 182, 212, 0.05)
    );
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.addon-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px var(--k4),
        0 0 60px rgba(59, 130, 246, 0.1);
}

.addon-card:hover::before {
    transform: scaleX(1);
}

.addon-card:hover::after {
    opacity: 1;
}

/* ---------- Card Content ---------- */
.addon-amount {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.addon-amount-label {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.addon-price {
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.addon-price-amount {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.addon-price-period {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.addon-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.addon-card:hover .addon-btn {
    background: linear-gradient(
        135deg,
        var(--accent-primary),
        var(--accent-cyan)
    );
    border-color: transparent;
    color: white;
}

/* ---------- Flexibility Notice ---------- */
.flexibility-notice {
    text-align: center;
    margin-top: var(--space-4xl);
    padding: var(--space-2xl);
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.06),
        rgba(6, 182, 212, 0.06)
    );
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(59, 130, 246, 0.15);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.flexibility-notice::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-primary),
        var(--accent-cyan),
        transparent
    );
}

.flexibility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: rgba(59, 130, 246, 0.1);
    margin-bottom: var(--space-md);
}

.flexibility-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-glow);
}

.flexibility-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.flexibility-text {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    max-width: 550px;
    margin: 0 auto;
}

/* ---------- Addons Responsive ---------- */
@media (max-width: 1024px) {
    .addons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .addon-card.featured {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .addons-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .addons-tab {
        justify-content: center;
    }

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .addon-card {
        padding: var(--space-lg);
    }

    .addon-amount {
        font-size: var(--font-size-3xl);
    }

    .category-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 480px) {
    .addons-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .addons-tabs-wrapper {
        padding: 0 var(--space-md);
    }

    .addons-tabs {
        max-width: 100%;
    }

    .addons-hero-title {
        font-size: 2rem;
    }
}

/* ============================================
   NEWSLETTER PAGE
   ============================================ */

.newsletter-hero {
    padding-bottom: var(--space-xl);
}

.newsletter-section {
    padding: var(--space-2xl) 0 var(--space-4xl);
}

.newsletter-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--w06);
    overflow: hidden;
    position: relative;
}

.newsletter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-cyan),
        var(--accent-primary)
    );
}

.newsletter-card-content {
    padding: var(--space-3xl);
    text-align: center;
}

.newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(6, 182, 212, 0.15)
    );
    border-radius: 50%;
    margin-bottom: var(--space-xl);
    color: var(--accent-glow);
}

.newsletter-card h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xl) 0;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.newsletter-benefits li svg {
    flex-shrink: 0;
    color: var(--success);
}

.newsletter-form {
    margin-top: var(--space-xl);
}

.newsletter-form-row {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--bg-surface);
    border: 1px solid var(--w1);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    padding: var(--space-md) var(--space-xl);
}

.newsletter-privacy {
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.newsletter-privacy a {
    color: var(--accent-glow);
    text-decoration: none;
    transition: color 0.2s ease;
}

.newsletter-privacy a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Success State */
.newsletter-success {
    text-align: center;
    padding: var(--space-xl) 0;
}

.newsletter-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.15),
        rgba(6, 182, 212, 0.15)
    );
    border-radius: 50%;
    margin-bottom: var(--space-lg);
    color: var(--success);
}

.newsletter-success h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.newsletter-success p {
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .newsletter-card-content {
        padding: var(--space-xl);
    }

    .newsletter-form-row {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   CODE MOCKUP (Homepage)
   ============================================ */

.code-mockup {
    background: #0f172a !important;
    border-radius: 12px;
    border: 1px solid var(--w08);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--k4);
}

.code-mockup .code-mockup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--w03) !important;
    border-bottom: 1px solid var(--w06);
}

.code-mockup .code-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.code-mockup .code-mockup-title {
    margin-left: 8px;
    font-size: 0.75rem;
    color: var(--w4);
    font-weight: 500;
}

pre.code-mockup-body {
    padding: 20px 24px !important;
    margin: 0 !important;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace !important;
    font-size: 0.82rem !important;
    line-height: 1.7 !important;
    color: #e2e8f0 !important;
    background: #0f172a !important;
    border: none !important;
    border-radius: 0 !important;
    overflow-x: auto;
}

pre.code-mockup-body code,
.code-mockup-body code {
    background: none !important;
    padding: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
    border: none !important;
}

.code-mockup-body code span {
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

@media (max-width: 768px) {
    .code-mockup-body {
        font-size: 0.72rem;
        padding: 16px;
    }
}


/* ============================================
   AI SECTION + CHAT MOCKUP
   ============================================ */

.ai-section {
    position: relative;
    padding: var(--space-5xl) 0;
    background: #050a18;
    overflow: hidden;
}

.ai-section__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.ai-section__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.ai-section__glow--1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

.ai-section__glow--2 {
    width: 400px;
    height: 400px;
    bottom: -80px;
    left: -80px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

.ai-section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.ai-section__header .section-label {
    background: linear-gradient(135deg, var(--accent-primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-section__subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.ai-section .deep-dive-grid {
    position: relative;
    z-index: 1;
}

.ai-section .feature-list-item {
    color: var(--text-secondary);
}


/* Chat mockup — mirrors the real AiChatSidebar */

.ai-chat-mockup {
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.08),
        0 20px 60px var(--k5),
        0 0 40px rgba(59, 130, 246, 0.06);
    display: flex;
    flex-direction: column;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.ai-chat-header__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

.ai-chat-header__sparkle {
    color: var(--accent-primary);
}

.ai-chat-header__close {
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: default;
    line-height: 1;
}

.ai-chat-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #1e293b;
}

.ai-chat-msg {
    display: flex;
}

.ai-chat-msg--user {
    justify-content: flex-end;
}

.ai-chat-msg--ai {
    justify-content: flex-start;
}

.ai-chat-bubble {
    max-width: 90%;
    padding: 10px 14px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ai-chat-bubble--user {
    background: var(--accent-primary);
    color: #fff;
    border-radius: 12px 12px 4px 12px;
    font-weight: 500;
}

.ai-chat-bubble--ai {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 12px 12px 12px 4px;
}

.ai-chat-bubble__text {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ai-chat-steps {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #334155;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.ai-chat-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    padding: 4px 0;
}

.ai-chat-step__num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #334155;
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-step__type {
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
}

.ai-chat-step__desc {
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-chat-applied {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 500;
    margin-top: 4px;
}

.ai-chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #334155;
    background: #1e293b;
}

.ai-chat-input__field {
    flex: 1;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px 12px;
    background: #0f172a;
}

.ai-chat-input__placeholder {
    font-size: 0.8125rem;
    color: #64748b;
}

.ai-chat-input__send {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* ============================================
   WITHDRAWAL PAGE
   ============================================ */

.withdrawal-section {
    padding: 2rem 0 6rem;
}

.withdrawal-container {
    max-width: 580px;
    margin: 0 auto;
}

.withdrawal-card {
    background: var(--w02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(8px);
}

.withdrawal-intro {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.withdrawal-intro a {
    color: var(--accent);
    text-decoration: underline;
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--text-tertiary);
    background: var(--bg, #0d0d1a);
    transition: all 0.3s;
}

.step-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.step-dot.completed {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.3s;
}

.step-item.is-active .step-label {
    color: var(--text-secondary);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 -0.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.step-connector.done {
    background: #22c55e;
}

/* Form styles */
.withdrawal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.withdrawal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.withdrawal-form .form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.withdrawal-form .form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.withdrawal-form .form-group input,
.withdrawal-form .form-group select {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--w04);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.withdrawal-form .form-group input:hover,
.withdrawal-form .form-group select:hover {
    border-color: var(--w15);
    background: var(--w06);
}

.withdrawal-form .form-group input:focus,
.withdrawal-form .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: var(--w06);
}

.withdrawal-form .form-group input::placeholder {
    color: var(--text-tertiary);
}

.withdrawal-form .form-group select option {
    background: #1a1a2e;
    color: var(--text-primary);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.1rem;
}

/* Review step */
.withdrawal-review {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.review-summary {
    background: var(--w03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow: hidden;
}

.review-summary h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.review-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--w05);
    gap: 1.5rem;
}

.review-row:last-child {
    border-bottom: none;
}

.review-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.review-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.review-notice {
    background: rgba(234, 179, 8, 0.06);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.review-notice strong {
    color: var(--text-primary);
}

/* Success step */
.withdrawal-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #22c55e;
}

.success-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.success-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto;
}

/* Buttons */
.withdrawal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.withdrawal-btn-primary {
    background: var(--accent);
    color: #fff;
    width: 100%;
    margin-top: 0.5rem;
}

.withdrawal-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.withdrawal-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.withdrawal-btn-secondary:hover {
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.withdrawal-btn-danger {
    background: #dc2626;
    color: #fff;
    flex: 1;
}

.withdrawal-btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
}

.withdrawal-btn-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.withdrawal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 600px) {
    .withdrawal-card {
        padding: 1.5rem;
    }
}

/* Docs lives on another host — say so, quietly. */
.nav-link:has(.nav-ext),
.mobile-nav-link:has(.nav-ext) { display: inline-flex; align-items: center; gap: 5px; }

.nav-ext {
    opacity: 0.45;
    transform: translateY(-1px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover .nav-ext,
.mobile-nav-link:hover .nav-ext { opacity: 0.9; transform: translateY(-2px); }
.nav-link.is-current .nav-ext { opacity: 0.7; }
