:root {
  --green: #34b27b;
  --green-dim: rgba(52, 178, 123, 0.14);
  --green-glow: rgba(52, 178, 123, 0.45);
  --text: #f8f9fa;
  --text-muted: rgba(248, 249, 250, 0.62);
  --text-soft: rgba(248, 249, 250, 0.42);
  --bg: #11181c;
  --bg-elevated: #1c252b;
  --border: rgba(248, 249, 250, 0.08);
  --border-strong: rgba(248, 249, 250, 0.14);
  --glass: rgba(28, 37, 43, 0.55);
  --glass-strong: rgba(28, 37, 43, 0.72);
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --wrap: min(1080px, calc(100% - 4rem));
  --nav-h: 80px;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Atmosphere —— */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.ambient-glow-a {
  width: min(75vw, 780px);
  height: min(75vw, 780px);
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--green-glow), transparent 68%);
  opacity: 0.55;
  animation: glow-breathe 8s ease-in-out infinite;
}

.ambient-glow-b {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  bottom: 12%;
  left: -8%;
  background: radial-gradient(circle, rgba(52, 178, 123, 0.28), transparent 70%);
  opacity: 0.4;
  animation: glow-breathe 11s ease-in-out infinite reverse;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 249, 250, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 249, 250, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 18%, transparent 72%);
  animation: grid-drift 28s linear infinite;
}

.ambient-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.72; }
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 178, 123, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 178, 123, 0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* —— Glass —— */
.glass-panel {
  background: var(--glass);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(52, 178, 123, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.85rem 0 0;
  height: auto;
  background: transparent;
}

.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 1rem 0 1.15rem;
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav.is-scrolled .nav-inner {
  background: var(--glass-strong);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  width: auto;
  height: 22px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.875rem;
  border-radius: 999px;
}

.btn-primary {
  background: var(--green);
  color: #0b1215;
  box-shadow: 0 0 0 0 rgba(52, 178, 123, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(52, 178, 123, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(248, 249, 250, 0.04);
  border-color: rgba(248, 249, 250, 0.28);
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 8vh, 5.5rem) 0 clamp(4rem, 10vh, 6.5rem);
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  width: 100%;
  text-align: center;
  justify-items: center;
}

.hero-copy {
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 178, 123, 0.35);
  background: rgba(52, 178, 123, 0.1);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: live-pulse 2.2s ease-out infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

.accent-word {
  display: inline-block;
  background: linear-gradient(120deg, #5dd39e 0%, var(--green) 45%, #1f8f5f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(52, 178, 123, 0.2);
}

.hero-lead {
  margin: 0 0 1.85rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  width: min(220px, 40vw);
  height: min(220px, 40vw);
  display: grid;
  place-items: center;
}

.hero-orb {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 178, 123, 0.35), transparent 68%);
  filter: blur(18px);
  animation: glow-breathe 7s ease-in-out infinite;
}

.hero-mark {
  position: relative;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 22px rgba(52, 178, 123, 0.5));
}

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

/* —— Features —— */
.features {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 9vh, 6.5rem) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.feature-card {
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(52, 178, 123, 0.35);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(52, 178, 123, 0.08),
    0 22px 56px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  background: var(--green-dim);
  color: var(--green);
}

.feature-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-body {
  margin: 0;
  font-size: 0.975rem;
  color: var(--text-muted);
}

/* —— Platform —— */
.platform {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vh, 7rem) 0;
  border-top: 1px solid var(--border);
}

.platform-inner {
  display: grid;
  gap: 2.5rem;
}

.platform-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .platform-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.platform-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.platform-shot:hover {
  border-color: rgba(52, 178, 123, 0.3);
  transform: translateY(-2px);
}

.platform-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.platform-shot figcaption {
  margin: 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(0, 0, 0, 0.18);
}

/* —— Footer —— */
.ft {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.ft-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ft-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.ft-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.ft-links a:hover {
  color: var(--green);
}

.ft-links a:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-in {
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal[data-i="0"].is-in { animation-delay: 0.05s; }
.reveal[data-i="1"].is-in { animation-delay: 0.14s; }
.reveal[data-i="2"].is-in { animation-delay: 0.24s; }
.reveal[data-i="3"].is-in { animation-delay: 0.34s; }
.reveal[data-i="4"].is-in { animation-delay: 0.48s; }

/* —— Responsive —— */
@media (max-width: 720px) {
  :root {
    --wrap: min(1080px, calc(100% - 2.5rem));
    --nav-h: 72px;
  }

  .nav {
    padding-top: 0.65rem;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    padding-inline: 0.85rem;
  }

  .hero {
    padding-top: 2rem;
    min-height: auto;
  }

  .hero-visual {
    width: 160px;
    height: 160px;
  }

  .hero-mark {
    width: 56px;
    height: 56px;
  }

  .ft-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow,
  .ambient-grid,
  .reveal,
  .hero-orb,
  .float {
    animation: none !important;
  }

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

  .feature-card:hover,
  .platform-shot:hover,
  .btn:hover {
    transform: none;
  }
}
