/* === BASE === */
:root {
  --midnight: #0B1D2A;
  --deep: #061018;
  --navy: #0f2a3a;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.06);
  --text: #e8f0f5;
  --text-dim: #6b8fa3;
  --text-muted: #3d6070;
  --border: rgba(255,255,255,0.06);
  --border-mid: rgba(255,255,255,0.1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--midnight);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
}

/* === LAYOUT === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 29, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

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

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

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

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 56px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0.4) 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0.4) 0%, transparent 60%);
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.headline-accent {
  color: var(--amber);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* === PHONE MOCKUP === */
.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  background: #0d2535;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 36px;
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.08),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(245,158,11,0.06);
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--midnight);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--deep);
  border-radius: 28px;
  padding: 1rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 0.25rem;
}

.app-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--amber);
}

.app-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chat-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.chat-lead, .chat-coach {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lead-avatar {
  width: 22px;
  height: 22px;
  background: #1a3a50;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}

.lead-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-style: italic;
  max-width: 85%;
}

.coach-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.2rem;
  opacity: 0.8;
}

.coach-bubble {
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px 12px 4px 12px;
  padding: 0.75rem;
}

.coach-response {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.coach-script {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(245,158,11,0.3);
}

.step-num {
  color: var(--amber);
  font-weight: 600;
  margin-right: 0.25rem;
}

.script-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(245,158,11,0.15);
}

.score-label {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.score-value {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #22c55e;
}

.app-footer-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  color: var(--text-muted);
  padding: 0.5rem 0.25rem 0;
  border-top: 1px solid var(--border);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.phone-reflection {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 70%);
  filter: blur(8px);
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

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

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

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.step-icon {
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === OBJECTIONS === */
.objections {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.objections-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.objections-left {
  position: sticky;
  top: 80px;
}

.objection-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.objection-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  margin-top: 4px;
  flex-shrink: 0;
}

.marker-dot.active {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 8px rgba(245,158,11,0.5);
}

.obj-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.obj-quote {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.obj-response {
  background: var(--amber-glow);
  border-left: 2px solid rgba(245,158,11,0.3);
  padding: 0.5rem 0.75rem;
  border-radius: 0 8px 8px 0;
}

.response-label {
  font-size: 0.6rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.response-text {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
}

/* === ANALYSIS === */
.analysis {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.analysis-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.analysis-visual {
  position: sticky;
  top: 80px;
}

.transcript-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.transcript-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.transcript-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.analysis-badge {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--amber);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.transcript-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transcript-line {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.78rem;
}

.speaker {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  padding-top: 2px;
}

.line-text {
  color: var(--text-dim);
  line-height: 1.4;
}

.dead-end .line-text {
  color: var(--text-muted);
  font-style: italic;
}

.flag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  white-space: nowrap;
  align-self: center;
}

.flag-neutral {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

.flag-warning {
  background: rgba(245,158,11,0.1);
  color: var(--amber);
}

.flag-danger {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
}

.flag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.flag-dot.warning { background: var(--amber); }
.flag-dot.danger { background: #ef4444; }

.transcript-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.missed-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.missed-score .score-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.score-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #ef4444);
  border-radius: 4px;
}

.missed-score .score-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ef4444;
  white-space: nowrap;
}

.missed-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.missed-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0.4rem 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.analysis-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.a-stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.a-stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.a-stat-lbl {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* === PRACTICE === */
.practice {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.practice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.scenario-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.scenario-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scenario-tag:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-dim);
}

.scenario-tag.active {
  background: var(--amber-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--amber);
}

.practice-console {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.console-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.console-dot.green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}

.practice-timer {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.console-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.console-msg {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.msg-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.agent-msg .msg-label { color: var(--amber); }
.prospect-msg .msg-label { color: #60a5fa; }

.msg-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  line-height: 1.5;
}

.prospect-msg .msg-text {
  border-radius: 10px 10px 10px 4px;
}

.console-analysis {
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.analysis-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.analysis-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.analysis-good {
  color: #22c55e;
  font-weight: 500;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.inline-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-score .score-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
}

.console-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.progress-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* === MANIFESTO === */
.manifesto {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.manifesto-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.05) 0%, transparent 70%);
}

.manifesto-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.manifesto-attribution {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber);
}

/* === CLOSING === */
.closing-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.closing-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.closing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 3rem;
  max-width: 700px;
  width: 100%;
}

.closing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.cf-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 8px;
}

.cf-text {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* === FOOTER === */
.site-footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 4rem 2rem 3rem;
  }
  .hero-right {
    order: -1;
  }
  .hero-left {
    text-align: center;
  }
  .hero-sub { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .objections-layout,
  .analysis-layout,
  .practice-layout {
    grid-template-columns: 1fr;
  }
  .objections-left,
  .analysis-visual {
    position: static;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .step-connector { display: none; }
  .closing-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .phone-frame {
    width: 240px;
  }
  .phone-screen {
    min-height: 400px;
    padding: 0.75rem;
  }
  .transcript-line {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
  }
  .flag {
    grid-column: 2;
    grid-row: 2;
  }
  .footer-note { font-size: 0.7rem; }
}