@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-950: #03110a;
  --bg-900: #071f12;
  --bg-800: #0a3420;
  --accent: #22c55e;
  --accent-dim: #17532f;
  --white: #ffffff;
  --grey: #9fb0a8;
  --grey-dim: #6b7d74;
  --card: #0d1f15;
  --card-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-950);
  color: var(--white);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- nav ---------- */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 32px;
  min-height: 46px;
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: content-box;
}
.nav-logo {
  height: 46px;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--grey); }
.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--white); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: visible;
  padding-top: 12px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
}
.hero-inner > * { min-width: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero p.sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 460px;
  margin: 0 0 36px;
}

/* ---------- ticket / download card ---------- */
.ticket {
  display: flex;
  align-items: stretch;
  background: linear-gradient(155deg, #10241a 0%, #0a1c13 60%, #081810 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  overflow: hidden;
  max-width: 480px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(34, 197, 94, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--bg-950);
  border-radius: 50%;
  z-index: 2;
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }

.ticket-main {
  flex: 1;
  min-width: 0;
  padding: 24px 22px;
  border-right: 1px dashed rgba(255,255,255,0.16);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticket-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  color: #05100a;
  border-radius: 999px;
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.store-badge svg { width: 19px; height: 19px; flex-shrink: 0; }

.ticket-note { margin-top: 16px; font-size: 13px; color: var(--grey); }

.ticket-qr {
  width: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  flex-shrink: 0;
  position: relative;
}
.ticket-qr::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  padding: 1.5px;
  background: conic-gradient(from 0deg, rgba(34,197,94,0) 0%, rgba(34,197,94,0.9) 12%, rgba(34,197,94,0) 26%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: qrRing 5s linear infinite;
  pointer-events: none;
}
@keyframes qrRing { to { transform: rotate(360deg); } }
.ticket-qr #qrcode { border-radius: 8px; overflow: hidden; }
.ticket-qr canvas, .ticket-qr img { display: block; width: 100% !important; height: auto !important; }

/* ---------- hero phone ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}
.hero-visual img {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
  position: relative;
  z-index: 2;
}
.hero-visual:hover img { transform: rotateY(-7deg) rotateX(3deg) scale(1.015); }

.hero-glow-local {
  position: absolute;
  width: 560px;
  height: 560px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.30), transparent 68%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  background: linear-gradient(155deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.045) 60%, rgba(34,197,94,0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(34, 197, 94, 0.10),
    0 1px 0 rgba(255,255,255,0.20) inset,
    0 0 18px rgba(34, 197, 94, 0.12);
  font-size: 12.5px;
  color: var(--white);
  white-space: nowrap;
  animation: floatCard 7s ease-in-out infinite;
  pointer-events: none;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .float-card {
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
  }
}
.float-card .val { font-weight: 700; color: var(--accent); }
.float-card.fc1 { top: 4%;  left: -10%; animation-delay: 0s; }
.float-card.fc2 { top: 16%; right: -13%; animation-delay: -2.2s; }
.float-card.fc3 { top: 46%; left: -15%; animation-delay: -4.4s; }
.float-card.fc4 { top: 58%; right: -12%; animation-delay: -1.1s; }
.float-card.fc5 { bottom: 12%; left: -8%; animation-delay: -3.3s; }
.float-card.fc6 { bottom: 3%;  right: -7%; animation-delay: -5.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@media (max-width: 1180px) {
  .float-card { font-size: 11px; padding: 8px 12px; }
  .float-card.fc2, .float-card.fc3, .float-card.fc5 { display: none; }
  .float-card.fc1 { top: -4%; left: -4%; }
  .float-card.fc4 { top: 52%; right: -6%; }
  .float-card.fc6 { bottom: -2%; right: 2%; }
  .hero-glow-local { width: 420px; height: 420px; filter: blur(44px); }
}
@media (max-width: 520px) {
  .float-card { font-size: 10px; padding: 7px 10px; }
  .float-card.fc1 { top: -3%; left: 0%; }
  .float-card.fc4 { top: 54%; right: -2%; }
  .float-card.fc6 { bottom: -4%; right: 6%; }
}

/* ---------- features ---------- */
.features {
  padding: 96px 0 80px;
  position: relative;
}
.features-head { max-width: 560px; margin-bottom: 48px; }
.features-head h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.features-head p { color: var(--grey); font-size: 16px; line-height: 1.6; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  background: linear-gradient(155deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 26px 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 20px 40px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature.in-view { opacity: 1; transform: translateY(0); }
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 30px 55px rgba(0,0,0,0.32), 0 0 0 1px rgba(34,197,94,0.14);
}
.feature .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 18px;
}
.feature .icon-badge svg { width: 19px; height: 19px; stroke: var(--accent); }
.feature h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.feature p { font-size: 14px; color: var(--grey-dim); line-height: 1.55; margin: 0; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--card-border);
  padding: 32px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--grey); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--grey-dim); }

/* ==================================================================
   ATMOSPHERE — shared fixed background layer behind every section.
   Gives the whole page continuous depth instead of stacked blocks.
   ================================================================== */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.page { position: relative; z-index: 1; }

.atm-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 640px at 22% 4%, rgba(34,197,94,0.13), transparent 58%),
    radial-gradient(900px 600px at 82% 30%, rgba(16,150,90,0.09), transparent 60%),
    linear-gradient(180deg, #03110a 0%, #061f13 30%, #04170e 60%, #030f09 100%);
}

/* faint film-grain noise, keeps flat gradients from looking sterile */
.atm-noise {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* barely-visible market grid, faded toward the edges */
.atm-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 18%, black, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 18%, black, transparent 72%);
}

.atm-chartline { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.atm-chartline .chart-path {
  filter: drop-shadow(0 0 8px rgba(34,197,94,0.45));
  stroke-dasharray: 6 10;
  animation: chartDrift 60s linear infinite;
}
@keyframes chartDrift { to { stroke-dashoffset: -640; } }

.atm-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  animation: floatGlow ease-in-out infinite;
}
.atm-glow.g1 { width: 620px; height: 620px; top: -8%; left: 6%; background: radial-gradient(circle, rgba(34,197,94,0.30), transparent 70%); animation-duration: 30s; }
.atm-glow.g2 { width: 520px; height: 520px; top: 34%; right: 0%; background: radial-gradient(circle, rgba(34,197,94,0.20), transparent 70%); animation-duration: 24s; animation-delay: -6s; }
.atm-glow.g3 { width: 600px; height: 600px; bottom: -10%; left: 26%; background: radial-gradient(circle, rgba(16,150,90,0.18), transparent 70%); animation-duration: 34s; animation-delay: -14s; }
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, -28px); }
}

/* signature element — large geometric bull watermark, always faintly present */
.atm-bull {
  position: absolute;
  top: 1%;
  left: 50%;
  width: min(1050px, 130vw);
  transform: translateX(-50%);
  opacity: 0.09;
  filter: blur(1.5px);
}

.atm-particle {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.55; }
  92% { opacity: 0.35; }
  100% { transform: translateY(-92vh); opacity: 0; }
}

.atm-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 92% 78% at 50% 38%, transparent 55%, rgba(0,0,0,0.5) 100%);
}

/* ---------- storytelling section ---------- */
.story { padding: 88px 0 96px; position: relative; }
.story-track { max-width: 620px; margin: 0 auto; position: relative; padding-left: 32px; }
.story-track::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(34,197,94,0) 0%, rgba(34,197,94,0.55) 14%, rgba(34,197,94,0.55) 86%, rgba(34,197,94,0) 100%);
}
.story-line {
  position: relative;
  padding: 20px 0;
  margin: 0;
  font-size: 19px;
  color: var(--grey);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.story-line::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(34,197,94,0.85);
}
.story-line.in-view { opacity: 1; transform: translateY(0); }
.story-line.final { color: var(--white); font-weight: 600; font-size: 22px; }

/* ---------- footer signature bull ---------- */
footer { position: relative; overflow: hidden; }
.footer-bull {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 260px;
  opacity: 0.07;
  filter: blur(0.5px);
  pointer-events: none;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .atm-glow, .atm-particle, .float-card, .ticket-qr::before, .atm-chartline .chart-path,
  .story-line, .feature, .hero-visual img {
    animation: none !important;
    transition: none !important;
  }
  .story-line, .feature { opacity: 1 !important; transform: none !important; }
}


.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 100px;
}
.legal h1 { font-size: 36px; margin-bottom: 6px; }
.legal .updated { color: var(--grey-dim); font-size: 14px; margin-bottom: 44px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; color: var(--white); }
.legal p, .legal li { color: var(--grey); font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal a.back { color: var(--accent); text-decoration: none; font-size: 14px; display: inline-block; margin-bottom: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 20px 20px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; }
  .hero-visual { margin-top: 8px; margin-bottom: 4px; max-width: 240px; margin-left: auto; margin-right: auto; }
  .hero-visual img { max-width: 220px; }
  .hero h1 { font-size: 38px; }
  .hero p.sub { font-size: 16px; }
  .features { padding: 64px 0 56px; }
  .features-head h2 { font-size: 27px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .atm-bull { opacity: 0.08; top: -2%; }
  .atm-grid { opacity: 0.045; }
  .hero-glow-local { width: 380px; height: 380px; filter: blur(40px); }
  .story { padding: 60px 0 68px; }
  .story-line { font-size: 17px; padding: 16px 0; }
  .story-line.final { font-size: 19px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .ticket { max-width: 100%; flex-direction: row; }
  .ticket-qr { width: 108px; padding: 14px; }
  .hero h1 { font-size: 34px; }
  .hero-glow-local { width: 240px; height: 240px; filter: blur(30px); }
  .footer-bull { width: 180px; right: -40px; }
}
@media (max-width: 380px) {
  .ticket { flex-direction: column; }
  .ticket::before, .ticket::after { display: none; }
  .ticket-main { border-right: none; border-bottom: 1px dashed rgba(255,255,255,0.16); width: 100%; }
  .ticket-qr { width: 100%; padding: 20px; }
  .store-badge { padding: 14px 22px; font-size: 15px; }
}
