/* ============================================================
   Zeus Command — Landing Page Styles
   Font: Plus Jakarta Sans
   Brand: Forest Green + Charcoal
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  /* Brand greens */
  --green-950: #040d08;
  --green-900: #0A1A12;
  --green-800: #122B1E;
  --green-700: #1A3D2B;
  --green-600: #2D6A4A;
  --green-500: #3A8560;
  --green-400: #4FAD78;
  --green-300: #74C49A;
  --green-200: #A8DCC0;
  --green-100: #D4F0E2;
  --green-50:  #F0FAF5;

  /* Signal / Accent */
  --signal:      #74C49A;
  --signal-dim:  rgba(116, 196, 154, 0.15);
  --signal-glow: rgba(116, 196, 154, 0.25);

  /* Neutral / Grey */
  --grey-900: #111418;
  --grey-800: #1C2128;
  --grey-700: #2D333B;
  --grey-600: #444C56;
  --grey-400: #768390;
  --grey-200: #A0ADA8;
  --grey-100: #CDD9D4;
  --off-white: #E8EFF0;
  --white:     #FAFCFB;

  /* Semantic */
  --bg:           var(--green-900);
  --bg-alt:       var(--green-800);
  --surface:      var(--green-700);
  --surface-low:  rgba(26, 61, 43, 0.5);
  --border:       rgba(116, 196, 154, 0.12);
  --border-strong: rgba(116, 196, 154, 0.25);
  --text:         var(--white);
  --text-muted:   var(--grey-200);
  --text-dim:     rgba(232, 239, 240, 0.5);
  --error:        #FF6B6B;

  /* Spacing */
  --container: 1060px;
  --section-pad: 96px 32px;
  --section-pad-sm: 56px 20px;

  /* Radius */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

/* ── Screen Reader Only ─────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  z-index: 100;
  background: rgba(10, 26, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.nav-wordmark {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-wordmark span {
  color: var(--signal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-600);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--green-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-600);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--green-500);
  transform: translateY(-1px);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--signal);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 106, 74, 0.35) 0%, transparent 70%),
    var(--bg);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--signal-dim);
  color: var(--signal);
  border: 1px solid rgba(116, 196, 154, 0.3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--signal);
}

.hero-subheadline {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

/* Metrics bar */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.hero-metric {
  text-align: center;
  padding: 4px 28px;
}

.hero-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: -0.02em;
}

.hero-metric-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hero-metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS — BASE
   ============================================================ */
.section {
  padding: var(--section-pad);
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--green-950);
}

.section-waitlist {
  background: var(--bg);
}

.section-header {
  margin-bottom: 56px;
  max-width: 640px;
}

.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s ease;
}

.problem-card:hover {
  border-color: var(--border-strong);
}

.problem-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--signal);
  opacity: 0.6;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ============================================================
   PLATFORM SECTION
   ============================================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  background: rgba(26, 61, 43, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.platform-card:hover {
  border-color: var(--border-strong);
  background: rgba(26, 61, 43, 0.65);
}

.platform-card-icon {
  font-size: 28px;
  line-height: 1;
}

.platform-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.platform-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.platform-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--signal-dim);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
  align-self: flex-start;
}

/* ============================================================
   ZEUS AI SPOTLIGHT
   ============================================================ */
.zeus-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.zeus-queries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}

.zeus-query {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 61, 43, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: default;
}

.zeus-query:hover {
  border-color: var(--border-strong);
  color: var(--white);
}

.zeus-query-icon {
  color: var(--signal);
  font-weight: 700;
  flex-shrink: 0;
}

.zeus-response {
  background: var(--green-800);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.zeus-response::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(116, 196, 154, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.zeus-response > * { position: relative; z-index: 1; }

.zeus-response-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 20px;
}

.zeus-response-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse-dot 2s ease-in-out infinite;
}

.zeus-response-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--off-white);
}

/* ============================================================
   PERSONAS SECTION
   ============================================================ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.persona-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.persona-card:hover {
  border-color: var(--border-strong);
}

.persona-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--signal-dim);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.persona-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.persona-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.persona-view {
  font-size: 12px;
  font-weight: 600;
  color: var(--signal);
  opacity: 0.7;
  margin-top: 4px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 32px;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
}

/* ============================================================
   WAITLIST SECTION
   ============================================================ */
.waitlist-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* Social proof */
.waitlist-social-proof {
  margin: 24px 0;
}

.waitlist-joined {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.waitlist-joined-avatars {
  display: flex;
}

.waitlist-joined-avatars span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-600);
  border: 2px solid var(--bg);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  margin-right: -8px;
}

.waitlist-joined-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding-left: 12px;
}

/* Countdown */
.waitlist-countdown {
  margin: 32px 0;
}

.countdown-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 68px;
}

.countdown-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.countdown-sep {
  font-size: 22px;
  font-weight: 700;
  color: var(--signal);
  opacity: 0.4;
  margin-bottom: 18px;
}

/* Form */
.waitlist-form {
  margin-top: 32px;
}

.waitlist-input-group {
  display: flex;
  gap: 8px;
}

.waitlist-input-group input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  min-height: 50px;
  font-family: inherit;
  font-size: 15px;
  color: var(--white);
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease;
}

.waitlist-input-group input[type="email"]::placeholder {
  color: var(--text-dim);
}

.waitlist-input-group input[type="email"]:focus {
  border-color: var(--signal);
}

.waitlist-submit {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  min-height: 50px;
  background: var(--green-600);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.waitlist-submit:hover { background: var(--green-500); }

.waitlist-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.waitlist-error {
  margin-top: 10px;
  font-size: 13px;
  color: var(--error);
  text-align: left;
}

.waitlist-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

.waitlist-message {
  font-size: 16px;
  font-weight: 500;
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
}

.waitlist-message-success,
.waitlist-message-duplicate {
  color: var(--signal);
  background: var(--signal-dim);
  border: 1px solid var(--border-strong);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
  background: var(--green-950);
}

.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-wordmark {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-wordmark span { color: var(--signal); }

.footer-copyright {
  font-size: 13px;
  color: var(--text-dim);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-links a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
  .fade-in.visible { transition: none; }
  .hero-eyebrow-dot,
  .zeus-response-label::before { animation: none; }
}

/* ============================================================
   RESPONSIVE — TABLET (768–1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .problem-grid    { grid-template-columns: 1fr 1fr; }
  .platform-grid   { grid-template-columns: 1fr 1fr; }
  .persona-grid    { grid-template-columns: 1fr 1fr; }
  .zeus-layout     { grid-template-columns: 1fr; gap: 40px; }
  .hero-metrics    { gap: 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-pad: var(--section-pad-sm);
  }

  .nav {
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nav-logo-img { height: 44px; }

  .nav-wordmark { font-size: 22px; }

  .nav-links {
    justify-content: space-around;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    font-size: 13px;
    border: 1px solid rgba(116,196,154,.25);
    border-radius: 8px;
    padding: 6px 12px;
  }

  .nav-link:hover {
    border-color: rgba(116,196,154,.55);
    background: rgba(116,196,154,.07);
  }

  .nav-cta {
    font-size: 12px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(116,196,154,.25);
    border-radius: 8px;
    color: var(--signal);
  }

  .nav-cta:hover {
    border-color: rgba(116,196,154,.55);
    background: rgba(116,196,154,.07);
  }

  .hero {
    padding: 100px 20px 56px;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
  }

  .hero-metric { padding: 12px 20px; }

  .hero-metric-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .problem-grid  { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .zeus-layout   { grid-template-columns: 1fr; gap: 32px; }
  .persona-grid  { grid-template-columns: 1fr 1fr; }

  .section-header { margin-bottom: 36px; }

  .cta-banner { padding: 56px 20px; }

  .waitlist-input-group { flex-direction: column; }

  .waitlist-submit { width: 100%; justify-content: center; }

  .countdown-unit { min-width: 56px; padding: 10px 12px; }
  .countdown-value { font-size: 20px; }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

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