/* ============================================================================
   GPTGRIDX — Homepage styles
   ============================================================================ */
:root {
  --gold: #c9a84c;
  --gold-b: #f0c76d;
  --gold-dim: rgba(201, 168, 76, 0.14);
  --gold-glow: rgba(201, 168, 76, 0.08);
  --bg: #080807;
  --bg2: #0d0c0a;
  --card: rgba(17, 15, 12, 0.7);
  --border: rgba(201, 168, 76, 0.14);
  --border-hi: rgba(201, 168, 76, 0.34);
  --text: #f1ecdf;
  --text2: rgba(241, 236, 223, 0.6);
  --text3: rgba(241, 236, 223, 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Space Grotesk", "Manrope", sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; position: relative; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sub { font-size: 16px; color: var(--text2); line-height: 1.65; max-width: 540px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all 0.25s var(--ease);
  font-family: var(--font);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-b), var(--gold));
  color: #1a1200; box-shadow: 0 10px 30px rgba(201, 168, 76, 0.26);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 168, 76, 0.4); }
.btn-ghost { background: transparent; border-color: var(--border-hi); color: var(--text); }
.btn-ghost:hover { background: var(--gold-glow); border-color: var(--gold); color: var(--gold-b); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 66px;
  background: rgba(8, 8, 7, 0.85); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); transition: height 0.4s var(--ease);
}
.nav.shrink { height: 54px; box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4); }
.logo { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--text2); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--border-hi); font-size: 14px; color: var(--text); transition: all 0.25s; }
.nav-cta:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold-b); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── Hero ── */
.hero {
  position: relative; min-height: 76vh; min-height: 76svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 28px 24px 48px; overflow: hidden;
}
/* grid lines layer (light grey) — fades in/out to morph with dots.
   Hidden by default: the animated <canvas> in home.js is the real grid.
   Shown only as a fallback when the visitor prefers reduced motion
   (the canvas does not run in that case). */
.hero-grid {
  display: none;
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 200, 210, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 200, 210, 0.32) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 82%);
  animation: heroDrift 40s linear infinite, gridMorph 7s ease-in-out infinite;
}
/* dots layer (light grey) — fades opposite the grid lines */
.hero-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(210, 210, 220, 0.7) 2px, transparent 2.4px);
  background-size: 56px 56px;
  animation: heroDrift 40s linear infinite, dotsMorph 7s ease-in-out infinite;
}
@keyframes heroDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}
/* dots → grid → dots cycle */
@keyframes gridMorph {
  0%, 100% { opacity: 0.05; }
  50%      { opacity: 1; }
}
@keyframes dotsMorph {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.05; }
}
.hero-glow {
  position: absolute; top: 28%; left: 50%; transform: translate(-50%, -50%);
  width: 680px; height: 460px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.16) 0%, transparent 70%);
}
.hero > * { position: relative; z-index: 2; }
/* Re-pin decorative layers as absolute so they don't enter the flex flow */
.hero .hero-grid, .hero .hero-glow { position: absolute; z-index: 0; }
/* Reduced-motion users get no canvas, so fall back to the static CSS grid */
@media (prefers-reduced-motion: reduce) { .hero-grid { display: block; } }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px; border: 1px solid var(--border-hi);
  background: var(--gold-glow); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-b);
  margin-bottom: 18px;
}
.hero-tag .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 6.2vw, 78px); line-height: 1.03; letter-spacing: -0.03em;
  max-width: 860px; margin-bottom: 16px;
}
.h1 em { font-style: normal; color: var(--gold-b); text-shadow: 0 0 50px rgba(240, 199, 109, 0.4); }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--text2); max-width: 560px; line-height: 1.7; margin-bottom: 26px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── Marquee ── */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; background: var(--bg2); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 32s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text2); white-space: nowrap; font-weight: 500; }
.marquee-item span { color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Feature grid ── */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  padding: 26px 22px; border: 1px solid var(--border); border-radius: 18px;
  background: var(--card); transition: border-color 0.3s, transform 0.3s;
}
.feat:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-dim); border: 1px solid var(--border-hi); margin-bottom: 16px; font-size: 20px;
}
.feat h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.feat p { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.step-num { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 12px; letter-spacing: 0.1em; }
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* ── DEMOS ── */
.demos-note {
  display: inline-flex; align-items: center; gap: 9px; margin: 18px auto 0;
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--border-hi);
  background: var(--gold-glow); font-size: 13px; color: var(--gold-b); font-weight: 500;
}
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 50px; }
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-card {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 1px solid var(--border); background: var(--card);
  padding: 30px 28px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column; min-height: 230px;
}
.demo-card:hover { transform: translateY(-6px); border-color: var(--dc-accent, var(--border-hi)); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.demo-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--dc-accent, var(--gold)); opacity: 0.9;
}
.demo-card .dc-glow {
  position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--dc-glow, var(--gold-glow)) 0%, transparent 70%);
  opacity: 0.6; pointer-events: none;
}
.dc-ico { font-size: 30px; margin-bottom: 16px; }
.dc-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dc-accent, var(--gold)); margin-bottom: 8px; }
.dc-brand { font-family: var(--display); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.dc-desc { font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.dc-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--dc-accent, var(--gold-b)); }
.dc-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.demo-card:hover .dc-link svg { transform: translateX(4px); }

/* ── Plans ── */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; align-items: stretch; }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }
.plan {
  display: flex; flex-direction: column; padding: 32px 26px;
  border: 1px solid var(--border); border-radius: 22px; background: var(--card);
  position: relative; transition: transform 0.35s var(--ease), border-color 0.35s;
}
.plan:hover { transform: translateY(-5px); border-color: var(--border-hi); }
.plan.featured { border-color: var(--border-hi); }
.plan.featured::before {
  content: "Most Popular"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-b), var(--gold)); color: #1a1200;
}
.plan.elite { animation: eliteGlow 3s ease-in-out infinite; }
@keyframes eliteGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); } 50% { box-shadow: 0 0 30px 5px rgba(201,168,76,0.18); } }
.plan-name { font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 6px; color: var(--gold-b); letter-spacing: 0.04em; }
.plan-tag { font-size: 13px; color: var(--text2); line-height: 1.5; margin-bottom: 18px; min-height: 40px; }
.plan-price { font-family: var(--display); font-size: 34px; font-weight: 700; }
.plan-price span { font-size: 14px; color: var(--text2); font-family: var(--font); font-weight: 500; }
.plan-retainer { font-size: 12.5px; color: var(--text3); margin: 4px 0 22px; }
.plan-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.plan-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--text2); line-height: 1.45; }
.plan-feats li::before { content: "✦"; color: var(--gold); font-size: 9px; margin-top: 4px; flex-shrink: 0; }
.plan .btn { justify-content: center; width: 100%; }

/* ── Why Buy It ── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  padding: 28px 24px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--card); position: relative; overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s;
}
.why-item::after {
  content: ""; position: absolute; inset: 0; border-radius: 20px;
  background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(201,168,76,0.1), transparent 65%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.why-item:hover { border-color: var(--border-hi); transform: translateY(-5px); box-shadow: 0 22px 52px rgba(0,0,0,0.32); }
.why-item:hover::after { opacity: 1; }
.why-ico { font-size: 28px; margin-bottom: 14px; display: block; }
.why-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 13.5px; color: var(--text2); line-height: 1.62; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 16px; background: var(--card);
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--border-hi); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 600; color: var(--text); line-height: 1.4;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-b); }
.faq-chev {
  flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform 0.3s var(--ease); margin-top: -4px;
}
.faq-item[open] .faq-chev { transform: rotate(225deg); margin-top: 4px; }
.faq-a {
  padding: 0 22px 20px; font-size: 14px; color: var(--text2); line-height: 1.7;
  animation: faqIn 0.35s var(--ease);
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── CTA ── */
.cta {
  text-align: center; padding: 90px 28px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, var(--gold-glow), transparent 70%);
  border-top: 1px solid var(--border);
}
.cta .h2 { margin-bottom: 14px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 40px 28px; background: var(--bg2); }
.footer-in { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer .logo { font-size: 16px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--text2); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-b); }
.footer-copy { width: 100%; font-size: 12px; color: var(--text3); margin-top: 8px; }

/* ── Page entry ── */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.55s ease both; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(32px) scale(0.97); transition: opacity 0.65s var(--ease), transform 0.72s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* ── Demo card click pulse ── */
.demo-card.leaving { opacity: 0.5; transform: scale(0.97) translateY(-6px); transition: all 0.28s ease; }

/* ── Stats strip ── */
.stats-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 0; }
.stat { text-align: center; padding: 20px 40px; flex: 1; min-width: 140px; }
.stat-num { font-family: var(--display); font-size: clamp(36px, 5vw, 58px); font-weight: 700; color: var(--gold-b); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; font-weight: 600; }
.stat-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }
@media (max-width: 600px) { .stat-divider { display: none; } .stat { padding: 16px 20px; } }

/* ── Plans billing toggle ── */
.plans-toggle { display: flex; gap: 6px; justify-content: center; margin-bottom: 32px; }
.ptgl {
  padding: 9px 22px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--border-hi); background: transparent; color: var(--text2);
  cursor: pointer; font-family: var(--font); transition: all 0.25s var(--ease);
}
.ptgl:hover { border-color: var(--gold); color: var(--gold-b); }
.ptgl.active { background: linear-gradient(135deg, var(--gold-b), var(--gold)); color: #1a1200; border-color: transparent; }
.ptgl-save { font-size: 11px; padding: 2px 7px; border-radius: 100px; background: rgba(201,168,76,0.2); color: var(--gold); margin-left: 5px; }
.ptgl.active .ptgl-save { background: rgba(26,18,0,0.18); color: #1a1200; }

/* ── Plan card selected state ── */
.plan.selected { border-color: var(--gold) !important; box-shadow: 0 0 0 1px var(--gold), 0 20px 60px rgba(201,168,76,0.2); }
/* smooth 3D tilt transition — JS sets transform, CSS handles smooth reset */
.plan, .demo-card, .why-item { transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }

/* ── Fun: logo wiggle on hover ── */
.logo { display: inline-block; transition: transform 0.3s var(--ease); }
.nav .logo:hover { animation: logoWiggle 0.6s ease; }
@keyframes logoWiggle {
  0%,100% { transform: rotate(0); }
  20% { transform: rotate(-4deg) scale(1.04); }
  40% { transform: rotate(4deg) scale(1.04); }
  60% { transform: rotate(-3deg); }
  80% { transform: rotate(2deg); }
}

/* ── Fun: cursor sparkle trail ── */
.gx-spark {
  position: fixed; z-index: 2147483646; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-b), var(--gold) 60%, transparent);
  transform: translate(-50%, -50%) scale(1); opacity: 0.9;
  animation: sparkFade 0.7s ease-out forwards;
}
@keyframes sparkFade {
  to { opacity: 0; transform: translate(-50%, -50%) scale(0.2) translateY(-14px); }
}

/* ── Fun: confetti ── */
.gx-confetti {
  position: fixed; z-index: 2147483645; pointer-events: none; top: -12px;
  width: 9px; height: 14px; border-radius: 2px; will-change: transform, opacity;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%   { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(105vh) rotate(720deg); }
}

/* ── Fun: feature icon bounce on hover ── */
.feat:hover .feat-ico { animation: icoPop 0.5s var(--ease); }
@keyframes icoPop {
  0%,100% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.18) rotate(-8deg); }
  70% { transform: scale(1.05) rotate(5deg); }
}

@media (hover: none) { .gx-spark { display: none; } }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 50px;
}
@media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.tcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.tcard:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.tcard-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.tcard-quote { font-size: 14px; line-height: 1.75; color: var(--text2); flex: 1; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.tcard-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-b), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 13px; font-weight: 700; color: #1a1200;
}
.tcard-name { font-size: 13px; font-weight: 700; color: var(--text); }
.tcard-biz { font-size: 12px; color: var(--text3); margin-top: 1px; }

/* ── About / Founder ── */
.about-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 60px; align-items: start; max-width: 960px; margin: 0 auto;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } }
.about-av-wrap { position: relative; width: 120px; flex-shrink: 0; }
.about-av {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-b), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 32px; font-weight: 700; color: #1a1200;
  position: relative; z-index: 1;
}
.about-av-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--border-hi);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.about-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Plan retainer note ── */
.ret-note { color: var(--text3); font-size: 0.88em; }

/* ── Specular highlight tracking (mouse position via --mx / --my) ── */
.plan, .demo-card, .why-item, .feat {
  --mx: 50%; --my: 50%;
}
.plan::after, .demo-card::after, .feat::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 140px at var(--mx) var(--my), rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.plan:hover::after, .demo-card:hover::after, .feat:hover::after {
  opacity: 1;
}

/* ── Directional reveal ── */
.reveal[data-dir="left"] { transform: translateX(-36px); }
.reveal[data-dir="right"] { transform: translateX(36px); }
.reveal[data-dir="left"].in, .reveal[data-dir="right"].in { transform: translateX(0); }

/* ── Photo / Cinematic Section ── */
.photo-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.photo-bg {
  position: absolute;
  inset: -10%;
  background:
    url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat,
    radial-gradient(ellipse 70% 90% at 65% 50%, rgba(30,22,8,0.9) 0%, #080807 100%);
  background-blend-mode: multiply;
  transform-origin: center;
  will-change: transform;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,7,0.94) 0%, rgba(8,8,7,0.70) 45%, rgba(8,8,7,0.30) 100%);
}
.photo-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 30% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 30% 50%, black 30%, transparent 80%);
}
.photo-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 100px;
}
.photo-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.photo-section h2 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 620px;
  margin-bottom: 22px;
}
.photo-section h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-b), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.photo-section p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text2);
  max-width: 460px;
  margin-bottom: 40px;
}
.photo-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.photo-stat-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-b);
  line-height: 1;
  margin-bottom: 4px;
}
.photo-stat-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
@media (max-width: 600px) {
  .photo-section { min-height: 480px; }
  .photo-stats { gap: 28px; }
}

/* ══════════════════════════════════════════════════
   LIQUID GLASS — Mad-Max / visionOS grade
   Near-invisible base · 70px blur · animated specular
   · 3D entrance · prismatic shimmer
══════════════════════════════════════════════════ */

/* Drifting specular blob keyframe — simulates moving light */
@keyframes glassLiquid {
  0%,100% { background-position: 0%   0%,   100% 100%; }
  25%     { background-position: 35% -15%,  75%  115%; }
  50%     { background-position: 65%  25%,  40%   75%; }
  75%     { background-position: 15%  45%,  85%   55%; }
}

.glass {
  /* Nearly invisible — glass shows what's BEHIND it, not itself */
  background:
    linear-gradient(
      170deg,
      rgba(255,255,255,0.065) 0%,
      rgba(255,255,255,0.018) 50%,
      rgba(201,168,76,0.012) 100%
    ) !important;

  /* Maximum vibrancy: 70px blur, 4.2× saturation, brightness lifts colour */
  backdrop-filter:    blur(70px) saturate(4.2) brightness(1.20) !important;
  -webkit-backdrop-filter: blur(70px) saturate(4.2) brightness(1.20) !important;

  /* Precise glass edges */
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-top-color:  rgba(255,255,255,0.35) !important;
  border-left-color: rgba(255,255,255,0.14) !important;

  /* Six-stop physical shadow stack */
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.16),
    0 2px 8px   rgba(0,0,0,0.18),
    0 8px 24px  rgba(0,0,0,0.24),
    0 24px 64px rgba(0,0,0,0.28),
    0 56px 112px rgba(0,0,0,0.10),
    inset 0  2px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.22),
    inset  1px 0 0 rgba(255,255,255,0.09),
    inset -1px 0 0 rgba(0,0,0,0.09) !important;

  position: relative; overflow: hidden;
}
.glass > * { position: relative; z-index: 1; }

/* Animated specular layer — two blobs drift around the glass face */
.glass::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 55% at 0%   0%,
      rgba(255,255,255,0.24) 0%,
      rgba(255,255,255,0.06) 45%,
      transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%,
      rgba(201,168,76,0.11) 0%,
      transparent 55%);
  background-size: 260% 260%, 220% 220%;
  background-position: 0% 0%, 100% 100%;
  animation: glassLiquid 16s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}

/* Prismatic shimmer sweep on hover */
.glass::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -140%; width: 70%;
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(255,255,255,0.07) 16%,
    rgba(210,140,255,0.10) 30%,
    rgba( 80,200,255,0.12) 46%,
    rgba(255,230, 80,0.10) 62%,
    rgba(255,255,255,0.07) 78%,
    transparent 100%
  );
  pointer-events: none; z-index: 0; border-radius: inherit;
  transition: left 0.60s cubic-bezier(0.16,1,0.3,1);
}
.glass:hover::after { left: 170%; }

/* why-item has its own ::after glow */
.why-item.glass::after { display: none; }

/* Hover: glass thickens, brightens, deepens */
.feat.glass:hover,
.why-item.glass:hover,
.step.glass:hover,
.tcard.glass:hover {
  backdrop-filter:    blur(88px) saturate(5.0) brightness(1.28) !important;
  -webkit-backdrop-filter: blur(88px) saturate(5.0) brightness(1.28) !important;
  background: linear-gradient(
    170deg,
    rgba(255,255,255,0.19) 0%,
    rgba(255,255,255,0.07) 50%,
    rgba(201,168,76,0.04) 100%
  ) !important;
  border-top-color:  rgba(255,255,255,0.60) !important;
  border-left-color: rgba(255,255,255,0.24) !important;
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.08),
    0 4px 12px  rgba(0,0,0,0.14),
    0 16px 48px rgba(0,0,0,0.38),
    0 48px 96px rgba(0,0,0,0.38),
    0 80px 140px rgba(0,0,0,0.14),
    inset 0  3px 0 rgba(255,255,255,0.40),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    inset  1px 0 0 rgba(255,255,255,0.14),
    inset -1px 0 0 rgba(0,0,0,0.05) !important;
}
.plan.glass:hover, .demo-card.glass:hover {
  backdrop-filter:    blur(88px) saturate(5.0) brightness(1.28) !important;
  -webkit-backdrop-filter: blur(88px) saturate(5.0) brightness(1.28) !important;
  border-top-color: rgba(255,255,255,0.55) !important;
  background: linear-gradient(
    170deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 50%,
    rgba(201,168,76,0.04) 100%
  ) !important;
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.06),
    0 6px 20px  rgba(0,0,0,0.16),
    0 24px 64px rgba(0,0,0,0.42),
    0 64px 120px rgba(0,0,0,0.14),
    inset 0 3px 0 rgba(255,255,255,0.36),
    inset 0 -1px 0 rgba(0,0,0,0.08) !important;
}
.faq-item.glass:hover {
  backdrop-filter: blur(88px) saturate(4.8) brightness(1.22) !important;
  -webkit-backdrop-filter: blur(88px) saturate(4.8) brightness(1.22) !important;
  border-top-color: rgba(255,255,255,0.48) !important;
}


/* ── Mad-Max scroll entrances ── */

/* Base non-glass reveal stays simple (headings, paragraphs) */

/* Wipe-in for section headings */
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path 0.95s cubic-bezier(0.16,1,0.3,1); }
.wipe.in { clip-path: inset(0 0% 0 0); }

/* 3D flip-up entrance for glass cards */
.glass.reveal {
  transform: perspective(1400px) rotateX(-20deg) translateY(56px) scale(0.86) !important;
  transform-origin: 50% 100%;
  opacity: 0 !important;
  transition:
    opacity   0.55s ease,
    transform 1.00s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.glass.reveal.in {
  transform: perspective(1400px) rotateX(0deg) translateY(0) scale(1) !important;
  opacity: 1 !important;
}
/* Directional 3D swivel */
.glass.reveal[data-dir="left"] {
  transform: perspective(1400px) rotateY(22deg) translateX(-56px) scale(0.88) !important;
  transform-origin: 100% 50%;
}
.glass.reveal[data-dir="right"] {
  transform: perspective(1400px) rotateY(-22deg) translateX(56px) scale(0.88) !important;
  transform-origin: 0% 50%;
}
.glass.reveal[data-dir="left"].in,
.glass.reveal[data-dir="right"].in {
  transform: perspective(1400px) rotateY(0deg) translateX(0) scale(1) !important;
}

/* Spring hover transition (snap-back after lift) — scoped selectors so it
   overrides the base .glass transition without an !important conflict */
.feat.glass, .why-item.glass, .step.glass, .tcard.glass,
.faq-item.glass, .plan.glass, .demo-card.glass {
  transition:
    transform    0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow   0.45s ease,
    border-color 0.35s ease,
    background   0.35s ease !important;
}

/* Hover lift + scale */
.feat.glass:hover,
.why-item.glass:hover,
.step.glass:hover,
.tcard.glass:hover {
  transform: translateY(-14px) scale(1.035) !important;
}
.faq-item.glass:hover {
  transform: translateY(-5px) scale(1.010) !important;
}

/* CAPIO plan idle float */
@keyframes glassFloat {
  0%,100% { transform: translateY(0)    scale(1);     }
  45%     { transform: translateY(-10px) scale(1.007); }
}
.plan.elite {
  animation:
    eliteGlow  3s   ease-in-out infinite,
    glassFloat 4.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.plan.elite:hover,
.plan.elite.selected { animation-play-state: paused; }

/* Marquee subtle 3D depth */
.marquee-wrap { perspective: 900px; }
#marquee { transform: rotateX(2deg); transform-origin: center top; }

/* Parallax depth helpers — JS sets transform on these */
.feat-ico, .why-ico, .step-num {
  display: block;
  transition: transform 0.1s linear;
  will-change: transform;
}
