/* =========================================
   OnCall AI — Landing Page Styles
   ========================================= */

:root {
  --bg:        #0c0c14;
  --surface:   #13131f;
  --surface2:  #1a1a28;
  --amber:     #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --text:      #e8e4dc;
  --text-muted: rgba(232, 228, 220, 0.5);
  --text-dim:  rgba(232, 228, 220, 0.3);
  --border:    rgba(232, 228, 220, 0.08);
  --green:     #10b981;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

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

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo-dot { color: var(--amber); }

.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Hero ---- */
.hero {
  padding: 80px 0 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* ---- Phone Frame Visual ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 280px;
  background: #1e1e2e;
  border-radius: 36px;
  padding: 3px;
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.15),
    0 24px 64px rgba(0,0,0,0.5),
    0 0 80px rgba(245, 158, 11, 0.06);
}

.phone-screen {
  background: #0f0f1a;
  border-radius: 33px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Wave animation */
.call-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  margin-bottom: 4px;
}

.wave {
  width: 3px;
  border-radius: 4px;
  background: var(--amber);
  animation: wave 1.1s ease-in-out infinite;
}

.wave-1 { height: 16px; animation-delay: 0s; }
.wave-2 { height: 28px; animation-delay: 0.15s; }
.wave-3 { height: 40px; animation-delay: 0.3s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

.call-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 14px;
}

.call-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c0c14;
  flex-shrink: 0;
}

.caller-name {
  font-size: 0.72rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 3px;
}

.caller-detail {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 10px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 9px;
  border-radius: 6px;
}

.ai-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse 1.4s ease-in-out infinite;
}

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

.ai-action {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.result-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}

.result-icon {
  width: 30px;
  height: 30px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.result-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- Hero Ticker ---- */
.hero-ticker {
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ticker-item svg { color: var(--amber); flex-shrink: 0; }

.ticker-sep {
  color: var(--text-dim);
  font-size: 0.7rem;
}

/* ---- Pain Section ---- */
.pain {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.pain-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.pain-label, .services-label, .how-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}

.pain-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 28px;
}

.pain-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.pain-stat {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 16px;
  background: var(--amber-dim);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.pain-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--amber);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.pain-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Services ---- */
.services {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.services-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 56px;
}

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

.service-card {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s ease;
}

.service-card:hover { background: var(--surface); }

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 18px;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Stats ---- */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  padding: 0 40px;
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { padding-right: 0; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--amber);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- How It Works ---- */
.how {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.how-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 56px;
}

.how-steps {
  display: flex;
  align-items: center;
  gap: 32px;
}

.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ---- Closing ---- */
.closing {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-manifesto {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text);
}

.m-check {
  color: var(--amber);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  width: 24px;
  flex-shrink: 0;
}

/* ---- Footer ---- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: right;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .hero-visual {
    order: -1;
  }

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

  .stats-inner {
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider { display: none; }
  .stat-item { padding: 0; }

  .how-steps {
    flex-direction: column;
  }

  .step-arrow { transform: rotate(90deg); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta { text-align: center; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 16px 20px; }
  .hero-inner { padding: 0 20px; }
  .services-inner { padding: 0 20px; }
  .stats-inner { padding: 0 20px; }
  .how-inner { padding: 0 20px; }
  .closing-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px; }
  .hero-ticker { padding: 20px 20px; }

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

  .pain-inner { padding: 0 20px; }
  .hero-ticker { gap: 12px; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 4px; }
