/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #000000;
  --surface:   #133324;
  --surface2:  #0b1f15;
  --border:    #37674A;
  --primary:   #4FB87E;
  --primary-d: #3a9363;
  --secondary: #C2DDA6;
  --text:      #FCFCFB;
  --muted:     #8AA898;
  --red:       #E24B4A;
  --amber:     #EF9F27;
  --nav-h:     68px;
  --r:         14px;
  --r-sm:      8px;
  --max-w:     1120px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: #000; border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-d); border-color: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,184,126,.3); }
.btn-ghost    { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover    { border-color: var(--primary); color: var(--primary); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: #000; }
.btn-lg  { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--r); }
.btn-full { width: 100%; justify-content: center; padding: 16px; border-radius: var(--r); margin-top: auto; }

/* ── Logo ────────────────────────────────────────────────── */
.logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.logo__sudo   { color: var(--primary); }
.logo__squ4wk { color: var(--secondary); }

/* ── Section shared ─────────────────────────────────────── */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.tag {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.accent { color: var(--primary); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.5); }

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}
.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav__links a {
  color: var(--muted);
  font-size: .93rem;
  font-weight: 500;
  transition: color .18s;
}
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; gap: 10px; align-items: center; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .07;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 24px;
}
.badge__dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero__headline { margin-bottom: 22px; }
.hero__sub {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero__cta  { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__note { color: var(--muted); font-size: .82rem; }

/* Phone mockup */
.hero__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__phone {
  width: 270px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(79,184,126,.12);
  animation: phoneFloat 4s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.phone__screen  { padding: 20px 16px 24px; }
.phone__topbar  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.phone__title   { font-family: 'Space Grotesk', sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.phone__stat    { background: rgba(79,184,126,.15); color: var(--primary); padding: 4px 8px; border-radius: 6px; font-family: 'Space Grotesk', sans-serif; font-size: .68rem; font-weight: 700; }
.phone__mascot  { display: flex; justify-content: center; margin-bottom: 14px; }
.phone__mascot img { width: 76px; height: 76px; object-fit: contain; }
.phone__prompt  { font-family: 'Space Grotesk', sans-serif; font-size: .88rem; font-weight: 700; text-align: center; margin-bottom: 10px; }

.phone__email {
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.phone__email-from    { font-size: .68rem; color: var(--red); font-weight: 700; margin-bottom: 4px; }
.phone__email-subject { font-size: .68rem; color: var(--muted); }

.phone__options { display: flex; flex-direction: column; gap: 7px; }
.phone__option  {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
}
.phone__option--bad  { color: var(--muted); background: rgba(255,255,255,.03); }
.phone__option--good { color: var(--primary); border-color: var(--primary); background: rgba(79,184,126,.1); }

/* Floating badges */
.float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 7px 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  pointer-events: none;
}
.float--1 { top: 14%;  right: -12px; animation: floatA 3.2s ease-in-out infinite; }
.float--2 { bottom: 32%; left: -28px;  animation: floatA 3.8s ease-in-out infinite .6s; }
.float--3 { bottom: 12%; right: -8px;  animation: floatA 3s ease-in-out infinite 1.1s; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 760px;
}
.stat         { flex: 1; text-align: center; }
.stat__num    { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 5px; }
.stat__label  { font-size: .82rem; color: var(--muted); font-weight: 500; }
.stat-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* ── Features ────────────────────────────────────────────── */
.features { background: var(--bg); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature-card__icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3    { margin-bottom: 10px; }
.feature-card p     { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.feature-card__face {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: .22;
  transition: opacity .2s;
}
.feature-card:hover .feature-card__face { opacity: .5; }

/* ── Units ───────────────────────────────────────────────── */
.units { background: var(--surface2); }
.units__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.unit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 34px 30px;
  position: relative;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.unit-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.unit-card__num  {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}
.unit-card__icon { font-size: 2.1rem; margin-bottom: 14px; }
.unit-card h3    { margin-bottom: 10px; }
.unit-card p     { color: var(--muted); font-size: .93rem; line-height: 1.65; margin-bottom: 20px; flex: 1; }
.unit-card__pill {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(79,184,126,.1);
  color: var(--primary);
  border: 1px solid rgba(79,184,126,.25);
  font-size: .78rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ── How it works ────────────────────────────────────────── */
.how { background: var(--bg); }
.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.how__step { flex: 1; text-align: center; padding: 0 16px; }
.how__step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.how__step-icon { font-size: 2.4rem; margin-bottom: 14px; }
.how__step h3   { margin-bottom: 10px; }
.how__step p    { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.how__arrow {
  flex-shrink: 0;
  color: var(--border);
  font-size: 1.6rem;
  padding-top: 54px;
}

/* ── Quote band ──────────────────────────────────────────── */
.quote-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
}
.quote-band__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 780px;
  margin: 0 auto;
}
.quote-band__img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
}
.quote-band__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 12px;
}
.quote-band__text em { color: var(--primary); font-style: italic; }
.quote-band__attr { color: var(--muted); font-size: .88rem; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing { background: var(--bg); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 24px 60px rgba(79,184,126,.12);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan__name   { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.plan__price  { display: flex; align-items: baseline; gap: 4px; margin-bottom: 30px; }
.plan__amount { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 800; color: var(--text); }
.plan__per    { color: var(--muted); font-size: .88rem; }
.plan__list   { display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; flex: 1; }
.plan__list li { font-size: .9rem; padding-left: 4px; }
.plan__list li.on  { color: var(--text); }
.plan__list li.off { color: var(--muted); opacity: .45; }

/* ── CTA section ─────────────────────────────────────────── */
.cta-section {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 100px 24px;
  text-align: center;
}
.cta-section__inner  { max-width: 600px; margin: 0 auto; }
.cta-section__img    { width: 130px; height: 130px; object-fit: contain; margin: 0 auto 28px; }
.cta-section h2      { margin-bottom: 14px; }
.cta-section p       { color: var(--muted); font-size: 1.05rem; margin-bottom: 36px; }
.cta-section__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.cta-section__note   { color: var(--muted); font-size: .82rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
}
.footer__brand .logo { margin-bottom: 14px; display: inline-block; }
.footer__brand p     { color: var(--muted); font-size: .88rem; line-height: 1.65; margin-bottom: 20px; }
.footer__socials      { display: flex; gap: 10px; }
.footer__socials a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  font-size: .85rem;
  transition: all .18s;
}
.footer__socials a:hover { border-color: var(--primary); color: var(--primary); }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-family: 'Space Grotesk', sans-serif; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a  { color: var(--muted); font-size: .88rem; transition: color .18s; }
.footer__col a:hover { color: var(--primary); }

.footer__bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p { color: var(--muted); font-size: .8rem; }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner      { grid-template-columns: 1fr; text-align: center; }
  .hero__sub        { margin-left: auto; margin-right: auto; }
  .hero__cta        { justify-content: center; }
  .hero__phone-wrap { display: none; }
  .features__grid   { grid-template-columns: 1fr 1fr; }
  .footer__inner    { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 680px) {
  .nav__links   { display: none; }
  .nav__actions { display: none; }
  .hamburger    { display: flex; }
  .section      { padding: 64px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .units__grid    { grid-template-columns: 1fr; }
  .pricing__grid  { grid-template-columns: 1fr; }
  .how__steps     { flex-direction: column; align-items: center; gap: 40px; }
  .how__arrow     { display: none; }
  .quote-band__inner { flex-direction: column; text-align: center; }
  .stats-bar__inner  { flex-wrap: wrap; }
  .stat-divider  { display: none; }
  .stat          { flex: 0 0 50%; padding: 12px; }
  .footer__cols  { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

/* Mobile nav open */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(0,0,0,.97);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  gap: 22px;
  z-index: 199;
}
