/* ─────────────────────────────────────────────
   FusionLens — Clean Light Design System
   Inter font is loaded in _Layout.cshtml
───────────────────────────────────────────── */

:root {
    --fl-bg:        #ffffff;
    --fl-surface:   #f8fafc;
    --fl-surface-2: #f1f5f9;
    --fl-border:    #e2e8f0;
    --fl-border-b:  rgba(37,99,235,0.25);
    --fl-primary:   #2563eb;
    --fl-text-1:    #0f172a;   /* titles — 18:1 on white */
    --fl-text-2:    #334155;   /* body   —  9:1 on white */
    --fl-text-3:    #64748b;   /* muted  — 4.6:1 on white, passes WCAG AA */
    --font-mono:    'JetBrains Mono','Fira Code',Consolas,monospace;
}

/* ── HERO (stays dark — product first impression) ─── */
.fl-hero {
    padding: calc(84px + 80px) 0 90px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #040d1c 0%, #0f1f3d 55%, #0d1829 100%);
}

.fl-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 1000px; height: 700px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 68%);
    pointer-events: none;
}

.fl-hero > .container-xl {
    position: relative;
    z-index: 1;
}

/* ── HERO BADGE ── */
.fl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(59,130,246,0.38);
    border-radius: 999px;
    background: rgba(2,6,23,0.65);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.fl-hero-title {
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.06;
    letter-spacing: -2px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 24px;
}

.fl-gradient-text {
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fl-hero-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 460px;
}

.fl-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.fl-cta-primary {
    height: 54px;
    padding: 0 30px;
    border-radius: 14px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff !important;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(37,99,235,0.40), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 250ms ease;
    cursor: pointer;
}
.fl-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(37,99,235,0.50);
    color: #fff !important;
}

.fl-cta-secondary {
    height: 54px;
    padding: 0 30px;
    border-radius: 14px;
    background: transparent;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 200ms ease;
    cursor: pointer;
}
.fl-cta-secondary:hover {
    border-color: rgba(255,255,255,0.36);
    color: #fff !important;
}

/* ── HERO LOGGED-IN STATE ── */
.fl-signed-in-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.fl-signed-in-badge strong {
    color: #e2e8f0;
    font-weight: 600;
}
.fl-signed-in-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(74,222,128,0.25);
}
.fl-cta-open-app {
    height: 54px;
    padding: 0 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #6d28d9 100%);
    color: #fff !important;
    border: none;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(59,130,246,0.40), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 250ms ease;
    cursor: pointer;
}
.fl-cta-open-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(59,130,246,0.55);
    color: #fff !important;
}

/* ── SQL EDITOR PANEL (dark — product UI showcase) ── */
.fl-editor-panel {
    background: linear-gradient(180deg, rgba(15,23,42,0.97), rgba(2,6,23,0.94));
    border: 1px solid rgba(59,130,246,0.28);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 70px rgba(37,99,235,0.16), inset 0 1px 0 rgba(255,255,255,0.04);
}

.fl-editor-header {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 7px;
}

.fl-editor-label {
    margin-left: 10px;
    font-size: 12px;
    color: #475569;
    font-family: var(--font-mono);
}

.fl-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    transition: opacity 200ms, box-shadow 200ms;
}
.fl-dot-r { background: #ef4444; opacity: 0.45; }
.fl-dot-y { background: #f59e0b; opacity: 0.45; }
.fl-dot-g { background: #22c55e; opacity: 0.45; }
.fl-dot.active { opacity: 1 !important; box-shadow: 0 0 8px currentColor; }

.fl-code-wrap {
    height: 230px;
    overflow-y: auto;
    padding: 16px 20px;
    background: #0b1526;
}
.fl-code-wrap::-webkit-scrollbar { width: 4px; }
.fl-code-wrap::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
.fl-code-wrap pre {
    margin: 0;
    color: #e2e8f0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
}
.fl-kw  { color: #60a5fa; }
.fl-str { color: #4ade80; }
.fl-cm  { color: #475569; }

.fl-cursor {
    display: inline-block;
    width: 6px; height: 13px;
    background: #e2e8f0;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: fl-blink 1s step-end infinite;
}
@keyframes fl-blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.fl-editor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.fl-stat-cell {
    padding: 12px 18px;
    font-size: 13px;
    color: #64748b;
    font-family: var(--font-mono);
    border-right: 1px solid rgba(255,255,255,0.03);
}
.fl-stat-cell:last-child { border-right: none; }
.fl-stat-val { color: #22c55e; font-weight: 600; }

/* ── SCREENSHOT CARD (hero) ── */
.fl-screenshot-card {
    background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(2,6,23,0.93));
    border: 1px solid rgba(59,130,246,0.28);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(37,99,235,0.14), inset 0 1px 0 rgba(255,255,255,0.04);
}
.fl-screenshot-img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

/* ── AMBER GLOW DIVIDER ── */
.fl-divider-amber {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(232,164,74,0.45) 15%,
        #E8A44A 50%,
        rgba(232,164,74,0.45) 85%,
        transparent 100%
    );
    box-shadow:
        0 0 18px rgba(232,164,74,0.45),
        0 0 40px rgba(232,164,74,0.18),
        0 0 70px rgba(232,164,74,0.07);
    position: relative;
    z-index: 5;
}

/* ── SECTION CHROME ── */
.fl-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: var(--fl-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.fl-section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--fl-text-1);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.fl-section-desc {
    font-size: 16px;
    color: var(--fl-text-3);
    line-height: 1.8;
    max-width: 560px;
}

/* ── CARDS (light) ── */
.fl-card {
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 250ms, box-shadow 250ms, transform 250ms;
    height: 100%;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.04);
}
.fl-card:hover {
    border-color: rgba(37,99,235,0.30);
    box-shadow: 0 4px 16px rgba(37,99,235,0.10), 0 12px 32px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.fl-card-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
}

.fl-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--fl-text-1);
    margin-bottom: 10px;
}

.fl-card-desc {
    font-size: 14px;
    color: var(--fl-text-3);
    line-height: 1.75;
    margin: 0;
}

.fl-sec-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 99px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    margin-bottom: 10px;
}

/* ── LIGHT SECTIONS (white) ── */
.fl-section-light {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.fl-section-light > .container-xl { position: relative; z-index: 1; }

/* ── GRAY SECTIONS (alternate) ── */
.fl-section-dark-blob {
    background: var(--fl-surface);
    position: relative;
    overflow: hidden;
}

.fl-section-dark-blob > .container-xl { position: relative; z-index: 1; }

/* ── ORACLE DIAGRAM (light version) ── */
.fl-diagram-wrap {
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 20px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.fl-diagram-inner {
    height: 260px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}

.fl-diag-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 68%);
    pointer-events: none;
}

.fl-oracle-ring {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(239,68,68,0.75);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.90);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 24px rgba(239,68,68,0.20);
    animation: fl-spin 6s linear infinite;
    position: relative; z-index: 2;
    overflow: visible;
}
.fl-oracle-ring::after {
    content: '';
    position: absolute;
    top: -5px; left: calc(50% - 5px);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444, 0 0 16px rgba(239,68,68,0.50);
}

.fl-oracle-inner {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 3px solid #ef4444;
    background: #fff1f2;
    display: flex; align-items: center; justify-content: center;
    animation: fl-spin 6s linear infinite reverse;
}

.fl-oracle-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #f87171;
    box-shadow: 0 0 10px rgba(239,68,68,0.45);
    animation: fl-dot-glow 1.4s ease-in-out infinite;
}
@keyframes fl-dot-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(239,68,68,0.40); transform: scale(1); }
    50%       { box-shadow: 0 0 18px rgba(239,68,68,0.70); transform: scale(1.2); }
}
@keyframes fl-spin { 100% { transform: rotate(360deg); } }

.fl-diag-line { animation: fl-dash-flow 1.2s linear infinite; }
@keyframes fl-dash-flow { to { stroke-dashoffset: -8; } }

.fl-oracle-lbl {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    font-size: 13px; font-weight: 600;
    color: var(--fl-text-2);
    z-index: 2;
    white-space: nowrap;
}

.fl-diag-badges {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.fl-fb {
    position: absolute;
    display: flex; align-items: center; gap: 8px;
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.fl-fb-icon {
    width: 24px; height: 24px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fl-fb span {
    font-size: 13px; font-weight: 500;
    color: var(--fl-text-1);
    white-space: nowrap;
}

.fl-fb1 { top: 20px; left: 20px; }
.fl-fb2 { top: 20px; right: 20px; }
.fl-fb3 { bottom: 20px; left: 20px; }
.fl-fb4 { bottom: 20px; right: 20px; }

.fl-diagram-status {
    padding: 10px 20px;
    border-top: 1px solid var(--fl-border);
    display: flex; align-items: center; gap: 8px;
    background: #ffffff;
}

.fl-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16,185,129,0.50);
    flex-shrink: 0;
    animation: fl-dot-pulse 2s ease-in-out infinite;
}
@keyframes fl-dot-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(16,185,129,0.50); opacity: 1; }
    50%       { box-shadow: 0 0 12px rgba(16,185,129,0.85); opacity: 0.8; }
}

.fl-status-txt {
    font-size: 12px;
    color: var(--fl-text-3);
    font-family: var(--font-mono);
}

/* ── HOW IT WORKS ── */
.fl-how-section {
    background: #ffffff;
    border-top: 1px solid var(--fl-border);
    border-bottom: 1px solid var(--fl-border);
    position: relative;
    overflow: hidden;
}
.fl-how-section > .container-xl { position: relative; z-index: 1; }

.fl-step-card {
    text-align: center;
    padding: 36px 24px;
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 18px;
    transition: border-color 250ms, box-shadow 250ms;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.fl-step-card:hover {
    border-color: rgba(37,99,235,0.28);
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
}

.fl-step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.30);
}

.fl-step-icon { font-size: 28px; margin-bottom: 14px; }

.fl-step-text {
    font-size: 15px;
    color: var(--fl-text-2);
    line-height: 1.75;
    margin: 0;
}

.fl-how-img {
    border-radius: 16px;
    border: 1px solid var(--fl-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    width: 100%;
}

/* ── WHO IS IT FOR ── */
.fl-audience-card {
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 300ms ease;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.fl-audience-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,0.28);
    box-shadow: 0 16px 40px rgba(37,99,235,0.10), 0 4px 12px rgba(0,0,0,0.06);
}

.fl-audience-icon {
    width: 72px; height: 72px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    font-size: 30px;
    transition: transform 300ms ease;
}
.fl-audience-card:hover .fl-audience-icon { transform: scale(1.08) rotate(4deg); }

.fl-audience-title {
    font-size: 20px; font-weight: 600;
    color: var(--fl-text-1);
    margin-bottom: 12px;
}

.fl-audience-desc {
    font-size: 15px;
    color: var(--fl-text-3);
    line-height: 1.75;
    margin: 0;
}

/* ── DEMO CTA ── */
.fl-demo-section {
    background: linear-gradient(160deg, #080e1c 0%, #0d1829 100%);
    position: relative;
    overflow: hidden;
}
.fl-demo-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 65%);
    pointer-events: none;
}
.fl-demo-section > .container-xl { position: relative; z-index: 1; }

.fl-demo-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.fl-demo-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 36px;
}

.fl-section-label.demo-label { color: rgba(255,255,255,0.70); }

.fl-email-input {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    height: 54px;
    font-size: 15px;
    transition: border-color 200ms, box-shadow 200ms;
}
.fl-email-input:focus {
    border-color: rgba(255,255,255,0.60) !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.10) !important;
    outline: none;
    background: rgba(255,255,255,0.16) !important;
    color: #ffffff !important;
}
.fl-email-input::placeholder { color: rgba(255,255,255,0.50) !important; }

.fl-submit-btn {
    height: 54px;
    border-radius: 12px;
    background: #ffffff;
    color: #1d4ed8 !important;
    border: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 250ms ease;
    cursor: pointer;
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.fl-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    color: #1e40af !important;
}

/* ── FEATURE BAR (kept as reference, hidden in HTML) ── */
.fl-feature-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--fl-border);
    border: 1px solid var(--fl-border);
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 64px;
}
.fl-feat-item {
    background: #ffffff;
    padding: 32px 28px;
    transition: background 250ms;
}
.fl-feat-item:hover { background: var(--fl-surface); }
.fl-feat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.fl-feat-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--fl-text-1);
    margin-bottom: 8px;
}
.fl-feat-desc {
    font-size: 15px;
    color: var(--fl-text-3);
    line-height: 1.65;
}

/* ── BLOBS (subtle on light bg) ── */
.fl-blob-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.fl-blob-wrap > div {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.fl-blob-blue {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.20), rgba(139,92,246,0.12));
    top: -300px; left: -150px;
    animation: fl-blob-drift 14s ease-in-out infinite;
}
.fl-blob-purple {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.16), rgba(59,130,246,0.08));
    bottom: -200px; right: -100px;
    animation: fl-blob-drift 18s ease-in-out infinite reverse;
}
.fl-blob-amber {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(245,158,11,0.13), rgba(249,115,22,0.07));
    top: -150px; right: -120px;
    animation: fl-blob-drift 16s ease-in-out infinite;
}
.fl-blob-amber-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,164,74,0.10), rgba(59,130,246,0.05));
    bottom: -100px; left: -80px;
    animation: fl-blob-drift 20s ease-in-out infinite reverse;
}
@keyframes fl-blob-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, -50px) scale(1.06); }
    66%       { transform: translate(-30px, 40px) scale(0.94); }
}

/* ── TESTIMONIAL CARDS ── */
.fl-testimonial-card {
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    transition: border-color 250ms, box-shadow 250ms;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.fl-testimonial-card:hover {
    border-color: rgba(37,99,235,0.22);
    box-shadow: 0 6px 24px rgba(37,99,235,0.08);
}
.fl-quote {
    font-size: 40px;
    line-height: 1;
    color: #dbeafe;
    margin-bottom: 16px;
    font-family: Georgia, serif;
    user-select: none;
}
.fl-testimonial-text {
    font-size: 15px;
    color: var(--fl-text-2);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.fl-testimonial-author { display: flex; align-items: center; gap: 12px; }
.fl-author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.fl-author-name { font-size: 14px; font-weight: 600; color: var(--fl-text-1); }
.fl-author-role { font-size: 12px; color: var(--fl-text-3); margin-top: 2px; }

/* ── PRICING PREVIEW ── */
.fl-pp-card {
    background: #ffffff;
    border: 1px solid var(--fl-border);
    border-radius: 22px;
    padding: 38px 34px;
    height: 100%;
    transition: border-color 250ms, box-shadow 250ms;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.fl-pp-card:hover {
    border-color: rgba(37,99,235,0.28);
    box-shadow: 0 8px 28px rgba(37,99,235,0.10);
}
.fl-pp-card.featured {
    border-color: rgba(37,99,235,0.45);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.06), 0 8px 30px rgba(37,99,235,0.12);
}
.fl-pp-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    color: #fff; font-size: 11px; font-weight: 600;
    letter-spacing: 0.8px; text-transform: uppercase;
    padding: 4px 16px; border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37,99,235,0.32);
}
.fl-pp-name { font-size: 13px; font-weight: 500; color: var(--fl-text-3); margin-bottom: 8px; }
.fl-pp-price {
    font-size: 48px; font-weight: 800;
    color: var(--fl-text-1); letter-spacing: -2px; line-height: 1;
    margin-bottom: 6px;
}
.fl-pp-period { font-size: 13px; color: var(--fl-text-3); margin-bottom: 20px; }
.fl-pp-feat-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fl-pp-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fl-text-2); }
.fl-pp-tick {
    width: 18px; height: 18px; border-radius: 50%;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.fl-pp-tick.g { background: #dcfce7; color: #16a34a; }
.fl-pp-tick.b { background: #dbeafe; color: #2563eb; }

/* ── "Who Is It For" section bg ── */
section:has(.fl-audience-card) {
    background: var(--fl-surface);
    position: relative;
    overflow: hidden;
}
section:has(.fl-audience-card) > .container-xl { position: relative; z-index: 1; }

/* ── SECTION RADIAL GLOW (light mode subtle, dark mode prominent) ── */
.fl-section-light::before,
.fl-section-dark-blob::before,
.fl-how-section::before,
section:has(.fl-audience-card)::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════
   DARK MODE OVERRIDES
═══════════════════════════════════════════════ */

/* Section backgrounds */
html[data-theme="dark"] .fl-section-light {
    background: linear-gradient(160deg, #0d1829 0%, #0f1f3d 100%);
}
html[data-theme="dark"] .fl-section-dark-blob {
    background: linear-gradient(160deg, #080e1c 0%, #0d1829 100%);
}
html[data-theme="dark"] .fl-how-section {
    background: linear-gradient(160deg, #0d1829 0%, #0f1f3d 100%);
    border-color: rgba(255,255,255,0.05);
}
html[data-theme="dark"] section:has(.fl-audience-card) {
    background: linear-gradient(160deg, #080e1c 0%, #0d1829 100%);
}

/* Section ::before glow — stronger in dark mode */
html[data-theme="dark"] .fl-section-light::before,
html[data-theme="dark"] .fl-section-dark-blob::before,
html[data-theme="dark"] .fl-how-section::before,
html[data-theme="dark"] section:has(.fl-audience-card)::before {
    background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 65%);
}

/* Blobs — switch amber to blue/purple in dark mode */
html[data-theme="dark"] .fl-blob-amber {
    background: radial-gradient(circle, rgba(59,130,246,0.18), rgba(139,92,246,0.10));
}
html[data-theme="dark"] .fl-blob-amber-2 {
    background: radial-gradient(circle, rgba(139,92,246,0.14), rgba(59,130,246,0.08));
}

/* Cards */
html[data-theme="dark"] .fl-card {
    background: rgba(15,31,61,0.85);
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 1px 3px rgba(0,0,0,0.30), 0 4px 12px rgba(0,0,0,0.20);
}
html[data-theme="dark"] .fl-card:hover {
    border-color: rgba(96,165,250,0.32);
    box-shadow: 0 4px 16px rgba(59,130,246,0.18), 0 12px 32px rgba(0,0,0,0.30);
}
html[data-theme="dark"] .fl-step-card {
    background: rgba(15,31,61,0.85);
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
html[data-theme="dark"] .fl-step-card:hover {
    border-color: rgba(96,165,250,0.28);
    box-shadow: 0 4px 20px rgba(59,130,246,0.14);
}
html[data-theme="dark"] .fl-audience-card {
    background: rgba(15,31,61,0.85);
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
html[data-theme="dark"] .fl-audience-card:hover {
    border-color: rgba(96,165,250,0.28);
    box-shadow: 0 16px 40px rgba(59,130,246,0.18), 0 4px 12px rgba(0,0,0,0.25);
}

/* Oracle Diagram */
html[data-theme="dark"] .fl-diagram-wrap {
    background: rgba(8,14,28,0.90);
    border-color: rgba(255,255,255,0.07);
    box-shadow: none;
}
html[data-theme="dark"] .fl-diagram-inner {
    background: #0d1829;
}
html[data-theme="dark"] .fl-diagram-status {
    background: rgba(8,14,28,0.80);
    border-color: rgba(255,255,255,0.05);
}
html[data-theme="dark"] .fl-fb {
    background: rgba(15,31,61,0.95);
    border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .fl-fb span { color: var(--fl-text-1); }

/* Oracle ring — keep red visible, lighten bg */
html[data-theme="dark"] .fl-oracle-ring {
    background: rgba(15,31,61,0.90);
}
html[data-theme="dark"] .fl-oracle-inner {
    background: rgba(8,14,28,0.80);
    border-color: #ef4444;
}

/* How It Works image */
html[data-theme="dark"] .fl-how-img {
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.40);
}

/* Security badge */
html[data-theme="dark"] .fl-sec-badge {
    background: rgba(59,130,246,0.15);
    color: #93c5fd;
    border-color: rgba(59,130,246,0.28);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .fl-feature-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ── TABLET (≤ 768px) ── */
@media (max-width: 768px) {
    .fl-hero { padding: calc(84px + 44px) 0 52px; }
    .fl-hero-desc { font-size: 15px; max-width: 100%; }

    .fl-card { padding: 22px 18px; }
    .fl-step-card { padding: 28px 18px; }
    .fl-audience-card { padding: 28px 20px; }

    .fl-diagram-inner { height: 220px; }

    .fl-demo-section { padding: 48px 0; }
    /* prevent iOS font zoom on input focus */
    .fl-email-input { font-size: 16px !important; }
}

/* ── MOBILE (≤ 576px) ── */
@media (max-width: 576px) {
    .fl-hero { padding: calc(84px + 32px) 0 44px; }
    .fl-hero-title { letter-spacing: -1px; font-size: clamp(28px, 8vw, 44px); }
    .fl-hero-desc  { font-size: 15px; }

    .fl-hero-actions { flex-direction: column; align-items: stretch; }
    .fl-cta-primary, .fl-cta-secondary {
        width: 100%; justify-content: center; height: 50px;
    }
    .fl-cta-open-app { width: 100%; justify-content: center; height: 50px; font-size: 15px; }

    .fl-card          { padding: 18px 14px; }
    .fl-step-card     { padding: 22px 16px; }
    .fl-audience-card { padding: 24px 16px; }
    .fl-feat-item     { padding: 24px 18px; }

    .fl-feature-bar { grid-template-columns: 1fr; }

    .fl-diagram-inner { height: 195px; }
    .fl-fb  { padding: 5px 8px; gap: 5px; }
    .fl-fb-icon { width: 20px; height: 20px; }
    .fl-fb span { font-size: 11px; }
    .fl-fb1, .fl-fb3 { left: 8px; }
    .fl-fb2, .fl-fb4 { right: 8px; }

    .fl-section-title { letter-spacing: -0.5px; }

    /* scale down blobs to prevent horizontal overflow */
    .fl-blob-blue, .fl-blob-purple { width: 280px; height: 280px; }
    .fl-blob-amber, .fl-blob-amber-2 { width: 240px; height: 240px; }

    /* demo form: full-width button */
    .fl-submit-btn { font-size: 15px; }
    .fl-email-input { font-size: 16px !important; }
}
