:root {
  --bg: #04110b;
  --bg-2: #06180f;
  --ink: #eafff4;
  --muted: #8aa99a;
  --line: rgba(120, 255, 190, 0.10);
  --card: rgba(120, 255, 190, 0.035);
  --g1: #19e87f;
  --g2: #4dff9e;
  --g3: #b6ff45;
  --indigo: #6c4cff;
  --orange: #ff8a3d;
  --grad: linear-gradient(120deg, var(--g1), var(--g2) 55%, var(--g3));
  --glow: 0 0 0 1px rgba(25, 232, 127, 0.25), 0 14px 40px -10px rgba(25, 232, 127, 0.5);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(1200px 820px at 72% -10%, #0c3a25 0%, transparent 60%),
              radial-gradient(900px 700px at 0% 25%, #0a2418 0%, transparent 55%),
              radial-gradient(700px 600px at 90% 90%, #122a1c 0%, transparent 60%),
              var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.55;
}
h1, h2, h3, .brand-name { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; }

/* 3D canvas */
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .nav, .footer { position: relative; z-index: 2; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--g1);
  padding: 0.4rem 0.9rem; margin-bottom: 1.1rem;
  border: 1px solid var(--line); border-radius: 100px;
  background: rgba(25, 224, 160, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  padding: 0.7rem 1.3rem; border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn-primary {
  color: #04140e; font-weight: 700; background: var(--grad);
  box-shadow: 0 0 0 1px rgba(25, 232, 127, 0.3), 0 14px 34px -10px rgba(25, 232, 127, 0.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(77, 255, 158, 0.5), 0 22px 50px -12px rgba(77, 255, 158, 0.7); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.25); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
  transition: background 0.3s ease, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  color: var(--g2); background: rgba(25, 232, 127, 0.1);
  border: 1px solid rgba(25, 232, 127, 0.35);
  box-shadow: 0 0 20px -4px rgba(25, 232, 127, 0.55);
}
.brand-mark svg { width: 20px; height: 20px; filter: drop-shadow(0 0 4px rgba(77, 255, 158, 0.7)); }
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.12em; }
.nav-actions { display: flex; gap: 0.7rem; align-items: center; }

/* Minimal Menu button */
.menu-btn {
  display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer;
  padding: 0.7rem 1.1rem; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  color: var(--ink); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
}
.menu-btn:hover { border-color: rgba(255, 255, 255, 0.25); }
.menu-bars { display: flex; flex-direction: column; gap: 4px; }
.menu-bars i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, width 0.3s; }
.menu-btn[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(5, 7, 13, 0.82); backdrop-filter: blur(16px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
  display: flex; justify-content: flex-end;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-panel {
  width: min(440px, 86vw); height: 100%;
  background: linear-gradient(180deg, rgba(18, 26, 44, 0.7), rgba(7, 10, 18, 0.7));
  border-left: 1px solid var(--line);
  padding: 6.5rem clamp(1.6rem, 4vw, 3rem) 2.5rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  transform: translateX(40px); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.menu-overlay.open .menu-panel { transform: none; }
.menu-eyebrow { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g1); margin-bottom: 1rem; }
.menu-panel a[data-menu-link] {
  display: flex; align-items: baseline; gap: 1rem; text-decoration: none;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--ink); padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  transition: color 0.25s, padding-left 0.25s;
}
.menu-panel a[data-menu-link] span { font-family: 'Inter'; font-size: 0.8rem; font-weight: 600; color: var(--g1); }
.menu-panel a[data-menu-link]:hover { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; padding-left: 0.6rem; }
.menu-foot { margin-top: auto; display: flex; gap: 0.7rem; padding-top: 1.8rem; }
.menu-foot .btn { flex: 1; justify-content: center; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.5rem 3rem;
}
.hero-inner { max-width: 880px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.4rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-trust { display: flex; align-items: center; gap: 0.9rem; justify-content: center; color: var(--muted); font-size: 0.92rem; }
.avatars { display: flex; }
.avatars i {
  width: 32px; height: 32px; border-radius: 50%; display: block; margin-left: -10px;
  border: 2px solid var(--bg);
  background: var(--grad); opacity: 0.9;
}
.avatars i:nth-child(2) { background: linear-gradient(120deg, #4dff9e, #b6ff45); }
.avatars i:nth-child(3) { background: linear-gradient(120deg, #ff8a3d, #19e87f); }
.avatars i:nth-child(4) { background: linear-gradient(120deg, #6c4cff, #4dff9e); }
.hero-trust strong { color: var(--ink); }
.scroll-hint { margin-top: 3rem; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.scroll-hint span { width: 22px; height: 36px; border: 2px solid var(--line); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: var(--g1); border-radius: 4px; transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* MARQUEE — modern chip rail */
.marquee-wrap {
  overflow: hidden; padding: 1.4rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee { display: flex; width: max-content; gap: 1rem; animation: slide 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 1rem; padding-right: 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  padding: 0.6rem 1.15rem; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
}
.chip svg { width: 18px; height: 18px; color: var(--g1); flex-shrink: 0; }
.chip:hover {
  color: #04140e; transform: translateY(-2px);
  background: var(--grad); border-color: transparent;
}
.chip:hover svg { color: #04140e; }
@keyframes slide { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) 1.5rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.8rem 1.5rem; backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: rgba(25, 232, 127, 0.35); box-shadow: var(--shadow); }
.card-ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: rgba(25, 224, 160, 0.08); border: 1px solid var(--line); margin-bottom: 1.2rem; color: var(--g1); transition: color 0.3s, background 0.3s, border-color 0.3s; }
.card-ico svg { width: 26px; height: 26px; }
.card:hover .card-ico { color: var(--g2); background: rgba(77, 255, 158, 0.12); border-color: rgba(77, 255, 158, 0.3); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 2rem 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.step-num { font-family: 'Sora'; font-size: 2.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.8rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-family: 'Sora'; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--muted); margin-top: 0.3rem; }

/* CTA */
.cta-glass {
  text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 232, 127, 0.1), rgba(182, 255, 69, 0.05));
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.cta-glass h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.cta-glass .hero-cta { margin: 1.8rem 0 0; }

/* FOOTER */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--ink); }

/* WORKSPACE UI */
.workspace { max-width: 1180px; }
.ws-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.ws-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.ws-copy .muted { font-size: 1.05rem; margin-bottom: 1.6rem; }
.ws-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.ws-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.ws-list svg { width: 20px; height: 20px; color: var(--g1); flex-shrink: 0; padding: 3px; border-radius: 50%; background: rgba(25, 224, 160, 0.1); }

.ws-app {
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 28, 46, 0.85), rgba(8, 12, 20, 0.9));
  backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.ws-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.player { display: flex; align-items: center; gap: 0.7rem; }
.player-av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 0.82rem; color: #04140e; background: var(--grad); box-shadow: 0 0 16px -4px rgba(25, 232, 127, 0.6); }
.player strong { font-size: 0.92rem; display: block; }
.player-xp { width: 130px; height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 5px; }
.player-xp i { display: block; height: 100%; border-radius: 100px; background: var(--grad); box-shadow: 0 0 8px rgba(77, 255, 158, 0.8); }
.player-meta { display: flex; align-items: center; gap: 0.5rem; }
.lvl { font-size: 0.74rem; font-weight: 700; color: var(--g1); padding: 0.3rem 0.6rem; border-radius: 8px; border: 1px solid rgba(25, 232, 127, 0.3); background: rgba(25, 232, 127, 0.08); }
.streak { font-size: 0.82rem; font-weight: 600; color: var(--orange); }

.ws-tabs { display: flex; gap: 0.4rem; padding: 1rem 1.1rem 0.4rem; flex-wrap: wrap; }
.qtab { font-size: 0.78rem; font-weight: 600; color: var(--muted); padding: 0.4rem 0.85rem; border-radius: 100px; border: 1px solid var(--line); background: none; cursor: pointer; transition: 0.25s; }
.qtab.active { color: #04140e; background: var(--grad); border-color: transparent; }

.quest-card { margin: 0.7rem 1.1rem; padding: 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(120, 255, 190, 0.04); }
.quest-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.quest-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--g2); background: rgba(108, 76, 255, 0.12); border: 1px solid rgba(108, 76, 255, 0.3); }
.quest-ico svg { width: 22px; height: 22px; color: #9d8bff; }
.quest-badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9d8bff; padding: 0.3rem 0.6rem; border-radius: 100px; border: 1px solid rgba(108, 76, 255, 0.35); }
.quest-card h4 { font-family: 'Sora'; font-size: 1.15rem; margin-bottom: 0.35rem; }
.quest-card p { font-size: 0.88rem; color: var(--muted); }
.quest-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.qf-label { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.qf-val { font-weight: 700; color: var(--g1); }
.qf-xp { font-weight: 800; color: var(--g3); font-family: 'Sora'; }

.ws-money { display: flex; align-items: center; justify-content: space-between; margin: 0 1.1rem 1.1rem; padding: 0.9rem 1.1rem; border-radius: 14px; border: 1px solid rgba(108, 76, 255, 0.25); background: linear-gradient(120deg, rgba(108, 76, 255, 0.12), rgba(25, 232, 127, 0.06)); }
.ws-money strong { font-family: 'Sora'; font-size: 1.2rem; display: block; margin-top: 2px; }
.money-up { font-size: 0.76rem; font-weight: 700; color: var(--g1); }

/* PRODUCTS / SUITE */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.product { position: relative; padding: 2rem 1.8rem; border-radius: 22px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(6px); overflow: hidden; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; transform-style: preserve-3d; }
.product::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background: radial-gradient(420px 200px at 80% -10%, rgba(25, 232, 127, 0.16), transparent 70%); pointer-events: none; }
.product-rupee::before { background: radial-gradient(420px 200px at 80% -10%, rgba(108, 76, 255, 0.2), transparent 70%); }
.product:hover { transform: translateY(-6px); border-color: rgba(25, 232, 127, 0.35); box-shadow: var(--shadow); }
.product-rupee:hover { border-color: rgba(108, 76, 255, 0.4); }
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.product-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--g2); background: rgba(25, 232, 127, 0.1); border: 1px solid rgba(25, 232, 127, 0.3); }
.product-ico svg { width: 26px; height: 26px; }
.product-ico.ico-indigo { color: #9d8bff; background: rgba(108, 76, 255, 0.12); border-color: rgba(108, 76, 255, 0.3); }
.product-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g1); padding: 0.35rem 0.7rem; border-radius: 100px; border: 1px solid rgba(25, 232, 127, 0.3); }
.product-tag.tag-indigo { color: #9d8bff; border-color: rgba(108, 76, 255, 0.35); }
.product h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.product > p { color: var(--muted); margin-bottom: 1.2rem; position: relative; }
.product-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.product-list li { position: relative; padding-left: 1.4rem; color: var(--ink); font-size: 0.95rem; }
.product-list li::before { content: "▸"; position: absolute; left: 0; color: var(--g1); }
.product-rupee .product-list li::before { color: #9d8bff; }
.product-cta { display: inline-block; font-weight: 700; text-decoration: none; color: var(--g1); transition: gap 0.2s, color 0.2s; }
.product-cta:hover { color: var(--g2); }
.product-cta.cta-indigo { color: #9d8bff; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cards, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .ws-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .cards, .steps, .stats { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; justify-content: center; }
  .menu-btn .menu-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .scroll-hint span::after { animation: none; }
}
