/* ==========================================================================
   RoxoGo — Design tokens
   A near-black base (with the faintest green cast, never flat) carries a
   single confident signal-green accent — the brand's #00A651 tuned into a
   small ramp for gradients, glows and tints. A warm metal gold is kept in
   reserve, used only to flag "new" and to echo the Member card's finish.
   Two typefaces: Fraunces (a display serif, the "engraved card" voice) and
   Inter (quiet and functional, for everything you have to read fast).
   ========================================================================== */

:root {
  /* color */
  --bg: #0a0d0b;
  --bg-alt: #0d100e;
  --surface: #131813;
  --surface-2: #1a201a;
  --line: rgba(232, 245, 235, 0.08);
  --line-strong: rgba(232, 245, 235, 0.16);

  --green: #00a651;
  --green-bright: #2ed573;
  --green-tint: #8bf2b3;
  --green-wash: rgba(0, 166, 81, 0.16);
  --green-deep: #06592f;

  --gold: #d6b573;
  --gold-bright: #ecd6a0;

  --text: #f2f7f3;
  --text-muted: #9caa9f;
  --text-faint: #62705f;

  /* type */
  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* layout */
  --max: 1200px;
  --gutter: clamp(24px, 5vw, 64px);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle grain/gradient so the black isn't flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(0, 166, 81, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(214, 181, 115, 0.05), transparent 55%),
    var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 560;
  color: var(--text);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.25; }

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }
a { color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font-family: inherit; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}

/* ---------------------------------- nav --------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 19, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-brand .logo img { height: 30px; }

.nav-links {
  display: flex;
  gap: 32px;
  margin: 0 auto 0 0;
  list-style: none;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-signin {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
}
.nav-signin:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { display: none; }
}

.nav-links .mobile-auth { display: none; }
@media (max-width: 860px) {
  .nav-links .mobile-auth { display: block; margin-top: 6px; }
  .nav-links .mobile-auth:first-of-type { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-links .mobile-auth a.btn { width: 100%; justify-content: center; }
}

/* --------------------------------- buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0, 166, 81, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(0, 166, 81, 0.7); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--green-tint); background: var(--green-wash); }

.btn-block { width: 100%; }

/* --------------------------------- hero ---------------------------------- */

.hero {
  padding: 88px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--green-tint);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 18px;
}

.hero h1 { max-width: 12ch; }

.hero .lede {
  font-size: 19px;
  max-width: 46ch;
  margin-top: 20px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  color: var(--text);
}
.hero-stat span {
  font-size: 14px;
  color: var(--text-faint);
}

/* hero banner photo */
.card-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,81,0.28), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  animation: float-in 1.1s cubic-bezier(.2,.9,.25,1) both, hover-float 6s ease-in-out 1.1s infinite;
}

.hero-photo-frame img {
  width: 100%;
  border-radius: var(--radius-l);
  display: block;
}

@keyframes float-in {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: -8%;
  bottom: 10%;
  background: rgba(19, 24, 19, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  animation: float-in 1.1s 0.2s cubic-bezier(.2,.9,.25,1) both;
}
.hero-badge .ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--green-tint);
}
.hero-badge b { display: block; font-family: var(--display); font-size: 15px; color: var(--text); }
.hero-badge span { font-size: 12px; color: var(--text-faint); }

.tap-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--green-bright);
  right: 4%;
  top: 8%;
  z-index: 1;
  animation: ripple 2.6s ease-out 1.1s infinite;
}
.tap-ring.two { animation-delay: 1.9s; border-color: var(--gold-bright); }

@keyframes ripple {
  0% { transform: scale(0.35); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 0; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .card-stage { min-height: 300px; order: -1; }
  .hero-photo-frame { max-width: 300px; }
  .hero-badge { left: 0; bottom: -6%; }
}

/* ------------------------------ showcase marquee ------------------------------ */

.showcase-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 56px;
  overflow: hidden;
}

.showcase-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}
.showcase-head .kicker {
  font-family: var(--display);
  font-style: italic;
  color: var(--green-tint);
  font-size: 17px;
  margin-bottom: 8px;
}
.showcase-head p { margin: 8px auto 0; }

.marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  width: max-content;
  animation: marquee-scroll 52s linear infinite;
  padding: 10px 0;
}
.marquee-track.paused { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.phone-card-item { flex: none; width: 176px; text-align: center; }

.phone-card {
  width: 176px;
  aspect-ratio: 9 / 18.5;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #161d17, #0e130f);
  box-shadow: 0 24px 40px -22px rgba(0,0,0,0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-card-item:nth-child(odd) .phone-card { transform: rotate(-2.5deg); }
.phone-card-item:nth-child(even) .phone-card { transform: rotate(2.5deg); }
.phone-card-item:hover .phone-card {
  transform: rotate(0) scale(1.05) translateY(-6px);
  box-shadow: 0 30px 50px -18px rgba(0,166,81,0.35);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-card-caption {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-faint);
}

@media (max-width: 640px) {
  .phone-card-item, .phone-card { width: 132px; }
  .marquee-track { gap: 18px; animation-duration: 38s; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
  .hero { padding: 48px 0 36px; }
  .page-hero, .nfc-hero { padding: 48px 0 32px; }
  .hero-ctas .btn, .hero-ctas a { flex: 1 1 auto; text-align: center; }
  .cta-band { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1; }
}

/* -------------------------------- sections -------------------------------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head .kicker {
  font-family: var(--display);
  font-style: italic;
  color: var(--green-tint);
  font-size: 17px;
  margin-bottom: 10px;
}

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* -------------------------------- steps ---------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
  border-top: 1px solid var(--line-strong);
}

.step .num {
  font-family: var(--display);
  font-size: 15px;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 18px;
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}

/* ------------------------------- bento grid ------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 20px;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tile:hover { border-color: var(--line-strong); background: var(--surface-2); }

.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; font-size: 15px; }
.tile .icon-badge { margin-bottom: auto; }

.tile-lg { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.tile-lg h3 { font-size: clamp(22px, 2.6vw, 30px); }

.tile-wide { grid-column: span 2; }

.tile-icon {
  width: 36px;
  height: 36px;
  color: var(--green-tint);
  margin-bottom: auto;
}

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-lg, .tile-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-lg, .tile-wide { grid-column: span 1; grid-row: auto; }
}

/* ------------------------------ feature rows ------------------------------ */

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
}
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.feature-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.feature-row.reverse .feature-visual { order: 2; }

.feature-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.feature-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-style: italic;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
}
.feature-list li svg { flex: none; margin-top: 3px; color: var(--green-tint); }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
}

/* --------------------------------- pricing -------------------------------- */

.plan-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  margin-bottom: 48px;
}
.plan-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.plan-toggle button.active {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #fff;
}

.plan-group { display: none; }
.plan-group.active { display: block; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: var(--green);
  box-shadow: 0 30px 60px -30px rgba(0,166,81,0.4);
  margin-top: -10px;
}

.plan-badge {
  align-self: flex-start;
  font-size: 12px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-style: italic;
  margin-bottom: 14px;
}

.plan-name { font-family: var(--display); font-size: 22px; margin-bottom: 4px; }
.plan-audience { font-size: 14px; color: var(--text-faint); margin-bottom: 20px; }

.plan-price {
  font-family: var(--display);
  font-size: 46px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.plan-price span { font-size: 15px; color: var(--text-faint); font-family: var(--body); }
.plan-cycle { font-size: 13px; color: var(--text-faint); margin-bottom: 26px; }

.plan-section-label {
  font-size: 12px;
  text-transform: none;
  color: var(--text-faint);
  margin: 18px 0 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.plan-section-label:first-of-type { border-top: none; padding-top: 0; }

.plan-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 9px;
  flex: 1;
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.plan-feats li svg { flex: none; margin-top: 3px; color: var(--green-tint); }
.plan-feats li .new-tag {
  font-size: 10.5px;
  color: var(--gold-bright);
  border: 1px solid rgba(214,181,115,0.4);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
}

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; }
  .plan-featured { margin-top: 0; }
}

/* -------------------------------- contact -------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact-info-item:first-child { border-top: none; }
.contact-info-item svg { color: var(--green-tint); flex: none; margin-top: 3px; }
.contact-info-item h4 { margin: 0 0 4px; font-size: 16px; font-family: var(--body); font-weight: 600; }
.contact-info-item p { margin: 0; font-size: 14.5px; }

.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  text-decoration: none;
  transition: all .15s ease;
}
.social-row a:hover { border-color: var(--green-tint); color: var(--text); background: var(--green-wash); }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  resize: vertical;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--green-bright);
  outline: none;
}
.field textarea { min-height: 130px; }

.form-note { font-size: 13px; color: var(--text-faint); margin-top: 4px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --------------------------------- CTA band -------------------------------- */

.cta-band {
  background: linear-gradient(135deg, #122318, #0d130f 60%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: 64px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(46,213,115,0.3), transparent 70%);
}
.cta-band h2 { max-width: 14ch; margin-bottom: 0; position: relative; }
.cta-band .cta-actions { position: relative; display: flex; gap: 16px; }

/* --------------------------------- footer --------------------------------- */

footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand p { font-size: 14.5px; max-width: 34ch; margin-top: 14px; }

.footer-col h4 {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-faint);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------- page hero (inner pages) --------------------------------- */

.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker {
  font-family: var(--display);
  font-style: italic;
  color: var(--green-tint);
  font-size: 17px;
  margin-bottom: 12px;
}
.page-hero p { font-size: 18px; max-width: 56ch; }

/* ------------------------------ NFC page hero ------------------------------ */

.nfc-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}
.nfc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.nfc-hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}
.nfc-hero-photo::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,81,0.26), transparent 70%);
  z-index: 0;
}
.nfc-hero-photo img {
  position: relative;
  z-index: 1;
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius-l);
  animation: hover-float 6s ease-in-out infinite;
}
@media (max-width: 900px) {
  .nfc-hero-grid { grid-template-columns: 1fr; }
  .nfc-hero-photo { order: -1; }
  .nfc-hero-photo img { max-width: 260px; }
}

/* ------------------------------ product cards ------------------------------ */

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.product-media {
  aspect-ratio: 4/5;
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,0.06), transparent 60%), linear-gradient(160deg, #182018, #0e120e);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  position: relative;
}
.product-media img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.45)); }

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  background: var(--green-wash);
  color: var(--green-tint);
  border: 1px solid rgba(0,166,81,0.35);
  border-radius: 999px;
  padding: 4px 12px;
}

.product-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-family: var(--display); font-size: 20px; margin-bottom: 4px; }
.product-price { font-family: var(--display); font-size: 26px; color: var(--green-tint); margin-bottom: 10px; }
.product-price span { font-size: 13px; color: var(--text-faint); font-family: var(--body); }
.product-desc { font-size: 14.5px; color: var(--text-muted); flex: 1; margin-bottom: 18px; }

.product-custom {
  background: repeating-linear-gradient(135deg, rgba(0,166,81,0.06) 0 12px, transparent 12px 24px), var(--surface);
  border: 1.5px dashed var(--line-strong);
}
.product-custom .product-media {
  background: transparent;
}
.custom-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 1.5px dashed var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-tint);
}

@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* ------------------------------ tier compare note ------------------------------ */

.compare-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.compare-note .note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  background: var(--surface);
}
.compare-note .note-card h4 { font-size: 15px; margin: 0 0 8px; color: var(--text); }
.compare-note .note-card p { font-size: 14px; margin: 0; }
@media (max-width: 860px) { .compare-note { grid-template-columns: 1fr; } }

/* ------------------------------ lifetime strip ------------------------------ */

.lifetime-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: 20px 26px;
  margin-top: 40px;
  background: var(--green-wash);
}
.lifetime-strip svg { color: var(--green-tint); flex: none; }
.lifetime-strip p { margin: 0; font-size: 15px; color: var(--text); }
.lifetime-strip b { color: var(--green-tint); }

/* ------------------------------ scroll reveal ------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------ icon badge ------------------------------ */

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--green-wash), rgba(0,166,81,0.02));
  border: 1px solid rgba(0,166,81,0.28);
  color: var(--green-tint);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.icon-badge::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 20px;
  border: 1px solid rgba(0,166,81,0.22);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tile:hover .icon-badge,
.feature-row:hover .icon-badge,
.step:hover .icon-badge {
  transform: translateY(-5px) rotate(-5deg);
  box-shadow: 0 14px 28px -12px rgba(0,166,81,0.55);
  border-color: rgba(0,166,81,0.5);
}
.tile:hover .icon-badge::after,
.feature-row:hover .icon-badge::after,
.step:hover .icon-badge::after {
  opacity: 1;
  transform: scale(1.05);
}
.icon-badge svg { width: 26px; height: 26px; }

/* floating icon stage for feature-visual panels */
.icon-stage {
  position: relative;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-stage .glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,81,0.28), transparent 68%);
  animation: badge-pulse 3.2s ease-in-out infinite;
}
.icon-stage .ring {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(0,166,81,0.3);
  animation: spin-slow 18s linear infinite;
}
.icon-stage svg {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  color: var(--green-tint);
  animation: icon-float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,166,81,0.35));
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .icon-stage .glow, .icon-stage .ring, .icon-stage svg { animation: none; }
}
