/* ============================================
   More Calls Digital — Design System
   Based on BRAND_VOICE.md specs
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Fonts */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Core Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #1e3a5f;
  --secondary-dark: #152d4a;
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-dark: #ea580c;
  --light-bg: #eff6ff;
  --surface: #ffffff;

  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-on-primary: #ffffff;

  /* UI Colors */
  --border: #e2e8f0;
  --border-focus: #2563eb;
  --bg-page: #f8fafc;
  --success: #16a34a;
  --error: #dc2626;
  --warning: #f59e0b;

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Breakpoints (for reference — used in media queries) */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* XS base (mobile-first) */
h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

h5 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.overline {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.body-small {
  font-size: 13px;
  line-height: 1.65;
}

.caption {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
}

.micro {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* SM (480px+) */
@media (min-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 18px; }
  h5 { font-size: 15px; }
  .stat-number { font-size: 32px; }
  body { font-size: 16px; }
  .body-small { font-size: 14px; }
}

/* MD (768px+) */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
  .stat-number { font-size: 36px; }
}

/* LG (1024px+) */
@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 26px; }
  .stat-number { font-size: 40px; }
  body { font-size: 16px; }
  .body-small { font-size: 14px; }
}

/* XL (1280px+) */
@media (min-width: 1280px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 28px; }
  h4 { font-size: 20px; }
  h5 { font-size: 16px; }
  .stat-number { font-size: 48px; }
  body { font-size: 17px; }
  .body-small { font-size: 15px; }
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 480px) {
  .container { padding-left: var(--space-5); padding-right: var(--space-5); }
}
@media (min-width: 768px) {
  .container { padding-left: var(--space-8); padding-right: var(--space-8); }
}
@media (min-width: 1024px) {
  .container { padding-left: var(--space-12); padding-right: var(--space-12); }
}
@media (min-width: 1280px) {
  .container { padding-left: var(--space-16); padding-right: var(--space-16); }
}

.section {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 480px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
}
@media (min-width: 768px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
}
@media (min-width: 1024px) {
  .section { padding-top: 80px; padding-bottom: 80px; }
}
@media (min-width: 1280px) {
  .section { padding-top: 96px; padding-bottom: 96px; }
}

.section-alt {
  background-color: var(--light-bg);
}

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

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

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

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.0;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  text-decoration: none;
  min-height: 44px;
  width: 100%;
}

@media (min-width: 480px) {
  .btn { font-size: 15px; padding: 10px 24px; }
}

@media (min-width: 768px) {
  .btn { width: auto; }
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-on-primary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-on-primary);
}
.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--text-on-primary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--light-bg);
  color: var(--primary);
}

.btn-ghost {
  background-color: var(--light-bg);
  color: var(--primary);
}
.btn-ghost:hover {
  background-color: #dbeafe;
  color: var(--primary);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 1024px) {
  .nav-inner { height: 72px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo svg {
  height: 36px;
  width: auto;
}

@media (min-width: 1024px) {
  .nav-logo svg { height: 40px; }
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  position: relative;
  transition: background-color 0.3s ease;
}

.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  left: 0;
  transition: transform 0.3s ease;
}

.nav-hamburger span::before { top: -7px; }
.nav-hamburger span::after { top: 7px; }

.nav-hamburger.active span {
  background-color: transparent;
}

.nav-hamburger.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-hamburger.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: var(--space-8) var(--space-4);
  flex-direction: column;
  gap: var(--space-6);
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: var(--space-4);
}

/* ---- Hero Section ---- */
.hero {
  padding-top: 104px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--bg-page) 100%);
}

@media (min-width: 480px) {
  .hero { padding-top: 112px; padding-bottom: 48px; }
}

@media (min-width: 768px) {
  .hero { padding-top: 120px; padding-bottom: 64px; }
}

@media (min-width: 1024px) {
  .hero { padding-top: 140px; padding-bottom: 80px; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
}

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

.hero-tagline {
  margin-bottom: var(--space-4);
}

.hero h1 {
  margin-bottom: var(--space-5);
  color: var(--secondary);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

@media (min-width: 1280px) {
  .hero-sub { font-size: 19px; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-buttons .btn {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero-buttons { flex-direction: row; gap: var(--space-4); }
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-proof-item svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Hero Visual — Animated Dashboard */
.hero-visual {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: #f0fdf4;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Animated Line Chart */
.chart-container {
  position: relative;
  height: 200px;
  margin-bottom: var(--space-6);
}

.line-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Line draw animation */
.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 1.8s ease-out 0.3s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Area fade in */
.chart-area {
  opacity: 0;
  animation: fadeArea 0.8s ease-out 1.2s forwards;
}

@keyframes fadeArea {
  to { opacity: 1; }
}

/* Dots pop in sequentially */
.chart-dot {
  opacity: 0;
  transform-origin: center;
  animation: popDot 0.3s ease-out forwards;
}

.chart-dot:nth-child(6) { animation-delay: 0.3s; }
.chart-dot:nth-child(7) { animation-delay: 0.7s; }
.chart-dot:nth-child(8) { animation-delay: 1.0s; }
.chart-dot:nth-child(9) { animation-delay: 1.3s; }
.chart-dot:nth-child(10) { animation-delay: 1.6s; }

@keyframes popDot {
  0% { opacity: 0; r: 0; }
  60% { r: 7; }
  100% { opacity: 1; r: 5; }
}

/* Last dot (30 calls) pulses */
.chart-dot:nth-child(10) {
  animation: popDot 0.3s ease-out 1.6s forwards, pulseDot 2s ease-in-out 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { r: 6; }
  50% { r: 8; }
}

/* Value labels fade in with dots */
.chart-value-label {
  opacity: 0;
  animation: fadeLabel 0.3s ease-out forwards;
}

.chart-value-label:nth-of-type(1) { animation-delay: 0.4s; }
.chart-value-label:nth-of-type(2) { animation-delay: 0.8s; }
.chart-value-label:nth-of-type(3) { animation-delay: 1.1s; }
.chart-value-label:nth-of-type(4) { animation-delay: 1.4s; }
.chart-value-label:nth-of-type(5) { animation-delay: 1.7s; }

@keyframes fadeLabel {
  to { opacity: 1; }
}

/* Hover interactivity on dots */
.chart-dot {
  cursor: pointer;
  transition: r 0.15s ease;
}

.chart-dot:hover {
  r: 8;
  filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.4));
}

/* Tooltip */
.chart-tooltip {
  position: absolute;
  background: var(--secondary-dark);
  color: var(--text-on-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.chart-tooltip-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.chart-labels {
  display: flex;
  justify-content: space-around;
  padding-top: var(--space-2);
}

.chart-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

.chart-legend {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  margin-top: var(--space-4);
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  color: var(--text-secondary);
}

.chart-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}

/* Dashboard Stats Row */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.dashboard-stat {
  text-align: center;
}

.dashboard-stat .stat-number {
  font-size: 24px;
  margin-bottom: var(--space-1);
}

.dashboard-stat .caption {
  font-size: 11px;
}

/* Floating notification */
.floating-notification {
  position: absolute;
  bottom: -55px;
  left: -20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: slideInNotification 0.8s ease-out 1.5s forwards;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes slideInNotification {
  to { opacity: 1; transform: translateY(0); }
}

.notification-icon {
  width: 32px;
  height: 32px;
  background: #f0fdf4;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  flex-shrink: 0;
}

.notification-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.notification-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ---- Service Cards (What We Do) ---- */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--primary);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Problem Section ---- */
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: #fef2f2;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--error);
}

.problem-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-3);
}

.problem-card p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

/* ---- Stats / Social Proof ---- */
.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

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

.stat-item .stat-number {
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.stat-item p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 240px;
  margin: 0 auto;
}

/* ---- How It Works / Process ---- */
.process-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--text-on-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.step-content h3 {
  margin-bottom: var(--space-2);
}

.step-content p {
  color: var(--text-secondary);
  max-width: 480px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* ---- Pricing Section ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-on-primary);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card h3 {
  margin-bottom: var(--space-2);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--text-secondary);
}

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

/* ---- Guarantee Section ---- */
.guarantee-box {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.guarantee-box h2 {
  margin-bottom: var(--space-4);
}

.guarantee-box p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.testimonial-stars {
  color: var(--warning);
  margin-bottom: var(--space-4);
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- FAQ Section ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: var(--space-4);
  min-height: 44px;
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--secondary-dark);
  color: var(--text-on-primary);
}

.cta-section h2 {
  color: var(--text-on-primary);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto var(--space-8);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

@media (min-width: 480px) {
  .cta-buttons { flex-direction: row; justify-content: center; gap: var(--space-4); }
}

/* ---- Footer ---- */
.footer {
  background: var(--secondary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 14px;
  max-width: 280px;
  margin-top: var(--space-4);
  line-height: 1.7;
}

.footer h5 {
  color: var(--text-on-primary);
  margin-bottom: var(--space-4);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-on-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom p {
  font-size: 13px;
}

/* ---- Sticky Click-to-Call (Mobile) ---- */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
  .sticky-call { display: none; }
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1001;
  transition: width 0.05s linear;
}

/* ---- Still Here Section ---- */
.still-here-section {
  background: var(--secondary-dark);
  color: var(--text-on-primary);
  text-align: center;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  position: relative;
  overflow: hidden;
}

.still-here-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.still-here-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.still-here-overline {
  display: block;
  color: var(--accent);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.still-here-heading {
  color: var(--text-on-primary);
  margin-bottom: var(--space-8);
  font-size: 36px;
}

@media (min-width: 768px) {
  .still-here-heading { font-size: 44px; }
}

.still-here-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto var(--space-3);
  line-height: 1.8;
}

.still-here-timer-line {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: var(--space-2) auto var(--space-6);
}

.still-here-timer {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}

.still-here-divider {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: var(--space-6) auto;
}

.still-here-punchline {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-on-primary);
  margin: var(--space-4) auto var(--space-2);
  line-height: 1.5;
}

.still-here-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
}

/* ---- Exit Intent Popup ---- */
.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--space-4);
}

.exit-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.exit-popup {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.95);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.exit-popup-overlay.active .exit-popup {
  animation: popupBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popupBounce {
  0% { transform: translateY(20px) scale(0.95); opacity: 0; }
  60% { transform: translateY(-8px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.exit-popup-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: var(--space-2);
  transition: color 0.2s ease;
}

.exit-popup-close:hover {
  color: var(--text-primary);
}

.exit-popup h3 {
  margin-bottom: var(--space-3);
  font-size: 24px;
}

.exit-popup p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.exit-popup-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.exit-popup-divider::before,
.exit-popup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.exit-popup-divider span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.exit-popup-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.exit-popup-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.exit-popup-input::placeholder {
  color: var(--text-muted);
}

/* ---- Konami Easter Egg ---- */
.konami-toast {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--secondary-dark);
  color: var(--text-on-primary);
  padding: var(--space-5) var(--space-8);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  max-width: 420px;
  width: 90%;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.konami-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Smart Pricing Tooltip ---- */
.pricing-smart-tip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-dark);
  color: var(--text-on-primary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 10;
}

.pricing-smart-tip.visible {
  opacity: 1;
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation */
.count-up {
  display: inline-block;
}

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* Section heading pattern */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header .overline {
  margin-bottom: var(--space-3);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

/* ============================================
   BLOG POST STYLES
   ============================================ */

/* Back link */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: gap 0.2s ease;
}
.blog-back:hover { gap: var(--space-3); }

/* Blog hero */
.blog-hero {
  padding-top: calc(var(--space-32) + var(--space-8));
  padding-bottom: var(--space-12);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 14px;
  margin-top: var(--space-2);
}
.blog-meta span { display: flex; align-items: center; }

/* Article body */
.blog-article {
  padding: var(--space-16) 0 var(--space-24);
}
.blog-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.blog-content p {
  margin-bottom: var(--space-6);
}
.blog-content h2 {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-primary);
  margin-top: var(--space-16);
  margin-bottom: var(--space-4);
  padding-top: var(--space-8);
  border-top: 2px solid var(--border);
  line-height: 1.25;
}
.blog-content h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.blog-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
}
.blog-content ul,
.blog-content ol {
  margin: 0 0 var(--space-6) var(--space-6);
  padding: 0;
}
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li {
  margin-bottom: var(--space-2);
  padding-left: var(--space-2);
}
.blog-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
.blog-content a:hover { text-decoration-color: var(--primary); }
.blog-content strong { color: var(--text-primary); font-weight: 700; }

/* Callout / pull quote */
.blog-callout {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

/* In-article CTA box */
.blog-cta-box {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-8);
  margin: var(--space-12) 0;
  text-align: center;
  color: var(--text-on-primary);
}
.blog-cta-box p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-5);
  font-size: 16px;
}
.blog-cta-box .btn { display: inline-flex; }

/* Section divider inside article */
.blog-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-12) 0;
}

/* Blog index hero override - centered layout */
.blog-hero--index {
  text-align: center;
  padding: var(--space-24) 0 var(--space-12);
}
.blog-hero--index p {
  max-width: 600px;
  margin: var(--space-4) auto 0;
  color: var(--text-secondary);
}

/* Blog grid section */
.blog-grid-section {
  padding-bottom: var(--space-24);
}

/* Blog card */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.blog-card h3 {
  margin-bottom: var(--space-3);
}
.blog-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}
.blog-card h3 a:hover {
  color: var(--primary);
}
.blog-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}
.blog-card .read-more {
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}
.blog-card .read-more:hover {
  color: var(--primary-dark);
}

/* ---- end blog styles ---- */

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
