/* =====================================
   CallLoop — Custom Landing Page Theme
   ===================================== */

/* --- Variables --- */
:root {
  --bg: #F8F6F1;
  --bg-alt: #F0EDE5;
  --fg: #0F172A;
  --fg-muted: #4A5568;
  --accent: #FF6B35;
  --accent-dark: #E55A25;
  --navy: #0F172A;
  --surface: #FFFFFF;
  --border: rgba(15, 23, 42, 0.08);
  --section-gap: 96px;
}

/* --- Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.15;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 241, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

/* --- Hero --- */
.hero {
  padding: 80px 32px 96px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.call-loop-animation {
  position: relative;
  width: 260px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-icon {
  position: relative;
  z-index: 2;
}
.signal-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse-ring 2.5s ease-out infinite;
}
.ring-1 { width: 120px; height: 120px; top: -10px; left: -10px; animation-delay: 0s; }
.ring-2 { width: 160px; height: 160px; top: -30px; left: -30px; animation-delay: 0.8s; }
.ring-3 { width: 200px; height: 200px; top: -50px; left: -50px; animation-delay: 1.6s; }
@keyframes pulse-ring {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.2); }
}
.loop-connector {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.loop-connector svg { width: 100%; }
.stat-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: var(--navy);
  border-radius: 16px;
  color: white;
  width: 100%;
}
.stat { flex: 1; text-align: center; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}
.hero-copy { padding-top: 8px; }
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}
.highlight {
  color: var(--accent);
  position: relative;
}
.hero-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.action-label {
  font-size: 13px;
  color: var(--fg-muted);
}
.revenue-estimate {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
}

/* --- How It Works --- */
.how-it-works {
  padding: var(--section-gap) 32px;
  background: var(--navy);
  color: white;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}
.section-header p { color: rgba(255,255,255,0.6); font-size: 16px; }
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}
.step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 20px;
}
.step-connector { padding: 0 8px; }
.step-connector svg { opacity: 0.4; }
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}
.step p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* --- Features --- */
.features { padding: var(--section-gap) 32px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 56px; }
.features-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  max-width: 520px;
}
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.feature-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px;
  transition: transform 0.2s;
}
.feature-block:hover { transform: translateY(-2px); }
.feature-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.feature-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature-primary .feature-label { color: rgba(255,107,53,0.8); }
.feature-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: inherit;
}
.feature-primary h3 { color: white; }
.feature-block p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }
.feature-primary p { color: rgba(255,255,255,0.65); }
.tech-stack {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--bg-alt);
  border-radius: 12px;
  width: fit-content;
}
.tech-label { font-size: 13px; color: var(--fg-muted); }
.tech-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tech-badges span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
}

/* --- Pricing --- */
.pricing {
  padding: var(--section-gap) 32px;
  background: var(--bg-alt);
}
.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.pricing-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}
.pricing-header p { color: var(--fg-muted); font-size: 16px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.plan {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
}
.plan-featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.plan-price span { font-size: 18px; font-weight: 500; color: var(--fg-muted); }
.plan-tagline { font-size: 13px; color: var(--fg-muted); margin-bottom: 28px; line-height: 1.4; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-footnote {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* --- ROI Calculator --- */
.roi-calculator-section {
  padding: 80px 32px;
  background: var(--navy);
  color: white;
}
.roi-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.roi-calc-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.roi-calc-header .section-tag { color: var(--accent); }
.roi-calc-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.roi-calc-header p { color: rgba(255,255,255,0.6); font-size: 16px; }
.roi-calculator {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 48px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.roi-inputs h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 28px;
}
.roi-field {
  margin-bottom: 28px;
}
.roi-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.roi-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.roi-prefix {
  position: absolute;
  left: 16px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.roi-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 16px 14px 32px;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.roi-input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}
.roi-input::placeholder { color: rgba(255,255,255,0.25); }
.roi-results {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
}
.roi-results-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.roi-big-number {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.roi-big-number.recovered { color: #10b981; }
.roi-big-number.negative { color: #ef4444; }
.roi-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  line-height: 1.5;
}
.roi-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 28px 0;
}
.roi-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.roi-metric {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.roi-metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.roi-metric-value.loss { color: #ef4444; }
.roi-metric-value.saved { color: #10b981; }
.roi-metric-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.3;
}
.roi-payback {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 12px;
}
.roi-payback-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,107,53,0.7);
  margin-bottom: 4px;
}
.roi-payback-value {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

/* --- Testimonials --- */
.testimonials {
  padding: var(--section-gap) 32px;
  background: var(--navy);
  color: white;
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials .section-tag { color: var(--accent); }
.testimonials h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: white;
  margin-bottom: 48px;
  max-width: 480px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 24px;
}
.author-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: white;
  margin-bottom: 2px;
}
.author-role { font-size: 12px; color: rgba(255,255,255,0.45); }

/* --- Closing --- */
.closing {
  padding: var(--section-gap) 32px;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.closing-stat { text-align: center; }
.closing-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.closing-stat-label { font-size: 13px; color: var(--fg-muted); max-width: 140px; line-height: 1.4; }
.closing-stat-sep { font-size: 24px; color: var(--border); }

/* --- Footer --- */
.footer {
  padding: 40px 32px;
  background: var(--navy);
  color: rgba(255,255,255,0.5);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 13px; margin-bottom: 16px; }
.footer-meta { font-size: 12px; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; }
  .hero-copy { order: 1; }
  .steps-grid { flex-direction: column; gap: 24px; }
  .step-connector { display: none; }
  .feature-blocks { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .closing-stats { flex-direction: column; gap: 16px; }
  .closing-stat-sep { display: none; }
  .nav-tagline { display: none; }
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 48px 20px 64px; }
}