/* ========================================
   TryOnApp — Premium Dark + Gold Landing Page
   ======================================== */

:root {
    --bg: #09090b;
    --bg-elevated: #0f0f12;
    --bg-card: rgba(255,255,255,0.06);
    --bg-card-hover: rgba(255,255,255,0.09);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.14);
    --text: #f5f5f4;
    --text-2: #a8a29e;
    --text-3: #57534e;
    --accent: #d4a853;
    --gold: #d4a853;
    --gold-soft: rgba(212,168,83,0.12);
    --gold-glow: rgba(212,168,83,0.06);
    --cta: #f59e0b;
    --cta-hover: #d97706;
    --cta-text: #09090b;
    --success: #22c55e;
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', monospace;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

::selection { background: var(--gold-soft); color: var(--gold); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

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

/* ==================
   Buttons
   ================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-primary {
    background: #f59e0b;
    color: #09090b;
    font-weight: 600;
}
.btn-primary:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ==================
   Navbar
   ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

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

.logo-mark {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
    color: var(--bg);
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: -0.02em;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 450;
    color: var(--text-3);
    transition: color var(--transition);
    letter-spacing: 0;
}
.nav-links a:hover { color: var(--text); }

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

/* ==================
   Hero — Split Layout
   ================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(212,168,67,0.08), transparent 70%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black, transparent);
    pointer-events: none;
}

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

.hero-left {
    text-align: left;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}

.hero-gradient {
    background: linear-gradient(135deg, #d4a843, #c49a3a, #b8902e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 480px;
    margin: 0 0 36px;
    font-weight: 400;
}

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

.hero-metrics {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 10px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.metric-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
}

/* Hero — Device Slider */
.hero-right {
    display: flex;
    justify-content: center;
    position: relative;
}

.device-slider {
    position: relative;
    width: 100%;
}

.slider-track {
    position: relative;
    width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95) translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: all;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.slider-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font);
    color: var(--text-3);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.slider-label:hover {
    color: var(--text-2);
}

.slider-label.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

/* Phone Mockup */
.demo-phone {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 620px;
    background: #1a1a1f;
    border-radius: 42px;
    padding: 10px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 25px 80px -10px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.phone-notch {
    width: 90px;
    height: 22px;
    background: #1a1a1f;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg);
    position: relative;
}

.phone-screen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 375px;
    height: 812px;
    border: none;
    background: var(--bg);
    transform: scale(0.747);
    transform-origin: 0 0;
}

/* MacBook Pro Mockup */
.demo-macbook {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.macbook-frame {
    width: 580px;
    background: #0d0d0d;
    border-radius: 18px;
    padding: 10px 10px 22px;
    position: relative;
    box-shadow:
        inset 0 0 0 2px #2a2a2e,
        0 25px 80px -10px rgba(0,0,0,0.6);
}

/* Notch */
.macbook-notch {
    width: 56px;
    height: 10px;
    background: #0d0d0d;
    border-radius: 0 0 6px 6px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.macbook-notch::before,
.macbook-notch::after {
    content: '';
    position: absolute;
    top: 0;
    width: 6px;
    height: 6px;
}

.macbook-notch::before {
    left: -6px;
    background: radial-gradient(circle at bottom left, transparent 75%, #0d0d0d 75%);
}

.macbook-notch::after {
    right: -6px;
    background: radial-gradient(circle at bottom right, transparent 75%, #0d0d0d 75%);
}

/* Screen */
.macbook-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: var(--bg);
    position: relative;
    border: 2px solid #1a1a1e;
}

.macbook-screen iframe {
    width: 1024px;
    height: 640px;
    border: none;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.547);
    transform-origin: 0 0;
    pointer-events: all;
}

/* Bottom chin (below screen) — handled by padding in .macbook-frame */
.macbook-frame::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    height: 22px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent);
    border-radius: 0 0 16px 16px;
}

/* Bottom bar / base */
.macbook-bar {
    width: 624px;
    height: 14px;
    background: radial-gradient(circle at center, #3a3a3e 85%, #2a2a2e 100%);
    border: 1px solid #222226;
    border-top: none;
    border-radius: 0 0 8px 8px;
    position: relative;
    box-shadow:
        inset 0 -2px 6px rgba(0,0,0,0.4),
        0 4px 12px -2px rgba(0,0,0,0.4);
    margin-top: -2px;
}

.macbook-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: rgba(255,255,255,0.04);
    border-radius: 0 0 6px 6px;
}

/* Glow */
.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at 50% 30%, rgba(212,168,67,0.08), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* ==================
   Section Commons
   ================== */
.section-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: center;
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.15;
}

.left-align { text-align: left; }

.section-desc {
    font-size: 16px;
    color: var(--text-2);
    text-align: center;
    max-width: 480px;
    margin: 0 auto 48px;
}

/* ==================
   Features
   ================== */
/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.trust-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.trust-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-item {
    text-align: center;
}
.trust-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}
.trust-desc {
    display: block;
    font-size: 12px;
    color: var(--text-2);
    margin-top: 4px;
}
.trust-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
}
.problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.problem-stat {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.ps-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.ps-label {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.feature-card {
    background: var(--bg-card);
    padding: 36px 32px;
    transition: background var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
}

.fc-highlight {
    background: linear-gradient(135deg, rgba(212,168,83,0.08), var(--bg-card));
    border: 1px solid rgba(212,168,83,0.2);
}

.fc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ==================
   How It Works — Flow
   ================== */
.how-it-works { padding: 120px 0; }

/* Tabs */
.flow-tabs {
    display: flex; justify-content: center; gap: 4px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 4px; width: fit-content;
    margin: 0 auto 40px;
}
.flow-tab {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 20px; font-size: 13px; font-weight: 500;
    font-family: var(--font); color: var(--text-3);
    background: transparent; border: none; border-radius: 8px;
    cursor: pointer; transition: all var(--transition);
}
.flow-tab:hover { color: var(--text-2); }
.flow-tab.active { color: var(--text); background: rgba(255,255,255,0.06); }

/* Panels */
.flow-panels { position: relative; }
.flow-panel {
    display: none;
}
.flow-panel.active { display: block; }
.flow-layout {
    display: grid; grid-template-columns: 320px 1fr; gap: 48px;
    align-items: start;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px;
}

/* Progress bar */
.flow-progress {
    width: 100%; height: 2px; background: var(--border);
    border-radius: 2px; margin-bottom: 8px; overflow: hidden;
}
.flow-progress-bar {
    height: 100%; width: 0%; background: var(--gold);
    border-radius: 2px; transition: width 0.4s ease;
}

/* Steps */
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
    display: flex; gap: 16px; padding: 14px 16px;
    border-radius: var(--radius); cursor: pointer;
    transition: all var(--transition); position: relative;
}
.flow-step:hover { background: rgba(255,255,255,0.02); }
.flow-step.active { background: rgba(212,168,67,0.04); }

.flow-step-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid var(--text-3); flex-shrink: 0;
    margin-top: 4px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.flow-step.active .flow-step-dot {
    border-color: var(--gold); background: var(--gold);
    box-shadow: 0 0 12px rgba(212,168,67,0.5);
    transform: scale(1.2);
}

/* Connector line between dots */
.flow-step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 20px; top: 32px; bottom: -4px; width: 1px;
    background: var(--border);
}
.flow-step.active:not(:last-child)::after {
    background: linear-gradient(to bottom, var(--gold), var(--border));
}

.flow-step-num {
    font-size: 10px; font-weight: 600; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
    transition: color var(--transition);
}
.flow-step.active .flow-step-num { color: var(--gold); }
.flow-step-content h4 {
    font-size: 14px; font-weight: 600; margin-bottom: 4px;
    letter-spacing: -0.01em; transition: color var(--transition);
}
.flow-step.active .flow-step-content h4 { color: var(--text); }
.flow-step-content p {
    font-size: 12px; color: var(--text-3); line-height: 1.5;
    transition: color var(--transition);
}
.flow-step.active .flow-step-content p { color: var(--text-2); }

/* Visual area */
.flow-visual {
    position: relative; min-height: 480px;
    display: flex; align-items: center; justify-content: center;
}
.flow-scene {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    opacity: 0; transform: translateY(16px) scale(0.97);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.flow-scene.active {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: all;
}

/* ---- Wireframe Shared ---- */
.cl-purple { color: #a78bfa; }
.cl-gold { color: var(--gold); }
.cl-green { color: #6ee7b7; }

@keyframes shimmerMove {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmerMove 2.5s ease-in-out infinite;
}
@keyframes typeFade {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseRing {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.1); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes scanMove {
    0%, 100% { top: 20%; }
    50% { top: 75%; }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212,168,67,0.1); }
    50% { box-shadow: 0 0 30px rgba(212,168,67,0.2); }
}
@keyframes procProgress {
    0% { width: 0%; }
    80% { width: 92%; }
    100% { width: 100%; }
}

.processing-spinner {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid rgba(212,168,67,0.2);
    border-top-color: var(--gold);
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

/* Skeleton line */
.wf-skel {
    height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06);
}
.wf-skel-sm { height: 10px; }
.wf-skel-xs { height: 6px; }

/* ---- Wireframe: Browser ---- */
.wf-browser {
    width: 100%; max-width: 440px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
}
.wf-browser-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.wf-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.wf-url-bar {
    display: flex; align-items: center; gap: 6px; flex: 1;
    background: rgba(255,255,255,0.04); border-radius: 6px;
    padding: 4px 10px; margin-left: 6px;
    font-size: 10px; font-family: var(--mono); color: var(--text-3);
}
.wf-browser-body { padding: 16px; }

/* Page wireframe layout */
.wf-page-nav {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.wf-nav-links { display: flex; gap: 10px; }

.wf-page-content {
    display: flex; gap: 16px;
}
.wf-product-thumb {
    width: 110px; height: 130px; border-radius: 10px;
    background: rgba(255,255,255,0.04); flex-shrink: 0;
}
.wf-thumb-loaded {
    overflow: hidden; background: none;
}
.wf-thumb-loaded img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
}
.wf-product-details {
    flex: 1; display: flex; flex-direction: column; padding-top: 4px;
}
.wf-btn-skel { border-radius: 6px !important; }

/* Product thumb with SVG silhouette */
.wf-thumb-with-svg {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03);
}

/* Scene description text below animation */
.flow-scene-desc {
    margin-top: 10px; padding: 0 12px;
    text-align: center; max-width: 440px;
}
.flow-scene-desc p {
    font-size: 11px; color: var(--text-2); line-height: 1.55;
    margin: 0;
}

/* Code injection overlay */
.wf-code-inject {
    margin-top: 14px; padding-top: 14px;
    border-top: 1px dashed rgba(212,168,67,0.2);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.wf-inject-arrow {
    animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}
.wf-inject-code {
    font-family: var(--mono); font-size: 11px;
    background: rgba(212,168,67,0.06); padding: 6px 12px;
    border-radius: 6px; border: 1px solid rgba(212,168,67,0.12);
}
.flow-scene.active .wf-inject-code {
    animation: typeFade 0.6s ease 0.3s both;
}
.wf-inject-badge {
    font-size: 10px; font-weight: 600; color: var(--gold);
    animation: fadeUp 0.5s ease 0.6s both;
}

/* Cart button skeleton */
.wf-btn-cart-skel {
    padding: 6px 0; text-align: center; font-size: 10px; font-weight: 600;
    color: var(--text-2); background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 6px; margin-top: 10px;
}

/* ---- Scene 1: Floating FAB + Arrow + Cursor ---- */
.wf-browser-widget { position: relative; }
.wf-body-tall { min-height: 300px; position: relative; }

/* FAB button */
.wf-fab {
    position: absolute; bottom: 14px; right: 14px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gold); color: #111;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(212,168,67,0.35);
    z-index: 3;
}
.wf-fab-pulse {
    position: absolute; inset: -4px;
    border: 2px solid var(--gold); border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

/* Cursor click animation */
.wf-cursor {
    position: absolute; bottom: 22px; right: 22px; z-index: 4;
    animation: cursorMove 3s ease-in-out infinite;
}
@keyframes cursorMove {
    0% { opacity: 0; transform: translate(-30px, -30px); }
    25% { opacity: 1; transform: translate(0, 0); }
    35% { transform: translate(0, 2px); }
    42% { transform: translate(0, 0); }
    65% { opacity: 1; }
    85% { opacity: 0; }
    100% { opacity: 0; transform: translate(0, 0); }
}
.wf-cursor-ring {
    position: absolute; top: 0; left: 0;
    width: 16px; height: 16px;
    border: 2px solid var(--gold); border-radius: 50%;
    opacity: 0;
    animation: cursorRing 3s ease-in-out infinite;
}
@keyframes cursorRing {
    0%, 30% { opacity: 0; transform: scale(0.5); }
    38% { opacity: 0.7; transform: scale(1); }
    52% { opacity: 0; transform: scale(2.5); }
    100% { opacity: 0; }
}

/* Upload cursor click animation (Scene 2) */
.wf-cursor-upload {
    position: absolute; top: 50%; left: 28px; z-index: 6;
    animation: cursorUploadMove 3.5s ease-in-out infinite;
}
@keyframes cursorUploadMove {
    0% { opacity: 0; transform: translate(20px, -20px); }
    20% { opacity: 1; transform: translate(0, 0); }
    32% { transform: translate(0, 2px); }
    40% { transform: translate(0, 0); }
    60% { opacity: 1; }
    80% { opacity: 0; }
    100% { opacity: 0; transform: translate(0, 0); }
}
.wf-cursor-upload-ring {
    position: absolute; top: 0; left: 0;
    width: 14px; height: 14px;
    border: 2px solid var(--gold); border-radius: 50%;
    opacity: 0;
    animation: cursorUploadRing 3.5s ease-in-out infinite;
}
@keyframes cursorUploadRing {
    0%, 25% { opacity: 0; transform: scale(0.5); }
    34% { opacity: 0.7; transform: scale(1); }
    48% { opacity: 0; transform: scale(2.5); }
    100% { opacity: 0; }
}
/* Highlight Upload opt on cursor click */
.wf-upload-target {
    position: relative;
    animation: uploadHighlight 3.5s ease-in-out infinite;
}
@keyframes uploadHighlight {
    0%, 28% { border-color: var(--border); background: transparent; }
    34% { border-color: var(--gold); background: rgba(212,168,67,0.08); }
    55% { border-color: var(--gold); background: rgba(212,168,67,0.08); }
    70% { border-color: var(--border); background: transparent; }
    100% { border-color: var(--border); background: transparent; }
}

/* ---- Widget Phone (Scenes 2-4) ---- */
.wf-widget-phone {
    width: 210px; background: #111;
    border-radius: 26px; padding: 6px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}
.flow-scene.active .wf-widget-phone {
    animation: widgetSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes widgetSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.wf-wid-notch {
    width: 50px; height: 5px; background: #111;
    border-radius: 0 0 6px 6px; margin: 0 auto 3px;
}
.wf-wid-screen {
    background: var(--bg-elevated); border-radius: 20px;
    overflow: hidden; padding-bottom: 10px;
}

/* Widget header */
.wf-wid-header {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px 8px; border-bottom: 1px solid var(--border);
    font-size: 10px; font-weight: 600; color: var(--text);
}
.wf-wid-logo {
    width: 20px; height: 20px; border-radius: 5px;
    background: var(--text); color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800;
}
.wf-wid-close {
    margin-left: auto; font-size: 14px; color: var(--text-3); cursor: default;
}

/* Widget progress segments */
.wf-wid-progress {
    display: flex; gap: 3px; padding: 8px 12px 4px;
}
.wf-wid-prog-seg {
    flex: 1; height: 3px; border-radius: 2px;
    background: rgba(255,255,255,0.06);
}
.wf-wid-prog-seg.active {
    background: var(--gold);
}
.wf-wid-prog-seg.done {
    background: var(--gold); opacity: 0.4;
}

/* Widget product mini card */
.wf-wid-product {
    display: flex; gap: 8px; align-items: center;
    padding: 8px 12px; margin: 4px 10px;
    background: var(--bg-card); border-radius: 8px;
    border: 1px solid var(--border);
}
.wf-wid-prod-thumb {
    width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
    background: rgba(255,255,255,0.04);
}
.wf-wid-prod-name { font-size: 10px; font-weight: 600; color: var(--text); }
.wf-wid-prod-price { font-size: 9px; color: var(--text-3); }
.wf-wid-prod-shop { font-size: 8px; color: var(--text-3); opacity: 0.6; }

/* "Powered by TryOnApp" in header */
.wf-wid-powered {
    margin-left: auto; font-size: 7px; color: var(--text-3);
    opacity: 0.5; letter-spacing: 0.02em;
}

/* Upload circle icon */
.wf-wid-upload-circle {
    width: 52px; height: 52px; border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); margin-bottom: 2px;
    transition: border-color 0.3s;
}

/* Size selector */
.wf-wid-sizes {
    display: flex; gap: 5px; padding: 4px 12px 2px;
    justify-content: center;
}
.wf-wid-size {
    width: 30px; height: 26px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 600; color: var(--text-3);
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    transition: all 0.2s;
}
.wf-wid-size-active {
    background: var(--text); color: var(--bg);
    border-color: var(--text);
}

/* ---- Widget Popup (inside browser, dark theme) ---- */
.wf-page-dimmed { opacity: 0.25; filter: blur(1px); }

.wf-popup {
    position: absolute; top: 8px; right: 8px; bottom: 8px;
    width: 58%; background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    display: flex; flex-direction: column;
    overflow: hidden; z-index: 5;
}
.flow-scene.active .wf-popup {
    animation: popupSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes popupSlideIn {
    from { opacity: 0; transform: translateX(20px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
.wf-popup-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px; border-bottom: 1px solid var(--border);
}
.wf-popup-title {
    font-size: 10px; font-weight: 700; color: var(--text);
}
.wf-popup-sub {
    font-size: 8px; color: var(--text-3); margin-top: 1px;
}
.wf-popup-close {
    font-size: 14px; color: var(--text-3); cursor: default; line-height: 1;
}
.wf-popup-body {
    flex: 1; padding: 8px 10px; overflow: hidden;
    display: flex; flex-direction: column; gap: 5px;
}
.wf-popup-body-center {
    align-items: center; justify-content: center;
    text-align: center; gap: 8px;
}

/* Upload row: Computer / Phone + drop area */
.wf-popup-upload-row {
    display: flex; gap: 6px; align-items: stretch;
}
.wf-popup-upload-opt {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px;
    padding: 6px 5px; border-radius: 8px;
    border: 1px solid var(--border); flex: 0 0 auto;
    min-width: 44px;
}
.wf-popup-upload-opt span {
    font-size: 7px; font-weight: 600; color: var(--text-3);
}
.wf-popup-upload-opt svg { color: var(--text-3); }
.wf-popup-upload-drop {
    flex: 1; border-radius: 8px;
    border: 2px dashed rgba(255,255,255,0.08);
    min-height: 46px;
    background: rgba(255,255,255,0.02);
}

/* Product thumbnail row */
.wf-popup-thumbs {
    display: flex; gap: 4px;
}
.wf-popup-th {
    width: 26px; height: 26px; border-radius: 5px;
    background: rgba(255,255,255,0.04); flex-shrink: 0;
}

/* Labels */
.wf-popup-label {
    font-size: 7px; font-weight: 700; color: var(--text-3);
    letter-spacing: 0.08em; margin-top: 2px;
}

/* Size selector */
.wf-popup-sizes {
    display: flex; gap: 4px;
}
.wf-popup-sz {
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 7px; font-weight: 600; color: var(--text-3);
    border: 1px solid var(--border);
}
.wf-popup-sz-active {
    background: var(--text); color: var(--bg); border-color: var(--text);
}

/* Background options */
.wf-popup-bg-row {
    display: flex; gap: 4px;
}
.wf-popup-bg-opt {
    flex: 1; padding: 4px 0; text-align: center;
    font-size: 7px; font-weight: 600; color: var(--text-3);
    border: 1px solid var(--border); border-radius: 6px;
}
.wf-popup-bg-active {
    background: var(--text); color: var(--bg); border-color: var(--text);
}

/* CTA button */
.wf-popup-cta {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 7px; border-radius: 8px; margin-top: auto;
    font-size: 8px; font-weight: 600; color: var(--text-3);
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}

/* ---- Analytics Dashboard Wireframe ---- */
.wf-dash { padding: 0; }
.wf-dash-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.wf-dash-title { font-size: 10px; font-weight: 700; color: var(--text); }
.wf-dash-period { font-size: 7px; color: var(--text-3); background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 4px; }
.wf-dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 8px; }
.wf-dash-metric-card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 1px;
}
.wf-dash-metric-label { font-size: 6px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.wf-dash-metric-value { font-size: 12px; font-weight: 700; color: var(--text); font-family: var(--mono); line-height: 1.2; }
.wf-dash-metric-delta { font-size: 7px; font-weight: 600; }
.wf-delta-up { color: #6ee7b7; }
.wf-delta-down { color: #6ee7b7; }
.wf-gold { color: var(--gold); }
.wf-dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.wf-dash-chart-card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: 6px; padding: 6px;
}
.wf-dash-chart-title { font-size: 7px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; display: block; }
.wf-dash-bar-chart { display: flex; flex-direction: column; gap: 4px; }
.wf-dash-bar-row {
    display: grid; grid-template-columns: 52px 1fr 20px; gap: 4px; align-items: center;
    font-size: 6px; color: var(--text-3);
}
.wf-dash-bar {
    height: 3px; background: var(--gold); border-radius: 2px; opacity: 0.7;
}
.wf-dash-line-chart { width: 100%; height: auto; display: block; margin-top: 4px; }

/* IG Dashboard inside phone */
.wf-ig-dash { padding: 8px 10px; display: flex; flex-direction: column; gap: 8px; }
.wf-ig-dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.wf-ig-dash-card {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 1px;
}
.wf-ig-dash-label { font-size: 7px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.wf-ig-dash-value { font-size: 14px; font-weight: 700; color: var(--text); font-family: var(--mono); line-height: 1.2; }
.wf-ig-dash-section { display: flex; flex-direction: column; gap: 4px; }
.wf-ig-dash-section-title {
    font-size: 7px; font-weight: 700; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.wf-ig-dash-post-row {
    display: flex; gap: 6px; align-items: center;
    padding: 4px 0; border-bottom: 1px solid var(--border);
}
.wf-ig-dash-post-thumb {
    width: 24px; height: 24px; border-radius: 4px;
    background: rgba(255,255,255,0.04); flex-shrink: 0;
}
.wf-ig-dash-post-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wf-ig-dash-post-stat {
    font-size: 7px; font-weight: 600; color: var(--gold); white-space: nowrap;
}
.wf-ig-dash-stat-row {
    display: grid; grid-template-columns: 36px 1fr 24px; gap: 4px; align-items: center;
    font-size: 7px; color: var(--text-3);
}

/* IG post skeleton (no photo) */
.wf-ig-post-skel {
    background: rgba(255,255,255,0.03);
    display: flex; align-items: center; justify-content: center;
}
.wf-ig-post-placeholder {
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.wf-checkout-thumb-skel {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
}

/* Upload area */
.wf-wid-upload {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 12px 12px; gap: 6px;
}
.wf-wid-upload-icon { opacity: 0.5; }
.wf-wid-upload-text { font-size: 11px; font-weight: 600; color: var(--text); }
.wf-wid-upload-hint { font-size: 9px; color: var(--text-3); }

/* Action buttons */
.wf-wid-actions {
    display: flex; gap: 6px; padding: 6px 12px;
}
.wf-wid-act-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: 8px 0; border-radius: 8px; font-size: 9px; font-weight: 600;
    color: var(--text-2); background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
}
.wf-wid-act-primary {
    background: var(--gold); color: #111; border-color: var(--gold);
}

/* Processing state */
.wf-wid-processing {
    display: flex; flex-direction: column; align-items: center;
    padding: 28px 12px 16px; gap: 8px;
}
.wf-spin-lg { width: 32px; height: 32px; border-width: 2.5px; }
.wf-wid-proc-text { font-size: 11px; font-weight: 600; color: var(--text); margin-top: 4px; }
.wf-wid-proc-sub {
    font-size: 9px; color: var(--text-3);
    animation: statusBlink 1.5s ease-in-out infinite;
}
.wf-wid-proc-bar {
    width: 80%; height: 3px; background: var(--border);
    border-radius: 3px; overflow: hidden; margin-top: 6px;
}
.wf-wid-proc-bar-fill {
    height: 100%; background: var(--gold); border-radius: 3px;
    animation: procProgress 3s ease-out infinite;
}
.wf-wid-proc-time {
    font-size: 12px; font-weight: 700; color: var(--gold); font-family: var(--mono);
}

/* Result state */
.wf-wid-result {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 8px 4px;
}
.wf-wid-res-card {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 4px; border-radius: 8px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.wf-wid-res-card span {
    font-size: 8px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-3);
}
.wf-wid-res-after {
    background: rgba(212,168,67,0.05);
    border-color: rgba(212,168,67,0.2);
    animation: glowPulse 2.5s ease-in-out infinite;
}
.wf-wid-res-after span { color: var(--gold); }
.wf-wid-res-arrow { color: var(--gold); font-size: 14px; font-weight: 300; }
.flow-scene.active .wf-wid-res-after {
    animation: avatarSlideIn 0.5s ease 0.3s both, glowPulse 2.5s ease-in-out 0.8s infinite;
}
@keyframes avatarSlideIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* Result info & buy button */
.wf-wid-res-info {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 12px; font-size: 10px;
}
.wf-wid-res-name { font-weight: 600; color: var(--text); }
.wf-wid-res-price { color: var(--text-3); }
.wf-wid-buy-btn {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    margin: 4px 12px 4px; padding: 8px;
    background: var(--gold); color: #111;
    font-size: 10px; font-weight: 700; border-radius: 8px;
}

/* Stats standalone */
.wf-stats-standalone {
    padding: 0; border-top: none; justify-content: center; margin-top: 8px;
    white-space: nowrap;
}

/* ---- Wireframe: Modal ---- */
.wf-modal {
    width: 100%; max-width: 340px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
}
.wf-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    font-size: 12px; font-weight: 600; color: var(--text);
}
.wf-modal-close {
    font-size: 16px; color: var(--text-3); cursor: default;
}
.wf-modal-body { padding: 20px 16px; }

/* Camera area */
.wf-camera-area { margin-bottom: 16px; }
.wf-camera-frame {
    position: relative; aspect-ratio: 4/3;
    background: linear-gradient(180deg, #0f0f18, #0a0a12);
    border-radius: 10px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.selfie-corner {
    position: absolute; width: 20px; height: 20px;
    border-color: var(--gold); border-style: solid; border-width: 0;
}
.selfie-corner.tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; border-radius: 3px 0 0 0; }
.selfie-corner.tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 3px 0 0; }
.selfie-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 3px; }
.selfie-corner.br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 3px 0; }
.selfie-scan-line {
    position: absolute; left: 12px; right: 12px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: scanMove 2.5s ease-in-out infinite;
    opacity: 0.5;
}
.wf-camera-actions {
    display: flex; align-items: center; justify-content: center; gap: 0;
}
.wf-cam-btn {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--text-2); padding: 8px 14px; cursor: default;
}
.wf-cam-divider {
    width: 1px; height: 14px; background: var(--border);
}
.wf-cam-hint {
    text-align: center; font-size: 10px; color: var(--text-3);
    margin-top: 8px;
}

/* Processing modal */
.wf-proc-merge {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 14px;
}
.wf-proc-box {
    width: 72px; height: 80px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; overflow: hidden; position: relative;
}
.wf-proc-box span {
    font-size: 8px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-3);
}
.wf-proc-box-product { position: relative; }
.wf-proc-box-product img {
    width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
    border-radius: 9px;
}
.wf-proc-box-product span {
    position: relative; z-index: 1;
    background: rgba(0,0,0,0.55); padding: 2px 6px; border-radius: 3px;
}
.wf-proc-plus { font-size: 16px; color: var(--text-3); font-weight: 300; }
.wf-proc-arrow-down {
    display: flex; justify-content: center; margin: 8px 0;
    animation: arrowBounce 1.5s ease-in-out infinite;
}
.wf-proc-engine {
    display: flex; align-items: center; gap: 10px;
    background: rgba(212,168,67,0.05); border: 1px solid rgba(212,168,67,0.12);
    border-radius: 10px; padding: 10px 14px;
}
.wf-proc-engine-info {
    display: flex; flex-direction: column; gap: 2px;
}
.wf-proc-model { font-size: 11px; font-weight: 600; color: var(--gold); }
.wf-proc-status {
    font-size: 10px; color: var(--text-3);
    animation: statusBlink 1.5s ease-in-out infinite;
}
@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.wf-proc-timer {
    margin-left: auto; font-size: 13px; font-weight: 700;
    color: var(--gold); font-family: var(--mono);
}
.wf-proc-progress {
    height: 3px; background: var(--border); border-radius: 3px;
    margin-top: 12px; overflow: hidden;
}
.wf-proc-progress-fill {
    height: 100%; background: var(--gold); border-radius: 3px;
    animation: procProgress 3s ease-out infinite;
}

/* Result browser */
.wf-result-split {
    display: flex; gap: 16px; align-items: center;
}
.wf-result-img {
    width: 100px; height: 110px; border-radius: 10px;
    background: rgba(212,168,67,0.06); border: 1px solid rgba(212,168,67,0.2);
    display: flex; align-items: center; justify-content: center;
    position: relative; flex-shrink: 0;
    animation: glowPulse 2.5s ease-in-out infinite;
}
.wf-result-badge-hd {
    position: absolute; top: -4px; right: -4px;
    font-size: 7px; font-weight: 700; color: #111;
    background: var(--gold); padding: 2px 5px; border-radius: 3px;
    letter-spacing: 0.05em;
}
.wf-result-info { flex: 1; }
.wf-result-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.wf-result-price { font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.wf-result-buy {
    display: flex; align-items: center; gap: 6px; justify-content: center;
    padding: 8px 16px; background: var(--text);
    color: var(--bg); font-size: 11px; font-weight: 600;
    border-radius: 8px;
}
.wf-stats-row {
    display: flex; gap: 8px; padding: 12px 16px;
    border-top: 1px solid var(--border);
}
.wf-stat-pill {
    display: flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 600; color: var(--gold);
    background: var(--gold-soft); padding: 4px 8px;
    border-radius: 100px;
}
.wf-stat-green { color: #6ee7b7; background: rgba(110,231,183,0.08); }

/* ---- Wireframe: Phone ---- */
.wf-phone {
    width: 240px; background: #111; border-radius: 28px;
    padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
}
.wf-phone-notch {
    width: 60px; height: 6px; background: #111;
    border-radius: 0 0 8px 8px; margin: 0 auto 4px;
}
.wf-phone-screen {
    background: var(--bg-elevated); border-radius: 20px;
    overflow: hidden; min-height: 380px;
    display: flex; flex-direction: column;
}

/* IG wireframe bar */
.wf-ig-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px; border-bottom: 1px solid var(--border);
    font-size: 11px; font-weight: 600; color: var(--text);
}
.wf-auto-pill {
    margin-left: auto; font-size: 8px; font-weight: 700;
    color: #065f46; background: #6ee7b7; padding: 2px 7px;
    border-radius: 100px; text-transform: uppercase;
}

/* IG post */
.wf-ig-post-header {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px;
}
.wf-ig-avatar {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
}
.wf-ig-handle { font-size: 11px; font-weight: 600; color: var(--text); }
.wf-ig-post-img {
    width: 100%; aspect-ratio: 1; overflow: hidden;
}
.wf-ig-post-img img { width: 100%; height: 100%; object-fit: cover; }
.wf-ig-actions-row {
    display: flex; gap: 12px; padding: 8px 12px; color: var(--text-2);
}
.wf-ig-caption {
    padding: 2px 12px 8px; font-size: 10px; color: var(--text-2); line-height: 1.5;
}
.wf-ig-caption strong { color: var(--text); }

/* IG comment list */
.wf-ig-comment-list {
    padding: 8px 12px; display: flex; flex-direction: column; gap: 8px;
}
.wf-ig-comment-row {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 10px; color: var(--text-2); line-height: 1.4;
}
.wf-ig-comment-row strong { color: var(--text); font-weight: 600; }
.wf-ig-comment-ava {
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(255,255,255,0.08); flex-shrink: 0;
}
.wf-ig-comment-trigger {
    background: rgba(212,168,67,0.06); margin: 0 -12px; padding: 6px 12px;
    border-left: 2px solid var(--gold);
}
.flow-scene.active .wf-ig-comment-trigger {
    animation: typeFade 0.5s ease 0.3s both;
}
.wf-ig-trigger-badge {
    display: flex; align-items: center; gap: 6px;
    margin: 8px 12px 12px; padding: 6px 10px;
    font-size: 9px; font-weight: 600; color: var(--gold);
    background: rgba(212,168,67,0.06); border-radius: 8px;
    animation: fadeUp 0.5s ease 0.6s both;
}

/* DM list */
.wf-dm-list {
    padding: 12px; display: flex; flex-direction: column; gap: 6px;
}
.wf-dm-bubble {
    padding: 8px 12px; border-radius: 14px; font-size: 10px;
    line-height: 1.5; max-width: 90%;
    background: rgba(255,255,255,0.06); color: var(--text-2);
}
.flow-scene.active .wf-dm-type {
    animation: typeFade 0.5s ease 0.3s both;
}
.wf-dm-link-bubble {
    display: flex; align-items: center; gap: 6px;
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.15);
}
.wf-dm-link-bubble span {
    font-family: var(--mono); font-size: 9px; font-weight: 600; color: var(--gold);
}

/* Try-on result in phone */
.wf-tryon-result {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 12px 8px;
}
.wf-tryon-before, .wf-tryon-after {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 12px 6px; border-radius: 8px;
    background: rgba(255,255,255,0.04);
}
.wf-tryon-before span, .wf-tryon-after span {
    font-size: 8px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-3);
}
.wf-tryon-after {
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212,168,67,0.15);
}
.wf-tryon-arrow { color: var(--text-3); font-size: 14px; }
.wf-tryon-caption {
    text-align: center; font-size: 11px; font-weight: 600;
    color: var(--text); padding: 6px 12px;
}
.wf-tryon-buy-btn {
    margin: 4px 12px 12px; padding: 8px;
    text-align: center; font-size: 11px; font-weight: 600;
    color: #111; background: var(--gold); border-radius: 8px;
}

/* Checkout in phone */
.wf-checkout-body {
    padding: 14px 12px; display: flex; flex-direction: column; gap: 10px;
}
.wf-checkout-item {
    display: flex; gap: 10px; align-items: center;
}
.wf-checkout-thumb {
    width: 36px; height: 36px; border-radius: 6px; overflow: hidden; flex-shrink: 0;
}
.wf-checkout-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wf-checkout-meta {}
.wf-checkout-name { font-size: 11px; font-weight: 600; color: var(--text); }
.wf-checkout-price { font-size: 10px; color: var(--text-3); }
.wf-checkout-sep { height: 1px; background: var(--border); }
.wf-checkout-total-row {
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--text-2);
}
.wf-checkout-total-row strong { color: var(--text); }
.wf-checkout-pay-btn {
    display: flex; align-items: center; gap: 6px; justify-content: center;
    padding: 8px; font-size: 11px; font-weight: 600;
    color: #111; background: var(--gold); border-radius: 8px;
}
.wf-flow-badge {
    display: flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 600; color: var(--gold);
    background: var(--gold-soft); padding: 7px 12px;
    border-radius: 100px; margin-top: 12px;
    animation: fadeUp 0.5s ease 0.3s both;
}

/* ==================
   Integration
   ================== */
.integration {
    padding: 120px 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.integration-desc {
    font-size: 16px;
    color: var(--text-2);
    margin: 16px 0 32px;
    line-height: 1.7;
}

.platforms {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.platform-pill {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all var(--transition);
}

.platform-pill:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.code-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.r { background: #3b3b3b; }
.dot.y { background: #3b3b3b; }
.dot.g { background: #3b3b3b; }

.code-filename {
    font-size: 12px;
    font-family: var(--mono);
    color: var(--text-3);
    margin-left: 4px;
}

.copy-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-family: var(--font);
    font-weight: 500;
    color: var(--text-3);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}
.copy-btn:hover {
    color: var(--text);
    border-color: var(--border-hover);
}

.code-body {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
}

.code-body code {
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-2);
}

.c-comment { color: var(--text-3); }
.c-tag { color: #a78bfa; }
.c-attr { color: var(--gold); }
.c-eq { color: var(--text-3); }
.c-str { color: #6ee7b7; }

/* ==================
   Pricing
   ================== */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 48px;
}

.price-card {
    background: var(--bg-card);
    padding: 36px 28px;
    position: relative;
    transition: background var(--transition);
}

.price-card:hover {
    background: var(--bg-card-hover);
}

.price-card.featured {
    background: linear-gradient(180deg, rgba(212,168,67,0.06), var(--bg-card));
}

.featured-label {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: var(--gold-soft);
    padding: 4px 10px;
    border-radius: 100px;
}

.price-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.price-header h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 12px;
    letter-spacing: 0;
}

.price-amount {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.price-dollar {
    font-size: 24px;
    font-weight: 500;
    vertical-align: top;
    color: var(--text-3);
}

.price-period {
    font-size: 13px;
    color: var(--text-3);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.price-features li {
    font-size: 13px;
    color: var(--text-2);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.price-features li.included::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.8;
}

.price-features li.excluded {
    color: var(--text-3);
    opacity: 0.4;
}

.price-features li.excluded::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 1px;
    background: var(--text-3);
}

.pricing-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-3);
    margin-top: 32px;
}
.pricing-footer a {
    color: var(--gold);
    font-weight: 500;
}
.pricing-footer a:hover { text-decoration: underline; }

/* ==================
   FAQ
   ================== */
.faq {
    padding: 120px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 20px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--text-3);
    transition: transform 0.3s, color 0.3s;
}

.faq-item[open] summary::after {
    content: '\2212';
    color: var(--gold);
}

.faq-item summary:hover { color: var(--gold); }

.faq-item p {
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ==================
   Final CTA
   ================== */
.final-cta {
    padding: 120px 0;
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.2;
}

.cta-card p {
    font-size: 16px;
    color: var(--text-2);
    margin-bottom: 32px;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(9,9,11,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible {
    transform: translateY(0);
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.6;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-3);
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

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

.footer-bottom span {
    font-size: 12px;
    color: var(--text-3);
}

/* ==================
   Coming Soon — Widget Modes
   ================== */
.coming-soon { padding: 80px 0; }

.cs-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.cs-mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.cs-mode-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Mini browser preview */
.cs-mode-preview {
    padding: 20px 20px 0;
}

.cs-mini-browser {
    background: var(--bg-elevated);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cs-mini-dots {
    display: flex;
    gap: 4px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
}
.cs-mini-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-3);
    opacity: 0.5;
}

.cs-mini-body {
    position: relative;
    padding: 12px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-mini-product {
    width: 100%;
    height: 40px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    border: 1px dashed rgba(255,255,255,0.08);
}
.cs-mini-product.small { height: 30px; }

.cs-mini-text { display: flex; flex-direction: column; gap: 4px; }
.cs-mini-line {
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
}
.cs-mini-line.w70 { width: 70%; }
.cs-mini-line.w50 { width: 50%; }
.cs-mini-line.w30 { width: 30%; }

/* Mode 1: FAB */
.cs-fab {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(212,168,67,0.3);
    color: #09090b;
}

/* Mode 2: Inline */
.cs-inline-widget {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(212,168,67,0.12);
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: 6px;
    width: fit-content;
}
.cs-inline-icon {
    color: var(--gold);
    display: flex;
}
.cs-inline-text {
    font-size: 9px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.02em;
}

/* Mode 3: Full Page */
.cs-fullpage-body {
    flex-direction: row !important;
    gap: 8px;
}
.cs-fp-left, .cs-fp-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cs-fp-upload {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
    min-height: 80px;
}
.cs-fp-result {
    flex: 1;
    background: rgba(212,168,67,0.06);
    border: 1px solid rgba(212,168,67,0.12);
    border-radius: 6px;
    min-height: 70px;
}
.cs-fp-bar {
    height: 8px;
    background: rgba(212,168,67,0.15);
    border-radius: 4px;
}

/* Mode 4: Sidebar */
.cs-sidebar-body {
    flex-direction: row !important;
    gap: 6px;
    padding: 0 !important;
}
.cs-sidebar-main {
    flex: 2;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cs-sidebar-panel {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border-left: 1px solid rgba(255,255,255,0.08);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cs-sp-header {
    height: 6px;
    width: 60%;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}
.cs-sp-upload {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 4px;
    min-height: 50px;
}
.cs-sp-btn {
    height: 14px;
    background: var(--gold);
    border-radius: 4px;
    opacity: 0.5;
}

/* Mode 5: Popup */
.cs-popup-body {
    align-items: center;
    justify-content: center;
}
.cs-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.cs-popup-modal {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    width: 80%;
    z-index: 1;
}
.cs-pm-close {
    position: absolute;
    top: 4px; right: 6px;
    font-size: 10px;
    color: var(--text-3);
}
.cs-pm-split {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}
.cs-pm-img {
    flex: 1;
    height: 40px;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.06);
}
.cs-pm-btn {
    height: 12px;
    background: var(--gold);
    border-radius: 4px;
    opacity: 0.5;
}

/* Mode 6: Chat Widget */
.cs-chat-widget {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cs-chat-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px 8px 2px 8px;
    padding: 5px 7px;
}
.cs-chat-bubble span {
    font-size: 7px;
    color: var(--text-2);
    line-height: 1.3;
}
.cs-chat-input {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 5px;
}
.cs-chat-input-line {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
}
.cs-chat-send {
    width: 14px; height: 14px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 8px;
    color: #09090b;
    font-weight: 700;
}

/* Mode card info */
.cs-mode-info {
    padding: 16px 20px 20px;
}
.cs-mode-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}
.cs-mode-badge.live {
    background: rgba(74,222,128,0.12);
    color: #4ade80;
}
.cs-mode-badge.soon {
    background: var(--gold-soft);
    color: var(--gold);
}

.cs-mode-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.cs-mode-info p {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.5;
}

/* Dashboard CTA */
.cs-dashboard-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-2);
}
.cs-dashboard-cta svg {
    color: var(--gold);
    flex-shrink: 0;
}
.cs-dashboard-cta a {
    color: var(--gold);
    font-weight: 500;
    border-bottom: 1px solid rgba(212,168,67,0.3);
    transition: border-color var(--transition);
}
.cs-dashboard-cta a:hover {
    border-color: var(--gold);
}

/* ==================
   Before/After Section
   ================== */
.before-after { padding: 100px 0; }
.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.ba-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.ba-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.ba-img {
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ba-img-before {
    background: rgba(255,255,255,0.03);
    border-right: 1px solid var(--border);
}
.ba-img-after {
    background: rgba(212,168,83,0.04);
}
.ba-img-label {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    background: rgba(9,9,11,0.7);
    padding: 2px 8px;
    border-radius: 4px;
}
.ba-img-after .ba-img-label {
    color: var(--gold);
}
.ba-placeholder {
    width: 48px;
    height: 64px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
}
.ba-placeholder-gold {
    background: rgba(212,168,83,0.15);
    border: 1px solid rgba(212,168,83,0.2);
}
.ba-info {
    padding: 16px;
    text-align: center;
}
.ba-info span {
    font-size: 12px;
    color: var(--text-2);
}

/* Trust/Logo Bar */
.logo-bar {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.logo-bar-label {
    font-size: 13px;
    color: var(--text-3);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}
.logo-bar-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.logo-bar-item {
    width: 80px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Pricing toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.pricing-toggle-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}
.pricing-toggle-label.active {
    color: var(--text);
}
.pricing-toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
}
.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    transition: transform var(--transition);
}
.pricing-toggle-switch.annual::after {
    transform: translateX(20px);
}
.pricing-save-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    background: rgba(34,197,94,0.1);
    padding: 2px 8px;
    border-radius: 20px;
}
.price-per-tryon {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 4px;
}

/* ==================
   Animations
   ================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================
   Responsive
   ================== */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr 500px;
        gap: 32px;
    }
    .hero h1 { font-size: 42px; }
    .phone-frame {
        width: 260px;
        height: 540px;
        border-radius: 36px;
    }
    .phone-notch { width: 76px; height: 18px; border-radius: 0 0 10px 10px; }
    .phone-screen { border-radius: 28px; }
    .phone-screen iframe { transform: scale(0.64); }
    .slider-track { min-height: 560px; }
    .macbook-frame { width: 500px; border-radius: 16px; padding: 8px 8px 18px; }
    .macbook-notch { width: 50px; height: 9px; top: 8px; }
    .macbook-screen { border-radius: 7px 7px 0 0; }
    .macbook-screen iframe { transform: scale(0.473); }
    .macbook-bar { width: 540px; height: 12px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-modes-grid { grid-template-columns: repeat(2, 1fr); }
    .integration-grid { gap: 48px; }
    .ba-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions .btn-ghost { display: none; }
    .mobile-menu-btn { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(24px);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 12px;
    }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-left { text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero h1 { font-size: 36px; }
    .hero-desc { font-size: 15px; }
    .hero-metrics {
        flex-direction: column;
        gap: 16px;
        padding: 20px 28px;
    }
    .metric-sep { width: 32px; height: 1px; }
    .hero-right { order: -1; }
    .slider-track { min-height: 500px; }
    .phone-frame {
        width: 240px;
        height: 500px;
        border-radius: 32px;
    }
    .phone-notch { width: 70px; height: 16px; border-radius: 0 0 9px 9px; }
    .phone-screen { border-radius: 24px; }
    .phone-screen iframe { transform: scale(0.587); }
    .macbook-frame { width: 400px; border-radius: 14px; padding: 6px 6px 16px; }
    .macbook-notch { width: 44px; height: 7px; top: 6px; }
    .macbook-screen { border-radius: 6px 6px 0 0; }
    .macbook-screen iframe { transform: scale(0.379); }
    .macbook-bar { width: 432px; height: 10px; border-radius: 0 0 6px 6px; }

    .features-grid,
    .pricing-grid { grid-template-columns: 1fr; }
    .flow-layout { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
    .flow-visual { min-height: 400px; }
    .wf-browser { max-width: 100%; }
    .wf-modal { max-width: 100%; }
    .wf-phone { width: 220px; }
    .wf-phone-screen { min-height: 340px; }
    .wf-result-split { flex-direction: column; gap: 10px; }
    .wf-result-img { width: 80px; height: 90px; }
    .wf-proc-merge { gap: 8px; }
    .wf-proc-box { width: 60px; height: 68px; }
    .wf-widget-phone { width: 190px; }
    .wf-popup { width: 60%; }
    .wf-body-tall { min-height: 260px; }
    .wf-popup-upload-drop { min-height: 40px; }
    .wf-popup-sz { width: 22px; height: 22px; font-size: 6px; }
    .wf-popup-th { width: 22px; height: 22px; }
    .wf-dash-metrics { grid-template-columns: repeat(2, 1fr); }
    .wf-dash-charts { grid-template-columns: 1fr; }
    .flow-scene-desc p { font-size: 10px; }

    .integration-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section-heading.left-align { text-align: center; }

    .footer-top { flex-direction: column; gap: 40px; }
    .footer-cols { gap: 32px; }

    .cta-card { padding: 48px 24px; }
    .cta-card h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }

    .section-heading { font-size: 28px; }

    .cs-modes-grid { grid-template-columns: 1fr; }
    .cs-mode-preview { padding: 16px 16px 0; }
    .cs-dashboard-cta { flex-direction: column; text-align: center; }
    .ba-grid { grid-template-columns: 1fr; }

    .features,
    .how-it-works,
    .integration,
    .pricing,
    .faq,
    .coming-soon,
    .final-cta { padding: 80px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 30px; }
    .slider-track { min-height: 460px; }
    .phone-frame {
        width: 220px;
        height: 460px;
        border-radius: 28px;
    }
    .phone-screen { border-radius: 20px; }
    .phone-screen iframe { transform: scale(0.533); }
    .macbook-frame { width: 310px; border-radius: 10px; padding: 5px 5px 14px; }
    .macbook-notch { width: 36px; height: 6px; top: 5px; border-radius: 0 0 4px 4px; }
    .macbook-screen { border-radius: 5px 5px 0 0; }
    .macbook-screen iframe { transform: scale(0.293); }
    .macbook-bar { width: 334px; height: 9px; border-radius: 0 0 5px 5px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .footer-cols { flex-direction: column; gap: 24px; }
}
