:root {
  --bg: #06111d;
  --panel: #0b1a2c;
  --panel-2: #11233b;
  --text: #ebf3ff;
  --muted: #a8b8d2;
  --primary: #78c7ff;
  --accent: #76f1c2;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(120, 199, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #06111d 0%, #0a1726 100%);
  color: var(--text);
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(6, 17, 29, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
}

.section {
  padding: 4.5rem 0;
}

.alt {
  background: rgba(255, 255, 255, 0.02);
}

.hero-grid,
.process-grid,
.card-grid,
.tree-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
}

.process-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.tree-grid,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rules-card {
  padding: 1.65rem;
  background:
    linear-gradient(180deg, rgba(17, 35, 59, 0.98), rgba(9, 18, 32, 0.98));
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.rules-card h3 {
  margin-top: 0.8rem;
}

.rules-card p {
  margin-bottom: 1rem;
}

.tree-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.tree-grid > article:nth-child(1) {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(120, 199, 255, 0.18), rgba(118, 241, 194, 0.12));
  border-color: rgba(120, 199, 255, 0.4);
  position: relative;
}

.tree-grid > article:nth-child(1)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.two-column {
  margin-top: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(120, 199, 255, 0.14);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 0.8rem 0 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 0.5rem 0 1rem;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  max-width: 12ch;
  letter-spacing: -0.03em;
}

.section-heading-inline {
  margin-bottom: 1rem;
}

.section-heading-inline h2 {
  max-width: none;
}

.rules-section {
  margin-top: 2rem;
  padding: 0.25rem 0;
}

.rules-intro {
  margin: 0 0 1.25rem;
  max-width: 72ch;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card h3 {
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.info-card,
.cta-card,
.step {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), #86a2ff);
  color: #05111b;
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero-points {
  margin: 1.2rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.glass-card,
.info-card,
.cta-card,
.step {
  background:
    linear-gradient(180deg, rgba(17, 35, 59, 0.98), rgba(9, 18, 32, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-card {
  padding: 1.5rem;
}

.product-image {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.stat-line {
  margin: 1rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-grid label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.info-card,
.step,
.cta-card {
  padding: 1.35rem;
}

.info-card img {
  margin-top: 1rem;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-stack {
  display: grid;
  gap: 1rem;
}

.video-stack iframe,
.full-width-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
}

.full-width-video {
  margin: 1.5rem 0;
  background: linear-gradient(180deg, rgba(17, 35, 59, 0.95), rgba(8, 18, 33, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.compact-video {
  margin-top: 1rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.step span {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.shop-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.shop-points span {
  padding: 0.45rem 0.8rem;
  background: rgba(120, 199, 255, 0.12);
  color: var(--text);
  border-radius: 999px;
}

.cta-card {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .process-grid,
  .card-grid,
  .tree-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .tree-grid > article:nth-child(1) {
    grid-column: span 1;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 1rem;
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: rgba(6, 17, 29, 0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }
}
