/* ============================================================
   FOYER — marketing landing page
   Every rule is scoped under .tv-landing so nothing leaks into
   the app. Sections: nav, hero (interactive inbox demo), pain,
   how it works, time calculator, features, compare, pricing,
   FAQ, CTA, footer.
   ============================================================ */

:root {
  --navy: #0F3D34;
  --navy-deep: #071219;
  --navy-soft: #0F3D34;
  --shell: #0F3D34;
  --shell-deep: #0A2B24;
  --gold: #10B981;          /* legacy token name = brand accent */
  --gold-bright: #34D399;
  --gold-soft: #F0FDF4;
  --white: #FFFFFF;
  --ivory: #F7FAF9;
  --stone: #DCE4E1;
  --ink: #0A1017;
  --muted: #6B7280;
  --danger: #C53030;
  --green: #16A34A;
  --shadow-soft: 0 8px 32px rgba(13, 27, 42, 0.08);
  --shadow-strong: 0 24px 64px rgba(13, 27, 42, 0.18);
  --shadow-gold: 0 12px 36px rgba(16, 185, 129, 0.35);
}

.tv-landing *, .tv-landing *::before, .tv-landing *::after { box-sizing: border-box; }
.tv-landing { font-family: 'Montserrat', system-ui, sans-serif; background: var(--white); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
.tv-landing h1, .tv-landing h2, .tv-landing h3, .tv-landing h4 {
  font-family: 'Bodoni Moda', Didot, Georgia, serif;
  font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0;
}
.tv-landing p { margin: 0; }
.tv-landing a { color: inherit; text-decoration: none; }
.tv-landing ul { margin: 0; padding: 0; list-style: none; }
.tv-landing section { padding: 51px 0; position: relative; }
.tv-landing .container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- shared bits ---------- */
.tv-landing .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--shell); background: var(--gold-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.tv-landing .eyebrow.on-dark { color: var(--gold-bright); background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); }
.tv-landing .section-head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.tv-landing .section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 18px; }
.tv-landing .section-head p { color: var(--muted); font-size: 17px; }
.tv-landing .accent { color: var(--shell); }
.tv-landing .gold { color: var(--gold); }

.tv-landing .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--shell); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700;
  padding: 15px 26px; border: none; border-radius: 12px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 8px 24px rgba(15, 61, 52, 0.22);
}
.tv-landing .btn-primary:hover { transform: translateY(-2px); background: #0c3129; box-shadow: 0 14px 32px rgba(15, 61, 52, 0.3); }
.tv-landing .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: transparent; color: var(--navy);
  font-size: 15px; font-weight: 700; padding: 15px 26px;
  border: 1.5px solid var(--stone); border-radius: 12px; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.tv-landing .btn-secondary:hover { border-color: var(--shell); background: var(--gold-soft); color: var(--shell); transform: translateY(-2px); }
/* Same button sitting on the dark CTA band: light until hover, then it
   fills white and the label has to go dark to stay readable. */
.tv-landing .btn-secondary.on-dark { border-color: rgba(255,255,255,0.45); color: var(--white); }
.tv-landing .btn-secondary.on-dark:hover { background: var(--white); border-color: var(--white); color: var(--shell); }
.tv-landing .btn-full { width: 100%; }

/* Scroll reveal.
   The hidden state is applied INLINE by landing-fx.js, never here: a
   stylesheet rule can always lose a specificity or layer fight, and if it
   won while the script failed the whole page below the hero would be a
   blank column. Inline styles cannot lose, and no script means no hiding. */
.tv-landing .reveal { transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .tv-landing .reveal { transition: none; }
}

/* ---------- NAV ---------- */
.tv-landing nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tv-landing nav.scrolled { border-bottom-color: var(--stone); box-shadow: 0 4px 20px rgba(13,27,42,.05); }
.tv-landing nav .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.tv-landing nav .logo img { height: 40px; width: auto; display: block; }
.tv-landing .nav-links { display: flex; align-items: center; gap: 32px; }
.tv-landing .nav-links a { font-size: 14.5px; font-weight: 600; color: var(--navy); opacity: .78; transition: opacity .2s; }
.tv-landing .nav-links a:hover { opacity: 1; }
.tv-landing .nav-links a { white-space: nowrap; }
/* French labels run longer, so the row tightens to stay on one line on a desktop. */
html[lang="fr"] .tv-landing .nav-links { gap: 16px; }
html[lang="fr"] .tv-landing .nav-links a { font-size: 13px; }
html[lang="fr"] .tv-landing .nav-links .nav-cta { padding: 10px 14px; }
html[lang="fr"] .tv-landing .nav-right { gap: 12px; }
/* Narrow desktops get the same treatment in both languages. */
@media (max-width: 1240px) and (min-width: 981px) {
  .tv-landing .nav-links { gap: 16px; }
  .tv-landing .nav-links a { font-size: 13px; }
  .tv-landing .nav-links .nav-cta { padding: 10px 14px; }
  .tv-landing .nav-right { gap: 12px; }
}
.tv-landing .nav-links .nav-cta {
  background: var(--shell); color: var(--white); opacity: 1;
  padding: 11px 20px; border-radius: 10px; font-weight: 700;
}
.tv-landing .nav-links .nav-cta:hover { background: #0c3129; }
.tv-landing .mobile-menu-btn { display: none; background: none; border: none; color: var(--navy); cursor: pointer; }
.tv-landing .nav-right { display: flex; align-items: center; gap: 18px; }
/* On a phone or tablet, Sign In sits above the EN | FR pill beside the menu button. On a desktop it stays in the link row. */
.tv-landing .nav-side { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.tv-landing .nav-signin { display: none; font-size: 13px; font-weight: 700; line-height: 1; color: var(--navy); opacity: .85; transition: opacity .2s; }
.tv-landing .nav-signin:hover { opacity: 1; }
/* EN | FR, a small pill that stays visible beside the menu button on a phone. */
.tv-landing .lang-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--stone); border-radius: 999px; background: var(--white); }
.tv-landing .lang-toggle a { font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1; color: var(--navy); opacity: .7; padding: 6px 9px; border-radius: 999px; }
.tv-landing .lang-toggle a.on { background: var(--navy); color: var(--white); opacity: 1; }

/* ---------- HERO ---------- */
.tv-landing .hero {
  padding: 99px 0 51px;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(16,185,129,.13), transparent 60%),
    radial-gradient(700px 420px at 5% 15%, rgba(15,61,52,.08), transparent 60%),
    var(--white);
}
.tv-landing .hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.tv-landing .hero h1 { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 22px; }
.tv-landing .hero-sub { font-size: 18.5px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.tv-landing .hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.tv-landing .hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.tv-landing .trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tv-landing .trust-item svg { color: var(--gold); }

/* interactive chaos / order demo */
.tv-landing .demo {
  background: var(--white); border: 1px solid var(--stone); border-radius: 22px;
  box-shadow: var(--shadow-strong); overflow: hidden;
}
.tv-landing .demo-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--stone); background: var(--ivory); }
.tv-landing .demo-dots { display: flex; gap: 6px; }
.tv-landing .demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--stone); display: block; }
.tv-landing .demo-title { font-size: 13px; font-weight: 700; color: var(--muted); }
.tv-landing .demo-switch { margin-left: auto; display: flex; background: var(--white); border: 1px solid var(--stone); border-radius: 100px; padding: 3px; }
.tv-landing .demo-switch button {
  border: none; background: none; cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 13px; border-radius: 100px; transition: all .2s;
}
.tv-landing .demo-switch button.on { background: var(--shell); color: var(--white); }
.tv-landing .demo-body { position: relative; height: 396px; overflow: hidden; }
.tv-landing .demo-pane { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .35s, transform .35s; }
.tv-landing .pane-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  /* fade the clip edge so a half-scrolled row dissolves instead of being sliced */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 20px), transparent);
}
.tv-landing .demo-pane.on { opacity: 1; transform: none; pointer-events: auto; }

/* chaos pane */
.tv-landing .msg-row { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.tv-landing .msg-badge { flex-shrink: 0; width: 32px; height: 32px; }
.tv-landing .msg-badge svg { display: block; width: 100%; height: 100%; }
.tv-landing .msg-bubble { background: var(--ivory); border: 1px solid var(--stone); border-radius: 4px 14px 14px 14px; padding: 10px 14px; font-size: 13.5px; color: var(--navy); max-width: 84%; }
.tv-landing .msg-time { font-size: 11px; color: var(--muted); margin-top: 4px; display: block; }
.tv-landing .chaos-tally { flex: 0 0 auto; margin-top: 12px; background: rgba(197,48,48,.06); border: 1px solid rgba(197,48,48,.2); color: var(--danger); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 12px; text-align: center; }

/* order pane */
.tv-landing .check-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--stone); border-radius: 12px; margin-bottom: 10px; background: var(--white); transition: all .35s ease; }
.tv-landing .check-row.done { border-color: rgba(16,185,129,.45); background: var(--gold-soft); }
.tv-landing .check-box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--stone); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .35s ease; }
.tv-landing .check-row.done .check-box { background: var(--gold); border-color: var(--gold); color: var(--white); }
.tv-landing .check-label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.tv-landing .check-meta { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.tv-landing .check-row.done .check-meta { color: var(--shell); }
.tv-landing .order-tally { flex: 0 0 auto; margin-top: 12px; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.28); color: var(--shell); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 12px; text-align: center; }

/* ---------- PAIN STRIP ---------- */
.tv-landing .pain-section { background: var(--ivory); }
.tv-landing .pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tv-landing .pain-card { background: var(--white); border: 1px solid var(--stone); border-radius: 18px; padding: 26px 22px; transition: transform .2s, box-shadow .2s; }
.tv-landing .pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tv-landing .pain-quote { font-family: 'Bodoni Moda', Georgia, serif; font-size: 19px; font-style: italic; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.tv-landing .pain-fix { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.tv-landing .pain-fix svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ---------- STEPS ---------- */
.tv-landing .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.tv-landing .step { background: var(--white); border: 1px solid var(--stone); border-radius: 20px; padding: 32px 28px; position: relative; }
.tv-landing .step-num { width: 44px; height: 44px; border-radius: 13px; background: var(--shell); color: var(--white); font-family: 'Bodoni Moda', serif; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tv-landing .step h3 { font-size: 23px; margin-bottom: 10px; }
.tv-landing .step p { font-size: 14.5px; color: var(--muted); }

/* ---------- CALCULATOR ---------- */
.tv-landing .calc-section { background: var(--shell); color: var(--white); }
.tv-landing .calc-section .section-head h2 { color: var(--white); }
.tv-landing .calc-section .section-head p { color: rgba(255,255,255,.72); }
.tv-landing .calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 40px; }
.tv-landing .calc-label { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 14px; display: block; }
.tv-landing .calc-value { font-family: 'Bodoni Moda', serif; font-size: 46px; color: var(--white); margin-bottom: 6px; }
.tv-landing input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 100px; background: rgba(255,255,255,.22); outline: none; }
.tv-landing input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-bright); cursor: pointer; border: 4px solid var(--shell); box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.tv-landing input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-bright); cursor: pointer; border: 4px solid var(--shell); }
.tv-landing .calc-out { display: grid; gap: 16px; }
.tv-landing .calc-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 20px 22px; }
.tv-landing .calc-stat .n { font-family: 'Bodoni Moda', serif; font-size: 38px; color: var(--gold-bright); line-height: 1; }
.tv-landing .calc-stat .t { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 6px; }
.tv-landing .calc-note { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 18px; }

/* ---------- FEATURES ---------- */
.tv-landing .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tv-landing .trust-section { background: var(--white); }
.tv-landing .trust-grid { grid-template-columns: repeat(2, 1fr); }
.tv-landing .trust-cta { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 900px) { .tv-landing .trust-grid { grid-template-columns: 1fr; } }
.tv-landing .feature { background: var(--white); border: 1px solid var(--stone); border-radius: 18px; padding: 28px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tv-landing .feature:hover { transform: translateY(-4px); border-color: rgba(16,185,129,.4); box-shadow: var(--shadow-soft); }
.tv-landing .feature-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-soft); color: var(--shell); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tv-landing .feature h3 { font-size: 20px; margin-bottom: 8px; }
.tv-landing .feature p { font-size: 14px; color: var(--muted); }

/* ---------- COMPARE ---------- */
.tv-landing .compare-section { background: var(--ivory); }
.tv-landing .compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tv-landing .compare-card { border-radius: 22px; padding: 38px 34px; }
.tv-landing .compare-card.without { background: var(--white); border: 1px solid var(--stone); }
.tv-landing .compare-card.with { background: var(--navy); color: var(--white); box-shadow: var(--shadow-strong); }

/* ---------- FAQ ---------- */
.tv-landing .faq { max-width: 820px; margin: 0 auto; }
.tv-landing .faq-item { border: 1px solid var(--stone); border-radius: 14px; margin-bottom: 12px; background: var(--white); overflow: hidden; }
.tv-landing .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 15.5px; font-weight: 700; color: var(--navy); text-align: left; }
.tv-landing .faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--shell); }
.tv-landing .faq-item.open .faq-q svg { transform: rotate(45deg); }
.tv-landing .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.tv-landing .faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.tv-landing .cta-section { background: var(--navy); color: var(--white); text-align: center; }
.tv-landing .cta-section h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; }
.tv-landing .cta-section p { color: rgba(255,255,255,.72); max-width: 620px; margin: 0 auto 30px; font-size: 17px; }
.tv-landing .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tv-landing .cta-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- FOOTER ---------- */
.tv-landing footer { background: var(--shell-deep); color: rgba(255,255,255,.7); padding: 42px 0 22px; }
.tv-landing .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.tv-landing .footer-brand .logo img {
  height: 46px; width: auto; margin-bottom: 14px;
  /* The wordmark artwork is dark green; on the dark footer it has to be
     knocked out to white. brightness(0) flattens it to black first so
     invert lands on pure white rather than a washed-out green. */
  filter: brightness(0) invert(1);
}
.tv-landing .footer-brand p { font-size: 14px; max-width: 320px; }
.tv-landing .footer-col h4 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.tv-landing .footer-col a { display: block; font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.tv-landing .footer-col a:hover { color: var(--gold-bright); }
.tv-landing .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .tv-landing .nav-signin { display: block; }
  .tv-landing section { padding: 39px 0; }
  .tv-landing .hero { padding: 83px 0 39px; }
  .tv-landing .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .tv-landing .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-landing .steps, .tv-landing .feature-grid { grid-template-columns: 1fr; }
  .tv-landing .calc { grid-template-columns: 1fr; padding: 28px; gap: 30px; }
  .tv-landing .compare-grid { grid-template-columns: 1fr; }
  .tv-landing .footer-grid { grid-template-columns: 1fr 1fr; }
  .tv-landing .nav-links { display: none; }
  .tv-landing .nav-links.mobile-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 18px; gap: 14px; border-bottom: 1px solid var(--stone);
  }
  .tv-landing .mobile-menu-btn { display: block; }
}
@media (max-width: 620px) {
  .tv-landing .pain-grid { grid-template-columns: 1fr; }
  .tv-landing .footer-grid { grid-template-columns: 1fr; }
  .tv-landing .demo-body { height: 340px; }
}
/* PRICING */
.tv-landing .pricing-section { background: var(--ivory); }
.tv-landing .pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 36px; }
.tv-landing .toggle-label { font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 0.2s; }
.tv-landing .toggle-label.active { color: var(--navy); }
.tv-landing .toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--navy);
  border-radius: 100px;
  cursor: pointer;
  border: none;
}
.tv-landing .toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.25s;
}
.tv-landing .toggle-switch.annual::after { transform: translateX(26px); }
.tv-landing .save-badge { background: var(--gold); color: var(--navy); padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.tv-landing .pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tv-landing .price-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 18px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.tv-landing .price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.tv-landing .price-card.featured { border: 2px solid var(--gold); background: linear-gradient(180deg, var(--white) 0%, #F0FDF4 100%); transform: scale(1.03); box-shadow: var(--shadow-soft); }
.tv-landing .price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.tv-landing .popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.tv-landing .price-name { font-family: 'Bodoni Moda'; font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.tv-landing .price-tag-line { font-size: 14px; color: var(--muted); margin-bottom: 24px; min-height: 18px; }
.tv-landing .price-amount { font-family: 'Bodoni Moda'; font-size: 48px; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.tv-landing .price-amount.custom-price { font-size: 38px; }
.tv-landing .price-amount.custom-price .currency { font-size: 28px !important; color: var(--navy); vertical-align: baseline; margin-right: 4px; }
.tv-landing .price-amount .currency { font-size: 22px; color: var(--muted); vertical-align: top; }
.tv-landing .price-period { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.tv-landing .price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.tv-landing .price-features li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 15px; color: var(--ink); }
.tv-landing .price-features li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.tv-landing .price-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: inherit;
}
.tv-landing .price-cta.outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.tv-landing .price-cta.outline:hover { background: var(--navy); color: var(--white); }
.tv-landing .price-cta.solid { background: var(--gold); color: var(--navy); }
.tv-landing .price-cta.solid:hover { background: var(--gold-bright); }
.tv-landing .pricing-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--muted); }

/* CTA SECTION */
.tv-landing .cta-section { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.tv-landing .cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 60%); pointer-events: none; }
.tv-landing .cta-section .container { position: relative; z-index: 2; }
.tv-landing .cta-section h2 { font-size: clamp(36px, 4.5vw, 56px); color: var(--white); margin: 0 auto 20px; max-width: 800px; }
.tv-landing .cta-section h2 .gold { color: var(--gold); font-style: italic; }
.tv-landing .cta-section p { font-size: 20px; color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 40px; }
.tv-landing .cta-section .btn-primary { font-size: 19px; padding: 22px 44px; }
.tv-landing .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tv-landing .cta-note { margin-top: 24px; font-size: 15px; color: rgba(255, 255, 255, 0.6); }

/* FOOTER */
/* Footer padding cut by 60% (from 60/30 to 24/12) to slim the
   navy-deep band at the very bottom of the page. */
.tv-landing footer { background: var(--shell-deep); color: rgba(255, 255, 255, 0.7); padding: 24px 0 12px; }
.tv-landing .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 16px; }
/* Compact brand block: logo + one-line tagline, both aligned to
   the top of the footer grid so the column doesn't tower over the
   sibling Product / Get Started / Contact columns. */
.tv-landing .footer-brand { display: flex; flex-direction: column; gap: 12px; }
.tv-landing .footer-brand p { margin-top: 0; max-width: 320px; font-size: 14px; }
.tv-landing .footer-col h4 { font-family: 'Montserrat'; color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.tv-landing .footer-col a { display: block; color: rgba(255, 255, 255, 0.6); text-decoration: none; padding: 6px 0; font-size: 14px; transition: color 0.2s; }
.tv-landing .footer-col a:hover { color: var(--gold); }
.tv-landing .footer-bottom { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 13px; }

/* AI CHAT WIDGET */
.tv-landing .chat-launcher { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.tv-landing .chat-bubble-prompt { background: var(--white); color: var(--navy); padding: 12px 18px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-strong); font-size: 14px; font-weight: 500; max-width: 240px; animation: tv-bubbleIn 0.5s ease-out; cursor: pointer; border: 1px solid var(--stone); }
@keyframes tv-bubbleIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tv-landing .chat-bubble-prompt strong { color: var(--gold); display: block; margin-bottom: 2px; }
.tv-landing .chat-btn { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%); border: 3px solid var(--white); cursor: pointer; box-shadow: var(--shadow-gold); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all 0.25s; position: relative; }
.tv-landing .chat-btn:hover { transform: scale(1.08); }
.tv-landing .chat-btn-pulse { position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px; border-radius: 50%; border: 3px solid var(--gold); animation: tv-pulse 2s infinite; }
@keyframes tv-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* CHAT WINDOW */
.tv-landing .chat-window { position: fixed; bottom: 24px; right: 24px; width: 400px; height: 620px; max-height: calc(100vh - 48px); background: var(--white); border-radius: 20px; box-shadow: var(--shadow-strong); z-index: 9999; display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--stone); }
.tv-landing .chat-window.open { display: flex; animation: tv-chatIn 0.3s ease-out; }
@keyframes tv-chatIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.tv-landing .chat-header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: var(--white); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.tv-landing .chat-header-info { display: flex; align-items: center; gap: 12px; }
.tv-landing .chat-avatar { width: 42px; height: 42px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); font-family: 'Bodoni Moda'; font-size: 20px; position: relative; }
.tv-landing .chat-avatar::after { content: ''; position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: #22c55e; border-radius: 50%; border: 2px solid var(--navy); }
.tv-landing .chat-name { font-weight: 600; font-size: 15px; }
.tv-landing .chat-status { font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.tv-landing .chat-actions { display: flex; gap: 8px; }
.tv-landing .chat-icon-btn { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.1); border: none; border-radius: 8px; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.tv-landing .chat-icon-btn:hover { background: rgba(255, 255, 255, 0.2); }
.tv-landing .chat-icon-btn.active { background: var(--gold); color: var(--navy); }

.tv-landing .chat-messages { flex: 1; overflow-y: auto; padding: 20px; background: var(--ivory); display: flex; flex-direction: column; gap: 12px; }
.tv-landing .chat-messages::-webkit-scrollbar { width: 6px; }
.tv-landing .chat-messages::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
.tv-landing .msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; animation: tv-msgIn 0.3s ease-out; }
@keyframes tv-msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.tv-landing .msg.bot { background: var(--white); color: var(--ink); border-radius: 14px 14px 14px 4px; align-self: flex-start; border: 1px solid var(--stone); }
.tv-landing .msg.user { background: var(--navy); color: var(--white); border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.tv-landing .quick-replies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tv-landing .quick-reply { background: var(--white); border: 1px solid var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 100px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.tv-landing .quick-reply:hover { background: var(--gold); }
.tv-landing .quick-reply.solid { background: var(--gold); }
.tv-landing .quick-reply.solid:hover { background: var(--gold-bright); }
.tv-landing .typing { display: flex; gap: 4px; padding: 14px 16px; background: var(--white); border-radius: 14px 14px 14px 4px; align-self: flex-start; width: fit-content; border: 1px solid var(--stone); }
.tv-landing .typing span { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; animation: tv-typing 1.4s infinite; }
.tv-landing .typing span:nth-child(2) { animation-delay: 0.2s; }
.tv-landing .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tv-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
.tv-landing .chat-input-area { border-top: 1px solid var(--stone); background: var(--white); padding: 14px; }
.tv-landing .chat-input-row { display: flex; gap: 8px; align-items: center; }
.tv-landing .chat-input { flex: 1; border: 1px solid var(--stone); border-radius: 100px; padding: 12px 18px; font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; }
.tv-landing .chat-input:focus { border-color: var(--gold); }
.tv-landing .chat-mic {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 1px solid var(--stone); color: var(--shell);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.tv-landing .chat-mic:hover { background: var(--mint); border-color: var(--accent); }
.tv-landing .chat-mic.active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.tv-landing .chat-send { width: 44px; height: 44px; background: var(--navy); border: none; border-radius: 50%; color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.tv-landing .chat-send:hover { background: var(--navy-deep); }
.tv-landing .chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
.tv-landing .chat-footer { text-align: center; padding: 8px 0 4px; font-size: 11px; color: var(--muted); }

/* VOICE MODE */
.tv-landing .voice-mode { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); z-index: 10; display: none; flex-direction: column; align-items: center; justify-content: center; color: var(--white); padding: 32px; text-align: center; }
.tv-landing .voice-mode.active { display: flex; }
.tv-landing .voice-orb-wrap { position: relative; width: 200px; height: 200px; margin-bottom: 32px; }
.tv-landing .voice-orb { width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-bright) 0%, var(--gold) 40%, #B8891E 100%); box-shadow: 0 0 80px rgba(16, 185, 129, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.2); position: relative; transition: transform 0.2s; }
.tv-landing .voice-orb.listening { animation: tv-orbPulse 1.5s ease-in-out infinite; }
.tv-landing .voice-orb.speaking { animation: tv-orbSpeak 0.6s ease-in-out infinite; }
@keyframes tv-orbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes tv-orbSpeak { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.tv-landing .voice-ring { position: absolute; inset: -20px; border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 50%; animation: tv-ringExpand 2s ease-out infinite; opacity: 0; }
.tv-landing .voice-orb-wrap.active .voice-ring { opacity: 1; }
.tv-landing .voice-ring:nth-child(2) { animation-delay: 0.5s; }
.tv-landing .voice-ring:nth-child(3) { animation-delay: 1s; }
@keyframes tv-ringExpand { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }
.tv-landing .voice-status { font-family: 'Bodoni Moda'; font-size: 24px; margin-bottom: 8px; color: var(--gold); }
.tv-landing .voice-transcript { font-size: 15px; color: rgba(255, 255, 255, 0.8); min-height: 60px; max-width: 320px; margin-bottom: 32px; }
.tv-landing .voice-controls { display: flex; gap: 16px; }
.tv-landing .voice-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); width: 56px; height: 56px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.tv-landing .voice-btn:hover { background: rgba(255, 255, 255, 0.2); }
.tv-landing .voice-btn.end { background: var(--danger); border-color: var(--danger); }
.tv-landing .voice-btn.end:hover { background: #A52020; }
.tv-landing .voice-btn.mic-on { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* BOOKING MODAL */
.tv-landing .modal-overlay { position: fixed; inset: 0; background: rgba(13, 27, 42, 0.75); backdrop-filter: blur(8px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.tv-landing .modal-overlay.open { display: flex; }
.tv-landing .modal { background: var(--white); border-radius: 20px; max-width: 560px; width: 100%; padding: 40px; position: relative; animation: tv-modalIn 0.3s ease-out; max-height: 90vh; overflow-y: auto; }
@keyframes tv-modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.tv-landing .modal-close { position: absolute; top: 16px; right: 16px; background: var(--ivory); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.tv-landing .modal h3 { font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.tv-landing .modal-sub { color: var(--muted); margin-bottom: 24px; }

.tv-landing .booking-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.tv-landing .booking-option { border: 2px solid var(--stone); border-radius: 14px; padding: 20px; cursor: pointer; text-align: center; text-decoration: none; color: var(--navy); transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tv-landing .booking-option:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.tv-landing .booking-option svg { color: var(--gold); }
.tv-landing .booking-option .opt-title { font-family: 'Bodoni Moda'; font-size: 18px; }
.tv-landing .booking-option .opt-sub { font-size: 13px; color: var(--muted); }
.tv-landing .booking-divider { text-align: center; color: var(--muted); font-size: 13px; margin: 4px 0 20px; position: relative; }
.tv-landing .booking-divider::before, .tv-landing .booking-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--stone); }
.tv-landing .booking-divider::before { left: 0; }
.tv-landing .booking-divider::after { right: 0; }

.tv-landing .form-group { margin-bottom: 18px; }
.tv-landing .form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.tv-landing .form-input, .tv-landing .form-select, .tv-landing .form-textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--stone); border-radius: 10px; font-size: 15px; font-family: inherit; background: var(--white); transition: border-color 0.2s; }
.tv-landing .form-input:focus, .tv-landing .form-select:focus, .tv-landing .form-textarea:focus { outline: none; border-color: var(--gold); }
.tv-landing .form-textarea { resize: vertical; min-height: 80px; }
.tv-landing .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tv-landing .btn-full { width: 100%; justify-content: center; margin-top: 8px; }
.tv-landing .modal-success { text-align: center; padding: 20px 0; }
.tv-landing .modal-success .check { width: 70px; height: 70px; background: rgba(34, 197, 94, 0.1); color: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }

/* MOBILE */
@media (max-width: 900px) {
  .tv-landing .nav-links { display: none; }
  .tv-landing .nav-links.mobile-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px; gap: 16px; }
  .tv-landing .mobile-menu-btn { display: block; }
  .tv-landing .hero { padding: 38px 0 30px; }
  .tv-landing .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .tv-landing .solution-row { grid-template-columns: 1fr; }
  .tv-landing .solution-pain { border-right: none; border-bottom: 1px solid var(--stone); }
  .tv-landing .compare-grid { grid-template-columns: 1fr; }
  .tv-landing .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .tv-landing .price-card.featured { transform: none; }
  .tv-landing .price-card.featured:hover { transform: translateY(-6px); }
  .tv-landing .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tv-landing .chat-window { width: calc(100vw - 24px); right: 12px; bottom: 12px; height: calc(100vh - 24px); max-height: none; }
  .tv-landing .chat-launcher { right: 16px; bottom: 16px; }
  .tv-landing .chat-bubble-prompt { max-width: 200px; font-size: 13px; }
  .tv-landing .modal { padding: 28px 24px; }
  .tv-landing .form-row, .tv-landing .booking-options { grid-template-columns: 1fr; }
  .tv-landing section { padding: 15px 0; }
  .tv-landing .vault-card { right: 0; bottom: -20px; transform: rotate(2deg) scale(0.85); }
  .tv-landing .cta-row { flex-direction: column; }
}
@media (max-width: 1240px) and (min-width: 901px) {
  .tv-landing .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .tv-landing .price-card.featured { transform: none; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .tv-landing .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-landing .price-card.featured { transform: none; }
}

/* AI inline row in the pain/fix stack. By default it looks like
   every other row (the parent .solution-row rules apply). The gold
   tint only appears on hover, matching the existing hover state on
   .solution-row. The badge is a small navy/gold pill always visible
   inside the "How Foyer fixes it" tag. */
.tv-landing .solution-row.ai-row:hover .solution-fix {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  border-color: #10B981;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}
.tv-landing .ai-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #0F3D34;
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 999px;
  text-transform: uppercase;
  vertical-align: middle;
}
