:root {
  --color-primary: #52cc36;
  --color-primary-dark: #2f9e1e;
  --color-surface: #272932;
  --gradient-brand: linear-gradient(135deg, #6fe04f 0%, #2f9e1e 100%);
  --bg: #f9faf8;
  --bg-alt: #edf4ea;
  --text: #15181a;
  --text-muted: #5b636b;
  --border: rgba(21, 24, 26, 0.09);
  --shadow-soft: rgba(20, 30, 20, 0.1);
  --shadow-brand: rgba(47, 158, 30, 0.28);
  --nav-h: 60px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1c22;
    --bg-alt: #272932;
    --text: #f3f5f2;
    --text-muted: #9aa1a8;
    --border: rgba(255, 255, 255, 0.08);
    --shadow-soft: rgba(0, 0, 0, 0.45);
    --shadow-brand: rgba(82, 204, 54, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

header.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px var(--shadow-soft);
}

header.nav .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--nav-h);
}

header.nav img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  transition: transform 0.4s ease;
}

header.nav .wrap:hover img {
  transform: rotate(-8deg) scale(1.08);
}

header.nav strong {
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-brand);
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }
}

.hero {
  position: relative;
  padding: 64px 0 32px;
  overflow: hidden;
  color: #fff;
}

.hero.panel {
  background-image: linear-gradient(rgba(15, 17, 20, 0.6), rgba(15, 17, 20, 0.6)), url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 760px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-text {
  animation: fade-in-up 0.8s ease both;
}

.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
}

.hero-meta {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 60%), var(--color-surface);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--shadow-brand);
}

.store-badge:active {
  transform: translateY(-1px);
}

.store-badge svg {
  width: 18px;
  height: 18px;
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fade-in-up 0.8s ease 0.15s both, float-y 5s ease-in-out 0.8s infinite;
}

.hero-image img {
  max-height: 520px;
  width: auto;
  border-radius: 24px;
}

section {
  padding: 56px 0;
}

section.alt {
  background: var(--bg-alt);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  background: var(--bg);
  box-shadow: 0 2px 10px var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--shadow-brand);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.panel {
  position: sticky;
  top: var(--nav-h);
  scroll-margin-top: var(--nav-h);
  z-index: 1;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  background: var(--bg);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -32px 48px -24px var(--shadow-soft);
  overflow: hidden;
  transform: scale(calc(1 - var(--cover, 0) * 0.06)) translateY(calc(var(--cover, 0) * -12px));
  filter: brightness(calc(1 - var(--cover, 0) * 0.15));
}

.ticker-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.panel .wrap {
  width: 100%;
}

.panel:first-of-type {
  box-shadow: none;
}

.quote-panel {
  min-height: 0;
  padding: 96px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote {
  margin: 0;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.panel.cta {
  background: var(--gradient-brand);
}

.panel.cta .section-title,
.panel.cta .section-sub {
  color: #08260a;
}

.panel.cta .store-badge {
  box-shadow: 0 8px 24px rgba(8, 38, 10, 0.25);
}

h2.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

p.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 40px;
  font-size: 16px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.features .feature-card:nth-child(3n + 1),
.steps .step:nth-child(3n + 1) { transition-delay: 0s; }
.features .feature-card:nth-child(3n + 2),
.steps .step:nth-child(3n + 2) { transition-delay: 0.08s; }
.features .feature-card:nth-child(3n + 3),
.steps .step:nth-child(3n + 3) { transition-delay: 0.16s; }

@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  background: var(--bg);
  box-shadow: 0 2px 10px var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--shadow-brand);
  border-color: rgba(82, 204, 54, 0.4);
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.feature-card .icon svg {
  width: 20px;
  height: 20px;
}

.feature-card:hover .icon {
  transform: scale(1.12) rotate(-6deg);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

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

.screens {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
}

.screens img {
  scroll-snap-align: center;
  border-radius: 20px;
  border: 1px solid var(--border);
  width: 220px;
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screens img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px var(--shadow-brand);
}

.pro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) {
  .pro {
    grid-template-columns: 1fr;
  }
}

.pro ul {
  padding: 0;
  list-style: none;
  margin: 0;
}

.pro li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.pro li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 800;
  margin-right: 10px;
}

.pro-badge {
  display: inline-block;
  background: var(--gradient-brand);
  color: #08260a;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

footer a {
  text-decoration: none;
  color: var(--text);
}

footer a:hover {
  color: var(--color-primary);
}

footer nav {
  display: flex;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.feature-card,
.screens img,
.step {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .panel {
    position: static;
    transform: none !important;
    filter: none !important;
    box-shadow: none;
  }
}
