/* ========================================
   VelocityOps Landing Page
   ======================================== */

:root {
  --bg: #0D1117;
  --surface: #161B22;
  --surface-2: #1C2128;
  --border: #30363D;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --text-faint: #484F58;
  --green: #3FB950;
  --green-dim: rgba(63, 185, 80, 0.12);
  --red: #F85149;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navbar ---- */
.navbar {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---- Hero ---- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero-proof strong { color: var(--amber); }
.proof-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(63, 185, 80, 0.6);
}

/* ---- Agent Display ---- */
.agent-display {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.agent-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(63, 185, 80, 0.8);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.agent-type {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.agent-conversation {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg { display: flex; gap: 10px; }
.msg-customer { flex-direction: row-reverse; }
.msg-agent { flex-direction: row; }
.msg-text {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 88%;
}
.msg-customer .msg-text {
  background: var(--amber-dim);
  border-color: rgba(245, 158, 11, 0.2);
}
.msg-agent .msg-text {
  background: var(--surface);
}
.msg-time {
  font-size: 0.6875rem;
  color: var(--text-faint);
  margin-top: 4px;
  padding: 0 4px;
}
.msg-agent .msg-avatar {
  width: 26px; height: 26px;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
  align-self: flex-end;
}
.msg-body { display: flex; flex-direction: column; gap: 4px; }
.msg-action {
  margin-top: 4px;
  padding: 8px 12px;
  background: var(--green-dim);
  border: 1px solid rgba(63, 185, 80, 0.2);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- Section Shared ---- */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 48px;
}

/* ---- What ---- */
.what {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.what-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.what-card-primary {
  background: var(--amber-dim);
}
.what-icon { color: var(--amber); }
.what-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.what-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- How ---- */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--border);
  padding-right: 32px;
}
.step:last-child { border-right: none; padding-right: 0; }
.step:not(:first-child) { padding-left: 32px; }
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-faint);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Pricing ---- */
.pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.pricing-card-featured {
  background: var(--amber-dim);
  border-color: rgba(245, 158, 11, 0.4);
}
.pricing-phase {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 10px;
  font-weight: 600;
}
.pricing-card-featured .pricing-phase { color: rgba(245, 158, 11, 0.6); }
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.pricing-range {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.pricing-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
.pricing-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.pricing-card-featured .pricing-note { border-top-color: rgba(245, 158, 11, 0.2); }

/* ---- Manifesto ---- */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  font-style: italic;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- Closing ---- */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.closing-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ---- Booking ---- */
.book {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.book-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.book-headline { margin-bottom: 20px; }
.book-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.book-benefits { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.book-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.book-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.book-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.book-form-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.book-form-badge {
  font-size: 0.75rem;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(63, 185, 80, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}
.form-group input,
.form-group select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group select:focus { border-color: var(--amber); }
.form-group select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row .form-group { width: 100%; }
.book-submit {
  width: 100%;
  background: var(--amber);
  color: #0D1117;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: opacity 0.15s;
}
.book-submit:hover:not(:disabled) { opacity: 0.88; }
.book-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.book-submit:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.spinner { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.book-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--green-dim);
  border: 1px solid rgba(63, 185, 80, 0.2);
  border-radius: 10px;
  padding: 16px;
  margin-top: 8px;
}
.book-success strong { display: block; font-size: 0.9375rem; color: var(--green); margin-bottom: 4px; }
.book-success p { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }
.book-error {
  color: var(--red);
  font-size: 0.8125rem;
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
}
.book-privacy {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 40px; }
  .hero-headline { font-size: 2.5rem; }
  .what-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .book-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .what-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .section-headline { margin-bottom: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .book-form { padding: 24px; }
}