/* ═══════════════════════════════════════════════════════════════
   FULLBARZ  ·  Premium Landing Page
   Design: dark hero + clean white sections + orange brand accent
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --orange:     #E07A5F;
    --orange-2:   #F4A261;
    --orange-g:   linear-gradient(135deg, #E07A5F 0%, #F4A261 100%);
    --dark:       #0D1117;
    --dark-2:     #161B22;
    --dark-3:     #21262D;
    --white:      #FFFFFF;
    --off-white:  #F9FAFB;
    --gray-1:     #F3F4F6;
    --gray-2:     #E5E7EB;
    --gray-3:     #9CA3AF;
    --gray-4:     #6B7280;
    --text:       #111827;
    --serif:      'Playfair Display', Georgia, serif;
    --sans:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius:     16px;
    --radius-sm:  10px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.10);
    --shadow-xl:  0 32px 80px rgba(0,0,0,0.25), 0 12px 32px rgba(0,0,0,0.15);
    --bg:         #FFFFFF;
    --surface:    #FFFFFF;
    --border:     #E5E7EB;
    --text-muted: #6B7280;
    --fb-text-muted: #6B7280;
}

html[data-theme="dark"] {
    --bg:         #0D1117;
    --surface:    #161B22;
    --border:     rgba(255,255,255,0.10);
    --text:       #F9FAFB;
    --text-muted: #9CA3AF;
    --fb-text-muted: #9CA3AF;
}

html[data-theme="dark"] body {
    background: var(--bg);
    color: var(--text);
}

/* ── Top bar ─────────────────────────────────────────────────── */
.fb-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 56px;
    background: rgba(13,17,23,0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fb-topbar .brand {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.fb-theme-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    line-height: 1;
    transition: background 0.15s;
}

.fb-theme-btn:hover { background: rgba(255,255,255,0.10); }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13,17,23,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
}

.brand-dot {
    width: 10px;
    height: 10px;
    background: var(--orange-g);
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    flex: 1;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--orange-g);
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-login-btn, .nav-account-btn {
    background: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 0.45rem 1rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.nav-login-btn:hover, .nav-account-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Hamburger + dropdown — shown only at phone widths (see Responsive) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    background: none;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 8px;
}

.nav-mobile-menu { display: none; }

.nav-account { position: relative; flex-shrink: 0; }

.nav-account-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    padding: 1.25rem;
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 250;
}

.nav-account-plan {
    font-size: 0.875rem;
    color: var(--text);
    margin: 0 0 0.25rem;
}

.nav-account-logout {
    background: none;
    border: none;
    color: var(--gray-4);
    font-size: 0.825rem;
    text-align: center;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-account-logout:hover { color: var(--text); text-decoration: underline; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    background: var(--dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 5rem;
}

/* Mesh gradient background */
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(224,122,95,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(99,102,241,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 80%, rgba(244,162,97,0.06) 0%, transparent 60%);
}

/* Floating orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224,122,95,0.18) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    bottom: -80px;
    left: 10%;
}

/* Grid lines overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(224,122,95,0.12);
    border: 1px solid rgba(224,122,95,0.30);
    color: #FBBF9A;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

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

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title-accent {
    background: var(--orange-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.60);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--serif);
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.50);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-div {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.10);
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
    background: var(--orange-g);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(224,122,95,0.40);
}

.btn-primary:hover {
    opacity: 0.90;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(224,122,95,0.50);
}

.btn-primary:disabled { opacity: 0.55; cursor: default; transform: none; }

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.25);
}

.btn-outline {
    background: var(--white);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    border: 1.5px solid var(--gray-2);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.btn-outline:hover { border-color: var(--orange); background: #FFF8F5; }
.btn-outline:disabled { opacity: 0.55; cursor: default; }

.btn-trial {
    display: block; width: 100%; padding: 0.75rem 1.25rem;
    border: 2px dashed var(--orange); border-radius: 10px;
    background: transparent; color: var(--orange);
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-trial:hover { background: var(--orange); color: #fff; }
.btn-trial:disabled { opacity: 0.55; cursor: default; }

.btn-eye {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; color: #888; padding: 0; line-height: 1;
}
.btn-eye:hover { color: var(--orange); }

.trial-code-box {
    font-family: monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.15em;
    padding: 1rem 1.5rem; margin: 1rem 0 1.25rem;
    background: var(--surface); border: 2px solid var(--orange);
    border-radius: 10px; color: var(--orange); text-align: center;
}

.btn-white {
    background: var(--white);
    color: var(--orange);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2.25rem;
    border-radius: 10px;
    border: 2px solid var(--white);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-white:hover { background: transparent; color: var(--white); }

.btn-plan { width: 100%; }

/* ── SHARED SECTION STYLES ────────────────────────────────────── */
.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray-4);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

/* ── FEATURES ─────────────────────────────────────────────────── */
.features {
    padding: 6rem 0;
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feat-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--shadow-md) 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--orange-g);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feat-card:hover::before { transform: scaleX(1); }

.feat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feat-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feat-card p {
    font-size: 0.9rem;
    color: var(--gray-4);
    line-height: 1.65;
}

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing {
    padding: 6rem 0;
    background: var(--white);
}

/* Billing toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-1);
    border: 1px solid var(--gray-2);
    border-radius: 30px;
    padding: 0.45rem 1rem;
    margin: 0 auto 3rem;
    display: flex;
    width: fit-content;
}

.billing-toggle span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tog-active { color: var(--text) !important; font-weight: 600 !important; }

.tog-save {
    background: var(--orange-g);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
}

.tog-pill {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    border: none;
    background: var(--gray-2);
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.tog-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.20);
    transition: left 0.2s;
}

.tog-thumb.on { left: 23px; background: var(--orange); }

/* Plan grid */
.plan-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
}

.plan {
    background: var(--white);
    border: 1.5px solid var(--gray-2);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    flex: 1 1 280px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
}

.plan:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Featured plan */
.plan-pro {
    border-color: var(--orange);
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(224,122,95,0.08), var(--shadow-lg);
    background: linear-gradient(180deg, #FFF8F5 0%, var(--white) 40%);
    transform: translateY(-8px);
    padding-top: 3rem;
}

.plan-pro:hover { transform: translateY(-12px); }

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-g);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.1rem;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(224,122,95,0.40);
}

.plan-header { display: flex; flex-direction: column; gap: 0.25rem; }

.plan-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.plan-tagline {
    font-size: 0.875rem;
    color: var(--gray-4);
    line-height: 1.4;
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.plan-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}

.plan-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    font-family: var(--serif);
}

.plan-period {
    font-size: 0.875rem;
    color: var(--gray-4);
    margin-left: 0.3rem;
}

.plan-free {
    font-family: var(--serif);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--gray-4);
    line-height: 1;
}

.plan-saving {
    font-size: 0.78rem;
    font-weight: 600;
    color: #059669;
    background: #ECFDF5;
    border-radius: 6px;
    padding: 0.3rem 0.65rem;
    display: inline-block;
    margin-top: -0.5rem;
}

.plan-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-2) 100%);
    width: 36px;
    border-radius: 2px;
}

/* Feature list */
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.4;
}

.plan-features li.feat-no { color: var(--gray-3); text-decoration: line-through; }

.feat-icon-wrap {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

li:not(.feat-no) .feat-icon-wrap {
    background: #ECFDF5;
    color: #059669;
}

li.feat-no .feat-icon-wrap {
    background: var(--gray-1);
    color: var(--gray-3);
}

.pricing-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-4);
    margin-top: 2.5rem;
}

/* ── ADDITIONAL DEVICE ────────────────────────────────────────── */
.addon-device {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-1);
}

.addon-card {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: 1.25rem;
    padding: 2rem 2.5rem;
    max-width: 820px;
    margin: 2.5rem auto 0;
    box-shadow: 0 4px 32px rgba(255, 110, 29, 0.08);
}

.addon-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.addon-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.addon-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.addon-tagline {
    font-size: 0.9rem;
    color: var(--gray-4);
    margin-top: 0.35rem;
    max-width: 280px;
    line-height: 1.5;
}

.addon-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.addon-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.addon-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange);
}

.addon-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.addon-period {
    font-size: 0.875rem;
    color: var(--gray-4);
    margin-left: 0.25rem;
}

.addon-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: right;
    font-size: 0.875rem;
    color: var(--gray-4);
}

@media (max-width: 640px) {
    .addon-card {
        flex-direction: column;
        padding: 1.5rem;
    }
    .addon-right { align-items: flex-start; }
    .addon-perks { text-align: left; }
    .addon-tagline { max-width: 100%; }
}

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials {
    padding: 6rem 0;
    background: var(--dark);
}

.testimonials .section-eyebrow { color: #FBBF9A; }
.testimonials .section-title   { color: var(--white); }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testi-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: background 0.2s, transform 0.2s;
}

.testi-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.testi-featured {
    background: rgba(224,122,95,0.10);
    border-color: rgba(224,122,95,0.30);
}

.testi-stars { color: var(--orange-2); font-size: 0.9rem; letter-spacing: 2px; }

.testi-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange-g);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-author > div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.testi-author strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.testi-author span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta-section {
    padding: 7rem 2rem;
    background: var(--dark-2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(224,122,95,0.15) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.60);
    max-width: 460px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.cta-section .section-eyebrow { position: relative; }

.cta-caption {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.40);
    position: relative;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-section {
    padding: 6rem 0;
    background: var(--off-white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.faq-item {
    background: var(--white);
    border: 1.5px solid var(--gray-2);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}

.faq-item:hover,
.faq-item.open {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(224,122,95,0.08);
}

.faq-q {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-arrow {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--orange);
    flex-shrink: 0;
    line-height: 1;
}

.faq-a {
    font-size: 0.9rem;
    color: var(--gray-4);
    line-height: 1.65;
    margin-top: 0.75rem;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
    background: var(--dark);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    font-size: 1.2rem;
    opacity: 0.5;
    margin-top: 0.5rem;
    cursor: pointer;
}

.footer-cols {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.footer-cols > div {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 110px;
}

.footer-cols strong {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.60);
    margin-bottom: 0.3rem;
}

.footer-cols a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-cols a:hover { color: var(--orange); }

.footer-copy {
    max-width: 1140px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.25);
}

/* ── States ──────────────────────────────────────────────────── */
.loading, .msg-error {
    text-align: center;
    padding: 3rem;
    color: var(--gray-4);
}

.spinner {
    width: 2.5rem; height: 2.5rem;
    border: 2.5px solid var(--gray-2);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 1rem;
}

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

/* ── Signup Modal ────────────────────────────────────────────── */
.signup-overlay {
    position: fixed; inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.signup-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%; max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.signup-close {
    position: absolute; top: 0.9rem; right: 0.9rem;
    border: none; background: transparent;
    font-size: 1rem; color: var(--gray-3);
    cursor: pointer; line-height: 1;
}
.signup-close:hover { color: var(--gray-4); }

.signup-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 0.4rem; }
.signup-sub   { font-size: 0.88rem; color: var(--gray-4); margin: 0 0 1.2rem; }

.signup-field { margin-bottom: 1rem; text-align: left; }
.signup-field label {
    display: block; font-size: 0.78rem; font-weight: 600;
    color: var(--gray-4); margin-bottom: 0.3rem;
}
.signup-input {
    width: 100%; padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--gray-2); border-radius: var(--radius-sm);
    font-size: 0.92rem; font-family: inherit;
}
.signup-input:focus { outline: none; border-color: var(--orange); }
.signup-input.error { border-color: #dc2626; }
.signup-input.error:focus { border-color: #dc2626; outline-color: #dc2626; }
.field-error { display: block; font-size: 0.78rem; color: #dc2626; margin-top: 0.2rem; margin-bottom: 0.4rem; }

.blazor-error-boundary {
    background: #fee2e2; padding: 1rem;
    color: #b91c1c; border-radius: var(--radius-sm);
}
.blazor-error-boundary::after { content: "An error has occurred."; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid    { grid-template-columns: 1fr; }
    .plan-pro      { transform: none; }
    .plan-pro:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-inner { padding: 0 1rem; gap: 0.75rem; }
    .brand     { font-size: 1.2rem; }
    .nav-login-btn { display: none; }   /* moves into .nav-mobile-menu */
    /* .nav-links was the flex:1 spacer; without it the CTA needs its own push right */
    .nav-cta    { margin-left: auto; padding: 0.45rem 0.9rem; }
    .nav-toggle { display: flex; }
    .nav-mobile-menu.is-open {
        display: flex;
        flex-direction: column;
        padding: 0.25rem 1rem 0.75rem;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-mobile-menu a {
        padding: 0.8rem 0.25rem;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-mobile-menu a:last-child { border-bottom: none; }
    /* width, not side margins: ResetPassword sets margin inline, which a stylesheet can't override */
    .fb-status-card { width: calc(100% - 2rem); margin-top: 2rem; margin-bottom: 2rem; padding: 1.75rem 1.25rem; }
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1.25rem; }
    .stat-div  { width: 40px; height: 1px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-inner  { flex-direction: column; gap: 2.5rem; }
    .footer-cols   { gap: 2rem; }
    .footer-copy   { flex-direction: column; align-items: center; }
}

/* ── Payment status pages ────────────────────────────────────── */
.fb-status-card {
    max-width: 480px;
    margin: 6rem auto;
    padding: 2.5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.fb-status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fb-status-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.fb-status-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.fb-status-steps {
    text-align: left;
    color: var(--text-muted);
    margin: 0 0 1.75rem 1.25rem;
    padding: 0;
    line-height: 1.8;
}

.fb-status-steps li { margin-bottom: 0.25rem; }
.fb-status-steps strong { color: var(--text); }

.fb-spinner {
    width: 2.5rem; height: 2.5rem;
    border: 3px solid var(--border);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

.fb-btn-primary {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.15s;
}
.fb-btn-primary:hover { opacity: 0.88; }

/* ── Privacy Modal ───────────────────────────────────────────── */
.privacy-card {
    max-width: 560px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.privacy-body {
    overflow-y: auto;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--text);
    padding-right: 0.5rem;
    margin-top: 0.5rem;
}
.privacy-body h4 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.25rem 0 0.3rem;
}
.privacy-body h4:first-child { margin-top: 0; }
.privacy-body p { margin-bottom: 0.5rem; color: var(--text); }
.privacy-body ul { padding-left: 1.2rem; margin-bottom: 0.5rem; }
.privacy-body ul li { margin-bottom: 0.2rem; }
.privacy-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-2);
    margin-top: 1rem;
}
.privacy-check-label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text);
    user-select: none;
}
.privacy-check-label input[type=checkbox] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary, #6366f1);
}

.device-activation-check {
    border-left: 3px solid #f59e0b;
    padding-left: 0.6rem;
}

/* ── My Profile Page ─────────────────────────────────────────── */
.fb-profile-page {
    max-width: 720px;
    margin: 4rem auto;
    padding: 0 1.25rem 4rem;
}

.fb-profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.fb-profile-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #E9D5FF;
    color: #6D28D9;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.fb-btn-logout {
    background: var(--surface);
    border: 1.5px solid #FCA5A5;
    color: #DC2626;
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.fb-btn-logout:hover { border-color: #DC2626; background: #FEF2F2; }

.fb-btn-change-pwd {
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.fb-btn-change-pwd:hover { border-color: var(--orange); color: var(--orange); }

.fb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.fb-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.fb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.fb-modal-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }

.fb-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding: 0.25rem;
    line-height: 1;
}

.fb-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fb-profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.fb-profile-email {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.fb-profile-plan {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.fb-profile-section {
}

.fb-profile-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.fb-profile-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.fb-table-wrap { overflow-x: auto; }

.fb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.fb-table th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border);
}

.fb-table td {
    padding: 0.65rem 0.75rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

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

.fb-code {
    font-family: monospace;
    font-size: 0.9em;
    background: var(--gray-1);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    color: var(--text);
}

.fb-chip-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.15s, color 0.15s;
}
.fb-chip-copy:hover { border-color: var(--orange); color: var(--orange); }

.fb-badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.fb-badge-active  { background: #dcfce7; color: #166534; }
.fb-badge-used    { background: var(--gray-1); color: var(--text-muted); }
.fb-badge-pending { background: #fef9c3; color: #854d0e; }

@media (prefers-color-scheme: dark) {
    .fb-badge-active  { background: #14532d; color: #86efac; }
    .fb-badge-used    { background: #1f2937; color: #9ca3af; }
    .fb-badge-pending { background: #422006; color: #fde68a; }
}
:root[data-theme="dark"] .fb-badge-active  { background: #14532d; color: #86efac; }
:root[data-theme="dark"] .fb-badge-used    { background: #1f2937; color: #9ca3af; }
:root[data-theme="dark"] .fb-badge-pending { background: #422006; color: #fde68a; }
:root[data-theme="light"] .fb-badge-active  { background: #dcfce7; color: #166534; }
:root[data-theme="light"] .fb-badge-used    { background: var(--gray-1); color: var(--text-muted); }
:root[data-theme="light"] .fb-badge-pending { background: #fef9c3; color: #854d0e; }

@media (prefers-color-scheme: dark) {
    .btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.2); }
    .btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--orange); }
    .fb-code { background: #1f2937; color: #e5e7eb; }
    .fb-alert-error { background: #450a0a; color: #fca5a5; }
}
:root[data-theme="dark"] .btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.2); }
:root[data-theme="dark"] .btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--orange); }
:root[data-theme="dark"] .fb-code { background: #1f2937; color: #e5e7eb; }
:root[data-theme="dark"] .fb-alert-error { background: #450a0a; color: #fca5a5; }
:root[data-theme="light"] .btn-outline { background: var(--white); color: var(--text); border-color: var(--gray-2); }
:root[data-theme="light"] .btn-outline:hover { background: #FFF8F5; border-color: var(--orange); }
:root[data-theme="light"] .fb-code { background: var(--gray-1); color: var(--text); }
:root[data-theme="light"] .fb-alert-error { background: #fee2e2; color: #b91c1c; }

.fb-alert-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-align: left;
}

.fb-field {
    text-align: left;
    margin-bottom: 0.75rem;
}

.fb-field label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.fb-input {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
    box-sizing: border-box;
}

.fb-input:focus {
    outline: 2px solid var(--orange);
    outline-offset: -1px;
}

.fb-pwd-toggle { position:absolute; right:0.6rem; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; font-size:1.1rem; padding:0.2rem; line-height:1; }
.fb-textarea { resize: vertical; min-height: 5rem; }
.fb-link { background:none; border:none; color:var(--orange); font-size:0.85rem; cursor:pointer; padding:0; text-decoration:underline; }
.fb-topbar-profile { color:rgba(255,255,255,0.85); font-size:0.85rem; text-decoration:none; padding:0.3rem 0.65rem; border-radius:8px; border:1px solid rgba(255,255,255,0.15); transition:background 0.15s; }
.fb-topbar-profile:hover { background:rgba(255,255,255,0.08); }
.fb-accordion-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; background:none; border:none; cursor:pointer; padding:0; margin-bottom:0; text-align:left; }
.fb-accordion-toggle:hover .fb-profile-section-title { color:var(--orange); }
.fb-accordion-arrow { font-size:1rem; color:var(--text-muted); display:inline-block; transition:transform 0.2s; }
.fb-accordion-arrow.open { transform:rotate(90deg); }
.fb-accordion-body { margin-top:1rem; }
.fb-alert-success { background:#dcfce7; color:#166534; padding:0.6rem 0.9rem; border-radius:var(--radius-sm); font-size:0.875rem; margin-bottom:1rem; text-align:left; }
@media (prefers-color-scheme: dark) { .fb-alert-success { background:#14532d; color:#86efac; } }
:root[data-theme="dark"] .fb-alert-success { background:#14532d; color:#86efac; }
:root[data-theme="light"] .fb-alert-success { background:#dcfce7; color:#166534; }
