:root {
  --bg: #fffaf2;
  --bg-soft: #fff2d9;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #ffffff;
  --text: #1c2340;
  --muted: #5f6787;
  --line: rgba(28, 35, 64, 0.08);
  --coral: #ff7a59;
  --gold: #ffcb57;
  --mint: #59d9b7;
  --sky: #77b8ff;
  --shadow: 0 24px 80px rgba(53, 55, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 203, 87, 0.35), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(119, 184, 255, 0.3), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #fffaf2 55%, #fff6eb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  background: linear-gradient(135deg, var(--coral), #ff9b5f);
  box-shadow: var(--shadow);
}

.brand p,
.brand span {
  margin: 0;
}

.brand p {
  font-weight: 800;
}

.brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.section {
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: 82vh;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--coral);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", sans-serif;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  margin-top: 18px;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  margin-top: 16px;
}

h3 {
  font-size: 1.6rem;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--text), #39457b);
  box-shadow: var(--shadow);
}

.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.device-card,
.feature-card,
.timeline-card,
.reward-card,
.reward-panel,
.final-cta {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.device-card {
  width: min(420px, 100%);
  margin-left: auto;
  border-radius: 32px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.device-top {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.coral {
  background: var(--coral);
}

.gold {
  background: var(--gold);
}

.mint {
  background: var(--mint);
}

.quest-card {
  border-radius: 26px;
  padding: 28px;
  color: white;
}

.quest-card.sky {
  background: linear-gradient(135deg, #71b6ff, #4a85ff);
}

.quest-card .label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.quest-card h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.quest-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 2;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.mini-card {
  border-radius: 22px;
  padding: 20px;
  background: #fffaf4;
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.mini-card strong {
  font-size: 1.5rem;
  font-family: "Baloo 2", sans-serif;
}

.bubble {
  position: absolute;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.bubble-a {
  top: 72px;
  left: 8%;
  background: #fff;
}

.bubble-b {
  top: 230px;
  right: 2%;
  background: var(--gold);
}

.bubble-c {
  bottom: 54px;
  left: 14%;
  background: #dffbf3;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  border-radius: 26px;
  padding: 28px;
}

.feature-card span,
.reward-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(119, 184, 255, 0.14);
  color: #3d6fcf;
  font-weight: 800;
  font-size: 0.82rem;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-card {
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
}

.timeline-step {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  font-family: "Baloo 2", sans-serif;
  font-size: 2rem;
  color: white;
  background: linear-gradient(135deg, var(--coral), #ffad5f);
}

.reward-panel {
  border-radius: 36px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.reward-stack {
  display: grid;
  gap: 16px;
}

.reward-card {
  border-radius: 26px;
  padding: 24px;
}

.reward-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-family: "Baloo 2", sans-serif;
}

.final-cta {
  border-radius: 36px;
  padding: 36px;
  text-align: center;
  margin-bottom: 36px;
}

.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.float {
  animation: drift 5.5s ease-in-out infinite;
}

.float.slow {
  animation-duration: 7.2s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 920px) {
  .topbar,
  .hero,
  .reward-panel {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    gap: 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-visual {
    min-height: 460px;
  }

  .device-card {
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.5rem;
  }

  .bubble {
    font-size: 0.88rem;
  }
}
