:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --panel: rgba(22, 22, 22, 0.9);
  --panel-strong: rgba(28, 28, 28, 0.96);
  --text: #f3f3ee;
  --muted: #a5a5a0;
  --green: #b7ee87;
  --green-deep: #42c976;
  --red: #ff5068;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 26px 96px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 65% 44%, rgba(255, 255, 255, 0.045), transparent 24rem),
    linear-gradient(180deg, #080808 0%, #050505 48%, #030303 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 16%, rgba(0, 0, 0, 0.65), transparent 72%);
}

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

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 238, 135, 0.18), rgba(72, 202, 118, 0.08) 38%, transparent 68%);
  filter: blur(16px);
  opacity: 0.78;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 0;
  transition: opacity 240ms ease;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 28px;
}

.brand,
.nav,
.search-pill,
.header-action,
.button,
.feature-card,
.hero-visual,
.stats,
.story,
.faq-list details,
.cta {
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #080808;
  color: #050505;
  box-shadow: none;
}

.nav {
  display: flex;
  gap: 26px;
  flex: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav a,
.header-action {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.nav a {
  padding: 8px 0;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

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

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.74);
  color: var(--muted);
}

.search-pill span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-pill span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-pill em {
  font-style: normal;
}

.header-action {
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #303030, #232323);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(430px, 0.88fr);;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 74px 0 92px;
}

.hero-copy,
.hero-visual,
.feature-card,
.story,
.cta {
  animation: rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 510px;
  margin-bottom: 22px;
  font-size: clamp(50px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text {
  max-width: 430px;
  color: var(--muted);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(215, 255, 180, 0.55);
  background: linear-gradient(180deg, #c6f49b, var(--green));
  color: #10230e;
  box-shadow: 0 18px 44px rgba(183, 238, 135, 0.16);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  border: 0;
  background: transparent;
}

.ambient-flow {
  position: relative;
  width: min(100%, 500px);
  height:min(100%, 500px);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(183, 238, 135, 0.08), rgba(255, 255, 255, 0.015) 48%, transparent),
    rgba(12, 12, 12, 0.52);
  filter: drop-shadow(0 34px 86px rgba(0, 0, 0, 0.72));
}

.ambient-flow::before,
.ambient-flow::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(183, 238, 135, 0.22), transparent);
  filter: blur(26px);
  transform: rotate(-10deg);
  animation: flowShift 9s ease-in-out infinite;
}

.ambient-flow::before {
  top: 42px;
}

.ambient-flow::after {
  bottom: 28px;
  opacity: 0.55;
  animation-delay: -3s;
  animation-direction: alternate-reverse;
}

.flow-line {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), rgba(183, 238, 135, 0.32), transparent);
  opacity: 0.78;
  transform: rotate(-11deg);
  animation: lineFloat 6.8s ease-in-out infinite;
}

.line-one {
  top: 34%;
}

.line-two {
  top: 52%;
  opacity: 0.55;
  animation-delay: -2s;
}

.line-three {
  top: 68%;
  opacity: 0.38;
  animation-delay: -4s;
}

.flow-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.08) 40%, transparent 54%),
    radial-gradient(ellipse at 50% 100%, rgba(183, 238, 135, 0.16), transparent 55%);
  transform: translateX(-18%);
  animation: sheen 7.5s ease-in-out infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 96px;
  border-radius: 18px;
  background: var(--line);
}

.stats div {
  padding: 26px;
  background: rgba(16, 16, 16, 0.9);
}

.stats strong {
  display: block;
  font-size: 34px;
}

.stats span,
.feature-card p,
.story p,
.faq-list p,
.cta {
  color: var(--muted);
}

.section {
  padding: 0 0 104px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.feature-card {
  min-height: 260px;
  padding: 26px;
  border-radius: 18px;
  background: var(--panel);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 238, 135, 0.32);
  background: var(--panel-strong);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(85, 242, 143, 0.12);
  color: var(--green);
  font-weight: 800;
}

.story {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 104px;
  padding: 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.92), rgba(10, 10, 10, 0.84));
}

.story p {
  margin: 0;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.88);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.cta {
  display: grid;
  justify-items: center;
  margin: 0 0 44px;
  padding: 62px 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(183, 238, 135, 0.13), transparent 42%),
    rgba(14, 14, 14, 0.9);
  text-align: center;
}

.cta h2 {
  color: var(--text);
}

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

@keyframes flowShift {
  from {
    transform: translateX(-4%) rotate(-10deg);
  }
  to {
    transform: translateX(4%) rotate(-7deg);
  }
}

@keyframes lineFloat {
  0%,
  100% {
    transform: translateY(-8px) rotate(-11deg);
  }
  50% {
    transform: translateY(10px) rotate(-8deg);
  }
}

@keyframes sheen {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-18%);
  }
  50% {
    opacity: 0.82;
    transform: translateX(14%);
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 28px, 1160px);
  }

  .header {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
  }

  .header-tools {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 62px;
  }

  .hero-visual {
    max-width: 520px;
  }

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

  .stats,
  .story {
    margin-bottom: 74px;
  }

  .section {
    padding-bottom: 74px;
  }
}

@media (max-width: 520px) {
  .header-action {
    /* display: none; */
  }

  .search-pill {
    min-width: 0;
    width: 160px;
    height: 42px;
  }

  .nav a {
    padding-inline: 10px;
    font-size: 13px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-text,
  .story p {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stats div,
  .feature-card,
  .story {
    padding: 22px;
  }

  .cursor-glow {
    width: 22rem;
    height: 22rem;
  }
}

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