/* ─────────────────────────────────────────────────────────────
   LinguaFlow marketing landing page — scoped design system.
   Editorial serif display (Instrument Serif) + DM Sans body.
   Palette is derived from the brand mark (deep royal indigo
   #20129A logo) with the app's ocean-blue + emerald as support
   accents. All classes are `lf-` prefixed and scoped under
   .lf-page so they never collide with the app UI.
   ───────────────────────────────────────────────────────────── */

.lf-page {
  --lf-ink: #12102e;            /* indigo-tinted near-black (dark sections) */
  --lf-ink-soft: #4a5568;
  --lf-ink-muted: #8f96ab;
  --lf-cream: #f8f9fc;
  --lf-cream-warm: #f2f3f9;
  --lf-border: #e3e6f0;
  --lf-white: #ffffff;           /* literal white — text on deep surfaces */
  --lf-surface: #ffffff;         /* card / section surfaces (dark-aware) */
  --lf-deep: #12102e;            /* dark band sections & solid buttons */
  --lf-nav-bg: rgba(248, 249, 251, 0.85);
  --lf-nav-border: rgba(227, 230, 240, 0.8);
  --lf-brand: #2317a8;          /* logo indigo, tuned for text on cream */
  --lf-brand-light: #eceafd;
  --lf-brand-mid: #4f46e5;      /* buttons, dots, fills */
  --lf-brand-soft: #a5b4fc;     /* accents on dark backgrounds */
  --lf-ocean: #0369a1;          /* app primary — secondary accent */
  --lf-ocean-light: #e0f2fe;
  --lf-emerald: #10b981;        /* success / checkmarks only */
  --lf-emerald-light: #e3faf1;
  --lf-amber: #c4781a;
  --lf-amber-light: #fef3e2;
  --lf-coral: #d45a30;
  --lf-font-display: var(--font-instrument-serif), Georgia, serif;
  --lf-font-body: var(--font-dm-sans), system-ui, sans-serif;
  --lf-radius: 14px;
  --lf-radius-lg: 22px;
  --lf-radius-xl: 32px;
  --lf-shadow-sm: 0 1px 3px rgba(15, 22, 35, 0.06), 0 1px 2px rgba(15, 22, 35, 0.04);
  --lf-shadow-md: 0 4px 16px rgba(15, 22, 35, 0.08), 0 2px 4px rgba(15, 22, 35, 0.04);
  --lf-shadow-lg: 0 20px 60px rgba(15, 22, 35, 0.12), 0 4px 12px rgba(15, 22, 35, 0.06);
  --lf-shadow-xl: 0 32px 80px rgba(15, 22, 35, 0.18), 0 8px 24px rgba(15, 22, 35, 0.08);

  font-family: var(--lf-font-body);
  background: var(--lf-cream);
  color: var(--lf-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.lf-page a { text-decoration: none; }
.lf-anchor { scroll-margin-top: 72px; }

/* ── NAV ── */
.lf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2.5rem;
  background: var(--lf-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lf-nav-border);
}
.lf-nav-logo {
  font-family: var(--lf-font-display); font-size: 1.3rem; color: var(--lf-ink);
  display: flex; align-items: center; gap: 0.5rem;
}
.lf-nav-logo-img { width: 28px; height: 28px; border-radius: 7px; display: inline-block; -o-object-fit: cover; object-fit: cover; }
.lf-nav-links { display: flex; align-items: center; gap: 2rem; }
.lf-nav-links a { font-size: 0.875rem; color: var(--lf-ink-soft); font-weight: 400; transition: color 0.2s; }
.lf-nav-links a:hover { color: var(--lf-ink); }
.lf-nav-cta {
  background: var(--lf-deep); color: var(--lf-white) !important;
  padding: 0.55rem 1.3rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; transition: all 0.2s;
}
.lf-nav-cta:hover { background: var(--lf-brand); }

/* ── HERO ── */
.lf-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.lf-hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(79, 70, 229, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 55%, rgba(2, 132, 199, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 65%, rgba(79, 70, 229, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(241, 243, 247, 1) 0%, transparent 60%);
}
.lf-orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.28; animation: lf-orb-float 14s ease-in-out infinite alternate; z-index: 0; }
.lf-orb-1 { width: 600px; height: 600px; background: #c7d2fe; top: -120px; left: -120px; }
.lf-orb-2 { width: 400px; height: 400px; background: #c4b5fd; top: 30%; right: -80px; animation-delay: -5s; }
.lf-orb-3 { width: 320px; height: 320px; background: #818cf8; bottom: 0; left: 15%; animation-delay: -10s; }
@keyframes lf-orb-float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(24px, -24px) scale(1.06); } }

.lf-hero-content { position: relative; z-index: 1; max-width: 860px; }

.lf-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--lf-border);
  padding: 0.38rem 1rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; color: var(--lf-ink-soft);
  margin-bottom: 1.75rem; box-shadow: var(--lf-shadow-sm);
  animation: lf-fade-up 0.6s ease both;
}
.lf-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lf-brand-mid); animation: lf-pulse 2s ease infinite; }
@keyframes lf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.lf-hero h1 {
  font-family: var(--lf-font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.01em;
  color: var(--lf-ink); margin: 0 0 1.5rem;
  animation: lf-fade-up 0.6s 0.08s ease both;
}
.lf-hero h1 em { font-style: italic; color: var(--lf-brand); }

.lf-hero-sub {
  font-size: 1.15rem; color: var(--lf-ink-soft); max-width: 580px;
  margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.75;
  animation: lf-fade-up 0.6s 0.16s ease both;
}
.lf-hero-actions { display: flex; align-items: center; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: lf-fade-up 0.6s 0.24s ease both; }

.lf-btn-primary {
  background: var(--lf-deep); color: var(--lf-white) !important;
  padding: 0.85rem 2rem; border-radius: 10px; border: none; cursor: pointer;
  font-family: var(--lf-font-body); font-size: 0.95rem; font-weight: 500;
  transition: all 0.22s; display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(15, 22, 35, 0.25);
}
.lf-btn-primary:hover { background: var(--lf-brand); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3); }
.lf-btn-secondary {
  background: var(--lf-surface); color: var(--lf-ink);
  padding: 0.85rem 2rem; border-radius: 10px; cursor: pointer;
  font-family: var(--lf-font-body); font-size: 0.95rem; font-weight: 400;
  border: 1.5px solid var(--lf-border); transition: all 0.22s;
  display: inline-flex; align-items: center; gap: 0.4rem; box-shadow: var(--lf-shadow-sm);
}
.lf-btn-secondary:hover { border-color: var(--lf-ink); transform: translateY(-1px); }

.lf-hero-trust {
  margin-top: 2.5rem; font-size: 0.8rem; color: var(--lf-ink-muted);
  animation: lf-fade-up 0.6s 0.32s ease both;
  display: flex; align-items: center; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.lf-trust-item { display: flex; align-items: center; gap: 0.35rem; }
.lf-trust-check { color: var(--lf-emerald); font-size: 0.9rem; }

/* Hero dashboard mockup */
.lf-visual { position: relative; z-index: 1; margin-top: 3.5rem; animation: lf-fade-up 0.7s 0.4s ease both; }
.lf-visual-inner {
  background: var(--lf-surface); border-radius: var(--lf-radius-xl);
  box-shadow: var(--lf-shadow-xl); border: 1px solid var(--lf-border);
  overflow: hidden; max-width: 820px; margin: 0 auto;
}
.lf-chrome { background: var(--lf-cream-warm); padding: 0.6rem 1rem; display: flex; align-items: center; gap: 0.45rem; border-bottom: 1px solid var(--lf-border); }
.lf-dot { width: 10px; height: 10px; border-radius: 50%; }
.lf-dot-r { background: #ff5f57; } .lf-dot-y { background: #ffbd2e; } .lf-dot-g { background: #28ca41; }
.lf-url { flex: 1; background: var(--lf-cream); border-radius: 6px; padding: 0.22rem 0.8rem; font-size: 0.72rem; color: var(--lf-ink-muted); margin-left: 0.5rem; border: 1px solid var(--lf-border); text-align: left; }
.lf-vbody {
  padding: 2rem;
  background: linear-gradient(135deg, #f0fdf8 0%, #f8f9fb 60%, #f5f3ff 100%);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; min-height: 240px; text-align: left;
}
.lf-vcard { background: var(--lf-surface); border-radius: 12px; padding: 1.1rem; border: 1px solid var(--lf-border); box-shadow: var(--lf-shadow-sm); }
.lf-vtag { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lf-ink-muted); margin-bottom: 0.6rem; }
.lf-vtitle { font-size: 0.82rem; font-weight: 600; color: var(--lf-ink); margin-bottom: 0.4rem; line-height: 1.3; }
.lf-pill { display: inline-block; font-size: 0.68rem; padding: 0.18rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.15rem 0 0; }
.lf-pill-brand { background: var(--lf-brand-light); color: var(--lf-brand); }
.lf-pill-ocean { background: var(--lf-ocean-light); color: var(--lf-ocean); }
.lf-pill-amber { background: var(--lf-amber-light); color: var(--lf-amber); }
.lf-bar { height: 5px; border-radius: 999px; background: var(--lf-border); margin: 0.5rem 0; overflow: hidden; }
.lf-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lf-brand-mid), #818cf8); }
.lf-vstat { font-family: var(--lf-font-display); font-size: 1.6rem; color: var(--lf-brand); line-height: 1; }
.lf-vstat-label { font-size: 0.7rem; color: var(--lf-ink-muted); margin-top: 0.2rem; }
.lf-vnote { font-size: 0.68rem; color: var(--lf-ink-muted); margin-top: 0.3rem; }

@keyframes lf-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ── PLATFORM MARQUEE ── */
.lf-marquee-section { background: var(--lf-surface); border-top: 1px solid var(--lf-border); padding: 1.75rem 0; overflow: hidden; position: relative; }
.lf-marquee-label { text-align: center; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lf-ink-muted); margin-bottom: 1.25rem; }
.lf-marquee-outer { position: relative; overflow: hidden; }
.lf-marquee-track { display: flex; width: -moz-max-content; width: max-content; animation: lf-marquee 55s linear infinite; }
.lf-marquee-track:hover { animation-play-state: paused; }
@keyframes lf-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.lf-fade-l, .lf-fade-r { position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.lf-fade-l { left: 0; background: linear-gradient(to right, var(--lf-surface), transparent); }
.lf-fade-r { right: 0; background: linear-gradient(to left, var(--lf-surface), transparent); }
.lf-platform-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.6rem 1.5rem; margin: 0 0.4rem;
  border: 1px solid var(--lf-border); border-radius: 999px; background: var(--lf-surface);
  white-space: nowrap; cursor: default; box-shadow: var(--lf-shadow-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--lf-ink-soft);
  transition: border-color 0.2s, background 0.2s;
}
.lf-platform-pill:hover { border-color: rgba(35, 23, 168, 0.35); background: var(--lf-brand-light); }
.lf-platform-pill img { width: 20px; height: 20px; border-radius: 4px; -o-object-fit: contain; object-fit: contain; flex-shrink: 0; }

/* ── STATS BAR ── */
.lf-stats { background: var(--lf-deep); padding: 2.5rem 2rem; }
.lf-stats-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.lf-stat-num { font-family: var(--lf-font-display); font-size: 2.6rem; color: var(--lf-white); display: block; line-height: 1; margin-bottom: 0.35rem; }
.lf-stat-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.lf-stat-divider { border-left: 1px solid rgba(255, 255, 255, 0.1); }

/* ── SECTION BASICS ── */
.lf-section { padding: 6rem 2rem; }
.lf-inner { max-width: 1100px; margin: 0 auto; }
.lf-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lf-brand); margin-bottom: 0.75rem; display: block; }
.lf-page h2 {
  font-family: var(--lf-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; line-height: 1.12; color: var(--lf-ink); margin: 0 0 1rem;
}
.lf-page h2 em { font-style: italic; color: var(--lf-brand); }
.lf-desc { font-size: 1.05rem; color: var(--lf-ink-soft); max-width: 520px; font-weight: 300; line-height: 1.75; }

/* ── MID-PAGE CTA ── */
.lf-midcta { background: var(--lf-cream-warm); }
.lf-midcta-inner { max-width: 760px; text-align: center; }
.lf-midcta-sub { font-size: 1.1rem; color: var(--lf-ink-soft); font-weight: 300; line-height: 1.75; margin: 0 auto 2.25rem; max-width: 560px; }

/* ── HOW IT WORKS (dark) ── */
.lf-steps { background: var(--lf-deep); position: relative; overflow: hidden; }
.lf-steps::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 30% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(2, 132, 199, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.lf-steps .lf-inner { position: relative; z-index: 1; }
.lf-steps h2 { color: var(--lf-white); }
.lf-steps h2 em { color: var(--lf-brand-soft); }
.lf-steps .lf-desc { color: rgba(255, 255, 255, 0.5); }
.lf-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.lf-step-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--lf-radius-lg); padding: 1.75rem; transition: all 0.25s; }
.lf-step-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(79, 70, 229, 0.35); transform: translateY(-3px); }
.lf-step-shot { margin: 0.9rem 0 1rem; border-radius: calc(var(--lf-radius-lg) - 4px); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); aspect-ratio: 16 / 10; }
.lf-step-shot img {
  width: 100%; height: auto; display: block;
  transform: translateY(0);
  transition: transform var(--lf-shot-duration, 4s) cubic-bezier(0.25, 0.1, 0.25, 1);
}
.lf-step-shot:hover img { transform: translateY(var(--lf-shot-scroll, 0)); }
.lf-step-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.lf-step-pill .lf-pill-num { width: 18px; height: 18px; border-radius: 50%; background: var(--lf-brand-mid); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; }
.lf-step-card h3 { font-family: var(--lf-font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: white; margin: 0 0 0.6rem; }
.lf-step-card h3 em { font-style: italic; color: var(--lf-brand-soft); }
.lf-step-card p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); line-height: 1.8; font-weight: 300; margin: 0; }

/* ── FEATURES (engage cards with demos) ── */
.lf-engage { background: var(--lf-surface); }
.lf-engage-header { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: flex-end; margin-bottom: 3.5rem; }
.lf-engage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.lf-engage-card { border-radius: var(--lf-radius-lg); border: 1px solid var(--lf-border); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; background: var(--lf-surface); box-shadow: var(--lf-shadow-sm); }
.lf-engage-card:hover { transform: translateY(-3px); box-shadow: var(--lf-shadow-md); }
.lf-engage-top { padding: 1.75rem 1.75rem 1.25rem; }
.lf-engage-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.25rem; }
.lf-engage-icon.brand { background: var(--lf-brand-light); }
.lf-engage-icon.amber { background: var(--lf-amber-light); }
.lf-engage-icon.ink { background: #eeeef6; }
.lf-engage-icon.ocean { background: var(--lf-ocean-light); }
.lf-engage-card h3 { font-size: 1rem; font-weight: 600; color: var(--lf-ink); margin: 0 0 0.5rem; }
.lf-engage-card > .lf-engage-top > p { font-size: 0.875rem; color: var(--lf-ink-soft); line-height: 1.75; font-weight: 300; margin: 0; }
.lf-engage-demo { background: var(--lf-cream-warm); border-top: 1px solid var(--lf-border); padding: 1.25rem 1.75rem; }
.lf-engage-card-wide { grid-column: 1 / -1; }
.lf-engage-shot { border-top: 1px solid var(--lf-border); overflow: hidden; aspect-ratio: 16 / 9; background: var(--lf-cream-warm); }
.lf-engage-shot img {
  width: 100%; height: auto; display: block;
  transform: translateY(0);
  transition: transform var(--lf-shot-duration, 4s) cubic-bezier(0.25, 0.1, 0.25, 1);
}
.lf-engage-shot:hover img { transform: translateY(var(--lf-shot-scroll, 0)); }

/* translation demo */
.lf-translate-text { font-size: 0.88rem; color: var(--lf-ink); line-height: 1.6; background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 8px; padding: 0.65rem 0.85rem; margin-bottom: 0.6rem; }
.lf-highlight { background: rgba(79, 70, 229, 0.18); border-radius: 3px; padding: 0 2px; color: var(--lf-brand); }
.lf-translate-result { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; }
.lf-translate-badge { background: var(--lf-brand); color: white; font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 999px; letter-spacing: 0.04em; }
.lf-translate-output { color: var(--lf-brand); font-weight: 500; font-size: 0.82rem; }

/* flashcard demo */
.lf-flashcard { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between; }
.lf-fc-word { font-size: 0.9rem; font-weight: 600; color: var(--lf-ink); }
.lf-fc-pos { font-size: 0.72rem; color: var(--lf-ink-muted); margin-top: 0.1rem; }
.lf-fc-def { font-size: 0.78rem; color: var(--lf-ink-soft); max-width: 55%; text-align: right; line-height: 1.4; }
.lf-fc-more { font-size: 0.72rem; color: var(--lf-ink-muted); text-align: right; }

/* topic chips demo */
.lf-topic-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.78rem; color: var(--lf-ink-soft); margin: 0.25rem 0.2rem 0 0; transition: border-color 0.2s, color 0.2s; }
.lf-topic-chip:hover { border-color: var(--lf-brand); color: var(--lf-brand); }
.lf-topic-chip.active { background: var(--lf-brand-light); border-color: var(--lf-brand); color: var(--lf-brand); font-weight: 500; }

/* ── TEMPLATES (dark) ── */
.lf-templates { background: var(--lf-deep); padding: 5rem 2rem; position: relative; overflow: hidden; }
.lf-templates::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(79, 70, 229, 0.1) 0%, transparent 60%); }
.lf-templates .lf-inner { position: relative; z-index: 1; }
.lf-templates h2 { color: var(--lf-white); }
.lf-templates h2 em { color: var(--lf-brand-soft); }
.lf-templates .lf-desc { color: rgba(255, 255, 255, 0.5); }
.lf-templates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.lf-template-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--lf-radius); padding: 1.5rem 1.25rem; transition: all 0.25s; cursor: default; }
.lf-template-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(79, 70, 229, 0.35); transform: translateY(-3px); }
.lf-template-emoji { font-size: 1.6rem; margin-bottom: 0.75rem; display: block; }
.lf-template-card h3 { font-size: 0.95rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); margin: 0 0 0.4rem; }
.lf-template-card p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); line-height: 1.6; font-weight: 300; margin: 0; }
.lf-template-tag { display: inline-block; margin-top: 0.75rem; background: rgba(79, 70, 229, 0.2); color: var(--lf-brand-soft); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 999px; text-transform: uppercase; }

/* ── COMPARISON ── */
.lf-compare { background: var(--lf-cream-warm); }
.lf-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.lf-compare-card { border-radius: var(--lf-radius-xl); padding: 2.25rem; }
.lf-compare-card.before { background: var(--lf-surface); border: 1px solid var(--lf-border); box-shadow: var(--lf-shadow-sm); }
.lf-compare-card.after { background: var(--lf-deep); box-shadow: var(--lf-shadow-lg); }
.lf-compare-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid; }
.lf-compare-card.before .lf-compare-title { color: var(--lf-ink-muted); border-color: var(--lf-border); }
.lf-compare-card.after .lf-compare-title { color: rgba(255, 255, 255, 0.35); border-color: rgba(255, 255, 255, 0.1); }
.lf-compare-item { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.85rem; font-size: 0.88rem; line-height: 1.55; }
.lf-compare-card.before .lf-compare-item { color: var(--lf-ink-soft); }
.lf-compare-card.after .lf-compare-item { color: rgba(255, 255, 255, 0.78); }
.lf-ci { flex-shrink: 0; margin-top: 1px; font-size: 1rem; }
.lf-ci.x { color: #ef4444; }
.lf-ci.check { color: var(--lf-emerald); }
.lf-compare-time { margin-top: 1.5rem; padding-top: 1.25rem; font-family: var(--lf-font-display); font-size: 1.8rem; display: flex; align-items: baseline; gap: 0.3rem; }
.lf-compare-card.before .lf-compare-time { color: var(--lf-ink); border-top: 1px solid var(--lf-border); }
.lf-compare-card.after .lf-compare-time { color: var(--lf-white); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lf-compare-time-label { font-family: var(--lf-font-body); font-size: 0.8rem; color: var(--lf-ink-muted); }
.lf-compare-card.after .lf-compare-time-label { color: rgba(255, 255, 255, 0.35); }

/* ── PRICING ── */
.lf-pricing { background: var(--lf-surface); }
.lf-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; align-items: stretch; }
.lf-price-card { border-radius: var(--lf-radius-lg); border: 1px solid var(--lf-border); background: var(--lf-surface); padding: 1.75rem; display: flex; flex-direction: column; box-shadow: var(--lf-shadow-sm); transition: transform 0.25s, box-shadow 0.25s; position: relative; }
.lf-price-card:hover { transform: translateY(-3px); box-shadow: var(--lf-shadow-md); }
.lf-price-card.dark { background: var(--lf-deep); border-color: var(--lf-deep); box-shadow: var(--lf-shadow-lg); }
.lf-popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--lf-brand-mid); color: white; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 999px; white-space: nowrap; }
.lf-price-name { font-size: 0.95rem; font-weight: 600; color: var(--lf-ink); }
.lf-price-card.dark .lf-price-name { color: white; }
.lf-price-desc { font-size: 0.78rem; color: var(--lf-ink-muted); margin-top: 0.15rem; }
.lf-price-card.dark .lf-price-desc { color: rgba(255, 255, 255, 0.4); }
.lf-price-amount { font-family: var(--lf-font-display); font-size: 2.6rem; color: var(--lf-ink); line-height: 1; margin-top: 1.25rem; }
.lf-price-card.dark .lf-price-amount { color: white; }
.lf-price-per { font-family: var(--lf-font-body); font-size: 0.8rem; color: var(--lf-ink-muted); }
.lf-price-note { font-size: 0.72rem; color: var(--lf-ink-muted); margin-top: 0.35rem; }
.lf-price-card.dark .lf-price-note { color: rgba(255, 255, 255, 0.4); }
.lf-price-feats { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; flex: 1; }
.lf-price-feats li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.82rem; color: var(--lf-ink-soft); padding: 0.3rem 0; font-weight: 300; line-height: 1.5; }
.lf-price-card.dark .lf-price-feats li { color: rgba(255, 255, 255, 0.7); }
.lf-price-feats .lf-ci.check { font-size: 0.85rem; margin-top: 2px; }
.lf-price-btn { display: block; text-align: center; padding: 0.7rem 1rem; border-radius: 9px; font-size: 0.875rem; font-weight: 500; transition: all 0.2s; border: 1.5px solid var(--lf-border); color: var(--lf-ink); background: var(--lf-surface); }
.lf-price-btn:hover { border-color: var(--lf-ink); transform: translateY(-1px); }
.lf-price-btn.solid { background: var(--lf-brand-mid); border-color: var(--lf-brand-mid); color: white; }
.lf-price-btn.solid:hover { background: #6366f1; border-color: #6366f1; }
.lf-price-foot { text-align: center; font-size: 0.8rem; color: var(--lf-ink-muted); margin-top: 2rem; }
.lf-price-foot a { color: var(--lf-brand); text-decoration: underline; text-underline-offset: 3px; }
.lf-price-card.current { outline: 2px solid var(--lf-emerald); outline-offset: 2px; }
.lf-popular-badge.current { background: var(--lf-emerald); }

/* ── AUTH PAGES (login / signup) ── */
.lf-standalone { display: flex; flex-direction: column; min-height: 100vh; }
.lf-standalone .lf-auth-page { flex: 1; min-height: 0; }
.lf-auth-page {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 1.5rem 4rem;
}
.lf-auth-card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius-lg); box-shadow: var(--lf-shadow-lg);
  animation: lf-fade-up 0.5s ease both;
}
.lf-auth-logo { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.lf-auth-title {
  font-family: var(--lf-font-display); font-size: 1.9rem; font-weight: 400;
  text-align: center; color: var(--lf-ink); margin: 0 0 0.5rem;
}
.lf-auth-title em { font-style: italic; color: var(--lf-brand); }
.lf-auth-sub { text-align: center; color: var(--lf-ink-soft); font-size: 0.875rem; margin: 0 0 1.75rem; }
.lf-auth-input { border-color: var(--lf-border) !important; background: var(--lf-cream) !important; color: var(--lf-ink) !important; }
.lf-auth-input:focus-visible { outline: none; border-color: var(--lf-brand-mid) !important; box-shadow: 0 0 0 3px var(--lf-brand-light) !important; }
.lf-auth-link { color: var(--lf-brand-mid); font-weight: 500; }
.lf-auth-link:hover { color: var(--lf-brand); text-decoration: underline; }
.lf-auth-divider-line { border-color: var(--lf-border) !important; }
.lf-auth-divider-label { background: var(--lf-surface) !important; color: var(--lf-ink-muted) !important; }

/* ── PRICING PAGE (standalone, checkout-capable) ── */
.lf-pricing-page { padding: 3rem 1.5rem 5rem; max-width: 1200px; margin: 0 auto; }
.lf-pricing-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--lf-ink-soft); font-size: 0.875rem; transition: color 0.2s;
  background: none; border: none; padding: 0; cursor: pointer; font: inherit;
}
.lf-pricing-back:hover { color: var(--lf-brand); }
.lf-pricing-header { text-align: center; margin: 2rem 0 2.5rem; }
.lf-pricing-header h1 {
  font-family: var(--lf-font-display); font-weight: 400; color: var(--lf-ink);
  font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 0.75rem;
}
.lf-pricing-header p { color: var(--lf-ink-soft); font-size: 1.05rem; margin: 0 0 2rem; }
.lf-pill-toggle {
  display: inline-flex; padding: 0.3rem; gap: 0.25rem; margin: 0 0 1rem;
  background: var(--lf-cream-warm); border: 1px solid var(--lf-border); border-radius: 999px;
}
.lf-pill-toggle button {
  padding: 0.55rem 1.35rem; border-radius: 999px; border: none; cursor: pointer;
  font-size: 0.85rem; font-weight: 500; color: var(--lf-ink-soft); background: transparent;
  transition: all 0.2s; font-family: var(--lf-font-body);
}
.lf-pill-toggle button.active { background: var(--lf-deep); color: var(--lf-white); }
.lf-pill-toggle-sm { padding: 0.2rem; }
.lf-pill-toggle-sm button { padding: 0.4rem 1rem; font-size: 0.78rem; }
.lf-status-banner {
  max-width: 640px; margin: 0 auto 2rem; border-radius: var(--lf-radius); border: 1px solid;
  padding: 1rem; text-align: center; font-size: 0.875rem; font-weight: 500;
}
.lf-status-banner.success { background: var(--lf-emerald-light); border-color: var(--lf-emerald); color: #0a7a52; }
.lf-status-banner.error { background: #fdecec; border-color: #e0918a; color: #a3352c; }
.lf-status-banner.info { background: var(--lf-brand-light); border-color: var(--lf-brand-soft); color: var(--lf-brand); }
.lf-pricing-foot { margin-top: 4rem; text-align: center; color: var(--lf-ink-soft); font-size: 0.9rem; line-height: 1.8; }
.lf-pricing-foot a { color: var(--lf-brand); text-decoration: underline; text-underline-offset: 3px; }

/* ── BLOG ── */
.lf-blog-hero { background: var(--lf-deep); padding: 10rem 2rem 4rem; position: relative; overflow: hidden; }
.lf-blog-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.lf-blog-hero h1 { font-family: var(--lf-font-display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--lf-white); margin: 0 0 0.75rem; }
.lf-blog-hero h1 em { font-style: italic; color: var(--lf-brand-soft); }
.lf-blog-hero p { color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; max-width: 640px; margin: 0; font-weight: 300; }

.lf-blog-body { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.lf-blog-controls { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.lf-blog-search { display: flex; gap: 0.6rem; }
.lf-blog-search-field { position: relative; flex: 1; }
.lf-blog-search-field svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--lf-ink-muted); }
.lf-blog-search input {
  width: 100%; padding: 0.65rem 1rem 0.65rem 2.6rem; border-radius: var(--lf-radius);
  border: 1px solid var(--lf-border); background: var(--lf-surface); color: var(--lf-ink);
  font-family: var(--lf-font-body); font-size: 0.9rem;
}
.lf-blog-search input:focus-visible { outline: none; border-color: var(--lf-brand-mid); box-shadow: 0 0 0 3px var(--lf-brand-light); }
.lf-blog-search button {
  padding: 0.65rem 1.5rem; border-radius: var(--lf-radius); border: none;
  background: var(--lf-deep); color: var(--lf-white); font-weight: 500; font-size: 0.9rem;
  cursor: pointer; transition: background 0.2s; font-family: var(--lf-font-body);
}
.lf-blog-search button:hover { background: var(--lf-brand); }
.lf-blog-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lf-blog-chip {
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  border: 1px solid var(--lf-border); background: var(--lf-surface); color: var(--lf-ink-soft);
  cursor: pointer; transition: all 0.2s; font-family: var(--lf-font-body);
}
.lf-blog-chip:hover { border-color: var(--lf-ink); }
.lf-blog-chip.active { background: var(--lf-deep); border-color: var(--lf-deep); color: var(--lf-white); }
.lf-blog-results { color: var(--lf-ink-soft); font-size: 0.9rem; margin-bottom: 1.5rem; }

.lf-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lf-blog-card {
  border-radius: var(--lf-radius-lg); border: 1px solid var(--lf-border); background: var(--lf-surface);
  box-shadow: var(--lf-shadow-sm); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; display: block;
}
.lf-blog-card:hover { transform: translateY(-3px); box-shadow: var(--lf-shadow-md); }
.lf-blog-card-body { padding: 1.5rem; }
.lf-blog-cat-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: var(--lf-brand-light); color: var(--lf-brand); }
.lf-blog-meta { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--lf-ink-muted); }
.lf-blog-card h2, .lf-blog-card h3 { font-family: var(--lf-font-body); color: var(--lf-ink); line-height: 1.4; }
.lf-blog-card h2 { font-size: 1.05rem; }
.lf-blog-card h3 { font-size: 0.9rem; }
.lf-blog-card:hover h2, .lf-blog-card:hover h3 { color: var(--lf-brand-mid); }
.lf-blog-excerpt { color: var(--lf-ink-soft); font-size: 0.9rem; line-height: 1.7; }

.lf-blog-pagination { margin-top: 2.5rem; display: flex; justify-content: center; gap: 0.5rem; }
.lf-blog-page-btn {
  padding: 0.55rem 1rem; border-radius: var(--lf-radius); border: 1px solid var(--lf-border);
  background: var(--lf-surface); color: var(--lf-ink); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; font-family: var(--lf-font-body);
}
.lf-blog-page-btn.active { background: var(--lf-deep); border-color: var(--lf-deep); color: var(--lf-white); }
.lf-blog-page-btn:hover:not(.active):not(:disabled) { border-color: var(--lf-ink); }
.lf-blog-page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── BLOG POST DETAIL ── */
.lf-blog-back-bar { background: var(--lf-deep); padding: 8rem 2rem 1.5rem; }
.lf-blog-back-bar-inner { max-width: 860px; margin: 0 auto; }
.lf-blog-back-bar a { color: rgba(255, 255, 255, 0.7); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; transition: color 0.2s; }
.lf-blog-back-bar a:hover { color: var(--lf-white); }
.lf-blog-article-wrap { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.lf-blog-article {
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius-lg);
  box-shadow: var(--lf-shadow-sm); padding: 2.5rem;
}
.lf-blog-article h1 { font-family: var(--lf-font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--lf-ink); margin: 0.75rem 0; }
.lf-blog-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: 0.85rem; color: var(--lf-ink-muted); padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--lf-border); }
.lf-blog-tag { padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.8rem; background: var(--lf-cream-warm); color: var(--lf-ink-soft); }
.lf-blog-tags-wrap { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--lf-border); }
.lf-blog-related h2 { font-family: var(--lf-font-display); font-weight: 400; font-size: 1.6rem; color: var(--lf-ink); }

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

/* ── GENERIC CONTENT PAGES (FAQ, About, Contact, legal) ── */
.lf-content-section { padding: 4rem 2rem; }
.lf-content-section.alt { background: var(--lf-cream-warm); }
.lf-content-inner { max-width: 1100px; margin: 0 auto; }
.lf-content-inner.narrow { max-width: 860px; }

.lf-icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lf-icon-box.brand { background: var(--lf-brand-light); color: var(--lf-brand); }
.lf-icon-box.amber { background: var(--lf-amber-light); color: var(--lf-amber); }
.lf-icon-box.ocean { background: var(--lf-ocean-light); color: var(--lf-ocean); }
.lf-icon-box.emerald { background: var(--lf-emerald-light); color: #0a7a52; }
.lf-icon-box.coral { background: rgba(212, 90, 48, 0.12); color: var(--lf-coral); }
.dark .lf-page .lf-icon-box.emerald { color: var(--lf-emerald); }

.lf-content-card {
  border-radius: var(--lf-radius-lg); border: 1px solid var(--lf-border); background: var(--lf-surface);
  box-shadow: var(--lf-shadow-sm); padding: 1.75rem; transition: transform 0.25s, box-shadow 0.25s;
}
.lf-content-card:hover { transform: translateY(-3px); box-shadow: var(--lf-shadow-md); }
.lf-content-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--lf-ink); margin: 1rem 0 0.5rem; }
.lf-content-card p { color: var(--lf-ink-soft); font-size: 0.9rem; line-height: 1.7; margin: 0; }

.lf-content-stat { font-family: var(--lf-font-display); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--lf-brand); line-height: 1; }
.lf-content-stat-label { font-size: 0.85rem; color: var(--lf-ink-muted); margin-top: 0.5rem; }

.lf-content-list { list-style: none; margin: 1.25rem 0; padding: 0; }
.lf-content-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.4rem 0; color: var(--lf-ink-soft); }
.lf-content-list .lf-ci-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--lf-brand-mid); color: white; font-weight: 700; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

.lf-content-updated { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* ── TESTIMONIALS ── */
.lf-testi { background: var(--lf-cream-warm); padding: 5rem 0; overflow: hidden; }
.lf-testi .lf-inner { padding: 0 2rem 2.5rem; }
.lf-testi-marquee-outer { position: relative; overflow: hidden; }
.lf-testi-track { display: flex; gap: 1.25rem; width: -moz-max-content; width: max-content; padding: 0.5rem 2rem 1rem; animation: lf-testi-marquee 34s linear infinite; }
.lf-testi-track:hover { animation-play-state: paused; }
@keyframes lf-testi-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.lf-testi-fade-l, .lf-testi-fade-r { position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.lf-testi-fade-l { left: 0; background: linear-gradient(to right, var(--lf-cream-warm), transparent); }
.lf-testi-fade-r { right: 0; background: linear-gradient(to left, var(--lf-cream-warm), transparent); }
.lf-testi-card {
  width: 340px; max-width: 100%; flex-shrink: 0;
  border: 1px solid var(--lf-border); border-radius: var(--lf-radius-lg);
  padding: 1.75rem; background: var(--lf-surface); box-shadow: var(--lf-shadow-sm);
  position: relative; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s;
}
.lf-testi-card:hover { box-shadow: var(--lf-shadow-md); transform: translateY(-2px); }
.lf-testi-card::after { content: '"'; position: absolute; bottom: -0.5rem; right: 1.25rem; font-family: var(--lf-font-display); font-size: 6rem; color: var(--lf-brand-light); line-height: 1; pointer-events: none; }
.lf-testi-stars { color: var(--lf-amber); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.lf-testi-card blockquote { font-size: 0.875rem; color: var(--lf-ink-soft); line-height: 1.75; font-weight: 300; font-style: italic; margin: 0 0 1.25rem; position: relative; z-index: 1; }
.lf-testi-author { display: flex; align-items: center; gap: 0.75rem; }
.lf-testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; color: white; flex-shrink: 0; }
.lf-testi-avatar-img { width: 40px; height: 40px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; flex-shrink: 0; border: 1px solid var(--lf-border); }
.lf-av-brand { background: linear-gradient(135deg, var(--lf-brand), var(--lf-brand-mid)); }
.lf-av-amber { background: linear-gradient(135deg, var(--lf-amber), #e8a23a); }
.lf-av-coral { background: linear-gradient(135deg, var(--lf-coral), #e07050); }
.lf-testi-name { font-size: 0.875rem; font-weight: 600; color: var(--lf-ink); }
.lf-testi-meta { font-size: 0.75rem; color: var(--lf-ink-muted); }

/* ── FAQ ── */
.lf-faq { background: var(--lf-cream-warm); }
.lf-faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.lf-faq-side h3 { font-family: var(--lf-font-display); font-size: 1.6rem; font-weight: 400; color: var(--lf-ink); line-height: 1.3; margin: 0 0 1rem; }
.lf-faq-side p { font-size: 0.9rem; color: var(--lf-ink-soft); line-height: 1.75; font-weight: 300; margin: 0 0 1.5rem; }
.lf-faq-side-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--lf-deep); color: var(--lf-white) !important; padding: 0.7rem 1.4rem; border-radius: 9px; font-size: 0.875rem; font-weight: 500; transition: all 0.2s; }
.lf-faq-side-cta:hover { background: var(--lf-brand); transform: translateY(-1px); }
.lf-faq-list { display: flex; flex-direction: column; }
.lf-faq-item { border-bottom: 1px solid var(--lf-border); }
.lf-faq-item:first-child { border-top: 1px solid var(--lf-border); }
.lf-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; padding: 1.25rem 0; list-style: none;
  font-size: 0.95rem; font-weight: 500; color: var(--lf-ink); line-height: 1.4; transition: color 0.2s;
}
.lf-faq-q::-webkit-details-marker { display: none; }
.lf-faq-q:hover { color: var(--lf-brand); }
.lf-faq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--lf-border); color: var(--lf-ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 300; line-height: 1;
  transition: background 0.25s, color 0.25s, transform 0.35s;
}
.lf-faq-item[open] .lf-faq-icon { background: var(--lf-brand); color: white; transform: rotate(45deg); }
.lf-faq-item[open] .lf-faq-q { color: var(--lf-brand); }
.lf-faq-a { padding-bottom: 1.25rem; font-size: 0.88rem; color: var(--lf-ink-soft); line-height: 1.8; font-weight: 300; }

/* ── CTA ── */
.lf-cta { background: var(--lf-deep); padding: 8rem 2rem; position: relative; overflow: hidden; }
.lf-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(79, 70, 229, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 60%);
}
.lf-cta-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.lf-cta h2 { color: var(--lf-white); margin-bottom: 1.25rem; }
.lf-cta h2 em { color: var(--lf-brand-soft); }
.lf-cta-text p { color: rgba(255, 255, 255, 0.5); font-size: 1.05rem; font-weight: 300; line-height: 1.7; margin: 0 0 2.25rem; }
.lf-btn-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--lf-brand-mid); color: white !important; padding: 0.9rem 2.2rem; border-radius: 10px; font-size: 1rem; font-weight: 500; transition: all 0.22s; box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3); }
.lf-btn-cta:hover { background: #6366f1; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(79, 70, 229, 0.4); }
.lf-cta-note { margin-top: 0.85rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); }
.lf-quote-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--lf-radius-xl); padding: 2.25rem; }
.lf-quote-stars { color: var(--lf-amber); font-size: 0.9rem; margin-bottom: 1rem; }
.lf-quote-text { font-family: var(--lf-font-display); font-size: 1.2rem; font-style: italic; color: rgba(255, 255, 255, 0.85); line-height: 1.55; margin: 0 0 1.5rem; }
.lf-quote-author { display: flex; align-items: center; gap: 0.75rem; }
.lf-quote-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--lf-brand), #818cf8); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; color: white; flex-shrink: 0; }
.lf-quote-avatar-img { width: 42px; height: 42px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.2); }
.lf-quote-name { font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.lf-quote-meta { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); }

/* ── FOOTER ── */
.lf-footer { background: var(--lf-cream-warm); border-top: 1px solid var(--lf-border); padding: 3rem 2rem; }
.lf-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.lf-footer-logo { font-family: var(--lf-font-display); font-size: 1.1rem; color: var(--lf-ink); display: flex; align-items: center; gap: 0.5rem; }
.lf-footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.lf-footer-links a,
.lf-footer-links button { font-size: 0.82rem; color: var(--lf-ink-muted); transition: color 0.2s; }
.lf-footer-links a:hover,
.lf-footer-links button:hover { color: var(--lf-ink); }
.lf-footer-links button {
  background: none; border: 0; padding: 0; margin: 0;
  font-family: inherit; cursor: pointer;
}
.lf-footer-copy { font-size: 0.78rem; color: var(--lf-ink-muted); }
.lf-theme-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  color: var(--lf-ink-soft); border-radius: 999px;
  padding: 0.45rem 1rem; font-family: var(--lf-font-body); font-size: 0.8rem;
  cursor: pointer; transition: color 0.2s, border-color 0.2s; min-width: 122px; justify-content: center;
}
.lf-theme-toggle:hover { color: var(--lf-ink); border-color: var(--lf-ink-muted); }

/* ── DARK MODE ──
   Activated by next-themes putting `dark` on <html>. Only variables and a
   handful of hardcoded-light spots are overridden; components inherit. */
.dark .lf-page {
  --lf-cream: #0c0a22;
  --lf-cream-warm: #100e2b;
  --lf-surface: #16133a;
  --lf-deep: #1b1650;
  --lf-border: #272350;
  --lf-ink: #eef0fc;
  --lf-ink-soft: #b9bfd8;
  --lf-ink-muted: #8089a8;
  --lf-brand: #a9b3ff;
  --lf-brand-light: rgba(99, 102, 241, 0.16);
  --lf-ocean: #6cc7f5;
  --lf-ocean-light: rgba(3, 105, 161, 0.28);
  --lf-emerald: #34d399;
  --lf-emerald-light: rgba(52, 211, 153, 0.16);
  --lf-amber: #e5a244;
  --lf-amber-light: rgba(196, 120, 26, 0.18);
  --lf-nav-bg: rgba(12, 10, 34, 0.8);
  --lf-nav-border: rgba(39, 35, 80, 0.8);
  --lf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --lf-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
  --lf-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --lf-shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.dark .lf-page .lf-hero-mesh {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(79, 70, 229, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 55%, rgba(2, 132, 199, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 65%, rgba(79, 70, 229, 0.08) 0%, transparent 55%);
}
.dark .lf-page .lf-orb { opacity: 0.1; }
.dark .lf-page .lf-badge { background: rgba(22, 19, 58, 0.9); }
.dark .lf-page .lf-vbody { background: linear-gradient(135deg, #14113a 0%, #100e2b 60%, #171243 100%); }
.dark .lf-page .lf-engage-icon.ink { background: rgba(255, 255, 255, 0.08); }
/* On dark, --lf-brand is a light lavender (for text) — solid fills need the mid tone */
.dark .lf-page .lf-btn-primary:hover,
.dark .lf-page .lf-nav-cta:hover,
.dark .lf-page .lf-faq-side-cta:hover { background: var(--lf-brand-mid); }
.dark .lf-page .lf-translate-badge { background: var(--lf-brand-mid); }
.dark .lf-page .lf-faq-item[open] .lf-faq-icon { background: var(--lf-brand-mid); }

/* ── DEMO VIDEO MODAL ── */
.lf-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(15, 22, 35, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 1.5rem; }
.lf-modal-box { position: relative; width: 100%; max-width: 900px; }
.lf-modal-close { position: absolute; top: -2.5rem; right: 0; display: flex; align-items: center; gap: 0.3rem; background: none; border: none; cursor: pointer; color: rgba(255, 255, 255, 0.8); font-family: var(--lf-font-body); font-size: 0.875rem; }
.lf-modal-close:hover { color: white; }
.lf-modal-video { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); }
.lf-modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lf-engage-grid { grid-template-columns: 1fr; }
  .lf-templates-grid { grid-template-columns: repeat(2, 1fr); }
  .lf-price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lf-nav { padding: 1rem 1.25rem; }
  .lf-nav-links a:not(.lf-nav-cta) { display: none; }
  .lf-nav-links { gap: 0.75rem; }
  .lf-nav-cta { padding: 0.5rem 1rem; font-size: 0.8rem; }

  .lf-hero { padding: 7rem 1.5rem 4rem; min-height: 0; }
  .lf-hero h1 { font-size: 2.4rem; line-height: 1.15; }
  .lf-hero-sub { font-size: 1rem; }
  .lf-hero-actions { flex-direction: column; width: 100%; }
  .lf-hero-actions > * { width: 100%; }
  .lf-btn-primary, .lf-btn-secondary { width: 100%; justify-content: center; padding: 0.9rem 1.5rem; }
  .lf-hero-trust { flex-direction: column; gap: 1rem; }
  .lf-visual { margin-top: 2.5rem; }
  .lf-vbody { grid-template-columns: 1fr; padding: 1.5rem; min-height: 0; }

  .lf-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .lf-stat-divider { border-left: none; }
  .lf-stat-num { font-size: 2.2rem; }

  .lf-section { padding: 4rem 1.5rem; }
  .lf-page h2 { font-size: 1.8rem; line-height: 1.2; }
  .lf-desc { font-size: 0.95rem; }

  .lf-steps-grid, .lf-templates-grid, .lf-compare-grid, .lf-price-grid { grid-template-columns: 1fr; gap: 1rem; }
  .lf-engage-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .lf-engage-top { padding: 1.5rem; }
  .lf-engage-demo { padding: 1rem 1.5rem; }

  .lf-compare-card { padding: 1.75rem 1.5rem; }
  .lf-compare-time { font-size: 1.5rem; }

  .lf-testi-card { width: 280px; padding: 1.5rem; }
  .lf-testi-track { padding: 0.5rem 1.5rem 1rem; }

  .lf-faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .lf-faq-q { font-size: 0.9rem; padding: 1rem 0; }
  .lf-faq-a { font-size: 0.85rem; }

  .lf-cta { padding: 5rem 1.5rem; }
  .lf-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .lf-quote-card { padding: 1.75rem 1.5rem; }
  .lf-quote-text { font-size: 1.05rem; }

  .lf-footer { padding: 2.5rem 1.5rem; }
  .lf-footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .lf-hero h1 { font-size: 2rem; }
  .lf-hero-sub { font-size: 0.95rem; }
  .lf-badge { font-size: 0.72rem; padding: 0.35rem 0.85rem; }
  .lf-btn-primary, .lf-btn-secondary { font-size: 0.9rem; padding: 0.85rem 1.25rem; }
  .lf-stat-num { font-size: 1.9rem; }
  .lf-stat-label { font-size: 0.75rem; }
  .lf-page h2 { font-size: 1.6rem; }
  .lf-step-card h3 { font-size: 1.35rem; }
  .lf-btn-cta { padding: 0.85rem 1.75rem; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lf-page *, .lf-page *::before, .lf-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .lf-marquee-track, .lf-testi-track { animation: none !important; }
}

/* ── MANAGE SUBSCRIPTION (reuses pricing/landing design tokens) ── */
.lf-manage-page { padding: 3rem 1.5rem 5rem; max-width: 860px; margin: 0 auto; }
.lf-manage-header { margin: 1rem 0 2rem; }
.lf-manage-header h1 { font-family: var(--lf-font-display); font-size: 2rem; color: var(--lf-ink); margin: 0; }
.lf-manage-header p { color: var(--lf-ink-soft); font-size: 1rem; margin: 0.5rem 0 0; }
.lf-manage-stack { display: flex; flex-direction: column; gap: 1.5rem; }

.lf-manage-card {
  border-radius: var(--lf-radius-lg);
  border: 1px solid var(--lf-border);
  background: var(--lf-surface);
  padding: 1.75rem;
  box-shadow: var(--lf-shadow-sm);
}
.lf-manage-card h2 { font-size: 1.15rem; font-weight: 600; color: var(--lf-ink); margin: 0; }

.lf-manage-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.lf-manage-id { display: flex; align-items: center; gap: 0.85rem; }
.lf-manage-icon {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--lf-brand-light); color: var(--lf-brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lf-manage-id-sub { font-size: 0.85rem; color: var(--lf-ink-soft); margin: 0.15rem 0 0; }

.lf-manage-status { padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; }
.lf-manage-status.active { background: var(--lf-emerald-light); color: var(--lf-emerald); }
.lf-manage-status.inactive { background: var(--lf-brand-light); color: var(--lf-ink-soft); }

.lf-manage-meta { display: flex; flex-direction: column; gap: 0.75rem; }
.lf-manage-meta-row { display: flex; align-items: center; gap: 0.5rem; color: var(--lf-ink-soft); font-size: 0.9rem; }
.lf-manage-meta-row svg { color: var(--lf-ink-muted); flex-shrink: 0; }

.lf-manage-note { display: flex; align-items: flex-start; gap: 0.6rem; padding: 1rem; border-radius: var(--lf-radius); border: 1px solid; margin-top: 0.25rem; }
.lf-manage-note svg { flex-shrink: 0; margin-top: 0.1rem; }
.lf-manage-note-title { font-size: 0.875rem; font-weight: 600; margin: 0; }
.lf-manage-note-body { font-size: 0.875rem; margin: 0.25rem 0 0; }
.lf-manage-note.info { background: var(--lf-brand-light); border-color: var(--lf-brand-soft); }
.lf-manage-note.info svg, .lf-manage-note.info .lf-manage-note-title { color: var(--lf-brand); }
.lf-manage-note.info .lf-manage-note-body { color: var(--lf-ink-soft); }
.lf-manage-note.warn { background: var(--lf-amber-light); border-color: var(--lf-amber); }
.lf-manage-note.warn svg, .lf-manage-note.warn .lf-manage-note-title { color: var(--lf-amber); }
.lf-manage-note.warn .lf-manage-note-body { color: var(--lf-ink-soft); }

.lf-manage-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.lf-manage-actions .lf-price-btn { flex: 1; min-width: 160px; }
.lf-manage-muted { color: var(--lf-ink-soft); font-size: 0.9rem; margin: 0; line-height: 1.7; }
.lf-manage-link { color: var(--lf-brand); font-weight: 500; }
.lf-manage-link:hover { text-decoration: underline; }

.lf-manage-card.danger { border-color: rgba(212, 90, 48, 0.35); }
.lf-manage-icon.danger { background: rgba(212, 90, 48, 0.12); color: var(--lf-coral); }
.lf-price-btn.danger { background: var(--lf-coral); border-color: var(--lf-coral); color: white; }
.lf-price-btn.danger:hover { background: #b84b26; border-color: #b84b26; }

@media (max-width: 640px) {
  .lf-manage-page { padding: 2.5rem 1.15rem 4rem; }
  .lf-manage-actions .lf-price-btn { flex: 1 1 100%; }
}

