/* ═══════════════════════════════════════════════════════
   HISTORIA DENTAL — LANDING PAGE CSS
   Estilo: Minimalista / Apple-inspired
   Mobile-first · Sin dependencias externas
═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --c-bg:        #ffffff;
  --c-bg-light:  #f5f5f7;
  --c-bg-gray:   #f0f0f3;
  --c-bg-dark:   #0a0a0f;
  --c-dark:      #1a1a2e;
  --c-text:      #1d1d1f;
  --c-text-2:    #48484a;
  --c-text-3:    #86868b;
  --c-text-inv:  #f5f5f7;

  --c-primary:   #0066cc;
  --c-primary-h: #004ea3;
  --c-accent:    #00c2ff;
  --c-teal:      #00c897;
  --c-purple:    #7c5cfc;
  --c-orange:    #ff6b35;
  --c-pink:      #e040fb;
  --c-green:     #30c060;

  --c-border:    rgba(0,0,0,.08);
  --c-border-d:  rgba(255,255,255,.1);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --shadow-glow: 0 0 80px rgba(0,100,200,.18);

  --t: cubic-bezier(.25,.46,.45,.94);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── UTILITIES ───────────────────────────────────────── */
.ld-container        { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ld-container--narrow{ max-width: 860px; }
.ld-mt--md           { margin-top: 24px; }
.ld-mt--lg           { margin-top: 48px; }
.ld-text--center     { text-align: center; }
.ld-text--gradient {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ld-grid { display: grid; gap: 24px; }
.ld-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .ld-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .ld-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }
.ld-br--desktop { display: none; }
@media (min-width: 768px) { .ld-br--desktop { display: inline; } }

/* ─── BUTTONS ─────────────────────────────────────────── */
.ld-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s var(--t);
  white-space: nowrap;
}
.ld-btn--primary {
  background: var(--c-primary);
  color: #fff;
}
.ld-btn--primary:hover { background: var(--c-primary-h); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,102,204,.3); }
.ld-btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid rgba(0,102,204,.3);
}
.ld-btn--ghost:hover { border-color: var(--c-primary); background: rgba(0,102,204,.05); }
.ld-btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.ld-btn--outline:hover { border-color: #aaa; }
.ld-btn--nav {
  padding: 8px 18px;
  font-size: 14px;
  background: var(--c-primary);
  color: #fff;
}
.ld-btn--nav:hover { background: var(--c-primary-h); }
.ld-btn--lg  { padding: 15px 28px; font-size: 16px; }
.ld-btn--xl  { padding: 18px 40px; font-size: 18px; font-weight: 600; }
.ld-btn--full{ width: 100%; justify-content: center; border-radius: var(--r-md); }

/* ─── BADGES ──────────────────────────────────────────── */
.ld-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ld-badge--live { background: rgba(0,194,255,.12); color: var(--c-accent); border: 1px solid rgba(0,194,255,.25); }
.ld-badge--unique { background: rgba(124,92,252,.15); color: var(--c-purple); border: 1px solid rgba(124,92,252,.25); }
.ld-badge--save { background: var(--c-green); color: #fff; font-size: 11px; padding: 2px 8px; vertical-align: middle; }

/* ─── CHIPS ───────────────────────────────────────────── */
.ld-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 500;
}
.ld-chip--green  { background: rgba(48,192,96,.15);  color: var(--c-green); }
.ld-chip--blue   { background: rgba(0,102,204,.12);  color: var(--c-primary); }
.ld-chip--teal   { background: rgba(0,200,151,.15);  color: var(--c-teal); }
.ld-chip--purple { background: rgba(124,92,252,.15); color: var(--c-purple); }
.ld-chip--orange { background: rgba(255,107,53,.15); color: var(--c-orange); }
.ld-chip--pink   { background: rgba(224,64,251,.15); color: var(--c-pink); }

/* ─── NAVBAR ──────────────────────────────────────────── */
.ld-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .25s var(--t), backdrop-filter .25s var(--t), box-shadow .25s var(--t);
}
.ld-nav--scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--c-border);
}
.ld-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
}
.ld-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
}
.ld-nav__links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--c-text-2);
}
.ld-nav__links a:not(.ld-btn):hover { color: var(--c-text); }

/* En hero oscuro, mantener links visibles y hover claro */
.ld-nav:not(.ld-nav--scrolled) .ld-nav__logo,
.ld-nav:not(.ld-nav--scrolled) .ld-nav__links {
  color: rgba(245, 245, 247, 0.92);
}

.ld-nav:not(.ld-nav--scrolled) .ld-nav__links a:not(.ld-btn):hover {
  color: #ffffff;
}
@media (min-width: 768px) { .ld-nav__links { display: flex; } }
.ld-nav__burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; padding: 4px;
}
.ld-nav__burger span {
  display: block; height: 1.5px; background: var(--c-text);
  border-radius: 2px; transition: all .2s var(--t);
}
.ld-nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ld-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.ld-nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 768px) { .ld-nav__burger { display: none; } }

.ld-nav__mobile {
  display: none; flex-direction: column;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  padding: 16px 20px 24px;
  gap: 16px;
  border-top: 1px solid var(--c-border);
}
.ld-nav__mobile.is-open { display: flex; }
.ld-nav__mobile a:not(.ld-btn) { font-size: 16px; color: var(--c-text-2); }
@media (min-width: 768px) { .ld-nav__mobile { display: none !important; } }

/* ─── EYEBROW / SECTION TITLES ───────────────────────── */
.ld-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 12px;
}
.ld-eyebrow--light { color: var(--c-accent); }
.ld-section__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--c-text);
  margin-bottom: 16px;
}
.ld-section__title--light { color: var(--c-text-inv); }
.ld-section__sub {
  font-size: 18px;
  color: var(--c-text-2);
  max-width: 540px;
}

/* ─── SECTIONS ────────────────────────────────────────── */
.ld-section { padding: 96px 0; }
.ld-section--light { background: var(--c-bg); }
.ld-section--gray  { background: var(--c-bg-gray); }
.ld-section--dark  { background: var(--c-bg-dark); }
@media (max-width: 640px) { .ld-section { padding: 64px 0; } }

/* ─── HERO ────────────────────────────────────────────── */
.ld-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--c-bg-dark);
  padding: 120px 0 80px;
  overflow: hidden;
}
.ld-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.ld-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
}
.ld-hero__glow--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--c-primary), transparent 70%);
  top: -200px; left: -100px;
}
.ld-hero__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--c-accent), transparent 70%);
  bottom: -100px; right: -50px;
  opacity: .2;
}
.ld-hero__badge { margin-bottom: 24px; }
.ld-hero__title {
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--c-text-inv);
  margin-bottom: 24px;
  max-width: 760px;
}
.ld-hero__sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(245,245,247,.65);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.ld-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.ld-hero__note {
  font-size: 13px;
  color: rgba(245,245,247,.35);
  margin-bottom: 64px;
}

/* Mockup */
.ld-hero__screen { width: 100%; }
.ld-mockup {
  background: #16161e;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-glow), 0 40px 120px rgba(0,0,0,.6);
  overflow: visible;
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.ld-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #0d0d14;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ld-mockup__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.ld-mockup__bar span:nth-child(1) { background: #ff5f57; }
.ld-mockup__bar span:nth-child(2) { background: #febc2e; }
.ld-mockup__bar span:nth-child(3) { background: #28c840; }
.ld-mockup__url {
  margin-left: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.25);
  font-family: 'SF Mono', monospace;
}
.ld-mockup__body {
  display: flex;
  height: 360px;
}
.ld-mockup__screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform .45s var(--t);
  transform-origin: center;
  position: relative;
  z-index: 1;
}
.ld-mockup:hover .ld-mockup__screenshot { transform: scale(2); z-index: 40; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.ld-mockup__sidebar {
  width: 52px;
  background: #0d0d14;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 10px;
}
.ld-mockup__nav-item {
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
}
.ld-mockup__nav-item--active { background: var(--c-primary); opacity: .7; }
.ld-mockup__main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ld-mockup__header { display: flex; align-items: center; justify-content: space-between; }
.ld-mockup__title-bar { height: 14px; width: 140px; border-radius: 4px; background: rgba(255,255,255,.12); }
.ld-mockup__chips { display: flex; gap: 8px; }
.ld-mockup__odonto {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.ld-tooth {
  width: 28px; height: 36px;
  border-radius: 4px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.06);
}
.ld-tooth--treated { background: rgba(48,192,96,.3); border-color: rgba(48,192,96,.4); }
.ld-tooth--planned { background: rgba(0,102,204,.3); border-color: rgba(0,102,204,.4); }
.ld-mockup__cards { display: flex; gap: 10px; margin-top: auto; }
.ld-mockup__card {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ld-mockup__card-label { height: 8px; width: 60%; border-radius: 4px; background: rgba(255,255,255,.1); }
.ld-mockup__card-value { height: 18px; width: 80%; border-radius: 4px; background: rgba(255,255,255,.15); }

/* ─── PROOF BAR ───────────────────────────────────────── */
.ld-proof-bar {
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-light);
}
.ld-proof-bar .ld-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.ld-proof-bar__text { font-size: 13px; color: var(--c-text-3); white-space: nowrap; }
.ld-proof-bar__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ld-proof-logo { font-size: 13px; font-weight: 600; color: var(--c-text-2); letter-spacing: .04em; }
.ld-proof-sep { color: var(--c-text-3); }

/* ─── PAIN CARDS ──────────────────────────────────────── */
.ld-pain {
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-bg);
}
.ld-pain__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--c-bg-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  margin-bottom: 16px;
}
.ld-pain h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.ld-pain p  { font-size: 15px; color: var(--c-text-2); line-height: 1.55; }

/* ─── FEATURE HERO (AUDITOR) ──────────────────────────── */
.ld-feature-hero {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 900px) { .ld-feature-hero { grid-template-columns: 1fr 1fr; } }
.ld-feature-hero__title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--c-text-inv);
  margin: 12px 0 16px;
}
.ld-feature-hero__desc {
  font-size: 17px;
  color: rgba(245,245,247,.65);
  line-height: 1.65;
  margin-bottom: 24px;
}
.ld-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ld-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(245,245,247,.8);
}
.ld-checklist li::before {
  content: '✓';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(48,192,96,.2);
  color: var(--c-green);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Dark screen mockup */
.ld-screen {
  border-radius: var(--r-lg);
  overflow: visible;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  position: relative;
  z-index: 1;
}
.ld-screen--dark { background: #13131a; }
.ld-screen__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0a0a10;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ld-screen__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.ld-screen__dot--r { background: #ff5f57; }
.ld-screen__dot--y { background: #febc2e; }
.ld-screen__dot--g { background: #28c840; }
.ld-screen__title { margin-left: 8px; font-size: 12px; color: rgba(255,255,255,.3); }
.ld-screen__body { padding: 8px; overflow: visible; }
.ld-screen__screenshot {
  width: 100%;
  height: clamp(320px, 46vw, 520px);
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  display: block;
  transition: transform .45s var(--t);
  position: relative;
  z-index: 1;
}
.ld-screen:hover .ld-screen__screenshot { transform: scale(2); z-index: 40; box-shadow: 0 24px 60px rgba(0,0,0,.45); }

.ld-std-list { display: flex; flex-direction: column; gap: 10px; }
.ld-std-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.ld-std-item--done {
  background: rgba(48,192,96,.08);
  border-color: rgba(48,192,96,.2);
  color: rgba(245,245,247,.85);
}
.ld-std-item--progress {
  background: rgba(0,102,204,.08);
  border-color: rgba(0,102,204,.25);
  color: var(--c-accent);
}
.ld-std-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}
.ld-std-item--done .ld-std-icon { background: rgba(48,192,96,.25); color: var(--c-green); }
.ld-std-item--progress .ld-std-icon { background: rgba(0,194,255,.2); color: var(--c-accent); }

/* ─── FEATURES GRID ───────────────────────────────────── */
.ld-features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 640px) { .ld-features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .ld-features-grid { grid-template-columns: 1fr 1fr 1fr; } }

.ld-feat {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--c-bg);
  position: relative;
  transition: box-shadow .2s var(--t), transform .2s var(--t);
}
.ld-feat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ld-feat--wide {
  grid-column: 1 / -1;
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .ld-feat--wide { grid-template-columns: 1fr 1fr; } }
.ld-feat--coming-soon { opacity: .7; }

.ld-feat__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ld-feat__icon--blue   { background: rgba(0,102,204,.1);   color: var(--c-primary); }
.ld-feat__icon--teal   { background: rgba(0,200,151,.1);   color: var(--c-teal); }
.ld-feat__icon--purple { background: rgba(124,92,252,.1);  color: var(--c-purple); }
.ld-feat__icon--orange { background: rgba(255,107,53,.1);  color: var(--c-orange); }
.ld-feat__icon--green  { background: rgba(48,192,96,.1);   color: var(--c-green); }
.ld-feat__icon--pink   { background: rgba(224,64,251,.1);  color: var(--c-pink); }

.ld-feat h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.ld-feat p  { font-size: 15px; color: var(--c-text-2); line-height: 1.55; margin-bottom: 16px; }
.ld-feat__tag { margin-top: auto; }
.ld-feat__image-wrap {
  margin-top: 14px;
  border-radius: 12px;
  overflow: visible;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.ld-feat__image-wrap--wide { margin-top: 0; }
.ld-feat__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--t);
  transform-origin: center;
  position: relative;
  z-index: 1;
}
.ld-feat__image-wrap:hover .ld-feat__image {
  transform: scale(2);
  z-index: 40;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.ld-feat__soon-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 3px 10px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(224,64,251,.12);
  color: var(--c-pink);
  border: 1px solid rgba(224,64,251,.2);
}

/* Odontogram demo */
.ld-feat__visual--odonto {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ld-odonto-demo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.ld-odonto-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.ld-dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.ld-dt__body {
  width: 32px; height: 38px;
  border-radius: 5px;
  background: var(--c-bg-gray);
  border: 1px solid var(--c-border);
  transition: background .2s;
}
.ld-dt--caries .ld-dt__body    { background: rgba(255,107,53,.2);  border-color: rgba(255,107,53,.4); }
.ld-dt--corona .ld-dt__body    { background: rgba(0,102,204,.2);   border-color: rgba(0,102,204,.4); }
.ld-dt--extraccion .ld-dt__body{ background: rgba(255,50,50,.2);   border-color: rgba(255,50,50,.4); }
.ld-dt--resina .ld-dt__body    { background: rgba(48,192,96,.2);   border-color: rgba(48,192,96,.4); }
.ld-dt__label { font-size: 9px; color: var(--c-text-3); font-weight: 500; }
.ld-odonto-tag {
  position: absolute;
  bottom: -28px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}

/* ─── COMPARISON TABLE ────────────────────────────────── */
.ld-compare-table {
  margin-top: 48px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ld-compare-table__head,
.ld-compare-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
}
@media (max-width: 540px) {
  .ld-compare-table__head,
  .ld-compare-table__row { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.ld-compare-table__head {
  background: var(--c-bg-light);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-2);
  border-bottom: 1px solid var(--c-border);
}
.ld-compare-table__row {
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
  transition: background .15s;
}
.ld-compare-table__row:last-child { border-bottom: none; }
.ld-compare-table__row:hover { background: var(--c-bg-light); }
.ld-compare-table__feature { color: var(--c-text-2); font-size: 14px; }
.ld-compare-table__col { text-align: center; }
.ld-compare-table__col--ours {
  font-weight: 600;
  background: rgba(0,102,204,.04);
}
.ld-compare-table__head .ld-compare-table__col--ours {
  color: var(--c-primary);
  background: rgba(0,102,204,.06);
}
.ld-cmp-yes  { color: var(--c-green); font-weight: 700; font-size: 16px; }
.ld-cmp-yes--neutral { color: var(--c-text-3); }
.ld-cmp-no   { color: rgba(0,0,0,.2); font-size: 16px; }
.ld-cmp-val  { font-size: 12px; color: var(--c-text-3); }

/* ─── PLANS ───────────────────────────────────────────── */
.ld-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 48px;
}
.ld-toggle-label { font-size: 15px; color: var(--c-text-2); }
.ld-toggle {
  width: 44px; height: 26px;
  border-radius: 13px;
  background: var(--c-border);
  position: relative;
  transition: background .2s var(--t);
  border: none;
}
.ld-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .2s var(--t);
}
.ld-toggle.is-annual { background: var(--c-primary); }
.ld-toggle.is-annual::after { transform: translateX(18px); }

.ld-plans {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ld-plans { grid-template-columns: 1fr 1fr 1fr; } }

.ld-plan {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  background: var(--c-bg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ld-plan--featured {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 1px var(--c-primary), var(--shadow-md);
}
.ld-plan__badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 980px;
  white-space: nowrap;
}
.ld-plan__header { margin-bottom: 28px; }
.ld-plan__name { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.ld-plan__price { display: flex; align-items: baseline; gap: 4px; }
.ld-plan__amount { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.ld-plan__period { font-size: 14px; color: var(--c-text-3); }
.ld-plan__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.ld-plan__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text-2);
}
.ld-plan__features li::before {
  content: '✓';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(48,192,96,.15);
  color: var(--c-green);
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.ld-plans__note {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-3);
  margin-top: 24px;
}

/* ─── TESTIMONIALS ────────────────────────────────────── */
.ld-testimonials {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 640px) { .ld-testimonials { grid-template-columns: 1fr 1fr; } }
.ld-testimonial {
  border: 1px solid var(--c-border-d);
  border-radius: var(--r-lg);
  padding: 28px;
  background: rgba(255,255,255,.04);
}
.ld-testimonial__text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245,245,247,.8);
  font-style: italic;
  margin-bottom: 20px;
}
.ld-testimonial__text::before { content: '"'; font-size: 40px; line-height: 0; vertical-align: -14px; color: var(--c-primary); opacity: .6; margin-right: 4px; }
.ld-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(245,245,247,.5);
}
.ld-testimonial__author strong { display: block; color: rgba(245,245,247,.9); margin-bottom: 2px; }
.ld-testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: white;
  flex-shrink: 0;
}

/* ─── CTA FINAL ───────────────────────────────────────── */
.ld-cta-final {
  position: relative;
  padding: 120px 0;
  background: var(--c-bg-dark);
  overflow: hidden;
}
.ld-cta-final__bg { position: absolute; inset: 0; pointer-events: none; }
.ld-cta-final__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--c-text-inv);
  margin-bottom: 20px;
}
.ld-cta-final__sub {
  font-size: 18px;
  color: rgba(245,245,247,.55);
  line-height: 1.6;
  margin-bottom: 36px;
}
.ld-cta-final__note {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(245,245,247,.35);
}
.ld-cta-final__note a { color: rgba(245,245,247,.55); text-decoration: underline; }
.ld-cta-final__note a:hover { color: var(--c-text-inv); }

/* ─── FOOTER ──────────────────────────────────────────── */
.ld-footer {
  padding: 56px 0 32px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}
.ld-footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .ld-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.ld-footer__brand .ld-nav__logo { margin-bottom: 12px; color: var(--c-text); }
.ld-footer__brand p { font-size: 14px; color: var(--c-text-3); }
.ld-footer__links { display: flex; flex-direction: column; gap: 10px; }
.ld-footer__links h4 { font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: 4px; letter-spacing: .02em; }
.ld-footer__links a { font-size: 14px; color: var(--c-text-3); transition: color .15s; }
.ld-footer__links a:hover { color: var(--c-text); }
.ld-footer__bottom { border-top: 1px solid var(--c-border); padding-top: 24px; }
.ld-footer__bottom p { font-size: 13px; color: var(--c-text-3); }

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}
.ld-anim--pulse { animation: pulse 2.4s ease-in-out infinite; }

@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ld-anim--fadein { animation: fadein 1s ease-out 1s both; }

.ld-anim--reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--t), transform .5s var(--t);
}
.ld-anim--reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE TWEAKS ───────────────────────────────── */
@media (max-width: 480px) {
  .ld-hero__title   { font-size: 34px; }
  .ld-btn--lg       { padding: 13px 22px; font-size: 15px; }
  .ld-mockup__body  { height: 240px; }
  .ld-tooth         { width: 20px; height: 26px; }
  .ld-compare-table__feature { font-size: 12px; }
  .ld-plan          { padding: 24px 20px; }
}
