@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap');

:root {
  --bg: #06070f;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --primary: #B4D03A;         /* accent for dark mode */
  --secondary: #3A54D0;       /* complementary pop */
  --tertiary: #F4F7DC;        /* soft highlight */
  --brand-dark: #B4D03A;
  --text: #e8ecf2;
  --muted: #a7afc2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

.light {
  --bg: #B4D03A;              /* requested light background */
  --card: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.12);
  --primary: #2E3A0B;         /* deep text-friendly tone */
  --secondary: #3A54D0;       /* keep complementary for contrast */
  --tertiary: #F9FBEC;
  --text: #111807;
  --muted: #2f3b14;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body:not(.light) {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 18% 18%, rgba(58, 84, 208, 0.12), transparent 36%),
              radial-gradient(circle at 72% 12%, rgba(180, 208, 58, 0.16), transparent 40%),
              linear-gradient(145deg, #05060c, #0a0c17 40%, #05060c);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  animation: canvasShift 18s ease-in-out infinite alternate;
}

.light body,
body.light {
  background: linear-gradient(140deg, #B4D03A 0%, #c8dd5d 40%, #b0ce3b 100%);
  animation: none;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 15, 0.7);
  border-bottom: 1px solid var(--border);
}

body.light nav {
  background: rgba(255, 255, 255, 0.4);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.brand img {
  width: 28px;
  height: 28px;
  filter: brightness(9);
  animation: logoPulse 3s ease-in-out infinite;
}

.brand .light-logo { display: none; }
.light .brand .dark-logo { display: none; }
.light .brand .light-logo { display: inline-block; }

body.light .brand img {
  filter: brightness(1) saturate(1.2);
}

.brand-name {
  color: var(--brand-dark);
}

.light .brand-name {
  color: var(--text);
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(180, 208, 58, 0.12), rgba(58, 84, 208, 0.10));
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 208, 58, 0.4);
  background: linear-gradient(135deg, rgba(180, 208, 58, 0.18), rgba(58, 84, 208, 0.16));
}

header {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -1.1px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.accent { color: var(--primary); }

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 24px;
}

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

.btn {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(180, 208, 58, 0.25), rgba(58, 84, 208, 0.22));
  color: var(--text);
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(180, 208, 58, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.btn.secondary {
  background: linear-gradient(135deg, rgba(58, 84, 208, 0.18), rgba(180, 208, 58, 0.12));
  color: var(--text);
}

.hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(180, 208, 58, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-card h3 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
}

.ticker {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.ticker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--muted);
}

.ticker-row strong {
  color: var(--text);
  letter-spacing: 0.3px;
}

.floating {
  position: absolute;
  width: 280px;
  height: 280px;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: float 16s ease-in-out infinite alternate;
}

.floating.one {
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(180, 208, 58, 0.45), transparent 60%);
}

.floating.two {
  bottom: -25%;
  left: -5%;
  animation-duration: 18s;
  background: radial-gradient(circle, rgba(58, 84, 208, 0.45), transparent 60%);
}

body.light .floating.one,
body.light .floating.two {
  filter: blur(70px);
  opacity: 0.28;
  background: radial-gradient(circle, rgba(58, 84, 208, 0.20), transparent 60%);
}

section {
  padding: 72px 0;
  position: relative;
}

.label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  margin-bottom: 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.6px;
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
}

.card::after {
  content: '';
  position: absolute;
  inset: -60% auto auto -60%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(180, 208, 58, 0.25), transparent 60%);
  transform: translate3d(0, 0, -1px);
  opacity: 0;
  transition: opacity 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 246, 194, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.card:hover::after { opacity: 1; }

.card h3,
.card p {
  transition: transform 0.4s ease;
}

.card:hover h3 { transform: translateY(-4px); }
.card:hover p { transform: translateY(4px); }
.card { will-change: transform; }

.card h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(142, 246, 194, 0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.stat strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}

.process {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.step::before {
  content: attr(data-step);
  position: absolute;
  top: 12px;
  right: 12px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
}

.cta {
  text-align: center;
  padding: 78px 24px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(142, 246, 194, 0.14), rgba(125, 211, 255, 0.12));
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cta h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  font-family: 'Space Grotesk', sans-serif;
}

.cta p { color: var(--muted); margin: 0 0 24px; }

footer {
  padding: 32px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer-grid h4 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-grid a { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.anchor-pad { scroll-margin-top: 90px; }

.trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--x) var(--y), rgba(180, 208, 58, 0.08), transparent 18%);
  opacity: 0.8;
  transition: background 0.12s ease;
  mix-blend-mode: screen;
  z-index: 1;
}

.light .trail {
  background: radial-gradient(circle at var(--x) var(--y), rgba(58, 84, 208, 0.10), transparent 20%);
  mix-blend-mode: multiply;
}

.stripe {
  position: absolute;
  inset: auto auto -120px 0;
  width: 160%;
  height: 120px;
  background: linear-gradient(90deg, rgba(180, 208, 58, 0.18), rgba(58, 84, 208, 0.12), rgba(180, 208, 58, 0.18));
  filter: blur(32px);
  animation: stripeSlide 16s linear infinite;
  opacity: 0.35;
}

.light .stripe {
  background: linear-gradient(90deg, rgba(58, 84, 208, 0.20), rgba(46, 58, 11, 0.18), rgba(58, 84, 208, 0.20));
  opacity: 0.25;
}

.reveal-text {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  overflow: hidden;
}

.reveal-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.2em);
  animation: reveal 0.6s ease-out forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 720px) {
  nav .wrap { padding: 14px 0; }
  header { padding-top: 72px; }
  .hero-card { order: -1; }
  .actions { width: 100%; }
  .btn { width: 100%; text-align: center; }
}

@keyframes float {
  from { transform: translateY(-12px) scale(1); }
  to { transform: translateY(14px) scale(1.05); }
}

@keyframes canvasShift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 6% 6%, -4% 8%, 0 0; }
}

@keyframes stripeSlide {
  from { transform: translateX(-10%); }
  to { transform: translateX(-50%); }
}

@keyframes logoPulse {
  0%, 100% { filter: brightness(9) drop-shadow(0 0 8px rgba(142, 246, 194, 0.5)); }
  50% { filter: brightness(12) drop-shadow(0 0 14px rgba(125, 211, 255, 0.7)); }
}
