/* ── Fonts (same family stack as gauravscales.vercel.app) ───────────── */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300..900&family=Special+Gothic+Expanded+One&family=Caveat:wght@600&family=Caprasimo&display=swap');

:root {
  --ink: #14151a;
  --ink-80: rgba(20, 21, 26, 0.8);
  --ink-70: rgba(20, 21, 26, 0.7);
  --ink-60: rgba(20, 21, 26, 0.6);
  --paper: #f7f5ee;
  --cream: #f4f3ee;
  --line: #dedbcd;
  --muted: #5a5764;

  --blue: #5d61fb;
  --blue-deep: #191c63;
  --pink: #ff389a;
  --orange: #ff6b4a;
  --neon: #c7ff2f;
  --neon-deep: #8fb800;

  --heading: "Special Gothic Expanded One", "Arial Narrow", Impact, system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --serif: "Caprasimo", Georgia, serif;

  --grad-warm: linear-gradient(90deg, #5d61fb 0%, #ff389a 52%, #ff6b4a 100%);
  --grad-full: linear-gradient(120deg, #5d61fb 0%, #ff389a 38%, #ff6b4a 66%, #c7ff2f 100%);
  --hero-bg:
    radial-gradient(115% 80% at 50% -12%, #191c63 0%, transparent 56%),
    radial-gradient(80% 75% at 4% 0%, #3d3fae 0%, transparent 46%),
    radial-gradient(95% 95% at 98% 105%, #7c2952 0%, transparent 54%),
    linear-gradient(160deg, #14151a 0%, #1b1c33 55%, #201325 100%);

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 3px rgba(20, 19, 25, 0.1);
  --shadow-md: 0 6px 20px rgba(20, 19, 25, 0.12);
  --shadow-lg: 0 20px 50px rgba(20, 19, 25, 0.2);
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-transform: uppercase; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: rgba(93, 97, 251, 0.25); }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
[id] { scroll-margin-top: 84px; }
.section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--heading); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-deep); background: var(--neon); padding: 7px 14px; border-radius: 999px;
}
.section-title { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 18px; }
.section-sub { font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.65; color: var(--muted); max-width: 56ch; }

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Count-up numbers ─────────────────────────────────────────────── */
.count { font-variant-numeric: tabular-nums; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--heading); font-size: 13.5px; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-outline:hover { background: rgba(20, 19, 25, 0.05); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-grad {
  display: inline-flex; align-items: center; gap: 18px; font-family: var(--heading);
  text-transform: uppercase; letter-spacing: 0.02em; font-size: 13.5px; color: #fff;
  background: var(--grad-warm); background-size: 170% 170%; border: 0; border-radius: 999px;
  padding: 8px 8px 8px 24px; cursor: pointer; box-shadow: 0 12px 30px rgba(255, 56, 154, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.5s ease;
}
.btn-grad:hover { transform: translateY(-2px); background-position: 100% 0; color: #fff; box-shadow: 0 16px 40px rgba(255, 56, 154, 0.38); }
.btn-grad .circle { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-content: center; flex: none; }
.btn-neon {
  background: var(--neon); color: var(--blue-deep); box-shadow: 0 10px 26px rgba(199, 255, 47, 0.3);
}
.btn-neon:hover { color: var(--blue-deep); box-shadow: 0 14px 32px rgba(199, 255, 47, 0.4); }
.btn-block { width: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  background: rgba(247, 245, 238, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav-brand .mark {
  display: grid; place-content: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: var(--neon); font-family: var(--heading); font-size: 15px; flex: none;
}
.nav-brand .name { font-family: var(--heading); font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .nav { padding: 12px 16px; }
  .nav-brand .name { font-size: 13px; }
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: clip; background: var(--hero-bg); color: #fff; }
.hero > .wrap { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-head { text-align: center; }
.hero h1 {
  font-size: clamp(30px, 6.6vw, 62px); line-height: 1.05; letter-spacing: -0.01em; color: #fff;
  max-width: 18ch; margin-inline: auto;
}
.hero h1 .neon { color: var(--neon); }
.hero-sub { margin: 22px auto 0; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* Slide to get LeadReaper (iOS-style slide-to-unlock) */
.slide2reap { width: min(100%, 420px); margin: 32px auto 0; }
.s2r-track {
  position: relative; height: 64px; border-radius: 999px; overflow: hidden;
  background: var(--grad-warm);
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
  box-shadow: 0 14px 34px rgba(255, 56, 154, 0.32);
}
.s2r-fill { position: absolute; top: 0; left: 0; bottom: 0; width: 64px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)); pointer-events: none; }
.s2r-label {
  position: absolute; inset: 0; display: grid; place-content: center; padding-left: 44px;
  font-family: var(--heading); text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(12.5px, 1.5vw, 15px); color: #fff; pointer-events: none;
  transition: opacity 0.2s ease;
}
.s2r-knob {
  position: absolute; top: 5px; left: 5px; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-content: center; font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28); touch-action: none; will-change: transform;
  cursor: grab;
}
.s2r-knob:active { cursor: grabbing; }
.s2r-track.done { background: var(--neon); }
.s2r-track.done .s2r-label { color: var(--blue-deep); }
.s2r-track.done .s2r-knob { color: var(--blue-deep); }
@media (prefers-reduced-motion: reduce) { .s2r-knob { transition: none !important; } }

.floatboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: clamp(48px, 7vw, 80px) auto 0; }
.fcard {
  border-radius: 18px; padding: 20px 20px; position: relative; color: var(--ink);
  box-shadow: 0 22px 45px rgba(10, 8, 30, 0.32); animation: floaty 7s ease-in-out infinite;
}
.fcard--white { background: #fff; }
.fcard--neon { background: var(--neon); }
.fcard--blue { background: var(--blue); color: #fff; }
.fcard--pink { background: var(--pink); color: #fff; }
.fc-label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.72; }
.fc-value { font-family: var(--heading); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.05; margin-top: 8px; letter-spacing: -0.01em; }
.fc-note { font-size: 12px; margin-top: 8px; opacity: 0.72; }
.fcard:nth-child(1) { transform: rotate(-1.6deg); animation-delay: 0s; }
.fcard:nth-child(2) { transform: rotate(1.2deg); animation-delay: .5s; margin-top: 14px; }
.fcard:nth-child(3) { transform: rotate(-1deg); animation-delay: 1s; }
.fcard:nth-child(4) { transform: rotate(1.4deg); animation-delay: 1.4s; margin-top: 14px; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 860px) { .floatboard { grid-template-columns: 1fr 1fr; max-width: 480px; } }
@media (prefers-reduced-motion: reduce) { .fcard { animation: none; } }

/* ── Stats band ───────────────────────────────────────────────────── */
.stats { background: var(--ink); color: #fff; }
.stats .row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px);
  padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px);
}
.stat .n {
  font-family: var(--heading); font-size: clamp(28px, 4vw, 46px); line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .c { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 10px; max-width: 22ch; }
@media (max-width: 720px) { .stats .row { grid-template-columns: 1fr 1fr; } }

/* ── Accordion (how it works) ────────────────────────────────────── */
.acc { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.acc-item.open { border-color: transparent; box-shadow: var(--shadow-lg); }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: clamp(14px, 3vw, 26px);
  padding: clamp(18px, 2.6vw, 24px) clamp(20px, 3vw, 30px); background: transparent; border: 0;
  cursor: pointer; text-align: left; font-family: inherit; color: inherit;
}
.acc-num { font-family: var(--heading); font-size: clamp(20px, 2.6vw, 28px); line-height: 1; flex: none; color: var(--muted); }
.acc-item:nth-child(1) .acc-num { color: var(--blue); }
.acc-item:nth-child(2) .acc-num { color: var(--pink); }
.acc-item:nth-child(3) .acc-num { color: var(--orange); }
.acc-item:nth-child(4) .acc-num { color: var(--blue); }
.acc-title { flex: 1; font-family: var(--heading); text-transform: uppercase; font-size: clamp(14px, 2vw, 19px); line-height: 1.2; letter-spacing: 0.01em; }
.acc-icon { flex: none; width: 26px; height: 26px; display: grid; place-content: center; color: var(--muted); transition: transform 0.3s ease; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; }
.acc-panel p { padding: 0 clamp(20px, 3vw, 30px) 24px clamp(48px, 8vw, 84px); margin: 0; max-width: 66ch; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ── Comparison (manual vs LeadReaper) ───────────────────────────── */
.compare-hero {
  margin-top: clamp(28px, 4vw, 40px); text-align: center; background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 40px);
}
.compare-hero-n {
  font-family: var(--heading); font-size: clamp(40px, 6vw, 68px); line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.compare-hero-c { font-size: 14.5px; color: rgba(255,255,255,0.72); margin-top: 12px; max-width: 46ch; margin-inline: auto; }

.compare-table { margin-top: clamp(20px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row--head { background: var(--cream); }
.compare-cell { padding: 16px 20px; font-size: 14.5px; display: flex; align-items: center; }
.compare-cell--label { font-weight: 700; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.compare-row--head .compare-cell { font-family: var(--heading); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.compare-cell--win { font-weight: 800; color: var(--blue-deep); background: rgba(199, 255, 47, 0.18); }
.compare-row--head .compare-cell--win { background: var(--neon); color: var(--blue-deep); }
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { padding: 10px 20px; }
  .compare-cell--label { padding-bottom: 0; }
  .compare-row--head .compare-cell:not(.compare-cell--label) { padding-top: 6px; padding-bottom: 6px; }
}

/* ── Demo video ───────────────────────────────────────────────────── */
.demo-video-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9; background: var(--ink);
}
.demo-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-stop-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: var(--heading, inherit); font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(20,21,26,0.7); color: #f4f3ee; cursor: pointer;
  backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  transition: background-color .15s ease, border-color .15s ease;
}
.hero-video-stop-btn:hover { background: rgba(20,21,26,0.9); border-color: rgba(255,255,255,0.32); }
@media (max-width: 640px) {
  .hero-video-stop-btn { top: 8px; right: 8px; font-size: 9px; padding: 4px 8px; }
}
.hero-video-wrap {
  max-width: 720px; margin: clamp(28px, 4vw, 44px) auto 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Feature grid ─────────────────────────────────────────────────── */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-content: center; margin-bottom: 16px; background: var(--cream); color: var(--blue); }
.feature-card h3 { font-size: 16px; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 980px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(28px, 4vw, 44px); align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; }
.price-card.hi { background: var(--ink); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); position: relative; }
.price-tag { display: inline-flex; align-self: flex-start; font-family: var(--heading); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--neon); color: var(--blue-deep); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .tier-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.price-card.hi .tier-sub { color: rgba(255,255,255,0.65); }
.price-num { font-family: var(--heading); font-size: clamp(38px, 5vw, 54px); line-height: 1; }
.price-num .price-period { font-size: 16px; font-family: var(--body); font-weight: 700; color: var(--muted); margin-left: 2px; }
.price-card.hi .price-num .price-period { color: rgba(255,255,255,0.6); }
.price-list { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.price-list li svg { flex: none; margin-top: 3px; color: var(--blue); }
.price-card.hi .price-list li svg { color: var(--neon); }
.price-card .btn { margin-top: auto; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

.guarantee-band {
  margin-top: clamp(28px, 4vw, 44px); background: var(--cream); border: 1px dashed var(--line);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: flex; align-items: center; gap: 20px;
}
.guarantee-band .hand { font-family: var(--hand); font-size: clamp(22px, 2.4vw, 28px); color: var(--blue-deep); flex: 1; }
.guarantee-band .ic { flex: none; font-size: 34px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(24px, 3vw, 36px); max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--body); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.faq-icon { flex: none; color: var(--muted); transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel p { padding: 0 4px 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 68ch; }

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta-band { background: var(--hero-bg); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 46px); max-width: 20ch; margin-inline: auto; }
.cta-band p { margin: 18px auto 0; color: rgba(255,255,255,0.78); max-width: 48ch; font-size: 16px; }
.cta-band .hero-cta { margin-top: 30px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-top: clamp(40px, 5vw, 60px); padding-bottom: 30px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 32ch; }
.footer-cols { display: flex; gap: clamp(30px, 6vw, 70px); flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; font-family: var(--body); font-weight: 800; }
.footer-col a { display: block; font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ══════════════════════════════════════════════════════════════════
   AUTH (login) PAGES
   ══════════════════════════════════════════════════════════════════ */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-panel {
  background: var(--hero-bg); color: #fff; position: relative; overflow: clip;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px);
}
.auth-panel .quote { font-family: var(--hand); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; max-width: 30ch; }
.auth-panel .quote-by { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.6); }
.auth-stats { display: flex; gap: 28px; }
.auth-stats div .n { font-family: var(--heading); font-size: 26px; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-stats div .c { font-size: 11.5px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 56px); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .back { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 30px; display: inline-flex; align-items: center; gap: 6px; }
.auth-card h1 { font-size: clamp(24px, 3vw, 30px); text-transform: none; margin-bottom: 8px; }
.auth-card .sub { font-size: 14.5px; color: var(--muted); margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: var(--body); font-size: 15px; background: #fff; color: var(--ink); transition: border-color 0.2s ease;
}
.field input:focus { outline: none; border-color: var(--blue); }
.field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.field-row a { font-size: 13px; font-weight: 600; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.form-error { display: none; background: #fff2f2; border: 1px solid #ffd2d2; color: #b3261e; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; }
.form-error.show { display: block; }
.form-success { display: none; background: #f0faf3; border: 1px solid #bfe8cc; color: #1e7a3e; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; }
.form-success.show { display: block; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-panel { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   DASHBOARD (customer profile)
   ══════════════════════════════════════════════════════════════════ */
.dash-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.dash-side { background: var(--ink); color: #fff; padding: 22px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.dash-side .nav-brand { color: #fff; padding: 0 8px; margin-bottom: 30px; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dash-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.65); transition: background 0.2s ease, color 0.2s ease;
}
.dash-nav a svg { flex: none; opacity: 0.8; }
.dash-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.dash-nav a.active { background: var(--neon); color: var(--blue-deep); }
.dash-nav a.active svg { opacity: 1; }
.dash-side-foot { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; margin-top: 16px; }
.plan-chip { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; font-size: 12.5px; }
.plan-chip .p-name { font-family: var(--heading); font-size: 13px; color: var(--neon); text-transform: uppercase; }
.plan-chip .p-sub { color: rgba(255,255,255,0.55); margin-top: 4px; }

.dash-main { background: var(--paper); min-width: 0; }
.dash-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(20px, 3vw, 36px); background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.dash-top h1 { font-size: 18px; text-transform: none; font-family: var(--body); font-weight: 800; }
.dash-top .sub { font-size: 13px; color: var(--muted); margin-top: 2px; font-family: var(--body); }
.dash-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-warm); display: grid; place-content: center; color: #fff; font-family: var(--heading); font-size: 13px; flex: none; }
.dash-user .u-name { font-size: 13.5px; font-weight: 700; }
.dash-user .u-role { font-size: 11.5px; color: var(--muted); }

.dash-body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 26px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.kpi-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.kpi-card .k-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; }
.kpi-card .k-value { font-family: var(--heading); font-size: 28px; margin-top: 10px; }
.kpi-card .k-delta { font-size: 12.5px; margin-top: 8px; font-weight: 700; }
.k-delta.up { color: #1a8a4a; }
.k-delta.flat { color: var(--muted); }
@media (max-width: 980px) { .kpi-row { grid-template-columns: 1fr 1fr; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 15px; text-transform: none; font-family: var(--body); font-weight: 800; }
.panel-head a, .panel-head button { font-size: 13px; font-weight: 700; color: var(--blue); background: none; border: 0; cursor: pointer; }

table.dtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.dtable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding: 12px 22px; border-bottom: 1px solid var(--line); font-weight: 700; }
table.dtable td { padding: 14px 22px; border-bottom: 1px solid var(--line); }
table.dtable tr:last-child td { border-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.ok { background: #e6f6ea; color: #1a8a4a; }
.badge.run { background: #eef0fb; color: var(--blue); }
.badge.warn { background: #fff4e0; color: #a86400; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }

.profile-grid { display: flex; flex-direction: column; gap: 18px; padding: 22px; }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.profile-row:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-row .p-k { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; }
.profile-row .p-v { font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.profile-row .p-edit { font-size: 12.5px; font-weight: 700; color: var(--blue); cursor: pointer; }

.key-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 13px; font-family: monospace; transition: background 0.3s ease; }
.key-pill button { border: 0; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-family: var(--body); }
.key-pill.flash { background: var(--neon); }

.mobile-nav-toggle { display: none; }
@media (max-width: 900px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}

/* ── Dashboard interactivity: edit mode, panel highlight, toast ─────── */
.p-edit-input {
  font-family: var(--body); font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--line); margin-top: 4px; width: 100%;
}
.p-edit-input:focus { outline: none; border-color: var(--blue); }

.panel.flash { animation: panelFlash 1.1s ease; }
@keyframes panelFlash {
  0% { box-shadow: 0 0 0 0 rgba(199, 255, 47, 0.7); }
  40% { box-shadow: 0 0 0 6px rgba(199, 255, 47, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(199, 255, 47, 0); }
}

.kpi-card.pulse { animation: kpiPulse 0.6s ease; }
@keyframes kpiPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.035); border-color: var(--neon); }
  100% { transform: scale(1); }
}

tr.new-row { animation: rowIn 0.9s ease; }
@keyframes rowIn {
  0% { background: rgba(199, 255, 47, 0.5); }
  100% { background: transparent; }
}

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.dash-nav a[data-scroll-to],
.dash-nav a[data-nav="leads"],
.dash-nav a[data-nav="billing"] { cursor: pointer; }
