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

:root {
  --bg:        #0c0c10;
  --bg-2:      #111120;
  --bg-3:      #181828;
  --amber:     #f59e0b;
  --amber-dim: rgba(245,158,11,0.12);
  --amber-2:   rgba(245,158,11,0.06);
  --text:      #e8e0d4;
  --text-2:   rgba(232,224,212,0.55);
  --text-3:   rgba(232,224,212,0.28);
  --border:   rgba(245,158,11,0.18);
  --border-2: rgba(245,158,11,0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

::selection { background: var(--amber); color: var(--bg); }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid var(--border-2);
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: center;
}

/* Command Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.command-globe {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin-slow 12s linear infinite;
}

.ring-1 { width: 200px; height: 200px; opacity: 0.8; animation-duration: 14s; }
.ring-2 { width: 240px; height: 240px; opacity: 0.5; animation-duration: 20s; animation-direction: reverse; }
.ring-3 { width: 276px; height: 276px; opacity: 0.25; animation-duration: 28s; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.globe-core {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #1e1c2a, #0c0c10);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(245,158,11,0.08);
}

.globe-core svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Agent Status */
.agent-status {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--amber);
}

.status-dot.active { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.status-dot.warn { background: #ef4444; box-shadow: 0 0 6px #ef4444; }

.status-label {
  color: var(--text-2);
  flex: 1;
  font-weight: 400;
}

.status-val {
  color: var(--text);
  font-weight: 500;
  font-size: 0.75rem;
}

/* Hero Copy */
.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 500px;
}

.hero-cta {
  margin-top: 2rem;
}

/* ── Section Commons ───────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.25rem;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ── Operations ───────────────────────────────────── */
.operations {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-2);
}

.operations > div {
  max-width: 1100px;
  margin: 0 auto;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  overflow: hidden;
}

.ops-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}

.ops-card:hover { background: var(--bg-2); }

.ops-card-cta {
  background: var(--bg-2);
  justify-content: center;
}

.ops-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.ops-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.ops-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

.ops-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.ops-cta-text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Manifesto ─────────────────────────────────────── */
.manifesto {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-2);
}

.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
  color: var(--text);
  border-left: 2px solid var(--amber);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: -0.015em;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ── Outcomes ──────────────────────────────────────── */
.outcomes {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-2);
}

.outcomes > div {
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes-header {
  margin-bottom: 3.5rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  overflow: hidden;
}

.outcome {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-2);
  background: var(--bg);
}

.outcome:last-child { border-right: none; }

.outcome-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.outcome-label {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ── How It Works ─────────────────────────────────── */
.hiw {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-2);
  background: var(--bg);
}

.hiw > div {
  max-width: 1100px;
  margin: 0 auto;
}

.hiw-header {
  margin-bottom: 3.5rem;
}

.hiw-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hiw-step {
  background: var(--bg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23f59e0b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
}

.hiw-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
}

.hiw-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.hiw-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hiw-desc {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.6;
}

.hiw-cycle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hiw-cycle-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: 2px;
}

.hiw-cycle-sep {
  color: var(--amber);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Trusted By ───────────────────────────────────── */
.trusted {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border-2);
  background: var(--bg-2);
}

.trusted > div {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trusted-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.trusted-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  background: var(--bg);
}

.trusted-badge-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trusted-badge-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ── Pricing ───────────────────────────────────────── */
.pricing {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-2);
}

.pricing > div {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  margin-bottom: 3.5rem;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  text-align: center;
}

.pricing-tier {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.pricing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pricing-sub {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.pricing-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--amber);
  margin-bottom: 0.25rem;
}

.pricing-price-label {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 2rem;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--bg);
}

.btn-primary:hover {
  background: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--amber-dim);
}

/* ── Dashboard Proof ──────────────────────────────── */
.dashboard-proof {
  margin: 2.5rem 0 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.dashboard-proof img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-caption {
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
  padding: 0.75rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
  font-style: italic;
}

/* ── Closing ──────────────────────────────────────── */
.closing {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.closing-body {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.closing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 120px;
  height: 120px;
  margin: 2rem auto 0;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: pulse-expand 3s ease-out infinite;
}

.pulse-ring.ring-2 { animation-delay: 1s; }
.pulse-ring.ring-3 { animation-delay: 2s; }

@keyframes pulse-expand {
  0%   { width: 60px; height: 60px; opacity: 0.8; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

.pulse-core {
  position: relative;
  z-index: 2;
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-2);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-2);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .command-globe { margin: 0; }

  .hero-copy { order: 1; }

  .ops-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome:nth-child(2) { border-right: none; }
  .outcome:nth-child(3) { border-top: 1px solid var(--border-2); }
  .outcome:nth-child(4) { border-top: 1px solid var(--border-2); }

  .hiw-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .operations, .manifesto, .outcomes, .closing, .hiw, .pricing { padding: 3rem 1.5rem; }

  .header-nav { display: none; }

  .outcomes-grid { grid-template-columns: 1fr 1fr; }

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

  .hero-visual { grid-template-columns: 1fr; }

  .hiw-flow {
    grid-template-columns: 1fr;
  }
}
