:root {
  --bg-page: #f3f4f6;
  --bg-card: #ffffff;
  --bg-card-soft: #f9fafb;
  --accent-primary: #f97316;
  --accent-secondary: #0ea5e9;
  --accent-pink: #ec4899;
  --text-main: #020617;
  --text-muted: #6b7280;
  --border-soft: rgba(148, 163, 184, 0.35);
  --radius-xl: 1.75rem;
  --transition-fast: 0.18s ease-out;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.page-bg-gradients {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 0% 80%, rgba(52, 211, 153, 0.13), transparent 60%);
  opacity: 0.7;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: conic-gradient(from 140deg, #f97316, #ec4899, #0ea5e9, #22c55e, #f97316);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #020617;
  box-shadow: 0 0 0 2px #ffffff, 0 10px 25px rgba(15, 23, 42, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #ec4899, #0ea5e9);
  transition: width var(--transition-fast);
}

.main-nav a:hover {
  color: #111827;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 0.96rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ec4899);
  color: #111827;
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(249, 115, 22, 0.4);
}

.btn-ghost {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.8);
  color: #111827;
}

.btn-ghost:hover {
  background: #f9fafb;
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.8);
  color: #111827;
}

.btn-outline:hover {
  border-color: #f97316;
  background: #fff7ed;
}

.btn-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.9);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* HERO */
.hero {
  padding: 3.2rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.08;
  margin: 1rem 0 0.7rem;
}

.text-gradient {
  background: linear-gradient(120deg, #f97316, #ec4899, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 0.78rem;
  color: #111827;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.6rem 0 1.4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.stat-card {
  min-width: 130px;
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.25);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 600;
}

/* HERO RIGHT - quiz mockup */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.device-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #fefce8, #ffffff);
  border: 1px solid rgba(248, 189, 135, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.3rem 1.5rem;
  position: relative;
  max-width: 420px;
  margin-left: auto;
}

.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.device-pill {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.device-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.device-question {
  background: #ffffff;
  border-radius: 1.3rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.question-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.question-text {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.option {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
  color: #111827;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.option:hover {
  background: #fff7ed;
  border-color: #fdba74;
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.18);
  transform: translateY(-1px);
}

.option-correct {
  border-color: #22c55e;
  background: #ecfdf3;
}

.device-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 0.9rem;
}

.progress-wrap {
  flex: 1;
}

.progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-inner {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #f97316, #ef4444);
  transform-origin: right;
  transform: scaleX(1);
}

.progress-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.payout-chip {
  padding: 0.5rem 0.85rem;
  border-radius: 1rem;
  background: #ecfdf3;
  border: 1px solid #4ade80;
  font-size: 0.78rem;
}

/* Floating info cards now stacked, not overlapping */
.floating-card {
  border-radius: 1.1rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
  max-width: 420px;
  box-shadow: var(--shadow-soft);
}

.card-cash {
  background: linear-gradient(135deg, #ecfdf3, #f0fdf4);
  border: 1px solid #86efac;
}

.card-retry {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  border: 1px solid #fed7aa;
}

.highlight {
  font-weight: 600;
}

/* Sections */
.section {
  padding: 3rem 0 2.7rem;
}

.section-alt {
  background: #f9fafb;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border-radius: 1.3rem;
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 45px rgba(148, 163, 184, 0.2);
  position: relative;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fefce8;
  border: 1px solid rgba(248, 189, 135, 0.8);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Stages */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.stage-card {
  background: var(--bg-card);
  border-radius: 1.25rem;
  padding: 1rem 1.2rem 1.1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 45px rgba(148, 163, 184, 0.22);
}

.stage-card-outline {
  border-style: dashed;
  border-color: #f97316;
  background: radial-gradient(circle at top, #fff7ed, #ffffff);
}

.stage-card h3 {
  margin: 0 0 0.25rem;
}

.stage-questions {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.stage-label {
  margin: 0.7rem 0 0.1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.9);
}

.stage-amount {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 55px rgba(148, 163, 184, 0.3);
  text-align: left;
}

.feature-card img {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 1.1rem;
  margin-bottom: 0.7rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.25);
}

.faq-question {
  width: 100%;
  padding: 0.8rem 1rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  color: #111827;
  font-size: 0.9rem;
}

.faq-toggle {
  margin-left: 0.75rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 0.8rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  padding: 1.6rem 0 1.8rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.2rem;
  align-items: flex-start;
}

.footer-brand {
  margin-bottom: 0.4rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #111827;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero-right {
    max-width: 480px;
    margin: 0 auto;
  }

  .device-card {
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stages-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  
  .container {
    padding: 0 1.1rem;
  }

  .nav-cta {
    margin-left: auto;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-cta .btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }

  .hero-right {
    width: 100%;
  }

  .device-card,
  .floating-card {
    max-width: 100%;
  }
}

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav.open,
  .hero {
    padding-top: 2.5rem;
  }

  .steps-grid,
  .stages-grid,
  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 2.4rem 0 2.1rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .device-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left h1 {
    font-size: 2.1rem;
  }
}
