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

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #1c1f2e;
  color: #e8e6e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1c1f2e; }
::-webkit-scrollbar-thumb { background: #f59e0b; border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  color: #ffffff;
  line-height: 1.15;
}

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 1rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 3rem;
  background: #1c1f2e;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.3), transparent);
}

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

.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1c1f2e;
  background: #f59e0b;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.1rem;
  color: #9a968f;
  line-height: 1.7;
  max-width: 480px;
}

/* ===== AGENT PANEL ===== */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.agent-panel {
  width: 100%;
  max-width: 400px;
  background: #252836;
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
  background: #2d3144;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.panel-dot.active { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.5); }

.panel-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-left: 0.5rem;
  flex: 1;
}

.status-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.panel-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.task-group { display: flex; flex-direction: column; gap: 0.7rem; }

.task-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border-left: 2px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}

.task-row.done {
  border-left-color: rgba(74,222,128,0.4);
  color: rgba(255,255,255,0.5);
}

.task-row.active {
  border-left-color: #f59e0b;
  color: rgba(255,255,255,0.8);
  background: rgba(245,158,11,0.05);
}

.task-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.done-icon { color: #4ade80; }

.running-icon {
  background: #f59e0b;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

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

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.metric-card {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.12);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}

.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 0.2rem;
}

.metric-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.3;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  max-width: 1200px;
  margin: 3rem auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat { display: flex; flex-direction: column; gap: 0.3rem; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  max-width: 200px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245,158,11,0.2);
  flex-shrink: 0;
}

/* ===== PLAYBOOK ===== */
.playbook {
  background: #181923;
  padding: 7rem 2rem;
  position: relative;
}

.playbook::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.25), transparent);
}

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

.playbook-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4rem;
  max-width: 600px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-card {
  background: #1c1f2e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s ease;
}

.step-card:hover { border-color: rgba(245,158,11,0.25); }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(245,158,11,0.12);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 1;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.workflow-label {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.workflow-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.25);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(245,158,11,0.05);
}

.workflow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.workflow-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  background: #1c1f2e;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.workflow-icon {
  width: 28px;
  height: 28px;
  background: rgba(245,158,11,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== PROOF ===== */
.proof {
  background: #1c1f2e;
  padding: 7rem 2rem;
  position: relative;
}

.proof::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.2), transparent);
}

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

.proof-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  max-width: 700px;
}

.proof-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4rem;
  max-width: 550px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.proof-stat {
  background: #181923;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  transition: border-color 0.2s ease;
}

.proof-stat:hover { border-color: rgba(245,158,11,0.2); }

.proof-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.proof-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ===== COMPARISON TABLE ===== */
.comparison-block { }

.comparison-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.comparison-table {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-row.header-row {
  background: #252836;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.compare-row:not(.header-row):not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-col {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.compare-row.header-row .compare-col {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.compare-col.highlight-col {
  background: rgba(245,158,11,0.04);
  color: #f59e0b;
  border-left: 1px solid rgba(245,158,11,0.1);
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: #181923;
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.25), transparent);
}

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

.manifesto-visual { display: flex; justify-content: center; }

.stack-surface {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
}

.surface-layer {
  background: #1c1f2e;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s ease;
}

.surface-layer:hover { border-color: rgba(245,158,11,0.15); }

.layer-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  min-width: 120px;
}

.layer-bar {
  height: 6px;
  border-radius: 3px;
  flex: 1;
}

.bar-1 { background: linear-gradient(90deg, #f59e0b, rgba(245,158,11,0.4)); width: 90%; }
.bar-2 { background: linear-gradient(90deg, rgba(245,158,11,0.7), rgba(245,158,11,0.3)); width: 75%; }
.bar-3 { background: linear-gradient(90deg, rgba(245,158,11,0.5), rgba(245,158,11,0.15)); width: 60%; }
.bar-4 { background: linear-gradient(90deg, rgba(245,158,11,0.6), rgba(245,158,11,0.2)); width: 45%; }
.bar-5 { background: linear-gradient(90deg, rgba(245,158,11,0.4), rgba(245,158,11,0.1)); width: 30%; }

.manifesto-text { display: flex; flex-direction: column; gap: 1.5rem; }

.manifesto-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.manifesto-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

.manifesto-rule {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  border-left: 3px solid rgba(245,158,11,0.4);
  padding-left: 1rem;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #13151e;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { justify-content: flex-start; }
  .hero-right .agent-panel { max-width: 100%; }
  .stats-strip { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-visual { order: 2; }
  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero { padding: 5rem 1.5rem 2.5rem; }
  .playbook, .proof, .manifesto { padding: 5rem 1.5rem; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.header-row { display: none; }
  .compare-col.highlight-col { border-left: none; border-top: 1px solid rgba(245,158,11,0.1); }
  .workflow-row { flex-direction: column; }
}

/* ===== CTA ===== */
.cta-section {
  background: #1c1f2e;
  padding: 7rem 2rem;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.2), transparent);
}

.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.cta-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1c1f2e;
  background: #f59e0b;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.cta-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.waitlist-form { display: flex; flex-direction: column; gap: 1rem; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.form-group input {
  background: #181923;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus { border-color: rgba(245,158,11,0.5); }

.cta-btn {
  background: #f59e0b;
  color: #1c1f2e;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cta-btn:hover:not(:disabled) { background: #fbbf24; transform: translateY(-1px); }
.cta-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.loading-dots { display: flex; gap: 5px; justify-content: center; align-items: center; }
.loading-dots span {
  width: 6px; height: 6px; background: #1c1f2e; border-radius: 50%;
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-pulse {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

.form-error {
  font-size: 0.8rem;
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
}

.form-success {
  font-size: 0.875rem;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.cta-privacy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}
