/* ==============================
   HOOKEDAI — Theme Stylesheet
   ============================== */

:root {
  --midnight: #0d1117;
  --midnight-2: #161b27;
  --surface: #1a2030;
  --surface-2: #212840;
  --amber: #f5a623;
  --amber-dim: #c8831c;
  --amber-glow: rgba(245, 166, 35, 0.15);
  --white: #ffffff;
  --white-70: rgba(255,255,255,0.7);
  --white-40: rgba(255,255,255,0.4);
  --white-15: rgba(255,255,255,0.15);
  --white-8: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.1);
  --border-2: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1100px;
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--midnight);
  color: var(--white-70);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); line-height: 1.15; }

/* ==============================
   SITE HEADER
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-2);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.wordmark-hook { color: var(--white); }
.wordmark-ai { color: var(--amber); }
.header-tagline { font-size: 0.8rem; color: var(--white-40); font-weight: 400; }

/* ==============================
   HERO
   ============================== */
.hero {
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}

/* Stat panel (left) */
.hero-stat-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--white-40);
  line-height: 1.4;
  margin-bottom: 20px;
}
.stat-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.stat-sub {
  font-size: 0.8rem;
  color: var(--white-40);
  line-height: 1.5;
  margin-bottom: 24px;
}
.stat-highlight {
  background: var(--amber-glow);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat-highlight-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber);
}

/* Hero content (right) */
.hero-content { display: flex; flex-direction: column; gap: 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--white-70);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--white-70);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
}

/* Phone mockup */
.hero-phone {
  max-width: 280px;
  margin-top: 8px;
}
.phone-bezel {
  background: #0a0d12;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-notch {
  width: 60px; height: 8px;
  background: #111;
  border-radius: 4px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: var(--midnight-2);
  border-radius: 20px;
  overflow: hidden;
  padding: 12px;
  font-size: 0.65rem;
}
.call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-2);
}
.call-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--midnight);
  font-weight: 800;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.call-info { flex: 1; min-width: 0; }
.call-name { color: var(--white-70); font-weight: 600; font-size: 0.65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-status { color: var(--amber); font-size: 0.6rem; font-weight: 500; }
.call-waves { display: flex; align-items: center; gap: 2px; }
.call-waves span {
  display: block; width: 2px; height: 10px;
  background: var(--amber);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.call-waves span:nth-child(2) { animation-delay: 0.2s; height: 14px; }
.call-waves span:nth-child(3) { animation-delay: 0.4s; height: 8px; }
.call-waves span:nth-child(4) { animation-delay: 0.15s; height: 12px; }
.call-waves span:nth-child(5) { animation-delay: 0.3s; height: 6px; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.call-transcript { margin-bottom: 10px; }
.transcript-customer, .transcript-ai {
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  line-height: 1.4;
  font-size: 0.62rem;
}
.transcript-customer {
  background: var(--surface-2);
  color: var(--white-70);
}
.transcript-ai {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.15);
  color: var(--white-70);
}
.call-booking {
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 8px;
  padding: 8px 10px;
}
.booking-confirmed {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--amber);
  font-size: 0.65rem;
  margin-bottom: 3px;
}
.booking-customer { font-size: 0.6rem; color: var(--white-40); }

/* ==============================
   MANIFESTO
   ============================== */
.manifesto {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.01) 40px,
    rgba(255,255,255,0.01) 41px
  );
  pointer-events: none;
}
.manifesto-inner { max-width: var(--max-w); margin: 0 auto; }
.manifesto-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.manifesto-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 640px;
}
.manifesto-body {
  font-size: 1.05rem;
  color: var(--white-70);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 16px;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.mstat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 6px;
}
.mstat-desc { font-size: 0.82rem; color: var(--white-40); line-height: 1.5; }

/* ==============================
   PLAYBOOK
   ============================== */
.playbook { padding: 100px 24px; }
.playbook-inner { max-width: var(--max-w); margin: 0 auto; }
.playbook-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.playbook-headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 56px;
}
.playbook-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pstep {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border-2);
}
.pstep:last-child { border-bottom: 1px solid var(--border-2); }
.pstep-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.5;
}
.pstep-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.pstep-desc {
  font-size: 0.9rem;
  color: var(--white-40);
  line-height: 1.6;
}
.pstep-arrow, .pstep-nobutton {
  color: var(--white-15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==============================
   STACK
   ============================== */
.stack {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.stack-inner { max-width: var(--max-w); margin: 0 auto; }
.stack-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.stack-headline {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 48px;
  max-width: 560px;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stack-card {
  background: var(--midnight-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.stack-card:hover { border-color: rgba(245,166,35,0.25); }
.stack-icon { color: var(--amber); margin-bottom: 14px; }
.stack-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.stack-card-desc { font-size: 0.85rem; color: var(--white-40); line-height: 1.6; }

/* ==============================
   CLOSING
   ============================== */
.closing {
  padding: 100px 24px 120px;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.closing-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--white-70);
  line-height: 1.7;
  margin-bottom: 14px;
}
.closing-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  text-align: center;
}
.cta-label { font-size: 0.75rem; color: var(--white-40); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.cta-price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1; }
.cta-period { font-size: 1.2rem; font-weight: 400; color: var(--white-40); }
.cta-desc { font-size: 0.82rem; color: var(--white-40); margin-top: 8px; }
.cta-urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--white-70);
}
.urgency-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  border-top: 1px solid var(--border-2);
  padding: 32px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.wordmark-sm { font-size: 1rem; }
.footer-tagline { font-size: 0.8rem; color: var(--white-40); margin-top: 4px; }
.footer-meta { text-align: right; }
.footer-meta p { font-size: 0.75rem; color: var(--white-40); line-height: 1.8; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stat-panel { display: none; }
  .hero-content { align-items: center; text-align: center; }
  .hero-pills { justify-content: center; }
  .hero-phone { margin: 0 auto; }
  .manifesto-stats { grid-template-columns: 1fr; }
  .pstep { grid-template-columns: 60px 1fr; }
  .pstep-arrow { display: none; }
  .stack-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 20px 80px; }
  .manifesto, .playbook, .stack, .closing { padding: 60px 20px; }
}
