@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  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 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-logo { height: 32px; display: block; }
.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: hidden;
  padding-top: 12px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 20% 8%, rgba(34,197,94,0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-950) 0%, var(--bg-900) 45%, var(--bg-800) 100%);
}

.hero-bg svg { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; opacity: 0.55; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 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: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 460px;
  position: relative;
}

.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;
  padding: 24px 22px;
  border-right: 1px dashed rgba(255,255,255,0.16);
}

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

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: #05100a;
  border-radius: 11px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { width: 20px; height: 20px; }

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

.ticket-qr {
  width: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  flex-shrink: 0;
}
.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;
}
.hero-visual img {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
}

/* ---------- 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: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
}
.feature {
  background: var(--card);
  padding: 28px 24px;
}
.feature .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  margin-bottom: 18px;
}
.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); }

/* ---------- legal pages ---------- */
.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; }
  .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; }
}
@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; }
}
