/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Colors - Modern B2B Palette */
  --color-bg-primary: #0a0f18; /* Deep dark blue for professionalism and high contrast */
  --color-bg-secondary: #131b28; /* Slightly lighter for sections */
  --color-bg-tertiary: #1e293b; /* Card backgrounds */
  
  --color-text-main: #f8fafc; /* Not pure white */
  --color-text-muted: #94a3b8; /* Slate gray for secondary text */
  
  --color-accent-primary: #f97316; /* High-converting vibrant orange (Urgency, Action) */
  --color-accent-hover: #ea580c;
  
  --color-danger: #ef4444; /* Red for pain points/lost revenue */
  --color-success: #22c55e;
  
  --color-border: #334155;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Radii & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--color-accent-primary);
  position: relative;
  display: inline-block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 4rem; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--color-accent-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

.btn-full {
  width: 100%;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(10, 15, 24, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--color-accent-primary);
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
  }
  
  .nav-links a:hover {
    color: var(--color-text-main);
  }
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.headline {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.subheadline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.micro-copy {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.micro-copy svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

/* Abstract Blobs for modern background */
.blob {
  position: absolute;
  filter: blur(90px);
  z-index: 1;
  opacity: 0.15;
  border-radius: 50%;
}

.blob-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background-color: var(--color-accent-primary);
}

.blob-2 {
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: #3b82f6; /* Complementary blue */
}

@media (min-width: 768px) {
  .headline { font-size: 4.5rem; }
}


/* --- SECTIONS COMMON --- */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}


/* --- AUDIO DEMO SECTION --- */
.audio-player-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Fake glass reflection */
.audio-player-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.play-btn {
  background-color: var(--color-accent-primary);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.05);
  background-color: var(--color-accent-hover);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 2px; /* Visual center adjustment for play icon */
}

.play-btn.playing svg {
  margin-left: 0; /* Reset for pause icon */
}

.waveform-container {
  flex-grow: 1;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  cursor: pointer;
}

.wave-bar {
  flex: 1;
  background-color: var(--color-border);
  border-radius: 2px;
  transition: height 0.1s ease;
}

/* Generate random heights for aesthetic waveform */
.wave-bar:nth-child(1) { height: 20%; }
.wave-bar:nth-child(2) { height: 40%; }
.wave-bar:nth-child(3) { height: 30%; }
.wave-bar:nth-child(4) { height: 60%; }
.wave-bar:nth-child(5) { height: 80%; }
.wave-bar:nth-child(6) { height: 50%; }
.wave-bar:nth-child(7) { height: 90%; }
.wave-bar:nth-child(8) { height: 70%; }
.wave-bar:nth-child(9) { height: 40%; }
.wave-bar:nth-child(10) { height: 60%; }
.wave-bar:nth-child(11) { height: 100%; }
.wave-bar:nth-child(12) { height: 80%; }
.wave-bar:nth-child(13) { height: 50%; }
.wave-bar:nth-child(14) { height: 30%; }
.wave-bar:nth-child(15) { height: 70%; }
.wave-bar:nth-child(16) { height: 90%; }
.wave-bar:nth-child(17) { height: 60%; }
.wave-bar:nth-child(18) { height: 40%; }
.wave-bar:nth-child(19) { height: 20%; }
.wave-bar:nth-child(20) { height: 30%; }

.progress-overlay {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%; /* Updated via JS */
  background-color: var(--color-accent-primary);
  mix-blend-mode: overlay; /* Creates cool effect over gray bars */
  transition: width 0.1s linear;
  pointer-events: none;
}

.time-display {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.audio-caption {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}


/* --- THE PROBLEM SECTION --- */
.problem-container {
  max-width: 800px;
}

.problem-lead {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.problem-bold {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.text-highlight {
  color: var(--color-danger);
}

.pain-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

.pain-card {
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.danger-icon {
  color: var(--color-danger);
  width: 32px;
  height: 32px;
}

.pain-card p {
  color: var(--color-text-muted);
}

.pain-card strong {
  font-size: 1.25rem;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .pain-points-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-conclusion {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
}


/* --- LIVE DEMO SECTION --- */
.live-demo-section {
  background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
  position: relative;
}

.demo-box {
  background-color: var(--color-bg-tertiary);
  border: 2px solid var(--color-accent-primary);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  box-shadow: var(--shadow-glow);
  max-width: 800px;
  position: relative;
}

.badge {
  background-color: var(--color-danger);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-md);
}

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

.phone-number-box {
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px dashed var(--color-border);
}

.pulse-icon {
  color: var(--color-success);
  width: 48px;
  height: 48px;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.demo-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
  transition: color var(--transition-fast);
}

.demo-number:hover {
  color: var(--color-accent-primary);
}


/* --- HOW IT WORKS --- */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.step-card {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-primary);
}

.step-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.step-icon {
  color: var(--color-accent-primary);
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--color-text-main);
  color: var(--color-bg-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
    height: 100px; /* Align with icons */
  }
}


/* --- PRICING --- */
.roi-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.roi-text {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.pricing-card {
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 2rem;
  vertical-align: top;
}

.period {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.setup-fee {
  color: var(--color-accent-primary);
  font-weight: 600;
  margin-bottom: 2rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.pricing-features svg {
  color: var(--color-success);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .roi-container { grid-template-columns: 1fr 1fr; }
}


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

.footer-desc {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.footer-links {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.copyright {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
