:root {
  --bg: #0f1410;
  --bg-2: #1a241c;
  --ink: #f2efe6;
  --muted: #a8b3a6;
  --accent: #c4f04d;
  --accent-ink: #14200c;
  --line: rgba(242, 239, 230, 0.12);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  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");
}

.top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  animation: fade-down 0.7s ease both;
}

.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.nav-cta {
  color: var(--accent-ink) !important;
  background: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4.5rem);
  display: grid;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  animation: fade-up 0.9s 0.1s ease both;
}

.brand {
  font-family: var(--display);
  font-size: clamp(2.2rem, 7.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, var(--ink) 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.plane {
  position: absolute;
  inset: -20% -10% 10% 20%;
  background:
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(196, 240, 77, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 30% 70%, rgba(60, 90, 70, 0.5), transparent 60%),
    linear-gradient(160deg, #121a14 0%, #0c100e 50%, #182218 100%);
  animation: drift 14s ease-in-out infinite alternate;
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(242, 239, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%);
  animation: grid-shift 20s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  right: 8%;
  top: 18%;
  background: radial-gradient(circle at 30% 30%, rgba(196, 240, 77, 0.45), transparent 65%);
  animation: pulse 6s ease-in-out infinite;
}

.orb-b {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  right: 28%;
  bottom: 18%;
  background: radial-gradient(circle at 50% 50%, rgba(120, 160, 130, 0.35), transparent 70%);
  animation: pulse 8s 1s ease-in-out infinite;
}

.section {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
  animation: fade-up 0.8s ease both;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(26, 36, 28, 0.65));
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  max-width: 18ch;
}

.section-lead {
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.features {
  list-style: none;
  display: grid;
  gap: 1.75rem;
}

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

.features li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.features strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.features span { color: var(--muted); font-size: 0.95rem; }

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot .logo { color: var(--ink); }
.foot a:hover { color: var(--accent); }
.muted { opacity: 0.85; }

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

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.03); }
}

@keyframes grid-shift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: 3rem; padding-bottom: 5rem; }
}
