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

:root {
  --bg: #0D0D0D;
  --bg-2: #141414;
  --bg-3: #1C1C1C;
  --fg: #F0EDE6;
  --fg-muted: #8A8784;
  --accent: #00E5A0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --gold: #E8B84B;
  --border: rgba(240, 237, 230, 0.08);
  --radius: 12px;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* SECTION COMMONS */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

/* HERO */
.hero {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(0,229,160,0.06) 0%, transparent 70%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.proof-item {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-num {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}
.proof-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.3;
}
.proof-divider {
  width: 1px;
  background: var(--border);
}

/* HERO RIGHT - SIGNAL ANIMATION */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.signal-ring {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal-core {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0,229,160,0.4);
  z-index: 4;
  position: relative;
}
.signal-ring-1 {
  position: absolute;
  width: 80px; height: 80px;
  border: 1px solid rgba(0,229,160,0.4);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.signal-ring-2 {
  position: absolute;
  width: 130px; height: 130px;
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite 0.4s;
}
.signal-ring-3 {
  position: absolute;
  width: 180px; height: 180px;
  border: 1px solid rgba(0,229,160,0.08);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite 0.8s;
}
@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 0.2; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.15); }
}
.live-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* MINI LOG */
.mini-log {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.log-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}
.log-entry:last-child { border-bottom: none; }
.log-time { color: var(--fg-muted); font-size: 0.72rem; flex-shrink: 0; width: 36px; }
.log-text { flex: 1; color: var(--fg); }
.log-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.log-badge.ai { background: var(--accent-dim); color: var(--accent); }
.log-badge.ok { background: rgba(0,229,160,0.08); color: var(--accent); }
.log-badge.warn { background: rgba(232,184,75,0.15); color: var(--gold); }

/* PROBLEM SECTION */
.problem { padding: 80px 48px; border-bottom: 1px solid var(--border); }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.problem-card {
  background: var(--bg-2);
  padding: 32px 36px;
  border: 1px solid var(--border);
}
.problem-card:first-child { border-radius: var(--radius) 0 0 0; }
.problem-card:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.problem-card:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.problem-card:last-child { border-radius: 0 0 var(--radius) 0; }
.problem-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* SOLUTION SECTION */
.solution { padding: 80px 48px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.solution-inner { max-width: 1200px; margin: 0 auto; }
.solution-intro {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 48px;
}
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.stack-block {
  background: var(--bg-3);
  padding: 32px 36px;
  border: 1px solid var(--border);
}
.stack-block:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stack-block:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.stack-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-item {
  font-size: 0.82rem;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
  color: var(--fg-muted);
}

/* OUTCOMES SECTION */
.outcomes { padding: 80px 48px; border-bottom: 1px solid var(--border); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 48px 0 40px;
}
.outcome {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.outcome:last-child { border-right: none; }
.outcome-metric {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.outcome-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.outcomes-case {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.outcomes-case p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}

/* HOW SECTION */
.how { padding: 80px 48px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps { margin-top: 48px; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* CLOSING SECTION */
.closing { padding: 96px 48px; background: var(--bg); }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-content {
  max-width: 680px;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* FOOTER */
.footer { padding: 48px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 4px;
}
.footer-tagline { font-size: 0.82rem; color: var(--fg-muted); }
.footer-copy { font-size: 0.75rem; color: rgba(138,135,132,0.5); margin-top: 8px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar, .hero, .problem, .solution, .outcomes, .how, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .problem-grid, .stack-grid { grid-template-columns: 1fr; }
  .outcomes-row { grid-template-columns: 1fr 1fr; }
  .outcome:nth-child(2) { border-right: none; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
  .navbar { padding: 20px 24px; }
}

@media (max-width: 600px) {
  .outcomes-row { grid-template-columns: 1fr; }
  .outcome { border-right: none; border-bottom: 1px solid var(--border); }
  .outcome:last-child { border-bottom: none; }
}