/* CSS Variables & Global Settings for Premium Feel */
:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-bg-light: #f9fafb; /* Softer light gray */
  --color-bg-dark: #0f172a; /* Rich, dark agency feel */
  
  --color-text-main: #09090b; /* Almost black for max contrast */
  --color-text-muted: #52525b; /* Slate-like gray */
  --color-text-light: #a1a1aa; /* Soft gray for footer */
  
  --color-accent: #2563eb; /* True agency blue */
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #eff6ff; 
  
  --color-border: #e4e4e7;
  --color-border-dark: #27272a;
  
  --color-dark: #18181b;
  --color-dark-hover: #09090b;
  
  /* Typography */
  --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
  --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  
  /* Border Radius - Consistent across the entire site */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Sizing */
  --container-max: 1200px;
  --container-sm: 680px; /* Reduced for better readability on focused blocks */
  --section-padding: 8rem; /* Increased vertical breathing room */
}

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

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

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text-main);
}

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

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

a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

/* Layout Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
}

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

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

.mb-12 {
  margin-bottom: 4rem; /* Increased bottom margin below headers */
}

.container-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem; /* Increased gap */
}

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

/* Buttons Refinement */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 999px; /* Pill shape for premium feel */
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none !important;
  border: 1px solid transparent;
  font-size: 1rem;
}

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

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text-main);
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-white {
  background-color: white;
  color: var(--color-text-main);
}

.btn-white:hover {
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 228, 231, 0.6);
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--color-text-main);
  text-decoration: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-text-main);
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: var(--transition);
}

.nav-btn:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  margin-bottom: 6px;
  transition: var(--transition);
}

.mobile-menu-btn span:last-child {
  margin-bottom: 0;
}

/* Hero Section Refinement */
.hero {
  padding-top: calc(80px + 8rem);
  padding-bottom: 8rem;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero-bg-blur {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, rgba(255,255,255,0) 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(228, 228, 231, 0.6);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  animation: float 6s ease-in-out infinite;
  min-width: 280px;
}

.missed-call-card {
  top: 25%;
  left: 5%;
  transform: rotate(-3deg);
  animation-name: float-left;
  animation-delay: 0s;
}

.booking-card {
  top: 60%;
  right: 5%;
  transform: rotate(2deg);
  animation-name: float-right;
  animation-delay: 2.5s;
}

@keyframes float-left {
  0% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-2deg); }
  100% { transform: translateY(0px) rotate(-3deg); }
}

@keyframes float-right {
  0% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(2deg); }
}

.fc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-icon.pulse-red {
  background-color: #fef2f2;
  color: #ef4444;
}

.fc-icon.pulse-green {
  background-color: #f0fdf4;
  color: #22c55e;
}

.fc-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fc-content strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

.fc-content span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.fc-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.fc-badge.ai-handled {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.fc-badge.synced {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

@media (max-width: 1100px) {
  .hidden-mobile {
    display: none !important;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-headline {
  font-size: 4.5rem; /* Larger */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem; /* More space */
  color: var(--color-text-main);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subheadline {
  font-size: 1.35rem;
  color: #71717a; /* Softer */
  margin-bottom: 3.5rem; /* Increased spacing to buttons */
  max-width: 680px; /* Reduced width for readability */
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem; /* Increased gap */
  justify-content: center;
  margin-bottom: 3.5rem;
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.trust-line svg {
  color: var(--color-text-light); /* Neutralized, only accent in primary spots */
}

/* Problem Section */
.section-title {
  font-size: 3rem; /* Larger */
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem; /* Increased spacing */
  margin-top: 5rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: white;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(228, 228, 231, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.08); /* Soft blue glow */
  border-color: rgba(37, 99, 235, 0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 4rem; /* Re-sized larger */
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.stat-text {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 1rem; /* Reduced to emphasize number */
  line-height: 1.5;
}

/* Demo Section Refinement */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.reassurance-text {
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--color-border);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Audio Demo Card */
.audio-demo-card {
  background-color: #0f172a;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.audio-demo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.audio-player {
  position: relative;
  z-index: 1;
}

/* Big Play Button */
.audio-hero-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.audio-hero-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.45);
}

.audio-hero-btn .play-icon {
  margin-left: 3px; /* optical centering for triangle */
}

.audio-hero-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.3);
  animation: audioRingPulse 2.5s ease-out infinite;
}

@keyframes audioRingPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.audio-hero-btn.playing .audio-hero-ring {
  animation: audioRingPulse 1.5s ease-out infinite;
  border-color: rgba(59, 130, 246, 0.5);
}

/* Label */
.audio-call-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

/* Waveform */
.audio-waveform {
  position: relative;
  height: 48px;
  margin-bottom: 1rem;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
}

.audio-waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.audio-waveform-bars span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s ease;
}

/* Randomised bar heights via nth-child */
.audio-waveform-bars span:nth-child(1)  { height: 18px; }
.audio-waveform-bars span:nth-child(2)  { height: 28px; }
.audio-waveform-bars span:nth-child(3)  { height: 14px; }
.audio-waveform-bars span:nth-child(4)  { height: 36px; }
.audio-waveform-bars span:nth-child(5)  { height: 22px; }
.audio-waveform-bars span:nth-child(6)  { height: 40px; }
.audio-waveform-bars span:nth-child(7)  { height: 30px; }
.audio-waveform-bars span:nth-child(8)  { height: 16px; }
.audio-waveform-bars span:nth-child(9)  { height: 38px; }
.audio-waveform-bars span:nth-child(10) { height: 20px; }
.audio-waveform-bars span:nth-child(11) { height: 44px; }
.audio-waveform-bars span:nth-child(12) { height: 26px; }
.audio-waveform-bars span:nth-child(13) { height: 32px; }
.audio-waveform-bars span:nth-child(14) { height: 18px; }
.audio-waveform-bars span:nth-child(15) { height: 42px; }
.audio-waveform-bars span:nth-child(16) { height: 24px; }
.audio-waveform-bars span:nth-child(17) { height: 30px; }
.audio-waveform-bars span:nth-child(18) { height: 14px; }
.audio-waveform-bars span:nth-child(19) { height: 36px; }
.audio-waveform-bars span:nth-child(20) { height: 22px; }
.audio-waveform-bars span:nth-child(21) { height: 38px; }
.audio-waveform-bars span:nth-child(22) { height: 28px; }
.audio-waveform-bars span:nth-child(23) { height: 16px; }
.audio-waveform-bars span:nth-child(24) { height: 34px; }
.audio-waveform-bars span:nth-child(25) { height: 20px; }
.audio-waveform-bars span:nth-child(26) { height: 40px; }
.audio-waveform-bars span:nth-child(27) { height: 26px; }
.audio-waveform-bars span:nth-child(28) { height: 32px; }
.audio-waveform-bars span:nth-child(29) { height: 18px; }
.audio-waveform-bars span:nth-child(30) { height: 44px; }
.audio-waveform-bars span:nth-child(31) { height: 24px; }
.audio-waveform-bars span:nth-child(32) { height: 36px; }
.audio-waveform-bars span:nth-child(33) { height: 20px; }
.audio-waveform-bars span:nth-child(34) { height: 30px; }
.audio-waveform-bars span:nth-child(35) { height: 14px; }
.audio-waveform-bars span:nth-child(36) { height: 38px; }
.audio-waveform-bars span:nth-child(37) { height: 22px; }
.audio-waveform-bars span:nth-child(38) { height: 28px; }
.audio-waveform-bars span:nth-child(39) { height: 16px; }
.audio-waveform-bars span:nth-child(40) { height: 42px; }

.audio-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.3), rgba(59, 130, 246, 0.1));
  border-radius: 8px;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Highlight played bars */
.audio-waveform-bars span.played {
  background-color: rgba(59, 130, 246, 0.7);
}

/* Time Row */
.audio-time-row {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}



/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem; 
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--color-border) 50%, transparent 50%);
  background-size: 20px 2px;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--color-bg-light); /* cover the line */
  padding: 1rem;
}

.step-card {
  padding: 1rem 0; /* Cleaner structure, removed card bg if preferred, or refine it */
}

.step-number {
  color: var(--color-text-light);
  font-weight: 800;
  font-size: 4rem; /* Massive, distinct */
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', var(--font-family); /* Optional: distinctive font for numbers, or keep */
  opacity: 0.5;
}

.step-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  padding: 3.5rem 2.5rem; /* More padding */
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: white;
  transition: var(--transition);
  box-shadow: var(--shadow-md); /* Softer shadow */
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px; /* Larger icon */
  height: 60px;
  background-color: var(--color-bg-light); /* Neutral background */
  color: var(--color-text-main); /* Strict neutral emphasis */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--color-text-muted);
  flex-grow: 1;
}

/* Features List Section */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; 
}

.features-list li {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-list li:hover {
  background-color: white;
  border-color: rgba(228, 228, 231, 0.8);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
  transform: translateX(8px);
}

.features-list strong {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.features-list strong::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-text-main); /* Neutral emphasis instead of blue */
  border-radius: 50%;
}

.features-list span {
  color: var(--color-text-muted);
  padding-left: 1.5rem;
  font-size: 1.05rem;
}

.feature-card-ui {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  border: 1px solid rgba(228, 228, 231, 0.4);
}

.check-circle {
  width: 28px;
  height: 28px;
  background-color: var(--color-text-main); /* Black tick for premium feel */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-circle svg {
  width: 16px;
  height: 16px;
}

/* Industries Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.industry-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.industry-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.industry-img-container {
  height: 240px;
  overflow: hidden;
}

.industry-image {
  height: 100%;
  width: 100%;
  background-color: var(--color-border);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.industry-card:hover .industry-image {
  transform: scale(1.05); /* Subtle zoom */
}

.hvac-img {
  background-image: url('images/hvac.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--color-bg-light);
}

.plumbing-img {
  background-image: url('images/plumbing.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--color-bg-light);
}

.industry-content {
  padding: 2.5rem 2rem;
}

.industry-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.industry-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonial-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem; /* More spacing */
  max-width: 1000px; /* Wider to accommodate padding */
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 3.5rem 3rem; /* Increased padding */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #111827; /* Strict neutral */
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.quote {
  font-size: 1.25rem;
  color: var(--color-text-main);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
}

.author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.author strong {
  font-weight: 800;
  font-size: 1.1rem;
}

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

/* CTA Section Refinement */
.cta {
  padding: 10rem 0; /* Significant spacing */
}

.cta-box {
  background-color: #020617; /* High contrast dark space */
  background-image: 
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.8) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.3) 0%, transparent 60%);
  border-radius: var(--radius-lg);
  padding: 6rem 4rem; /* Generous padding */
  color: white;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subtle texture/gradient inside CTA for premium feel without being flashy */
.cta-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.cta-headline {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.cta-subheadline {
  color: #a1a1aa;
  font-size: 1.35rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.cta-btn {
  /* Using white button for immense contrast against dark bg */
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #71717a;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.cta-guarantees span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-guarantees svg {
  color: #a1a1aa; /* Neutral icon */
}

.cta-guarantees .dot {
  color: #3f3f46;
}

/* ========================================================================= */
/* Before / After Comparison Section
/* ========================================================================= */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-col {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-col:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.comparison-without {
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-without::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-color: var(--color-error);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.comparison-with {
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.comparison-with::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-color: var(--color-success);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.comparison-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.comparison-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.comparison-icon-bad {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
}

.comparison-icon-good {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
}

.comparison-header h3 {
  font-size: 1.5rem;
  color: var(--color-text-main);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  padding: 1rem 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  position: relative;
  padding-left: 1.5rem;
}

.comparison-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-text-light);
  font-weight: bold;
}

.comparison-without .comparison-list li::before {
  color: var(--color-error);
}

.comparison-with .comparison-list li::before {
  content: '✓';
  color: var(--color-success);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-divider span {
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  font-weight: 800;
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

/* ========================================================================= */
/* Pricing Section
/* ========================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center; /* Ensures the featured card can naturally pop out */
  margin-top: 4rem;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.pricing-card-featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-price {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-period {
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  flex-grow: 1;
}

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

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

.btn-block {
  width: 100%;
  text-align: center;
}

/* Footer Refinement */
.footer {
  border-top: 1px solid var(--color-border);
  padding-top: 5rem;
  background-color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  font-size: 1.25rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 5rem; /* Better breathing room between columns */
}

.footer-column h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-column a {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--color-text-main);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
  .hero-headline { font-size: 3.5rem; }
  .section-title { font-size: 2.5rem; }
  .stat-number { font-size: 3rem; }
  .phone-number { font-size: 2.5rem; }
  .container-split { gap: 4rem; }
  .cta-headline { font-size: 2.75rem; }
}

@media (max-width: 992px) {
  .container-split {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .features-list-visual {
    order: -1;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 4rem auto 0;
  }
  
  .pricing-card.pricing-card-featured {
    transform: scale(1);
    box-shadow: var(--shadow-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 5rem; /* Keep it dense on mobile */
  }

  .hero {
    padding-top: calc(80px + 4rem);
    padding-bottom: 4rem;
  }

  .hero-headline {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn { width: 100%; border-radius: 12px; } /* Block buttons on mobile */
  
  .problem-stats,
  .steps-grid,
  .services-grid,
  .industries-grid,
  .testimonial-carousel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .comparison-divider {
    padding: 1rem 0;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .trust-line {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .trust-line .dot {
    display: none;
  }
  
  .cta-guarantees {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-guarantees .dot {
    display: none;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ========================================================================= */
/* Language Badge
/* ========================================================================= */
.language-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  width: fit-content;
}

.lang-flags {
  display: flex;
  gap: 0.5rem;
}

.flag-icon {
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}


.lang-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

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

.lang-text span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ========================================================================= */
/* ROI Calculator
/* ========================================================================= */
.calculator-card {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.calc-inputs {
  padding: 4rem;
}

.pricing-addon-note {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg-light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.pricing-addon-note strong {
  color: var(--color-accent);
  font-weight: 800;
}

.pricing-addon-note a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.25rem;
}

.pricing-addon-note a:hover {
  color: var(--color-accent-hover);
}

.addon-icon {
  font-size: 1.2rem;
}

.calc-input-group {
  margin-bottom: 2.5rem;
}

.calc-input-group:last-child {
  margin-bottom: 0;
}

.calc-input-group label {
  display: block;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-input-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--color-bg-light);
  border-radius: 3px;
  appearance: none;
  cursor: pointer;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.calc-input-group input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--color-text-main);
}

.calc-value-display {
  display: block;
  margin-top: 0.75rem;
  font-weight: 800;
  color: var(--color-accent);
  font-size: 1.25rem;
}

.calc-results {
  background: var(--color-text-main);
  color: white;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.calc-result-item {
  margin-bottom: 2.5rem;
}

.calc-result-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.calc-result-item h4 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}

.calc-result-item.highlight h4 {
  font-size: 4rem;
  color: var(--color-accent-light);
  letter-spacing: -0.04em;
}

.calc-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  text-transform: uppercase;
}

.calc-result-item.total h4 {
  color: #22c55e;
}

/* ========================================================================= */
/* FAQ Accordion
/* ========================================================================= */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-text-light);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.faq-answer p {
  padding: 1rem 2rem 2rem;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.1);
}

.faq-item.active .faq-question {
  color: var(--color-accent);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ========================================================================= */
/* WhatsApp Widget
/* ========================================================================= */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  background: white;
  color: var(--color-text-main);
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateX(10px);
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }
  
  .calc-inputs, .calc-results {
    padding: 2.5rem 1.5rem;
  }
  
  .calc-result-item h4 {
    font-size: 2rem;
  }
  
  .calc-result-item.highlight h4 {
    font-size: 3rem;
  }
}
