/* Recupon landing v2 — cinematic dark
   Palette lock: deep forest + mint accent (#3ddc84). One accent, one radius system, one theme. */

@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #050d09;
  --bg-2: #081712;
  --surface: rgba(14, 33, 24, 0.55);
  --surface-solid: #0c1f16;
  --stroke: rgba(94, 234, 170, 0.13);
  --stroke-strong: rgba(94, 234, 170, 0.28);
  --accent: #3ddc84;
  --accent-deep: #1d9e5d;
  --text: #ecf7f1;
  --muted: #8fb3a3;
  --radius: 20px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }

::selection { background: rgba(61, 220, 132, 0.3); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #04140c;
  box-shadow: 0 8px 30px rgba(61, 220, 132, 0.25);
}
.btn--primary:hover { background: #5eeaa0; box-shadow: 0 12px 40px rgba(61, 220, 132, 0.35); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(236, 247, 241, 0.06);
  color: var(--text);
  border: 1px solid var(--stroke-strong);
}
.btn--ghost:hover { background: rgba(236, 247, 241, 0.12); transform: translateY(-2px); }

.btn--nav { padding: 10px 20px; font-size: 14px; }
.btn--large { padding: 16px 30px; font-size: 16px; }
.btn--xl { padding: 20px 44px; font-size: 18px; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 17, 12, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--stroke);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -0.01em; }
.nav__logo-img { width: 30px; height: 30px; border-radius: 9px; }
.nav__links { display: flex; gap: 6px; list-style: none; margin-left: auto; }
.nav__links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: rgba(236, 247, 241, 0.07); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav__burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav.open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(6, 17, 12, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--stroke);
}
.nav__mobile a { padding: 12px 8px; color: var(--text); font-weight: 500; border-radius: 12px; }
.nav__mobile a.btn { justify-content: center; margin-top: 8px; }
.nav.open .nav__mobile { display: flex; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  overflow: hidden;
}
.hero__ambient { position: absolute; inset: 0; z-index: -1; }
.hero__ambient-video {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(56px) saturate(1.5) brightness(0.5);
  transform: scale(1.15);
}
.hero__ambient-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 72% 45%, rgba(61, 220, 132, 0.10), transparent 65%),
    linear-gradient(180deg, rgba(5, 13, 9, 0.55) 0%, rgba(5, 13, 9, 0.35) 45%, var(--bg) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--stroke-strong);
  background: rgba(61, 220, 132, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--accent); }

.hero__subtitle {
  font-size: 18.5px;
  font-weight: 300;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__device { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(340px, 72vw);
  aspect-ratio: 9 / 19.4;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #14271d, #081511);
  border: 1px solid var(--stroke-strong);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(61, 220, 132, 0.14);
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone__notch {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  background: #050d09;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  background: var(--bg-2);
}

/* ============ STATS STRIP ============ */
.strip { border-block: 1px solid var(--stroke); background: rgba(10, 25, 18, 0.4); }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-block: 44px;
}
.strip__num {
  display: block;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.strip__label { font-size: 14px; color: var(--muted); max-width: 30ch; display: block; margin-top: 4px; }

/* ============ PROBLEM BAND ============ */
.problem { padding: 120px 0; }
.problem__text {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 24ch;
  color: var(--muted);
}
.problem__text strong { color: var(--text); font-weight: 700; }

/* ============ SECTION HEAD ============ */
.section-head { margin-bottom: 64px; max-width: 640px; }
.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 17px; max-width: 52ch; }

/* ============ FEATURES / BENTO ============ */
.features { padding: 40px 0 120px; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento__cell {
  position: relative;
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bento__cell:hover { transform: translateY(-4px); border-color: var(--stroke-strong); }
.bento__cell i.ph { font-size: 30px; color: var(--accent); display: block; margin-bottom: 16px; }
.bento__cell h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.bento__cell p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.bento__cell a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.bento__cell--hero { grid-column: span 4; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.bento__cell--hero .bento__body { max-width: 34ch; }
.bento__cell--wide { grid-column: span 4; }
.bento__cell--accent { background: linear-gradient(140deg, rgba(61, 220, 132, 0.14), rgba(61, 220, 132, 0.04)); border-color: var(--stroke-strong); }

.bento__img { border-radius: 14px; border: 1px solid var(--stroke); }
.bento__img--right { width: 180px; margin-right: -8px; }
.bento__img--top { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; margin: -30px -30px 22px; width: calc(100% + 60px); max-width: none; }

/* ============ STORES MARQUEE ============ */
.stores { padding: 24px 0 96px; }
.stores__label { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 36px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track span {
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: 14px 28px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============ STEPS ============ */
.how { padding: 110px 0; border-block: 1px solid var(--stroke); background: rgba(10, 25, 18, 0.35); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.step__num {
  position: absolute;
  top: -18px;
  right: 16px;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(94, 234, 170, 0.22);
  user-select: none;
}
.step__title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 12px; }
.step__desc { color: var(--muted); font-size: 15px; }

/* ============ COMPARE ============ */
.compare { padding: 110px 0; }
.compare__wrap {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.compare__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare__table th, .compare__table td { padding: 18px 24px; text-align: left; }
.compare__table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--stroke); }
.compare__table thead .is-recupon { color: var(--accent); }
.table-logo { display: inline-block; width: 22px; height: 22px; border-radius: 7px; margin-right: 8px; vertical-align: -5px; }
.compare__table tbody tr + tr td { border-top: 1px solid rgba(94, 234, 170, 0.07); }
.compare__table td:first-child { color: var(--muted); font-weight: 500; }
.compare__table .is-recupon { color: var(--text); font-weight: 600; }
.compare__table .is-no { color: rgba(236, 247, 241, 0.35); }
.compare__table .is-maybe { color: var(--muted); }
.compare__table .ph { margin-right: 8px; vertical-align: -2px; }
.is-recupon .ph { color: var(--accent); }
.is-no .ph { color: rgba(236, 247, 241, 0.3); }
.is-maybe .ph { color: #d8b45a; }

/* ============ FAQ ============ */
.faq { padding: 0 0 110px; }
.faq__list { max-width: 780px; }
.faq__item {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: var(--stroke-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ph { color: var(--accent); font-size: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq__item[open] summary .ph { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); font-size: 15px; max-width: 62ch; }
.faq__answer a { text-decoration: underline; text-underline-offset: 3px; }

/* ============ CTA ============ */
.cta {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--stroke);
  background:
    radial-gradient(50% 70% at 50% 110%, rgba(61, 220, 132, 0.16), transparent 70%),
    var(--bg-2);
}
.cta__inner { text-align: center; }
.cta__title { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 18px; }
.cta__sub { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
.cta__note { margin-top: 20px; color: var(--muted); font-size: 13px; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--stroke); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-block: 56px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__logo { width: 40px; height: 40px; border-radius: 12px; }
.footer__name { font-weight: 700; font-size: 17px; }
.footer__tag { color: var(--muted); font-size: 13.5px; max-width: 30ch; }
.footer__links { display: flex; gap: 72px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.footer__col a { color: var(--text); font-size: 14.5px; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer__col a:hover { opacity: 1; color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--stroke); padding-block: 22px; }
.footer__bottom p { font-size: 13px; color: var(--muted); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; text-align: left; }
  .hero { padding-top: calc(var(--nav-h) + 40px); min-height: 0; }
  .hero__device { order: -0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell, .bento__cell--hero, .bento__cell--wide { grid-column: span 2; }
  .bento__cell--hero { grid-template-columns: 1fr; }
  .bento__img--right { width: 100%; margin: 12px 0 -8px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .hero { min-height: 0; padding-bottom: 56px; }
  .hero__title { font-size: clamp(34px, 9.4vw, 44px); }
  .hero__subtitle { font-size: 16.5px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .phone { width: min(300px, 78vw); }
  .strip__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .problem { padding: 80px 0; }
  .features { padding-bottom: 80px; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell, .bento__cell--hero, .bento__cell--wide { grid-column: span 1; }
  .compare__table { font-size: 13.5px; }
  .compare__table th, .compare__table td { padding: 13px 14px; }
  .footer__inner { flex-direction: column; }
  .footer__links { gap: 48px; flex-wrap: wrap; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .btn, .btn--primary:hover, .btn--ghost:hover { transition: none; transform: none; }
}
