/* MyGymGate marketing site. Brand: Gate Lime #C8FF2E (symbol, key actions), Iron Black #0E1013 (base),
   Graphite #23262D (surfaces), Chalk #F5F5F0 (text), Streak Orange #FF6A2B (streaks only, never the logo).
   Headings: Space Grotesk. Body: Inter. */
:root {
  --lime: #C8FF2E; --lime-d: #A8DB14; --iron: #0E1013; --iron-2: #14161B; --graphite: #23262D; --graphite-2: #2C3038;
  --chalk: #F5F5F0; --muted: #9A9DA6; --dim: #6B6E76; --streak: #FF6A2B; --line: rgba(245, 245, 240, .09);
  --radius: 22px; --max: 1200px;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--iron); color: var(--chalk); font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--iron); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lime { color: var(--lime); }
.streak-c { color: var(--streak); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 640px; }
section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }

/* ── Buttons ── */
.btn { --b: var(--lime); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 26px; border-radius: 999px; border: 0; font: 700 16px/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
  background: var(--lime); color: var(--iron); transition: transform .2s ease, box-shadow .3s ease, background .2s; overflow: hidden; isolation: isolate; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(200, 255, 46, .55); }
.btn:active { transform: translateY(0); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px rgba(245,245,240,.22); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.btn.lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.pulse { animation: btnPulse 2.8s ease-in-out infinite; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,255,46,.45); } 50% { box-shadow: 0 0 0 14px rgba(200,255,46,0); } }

/* ── Nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(14,16,19,.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav .logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--chalk); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--chalk); width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav .btn { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px;
    background: rgba(14,16,19,.97); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
}

/* ── Hero ── */
.hero { padding: 150px 0 90px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.grid-bg { position: absolute; inset: -2px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); animation: gridMove 22s linear infinite; }
@keyframes gridMove { to { background-position: 64px 64px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb.o1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(200,255,46,.55), transparent 65%); top: -200px; right: -120px; animation: orb1 18s ease-in-out infinite alternate; }
.orb.o2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(200,255,46,.22), transparent 65%); bottom: -220px; left: -160px; animation: orb2 22s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(-160px, 120px) scale(1.15); } }
@keyframes orb2 { to { transform: translate(180px, -80px) scale(.9); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(200,255,46,.09);
  box-shadow: inset 0 0 0 1px rgba(200,255,46,.28); font-size: 14px; font-weight: 600; color: var(--chalk); margin-bottom: 26px; text-decoration: none; }
.pill b { background: var(--lime); color: var(--iron); padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(36px, 4.3vw, 60px); font-weight: 700; }
.hero h1 .hl { color: var(--lime); }
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em) rotateX(60deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.hero h1 .underline path { stroke: var(--lime); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin: 26px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--lime); flex: none; }

.hero-visual { position: relative; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(35,38,45,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px -12px rgba(0,0,0,.6), inset 0 0 0 1px var(--line);
  font-size: 14px; line-height: 1.3; animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card b { font-weight: 700; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: rgba(200,255,46,.14); color: var(--lime); }
.float-card .ic.fire { background: rgba(255,106,43,.15); color: var(--streak); }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.c1 { top: 6%; left: -8%; animation-delay: -1s; }
.float-card.c2 { bottom: 16%; left: -12%; animation-delay: -3s; }
.float-card.c3 { top: 4%; right: -6%; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: livePulse 2s infinite; display: inline-block; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Image slots: replace the inner .slot-label with an <img> when the real image arrives. */
.slot { position: relative; border-radius: var(--radius); overflow: hidden; background:
  linear-gradient(135deg, rgba(200,255,46,.06), rgba(35,38,45,.6)), repeating-linear-gradient(135deg, transparent 0 14px, rgba(245,245,240,.025) 14px 15px), var(--iron-2);
  box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; min-height: 240px; }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-label { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--dim); font-size: 13px; padding: 20px; }
.slot-label svg { width: 34px; height: 34px; opacity: .6; }
.slot-label b { color: var(--muted); font-size: 14px; }
.slot.glow { box-shadow: inset 0 0 0 1px rgba(200,255,46,.25), 0 40px 120px -30px rgba(200,255,46,.35); }
.hero .slot { aspect-ratio: 16 / 10; min-height: 0; }
.slot .scan { position: absolute; z-index: 2; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lime), transparent); top: 0; animation: scan 3.6s ease-in-out infinite; opacity: .7; }
@keyframes scan { 50% { top: 100%; } 100% { top: 0; } }

@media (max-width: 920px) {
  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .float-card.c1 { left: 4%; top: -24px; } .float-card.c2 { left: 2%; bottom: -22px; } .float-card.c3 { right: 2%; }
}
@media (max-width: 520px) { .float-card { font-size: 12px; padding: 9px 12px 9px 9px; } .float-card .ic { width: 30px; height: 30px; } .float-card.c3 { display: none; } }

/* ── Marquee ── */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--iron-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--muted); white-space: nowrap; }
.marquee-item svg { width: 20px; height: 20px; color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.stat { background: var(--iron); padding: 30px 26px; }
.stat-num { font-family: var(--display); font-size: clamp(38px, 4.4vw, 54px); font-weight: 700; line-height: 1; color: var(--chalk); }
.stat-num em { font-style: normal; color: var(--lime); }
.stat-l { color: var(--muted); font-size: 15px; margin-top: 10px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ── Problem / drift chart ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.chart-card { background: var(--graphite); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.chart-head b { font-family: var(--display); font-size: 18px; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .ax { stroke: var(--line); stroke-width: 1; }
.chart .lbl { fill: var(--dim); font-size: 11px; font-family: Inter, sans-serif; }
.chart .without { stroke: var(--dim); stroke-width: 3; fill: none; stroke-dasharray: 6 6; }
.chart .with { stroke: var(--lime); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.chart .area { fill: url(#limeFade); opacity: 0; transition: opacity 1s 1s; }
.chart.in .with, .in .chart .with { animation: draw 2s .2s ease forwards; }
.chart.in .area, .in .chart .area { opacity: 1; }
.pain-list { display: grid; gap: 14px; margin-top: 30px; }
.pain { display: flex; gap: 14px; align-items: flex-start; }
.pain .x { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(245,245,240,.06); display: grid; place-items: center; color: var(--muted); margin-top: 1px; }
.pain .x svg { width: 14px; height: 14px; }
.pain p { color: var(--muted); }
.pain p b { color: var(--chalk); font-weight: 600; }

/* ── Retention timeline ── */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; position: relative; }
.moments::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 2px; background: linear-gradient(90deg, transparent, rgba(200,255,46,.5), transparent); }
.moment { position: relative; background: var(--graphite); border-radius: var(--radius); padding: 30px 26px 28px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.moment .step { width: 54px; height: 54px; border-radius: 16px; background: var(--iron); box-shadow: inset 0 0 0 1.5px rgba(200,255,46,.4); display: grid; place-items: center;
  color: var(--lime); font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 22px; position: relative; }
.moment .when { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.moment h3 { margin: 6px 0 10px; }
.moment > p { color: var(--muted); font-size: 15px; }
.fixes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.fixes li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.fixes svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 2px; }
.moment .msg { margin-top: 22px; background: var(--iron); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.moment .msg b { color: var(--chalk); display: block; font-size: 13px; margin-bottom: 2px; }
@media (max-width: 920px) { .moments { grid-template-columns: 1fr; } .moments::before { display: none; } }

/* ── Feature bento ── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 64px; }
.tile { --mx: 50%; --my: 50%; position: relative; background: var(--graphite); border-radius: var(--radius); padding: 28px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s ease, box-shadow .3s; grid-column: span 2; display: flex; flex-direction: column; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(200,255,46,.13), transparent 60%); }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(200,255,46,.28); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; }
.tile.xl { grid-column: span 4; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(200,255,46,.12); color: var(--lime); display: grid; place-items: center; margin-bottom: 20px; }
.tile .ico.fire { background: rgba(255,106,43,.14); color: var(--streak); }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .slot { margin-top: 22px; min-height: 180px; flex: 1; }
.tile .slot.shot { min-height: 0; flex: none; }
.slot.shot > img { object-position: left top; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: rgba(245,245,240,.08); color: var(--muted); margin-left: 8px; vertical-align: 3px; }
@media (max-width: 920px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide, .tile.xl { grid-column: span 1; } .tile.xl { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.xl { grid-column: span 1; } }

/* Mini check-in animation inside a tile */
.checkin-demo { margin-top: 22px; display: grid; gap: 8px; }
.ci-row { display: flex; align-items: center; gap: 10px; background: var(--iron); border-radius: 12px; padding: 10px 12px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line);
  animation: ciIn 9s ease-in-out infinite; opacity: 0; }
.ci-row:nth-child(2) { animation-delay: 3s; } .ci-row:nth-child(3) { animation-delay: 6s; }
.ci-row .av { width: 30px; height: 30px; border-radius: 50%; background: var(--graphite-2); display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--lime); flex: none; }
.ci-row .t { margin-left: auto; color: var(--muted); font-size: 12px; }
@keyframes ciIn { 0% { opacity: 0; transform: translateY(10px); } 6%, 60% { opacity: 1; transform: none; } 70%, 100% { opacity: .35; transform: none; } }

/* Face scan visual */
.face-demo { margin-top: 22px; flex: 1; min-height: 150px; border-radius: 16px; background: var(--iron); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden; }
.face-demo svg { width: 96px; height: 96px; color: var(--lime); }
.face-demo .corners path { stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; }
.face-demo .head { stroke: rgba(245,245,240,.35); stroke-width: 2; fill: none; }
.face-demo .beam { position: absolute; left: 22%; right: 22%; height: 2px; background: var(--lime); box-shadow: 0 0 16px var(--lime); top: 20%; animation: beam 2.4s ease-in-out infinite; }
@keyframes beam { 50% { top: 76%; } }
.face-demo .ok { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--lime); letter-spacing: .08em;
  text-transform: uppercase; animation: okBlink 2.4s ease-in-out infinite; white-space: nowrap; }
@keyframes okBlink { 0%, 60% { opacity: 0; } 70%, 100% { opacity: 1; } }

/* ── TV section ── */
.tv-frame { position: relative; margin-top: 60px; border-radius: 28px; padding: 14px; background: linear-gradient(180deg, #2a2d34, #15171b); box-shadow: 0 50px 140px -40px rgba(200,255,46,.35), inset 0 0 0 1px var(--line); }
.tv-frame .slot { aspect-ratio: 16 / 9; border-radius: 18px; min-height: 0; }
.tv-stand { width: 26%; height: 16px; margin: 0 auto; background: linear-gradient(180deg, #2a2d34, #101114); border-radius: 0 0 14px 14px; }
.tv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.tv-chip { padding: 9px 16px; border-radius: 999px; background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.tv-chip.on { color: var(--iron); background: var(--lime); box-shadow: none; }

/* ── Pricing ── */
.pricing { background: radial-gradient(ellipse 55% 38% at 50% 34%, rgba(200,255,46,.08), transparent 70%); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; max-width: 920px; margin-left: auto; margin-right: auto; }
.plan { position: relative; background: var(--graphite); border-radius: 26px; padding: 34px 32px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s, box-shadow .3s; }
.plan.active { transform: translateY(-6px); box-shadow: inset 0 0 0 2px var(--lime), 0 30px 80px -30px rgba(200,255,46,.45); }
.plan .badge { position: absolute; top: -13px; right: 26px; background: var(--lime); color: var(--iron); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan-name { font-family: var(--display); font-weight: 700; font-size: 24px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 4px; }
.price .cur { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--muted); }
.price .amt { font-family: var(--display); font-size: 68px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.price .per { color: var(--muted); font-weight: 600; }
.price-sub { color: var(--lime); font-weight: 700; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 2px; }
.plans.one { grid-template-columns: 1fr; max-width: 640px; }
.plan ul.two-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan ul.two-col { grid-template-columns: 1fr; } }

.calc { max-width: 920px; margin: 34px auto 0; background: var(--iron-2); border-radius: 26px; padding: 34px; box-shadow: inset 0 0 0 1px var(--line); }
.calc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.calc-top label { font-family: var(--display); font-weight: 700; font-size: 22px; }
.calc-top output { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--lime); line-height: 1; }
.calc-top output small { font-size: 18px; color: var(--muted); margin-left: 6px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; margin: 26px 0 30px; cursor: pointer;
  background: linear-gradient(90deg, var(--lime) var(--fill, 20%), var(--graphite-2) var(--fill, 20%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--chalk); border: 6px solid var(--lime); box-shadow: 0 6px 20px rgba(0,0,0,.5); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--chalk); border: 6px solid var(--lime); cursor: grab; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.co { background: var(--graphite); border-radius: 18px; padding: 18px; }
.co-v { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; }
.co-l { color: var(--muted); font-size: 13px; margin-top: 4px; }
.co.hl { background: var(--lime); color: var(--iron); }
.co.hl .co-l { color: rgba(14,16,19,.7); }
.calc-compare { margin-top: 22px; color: var(--muted); font-size: 15px; }
.calc-compare b { color: var(--chalk); }
@media (max-width: 760px) { .calc { padding: 24px 20px; } .calc-out { grid-template-columns: 1fr; } }

.roi { max-width: 920px; margin: 22px auto 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: center; background: linear-gradient(120deg, rgba(200,255,46,.12), rgba(200,255,46,.02));
  border-radius: 26px; padding: 30px 34px; box-shadow: inset 0 0 0 1px rgba(200,255,46,.22); }
.roi h3 { font-size: 26px; }
.roi p { color: var(--muted); margin-top: 8px; }
.roi-box { background: var(--iron); border-radius: 18px; padding: 20px; }
.roi-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 15px; }
.roi-row span { color: var(--muted); }
.roi-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--display); font-size: 20px; }
.roi-row.total b { color: var(--lime); }
.roi input { width: 110px; background: var(--graphite); border: 0; color: var(--chalk); border-radius: 10px; padding: 6px 10px; font: 600 15px Inter, sans-serif; text-align: right; }
@media (max-width: 760px) { .roi { grid-template-columns: 1fr; padding: 24px 20px; } }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; counter-reset: s; }
.stepc { background: var(--graphite); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); }
.stepc .n { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(200,255,46,.7); margin-bottom: 18px; }
.stepc p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ── Gallery slots ── */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 18px; margin-top: 60px; }
.gallery .slot:first-child { grid-row: span 2; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .gallery .slot { min-height: 200px; } .gallery .slot:first-child { grid-column: span 2; grid-row: auto; min-height: 280px; } }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 56px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--graphite); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(200,255,46,.12); position: relative; transition: transform .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--lime); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ── Final CTA ── */
.final { padding: 60px 0 120px; }
.final-card { position: relative; border-radius: 34px; overflow: hidden; padding: clamp(44px, 7vw, 90px) clamp(24px, 6vw, 80px); text-align: center; background: var(--lime); color: var(--iron); }
.final-card h2 { font-size: clamp(36px, 5.6vw, 68px); }
.final-card p { font-size: 19px; max-width: 600px; margin: 18px auto 34px; color: rgba(14,16,19,.75); }
.final-card .btn { background: var(--iron); color: var(--lime); }
.final-card .btn:hover { box-shadow: 0 14px 40px -10px rgba(14,16,19,.6); }
.final-card .mark-bg { position: absolute; width: 520px; right: -120px; bottom: -160px; opacity: .08; transform: rotate(-12deg); pointer-events: none; }
.final-card .mark-bg path { fill: var(--iron); }
.final-card .mark-bg.l { left: -160px; top: -180px; right: auto; bottom: auto; width: 420px; transform: rotate(18deg); }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 50px 0 110px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot img { height: 30px; margin-bottom: 12px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--chalk); }

/* ── Sticky mobile CTA ── */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 18px;
  border-radius: 999px; background: rgba(35,38,45,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 1px var(--line);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.sticky-cta.show { transform: none; }
.sticky-cta div { font-size: 13px; line-height: 1.3; color: var(--muted); }
.sticky-cta b { color: var(--chalk); display: block; font-size: 15px; }
.sticky-cta .btn { margin-left: auto; min-height: 46px; padding: 0 18px; font-size: 15px; }
@media (max-width: 920px) { .sticky-cta { display: flex; } }

/* ── Modal form ── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-bg { position: absolute; inset: 0; background: rgba(6,7,9,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--graphite); border-radius: 28px; padding: 34px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), inset 0 0 0 1px var(--line); transform: translateY(30px) scale(.97); transition: transform .4s cubic-bezier(.2,1.1,.4,1); }
.modal.open .modal-card { transform: none; }
.modal-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--lime); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(245,245,240,.07); color: var(--chalk); cursor: pointer; display: grid; place-items: center; }
.modal-x svg { width: 18px; height: 18px; }
.modal h3 { font-size: 28px; padding-right: 40px; }
.modal .sub { color: var(--muted); margin: 8px 0 22px; font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: span 2; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 50px; border-radius: 14px; border: 0; background: var(--iron); color: var(--chalk); padding: 0 16px; font: 500 16px Inter, sans-serif;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.field input::placeholder { color: var(--dim); }
.field.bad input { box-shadow: inset 0 0 0 2px #FF5C5C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { grid-column: span 2; color: #FF7A7A; font-size: 14px; min-height: 0; }
.form-foot { grid-column: span 2; color: var(--dim); font-size: 12px; text-align: center; }
.plan-hint { grid-column: span 2; background: rgba(200,255,46,.08); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--chalk); box-shadow: inset 0 0 0 1px rgba(200,255,46,.2); }
.plan-hint b { color: var(--lime); }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(14,16,19,.3); border-top-color: var(--iron); animation: spin .8s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
.btn.loading .lbl { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { text-align: center; padding: 10px 0; }
.done .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 6px auto 22px; animation: pop .6s cubic-bezier(.2,1.6,.4,1); }
.done .tick svg { width: 40px; height: 40px; color: var(--iron); }
.done .tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .3s ease forwards; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.done p { color: var(--muted); margin: 10px 0 24px; }
@media (max-width: 520px) { .modal-card { padding: 28px 20px; border-radius: 22px; } .form { grid-template-columns: 1fr; } .form .full, .form-err, .form-foot, .plan-hint { grid-column: span 1; } }

/* ── Scroll reveal ── */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .chart .with { stroke-dashoffset: 0; }
}
