/* ============================================================
   AgriStock Liquid Glass v3 — homepage system (built from scratch)
   Super-transparent glass: whisper-thin fills, deep blur, hairline
   light-borders, specular sheen, mouse-tracked glare. Dark
   emerald-night stage, aurora orbs, film grain, calm motion.
   Imports shared tokens first.
   ============================================================ */
@import url("./tokens.css");

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 85% -5%, rgba(var(--rgb-gold), 0.07), transparent 60%),
    radial-gradient(1000px 700px at -10% 20%, rgba(var(--rgb-green), 0.10), transparent 60%),
    radial-gradient(900px 800px at 50% 115%, rgba(31, 168, 85, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-0));
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
::selection { background: rgba(var(--rgb-green), 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(var(--rgb-green), 0.5), rgba(var(--rgb-green), 0.2));
  border-radius: 8px;
  border: 2px solid var(--bg-0);
}

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 500;
  padding: 0.7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--gold); color: var(--gold-ink); font-weight: 700;
}
.skip-link:focus { top: 0.75rem; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Scroll progress */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 300;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- 2. Atmosphere: aurora + grain ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.orb-a {
  width: 46vmax; height: 46vmax; left: -14vmax; top: -16vmax;
  background: radial-gradient(circle at 40% 40%, rgba(var(--rgb-green), 0.20), transparent 65%);
  animation: orb-a 22s ease-in-out infinite alternate;
}
.orb-b {
  width: 40vmax; height: 40vmax; right: -14vmax; top: 8vh;
  background: radial-gradient(circle at 60% 40%, rgba(var(--rgb-gold), 0.15), transparent 65%);
  animation: orb-b 26s ease-in-out infinite alternate;
}
.orb-c {
  width: 54vmax; height: 54vmax; left: 18vw; bottom: -30vmax;
  background: radial-gradient(circle at 50% 50%, rgba(31, 168, 85, 0.14), transparent 65%);
  animation: orb-a 30s ease-in-out infinite alternate-reverse;
}
@keyframes orb-a { to { transform: translate(5vmax, 4vmax) scale(1.1); } }
@keyframes orb-b { to { transform: translate(-4vmax, 5vmax) scale(1.06); } }

.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- 3. Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  text-wrap: balance;
}
.section-head p { margin-top: 0.8rem; color: var(--ink-dim); font-size: 1.02rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.eyebrow svg { width: 14px; height: 14px; }

/* ---------- 4. Liquid glass primitives ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.015) 30%, rgba(255, 255, 255, 0) 60%),
    var(--glass-bg);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)) brightness(1.05);
}
/* specular wash that follows the cursor */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 1;
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, -10%), rgba(255, 255, 255, 0.10), transparent 55%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0.9;
}
/* hairline light-border */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 28%, rgba(var(--rgb-green), 0.16) 62%, rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
}
.glass-interactive {
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.glass-interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-lift);
}
/* travelling shine */
.shimmer { overflow: hidden; }
.shimmer > .shine {
  content: ""; position: absolute; inset: -40%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 43%, rgba(255, 255, 255, 0.09) 50%, transparent 57%);
  transform: translateX(-65%);
  animation: shine 8s var(--ease-io) infinite;
}
@keyframes shine {
  0%, 58% { transform: translateX(-65%); opacity: 0; }
  64% { opacity: 1; }
  88%, 100% { transform: translateX(65%); opacity: 0; }
}

.sheen-text {
  background: linear-gradient(100deg, var(--green-hi), var(--green) 35%, #eafff3 50%, var(--green) 65%, var(--green-deep));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s var(--ease-io) infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- 5. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.55rem 1.15rem;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 0.875rem var(--font); cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background var(--t-fast) var(--ease-out), border-color var(--t-fast);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
  background: linear-gradient(180deg, #ffd166, var(--gold) 55%, #dd9a00);
  color: var(--gold-ink);
  box-shadow: 0 12px 30px rgba(var(--rgb-gold), 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(var(--rgb-gold), 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-green {
  background: linear-gradient(180deg, #6ff2ab, var(--green) 55%, #1da866);
  color: var(--green-ink);
  box-shadow: 0 12px 30px rgba(var(--rgb-green), 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(var(--rgb-green), 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-ghost {
  background: rgba(var(--rgb-green), 0.07); color: var(--green);
  border-color: rgba(var(--rgb-green), 0.32);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}
.btn-ghost:hover { background: rgba(var(--rgb-green), 0.14); border-color: rgba(var(--rgb-green), 0.5); }
.btn-lg { min-height: 54px; padding: 0.85rem 1.7rem; font-size: 1rem; border-radius: 12px; }

/* ---------- 6. Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8, 12, 10, 0.55);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--t-med), box-shadow var(--t-med);
}
.nav.scrolled { background: rgba(8, 12, 10, 0.82); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); }
.nav-inner { display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font: 600 1.2rem var(--display); color: var(--ink); }
.brand img { height: 32px; width: auto; border-radius: 8px; }
.brand .accent { color: var(--green); }
.nav-links { display: flex; gap: 0.25rem; margin-inline: auto; }
.nav-links a {
  position: relative; color: var(--ink-dim);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.55rem 0.8rem; border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--t-med) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer;
  background: rgba(var(--rgb-green), 0.08); color: var(--green);
  border: 1px solid rgba(var(--rgb-green), 0.3);
}
.menu-btn svg { width: 22px; height: 22px; }
.drawer {
  display: none; flex-direction: column; gap: 0.15rem;
  margin: 0 1rem 1rem; padding: 0.8rem;
  border-radius: var(--r-md);
  background: rgba(12, 18, 14, 0.85);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}
.drawer.open { display: flex; }
.drawer[hidden] { display: none !important; }
.drawer a { padding: 0.7rem 0.8rem; border-radius: var(--r-sm); color: var(--ink); font-size: 0.95rem; }
.drawer a:hover { background: rgba(var(--rgb-green), 0.08); color: var(--green); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .poster {
  position: absolute; inset: -4%;
  background:
    radial-gradient(700px 420px at 78% 22%, rgba(var(--rgb-gold), 0.14), transparent 60%),
    radial-gradient(800px 520px at 12% 85%, rgba(var(--rgb-green), 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 11, 8, 0.25), rgba(7, 11, 8, 0.55) 60%, var(--bg-0)),
    url("../assets/images/rice-field.jpg") center / cover no-repeat;
  animation: hero-drift 26s ease-in-out infinite alternate;
}
@keyframes hero-drift { to { transform: scale(1.07) translate(-1.5%, 1%); } }
.hero-media canvas { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 8, 0.62), rgba(7, 11, 8, 0.18) 42%, rgba(7, 11, 8, 0.9)),
    radial-gradient(60% 55% at 18% 45%, rgba(7, 11, 8, 0.5), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.hero-panel {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--r-xl);
}
.hero-panel h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  text-wrap: balance;
}
.hero-panel .sub { margin-top: 1.1rem; color: var(--ink-dim); font-size: clamp(1rem, 1.7vw, 1.16rem); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.trust-row li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 600; color: var(--ink-dim);
  padding: 0.5rem 0.8rem; border-radius: var(--r-pill);
  background: rgba(15, 21, 17, 0.66);
  border: 1px solid var(--glass-line);
}
.trust-row svg { width: 14px; height: 14px; color: var(--green); }

/* hero 3D stage */
.hero-3d { position: relative; height: clamp(340px, 42vw, 540px); min-height: 320px; }
.hero-3d canvas { width: 100%; height: 100%; display: block; }
.hero-3d-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.hero-3d-fallback img { max-height: 100%; border-radius: var(--r-lg); }
.hero-3d.no-webgl .hero-3d-fallback { display: flex; }
.hero-3d.no-webgl canvas { display: none; }
.float-stack { position: absolute; inset: 0; pointer-events: none; perspective: 900px; z-index: 3; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 0.65rem;
  padding: 0.65rem 0.9rem; border-radius: 16px;
  font-size: 0.76rem; font-weight: 700; color: var(--ink);
  background: rgba(14, 20, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--ink-dim); font-size: 0.68rem; }
.float-card .up { color: var(--green); }
.float-card .coin {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  background: radial-gradient(circle at 32% 28%, #ffedb8, var(--gold) 48%, #c78d00);
  color: var(--gold-ink);
  box-shadow: 0 8px 18px rgba(var(--rgb-gold), 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.65), inset 0 -3px 5px rgba(0, 0, 0, 0.25);
}
.float-card.fc-1 { top: 4%; right: 0; }
.float-card.fc-2 { bottom: 16%; left: -3%; animation-delay: -2s; }
.float-card.fc-3 { bottom: -3%; right: 12%; animation-delay: -4s; }
.float-card.fc-3 .coin {
  background: radial-gradient(circle at 32% 28%, #d2ffe6, var(--green) 50%, #157a48);
  color: var(--green-ink);
  box-shadow: 0 8px 18px rgba(var(--rgb-green), 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.6), inset 0 -3px 5px rgba(0, 0, 0, 0.25);
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.hero-3d-mobile { display: none; margin-top: 1.5rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-line); }

/* ---------- 8. Ticker ---------- */
.ticker-band {
  overflow: hidden; padding: 0.9rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 2.75rem; width: max-content; animation: ticker 38s linear infinite; }
.ticker-band:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; white-space: nowrap; }
.tick .sym { font-weight: 700; color: var(--ink); }
.tick .px { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.tick .up { color: var(--green); font-weight: 700; }
.tick .down { color: var(--danger); font-weight: 700; }

/* ---------- 9. Pitch deck ---------- */
.deck { display: grid; grid-template-columns: auto 1fr auto; gap: 0.6rem; align-items: center; perspective: 1600px; }
.deck-stage { position: relative; height: clamp(230px, 46vw, 430px); transform-style: preserve-3d; }
.deck-card {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  border-radius: var(--r-xl); background: var(--bg-2);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  transition: transform 560ms var(--ease-out), opacity 420ms ease;
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; }
.deck-btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--glass-bg); color: var(--ink); font-size: 1.5rem; line-height: 1;
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(var(--glass-blur-sm));
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.deck-btn:hover { border-color: var(--green); color: var(--green); transform: scale(1.06); }
.deck-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; }
.deck-dots button {
  width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative; border-radius: 50%;
}
.deck-dots button::after {
  content: ""; position: absolute; inset: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); transition: all var(--t-fast);
}
.deck-dots button[aria-current="true"]::after { inset: 15px; background: var(--green); box-shadow: 0 0 12px rgba(var(--rgb-green), 0.6); }

/* ---------- 10. Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; perspective: 1200px; }
.step-card { padding: clamp(1.3rem, 2.5vw, 2rem); }
.step-visual {
  margin: -0.4rem -0.4rem 1rem; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.step-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 600ms var(--ease-out); }
.step-card:hover .step-visual img { transform: scale(1.05); }
.step-num {
  font: 600 2.4rem var(--display); color: transparent;
  background: linear-gradient(180deg, var(--green), rgba(var(--rgb-green), 0.15));
  -webkit-background-clip: text; background-clip: text;
}
.step-card h3 { margin-top: 0.4rem; font-size: 1.18rem; }
.step-card p { margin-top: 0.55rem; color: var(--ink-dim); font-size: 0.93rem; }
.lot-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.9rem; padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 700; color: var(--green);
  background: rgba(var(--rgb-green), 0.09);
  border: 1px solid rgba(var(--rgb-green), 0.28);
}
.lot-tag svg { width: 12px; height: 12px; }

/* ---------- 11. Lots ---------- */
.lots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; perspective: 1200px; }
.lot-card { display: block; overflow: hidden; color: var(--ink); }
.lot-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: var(--bg-2); }
.lot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out), filter 500ms; }
.lot-card:hover .lot-img img { transform: scale(1.07); filter: saturate(1.1); }
.lot-seal {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-ink);
  background: linear-gradient(145deg, var(--green-hi), var(--green-deep));
  box-shadow: 0 10px 22px rgba(var(--rgb-green), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.lot-seal svg { width: 20px; height: 20px; }
.lot-body { padding: 1.05rem 1.2rem 1.25rem; }
.lot-body h3 { font-size: 1.02rem; }
.lot-body p { margin-top: 0.2rem; font-size: 0.82rem; color: var(--ink-dim); }
.lot-price { display: block; margin-top: 0.55rem; font-size: 0.85rem; font-weight: 700; color: var(--gold-soft); font-variant-numeric: tabular-nums; }

/* ---------- 12. Mosaic ---------- */
.mosaic-3d { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; perspective: 1200px; }
.mosaic-card {
  margin: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur-sm)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(var(--glass-sat));
}
.mosaic-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease-out); }
.mosaic-card:hover img { transform: scale(1.08); }
.mosaic-card figcaption { padding: 0.65rem 0.9rem 0.85rem; font-size: 0.8rem; font-weight: 600; color: var(--ink-dim); }

/* ---------- 13. Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; perspective: 1200px; }
.why-card { padding: clamp(1.3rem, 2.5vw, 1.8rem); }
.why-card h3 { margin-top: 1.05rem; font-size: 1.05rem; }
.why-card p { margin-top: 0.5rem; color: var(--ink-dim); font-size: 0.9rem; }
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 15px; flex: none;
  color: var(--green);
  background: linear-gradient(145deg, rgba(var(--rgb-green), 0.16), rgba(var(--rgb-green), 0.04));
  border: 1px solid rgba(var(--rgb-green), 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px rgba(var(--rgb-green), 0.16);
}
.icon-chip svg { width: 23px; height: 23px; }
.icon-chip.gold {
  color: var(--gold);
  background: linear-gradient(145deg, rgba(var(--rgb-gold), 0.18), rgba(var(--rgb-gold), 0.05));
  border-color: rgba(var(--rgb-gold), 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px rgba(var(--rgb-gold), 0.18);
}

/* ---------- 14. App / phone ---------- */
.phone-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.phone-copy h2 { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.5rem); text-wrap: balance; }
.phone-copy > p { margin-top: 1rem; color: var(--ink-dim); }
.check-list { margin: 1.3rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-dim); font-size: 0.93rem; }
.check-list svg { width: 17px; height: 17px; flex: none; margin-top: 0.2rem; color: var(--green); }
.phone-stage { display: flex; justify-content: center; perspective: 1300px; }
.phone {
  width: min(300px, 76vw); aspect-ratio: 9 / 19;
  border-radius: 40px; padding: 11px;
  background: linear-gradient(160deg, #1b241e, #0b0f0c);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.65), 0 14px 36px rgba(var(--rgb-green), 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform-style: preserve-3d; will-change: transform;
}
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--bg-1); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.illus-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; perspective: 1200px; }
.illus-card {
  margin: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--glass-bg); border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}
.illus-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center top; transition: transform 600ms var(--ease-out); }
.illus-card:hover img { transform: scale(1.05); }

/* ---------- 15. Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; perspective: 1200px; }
.testi-card { padding: clamp(1.3rem, 2.5vw, 1.8rem); }
.testi-card .quote { font-size: 0.95rem; color: var(--ink); }
.stars { display: flex; gap: 0.15rem; margin-bottom: 0.8rem; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.testi-who { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.3rem; }
.testi-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--glass-line); }
.testi-who .nm { font-weight: 700; font-size: 0.875rem; }
.testi-who .rl { font-size: 0.75rem; color: var(--ink-dim); }

/* ---------- 16. Final CTA ---------- */
.cta-panel { padding: clamp(2.2rem, 5vw, 3.8rem); border-radius: var(--r-xl); text-align: center; }
.cta-panel h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.8vw, 2.7rem); text-wrap: balance; }
.cta-panel .lead { margin: 1rem auto 0; max-width: 36rem; color: var(--ink-dim); }
.cta-art { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.cta-art img {
  width: min(150px, 36%); aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--r-md); border: 1px solid var(--glass-line);
  animation: floaty 7s ease-in-out infinite;
}
.cta-art img:last-child { animation-delay: -3.5s; }
.cta-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.8rem; }
.cta-form input {
  flex: 1 1 260px; max-width: 22rem; min-height: 52px;
  padding: 0 1.1rem; border-radius: 12px;
  background: rgba(0, 0, 0, 0.35); color: var(--ink);
  border: 1px solid rgba(var(--rgb-green), 0.3);
  font: 0.925rem var(--font);
  backdrop-filter: blur(var(--glass-blur-sm));
}
.cta-form input::placeholder { color: var(--ink-faint); }
.cta-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--rgb-green), 0.18); }
.cta-msg { margin-top: 0.9rem; font-size: 0.875rem; color: var(--green); min-height: 1.3em; }
.cta-note { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-dim); }
.store-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

/* Authentic store badges — hand-drawn SVG marks, honest status */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.4rem; }
.store-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 1rem 0.6rem 0.9rem; border-radius: 14px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.store-ic { width: 30px; height: 30px; flex: none; }
.store-tx { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.store-tx small { font-size: 0.6rem; letter-spacing: 0.09em; color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.store-tx strong { font-size: 1.02rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.soon {
  position: absolute; top: -10px; right: 10px;
  font-style: normal; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-ink);
  background: linear-gradient(180deg, #ffd166, var(--gold));
  padding: 0.15rem 0.55rem; border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(var(--rgb-gold), 0.45);
  white-space: nowrap;
}

/* ---------- 17. Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 2.75rem 0 3rem; color: var(--ink-dim); font-size: 0.83rem; background: rgba(0, 0, 0, 0.25); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer a { color: var(--ink-dim); }
.footer a:hover { color: var(--green); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
.footer-note { width: 100%; margin-top: 0.5rem; }

/* ---------- 18. Sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 220; left: 0.75rem; right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  display: none; gap: 0.6rem; padding: 0.6rem;
  border-radius: 20px;
  background: rgba(12, 18, 14, 0.6);
  border: 1px solid var(--glass-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  transform: translateY(120%);
  transition: transform 500ms var(--ease-out);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 50px; }

/* ---------- 19. Reveal on scroll ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .hero-panel { opacity: 0; transform: scale(0.97) translateY(16px); transition: opacity 800ms var(--ease-out) 120ms, transform 800ms var(--ease-out) 120ms; }
html.js .hero-panel.in { opacity: 1; transform: none; }
html:not(.js) .hero-panel { opacity: 1; }

/* 3D tilt host */
.tilt-3d { transform-style: preserve-3d; }
.steps-grid, .lots-grid, .why-grid, .testi-grid, .mosaic-3d, .illus-row { perspective: 1200px; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic-3d { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { gap: 1rem; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-3d { height: 380px; }
  .phone-section { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn { padding: 0.5rem 0.85rem; min-height: 42px; font-size: 0.8rem; }
  .hero-grid { padding-top: 2.25rem; }
  .hero-3d { display: none; }
  .hero-panel h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-3d-mobile { display: block; }
  .hero-3d-mobile img { height: 280px; width: 100%; object-fit: cover; animation: hero-drift 20s ease-in-out infinite alternate; }
  .glass, .hero-panel, .cta-panel {
    backdrop-filter: blur(10px) saturate(1.3);
    -webkit-backdrop-filter: blur(10px) saturate(1.3);
  }
  .orb { opacity: 0.35; animation: none; }
  .lots-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
    grid-template-columns: unset;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -1.25rem; padding: 0.25rem 1.25rem 1rem; gap: 0.8rem;
    scrollbar-width: none;
  }
  .lots-grid::-webkit-scrollbar { display: none; }
  .lots-grid .lot-card { scroll-snap-align: start; }
  .steps-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .illus-row { grid-template-columns: 1fr; }
  .deck { grid-template-columns: 1fr; }
  .deck-btn { justify-self: center; order: 2; }
  #deckPrev { display: none; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 78px; }
  .cta-form input { flex-basis: 100%; max-width: none; }
}
@media (min-width: 1440px) {
  .wrap { max-width: 80rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheen-text, .ticker-track { animation: none; }
  .ticker-track { flex-wrap: wrap; width: 100%; }
  .orb, .float-card, .cta-art img, .hero-3d-mobile img, .hero-media .poster, .shimmer > .shine { animation: none; }
  html.js .reveal, html.js .hero-panel { opacity: 1; transform: none; filter: none; transition: none; }
  .glass-interactive:hover { transform: none; }
}
