:root {
  --bg: #0a0f0a;
  --surface: rgba(15, 22, 15, 0.55);
  --surface-light: rgba(255, 255, 255, 0.08);
  --green-primary: #4d8b3a;
  --green-accent: #6fb04a;
  --green-deep: #2d5223;
  --yellow: #e8c547;
  --text: #f4f6f1;
  --text-dim: rgba(244, 246, 241, 0.72);
  --text-muted: rgba(244, 246, 241, 0.55);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter Tight', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  padding: 28px 32px 32px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 15, 10, 0.35) 0%, rgba(10, 15, 10, 0.25) 50%, rgba(10, 15, 10, 0.6) 100%),
    url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=2400&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ===== NAV ===== */
.nav {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  padding: 14px 14px 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  animation: navFloat 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navFloat {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: #1a2a14;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-tld {
  color: var(--green-primary);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  color: #4a5a44;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--green-primary); }

.nav-cta {
  background: var(--green-primary);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 13px 22px 13px 26px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.nav-cta:hover {
  background: var(--green-deep);
  transform: translateX(2px);
}

.arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: transform 0.25s;
}

.nav-cta:hover .arrow-circle { transform: rotate(-45deg); }

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 120px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  background: rgba(20, 30, 18, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  animation: rise 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(232, 197, 71, 0.6);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-top: 28px;
  color: white;
  max-width: 1000px;
  animation: rise 1s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title em {
  font-style: italic;
  color: var(--green-accent);
  font-weight: 300;
}

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

/* ===== HERO BOTTOM ===== */
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 32px;
  right: 32px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  animation: rise 1s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.video-card {
  background: rgba(20, 30, 18, 0.45);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 14px;
  width: 320px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-card:hover { transform: translateY(-6px); }

.video-thumb {
  width: 100%;
  height: 130px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%),
    url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  transition: all 0.25s;
}

.video-thumb:hover .play-btn { background: white; transform: scale(1.1); }

.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 11px solid var(--green-deep);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.video-card h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  margin-top: 14px;
  margin-left: 4px;
  color: white;
  letter-spacing: -0.01em;
}

.video-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-left: 4px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.hero-cta-block {
  max-width: 460px;
  text-align: right;
}

.hero-cta-block p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 20px;
  font-weight: 400;
}

.cta-primary {
  background: var(--green-primary);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 16px 22px 16px 28px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 12px 32px rgba(77, 139, 58, 0.35);
}

.cta-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 16px 40px rgba(77, 139, 58, 0.5);
  transform: translateY(-2px);
}

.cta-primary .arrow-circle {
  background: rgba(255, 255, 255, 0.18);
  width: 30px;
  height: 30px;
}

.arrow-svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

/* ===== STATS — DATA TERMINAL ===== */
.stats {
  background: var(--bg);
  padding: 80px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(111, 176, 74, 0.18);
  border: 1px solid rgba(111, 176, 74, 0.22);
  border-radius: 6px;
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.3s;
}

.stat:hover { background: rgba(111, 176, 74, 0.04); }

.stat-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green-accent);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.stat-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-accent);
  animation: stat-pulse 2s infinite;
}

@keyframes stat-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.stat-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 42px;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-num .unit {
  color: var(--green-accent);
  font-size: 26px;
  margin-left: 2px;
}

.stat-label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 32px;
  background: linear-gradient(180deg, var(--bg) 0%, #0d150d 100%);
}

.features-inner { max-width: 1180px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green-accent);
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 18px;
  max-width: 720px;
}

.section-title em {
  font-style: italic;
  color: var(--green-accent);
  font-weight: 300;
}

.features-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: rgba(111, 176, 74, 0.06);
  border-color: rgba(111, 176, 74, 0.3);
  transform: translateY(-4px);
}

.feature-card.large {
  grid-row: span 2;
  background-image:
    linear-gradient(180deg, rgba(13, 21, 13, 0.65) 0%, rgba(13, 21, 13, 0.92) 70%),
    url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(111, 176, 74, 0.15);
  border: 1px solid rgba(111, 176, 74, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-accent);
  stroke-width: 1.6;
  fill: none;
}

.feature-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
}

.feature-card.large h3 { font-size: 34px; }

.feature-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 120px 32px;
  background: var(--bg);
  position: relative;
}

.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--green-deep) 0%, #1a3413 100%);
  border-radius: 32px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-content h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 16px;
}

.cta-content h2 em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 300;
}

.cta-content p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}

/* ===== WAITLIST FORM ===== */
.waitlist-form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}

.form-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 16px 22px;
  color: white;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  transition: all 0.25s;
  outline: none;
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.5); }

.form-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--green-accent);
}

.form-input[name="role"] {
  grid-column: 1 / -1;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  cursor: pointer;
}

.form-input[name="role"] option { background: var(--green-deep); color: white; }

.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 6px;
}

.waitlist-message {
  margin-top: 18px;
  min-height: 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.waitlist-message.show { opacity: 1; }
.waitlist-message.error { color: #ff8b6b; }

/* ===== FOOTER ===== */
footer {
  background: #060906;
  padding: 60px 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-logo em {
  font-style: italic;
  color: var(--green-accent);
}

.footer-text { color: var(--text-muted); font-size: 14px; }

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.large { grid-row: auto; min-height: 360px; }
  .hero-bottom {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    bottom: auto; left: auto; right: auto;
    margin-top: 60px;
    padding-bottom: 40px;
  }
  .hero-cta-block { text-align: left; max-width: 100%; }
  .video-card { width: 100%; }
  .cta-inner { padding: 48px 32px; }
  .waitlist-form { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav { gap: 12px; }
  .logo img { height: 24px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
}

/* ===== TALLY FORM WRAPPER ===== */
.tally-wrapper {
  margin-top: 32px;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 8px;
  overflow: hidden;
}

.tally-wrapper iframe {
  display: block;
  border: 0;
  width: 100%;
  border-radius: 14px;
}
