/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080C14;
  --bg-2: #0D1420;
  --bg-card: #111928;
  --fg: #EEF0F4;
  --fg-muted: #8A94A6;
  --accent: #FF4D00;
  --accent-dim: rgba(255, 77, 0, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

html { font-size: 16px; }

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

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 100%);
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 77, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-headline-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
  font-weight: 400;
}

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.agent-chamber {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 77, 0, 0.15);
}

.agent-ring-1 { width: 200px; height: 200px; animation: spin 12s linear infinite; }
.agent-ring-2 { width: 260px; height: 260px; animation: spin 20s linear infinite reverse; border-style: dashed; }
.agent-ring-3 { width: 320px; height: 320px; animation: spin 28s linear infinite; }

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

.agent-core {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--accent-dim);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.workflow-items {
  position: absolute;
  inset: 0;
}

.workflow-item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(17, 25, 40, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.wi-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wi-1 { top: 0; left: 50%; transform: translateX(-50%) translateY(-12px); }
.wi-2 { top: 50%; right: -20px; transform: translateY(-50%); }
.wi-3 { bottom: 20px; right: 10px; }
.wi-4 { bottom: 20px; left: 10px; }
.wi-5 { top: 50%; left: -20px; transform: translateY(-50%); }

/* === HERO STATS === */
.hero-stats {
  max-width: 1200px;
  margin: 4rem auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 3rem;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-right: 3rem;
  flex-shrink: 0;
}

/* === WORKLOAD === */
.workload {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.workload-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.workload-left .section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.accent-text { color: var(--accent); }

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.problem-icon {
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 6rem 2rem;
  background: var(--bg-2);
}

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

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Stagger the grid */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2rem 2rem 2.5rem;
  position: relative;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 77, 0, 0.3);
}

.fc-1 { grid-column: 1; }
.fc-2 { grid-column: 1; }
.fc-3 { grid-column: 2; grid-row: 1; }
.fc-4 { grid-column: 2; grid-row: 2; }
.fc-5 { grid-column: 1; grid-row: 3; }
.fc-6 { grid-column: 2; grid-row: 3; }

.feature-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* === SEQUENCE === */
.sequence {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.sequence-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sequence-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sequence-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 4rem;
}

.sequence-steps::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
}

.seq-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.seq-connector {
  display: none;
}

.seq-num {
  position: absolute;
  left: -4rem;
  top: 2rem;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bg);
  z-index: 2;
  flex-shrink: 0;
}

.seq-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.seq-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 540px;
}

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 2rem;
  background: var(--bg-2);
}

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

.manifesto-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 2rem 0;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-align: center;
  font-style: normal;
}

.manifesto-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

.manifesto-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.manifesto-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* === FOOTER === */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-head {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.footer-col span:not(.footer-col-head) {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-stats { gap: 0; }
  .stat-divider { margin-right: 1.5rem; }
  .stat { padding-right: 1.5rem; }
  .workload-inner { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .fc-1, .fc-2, .fc-3, .fc-4, .fc-5, .fc-6 { grid-column: 1; grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { gap: 2rem; }
  .hero { padding-top: 6rem; }
  .seq-step { padding-left: 0; padding-top: 3.5rem; }
  .seq-num { left: 0; top: 0; }
  .sequence-steps::before { display: none; }
}