/* ==========================================================================
   RedBalloon Recruiting Lead Page - Core Stylesheet
   Modern, Mobile-First, Conversion-Optimized (Vanilla CSS)
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Design Tokens & Custom Properties */
:root {
  /* Font Families */
  --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Color Palette */
  --color-navy-dark: #091524;
  --color-navy-medium: #0f2136;
  --color-navy-light: #183354;
  --color-red-primary: #d93025;
  --color-red-hover: #b8231a;
  --color-red-light: #fce8e6;
  --color-sand-light: #f9f7f4;
  --color-sand-dark: #eeebe5;
  --color-white: #ffffff;
  
  /* Text Colors */
  --color-text-dark: #111827;
  --color-text-muted: #4b5563;
  --color-text-light: #f9fafb;
  --color-text-light-muted: #9ca3af;

  /* Semantic Feedback */
  --color-success: #188038;
  --color-success-bg: #e6f4ea;
  --color-error: #d93025;
  --color-error-bg: #fce8e6;

  /* Glassmorphism Styles (Dark Theme Cards) */
  --glass-dark-bg: rgba(15, 33, 54, 0.65);
  --glass-dark-border: rgba(255, 255, 255, 0.08);
  --glass-dark-blur: 20px;
  --glass-dark-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Glassmorphism Styles (Light Theme Cards) */
  --glass-light-bg: rgba(255, 255, 255, 0.7);
  --glass-light-border: rgba(255, 255, 255, 0.4);
  --glass-light-blur: 16px;
  --glass-light-shadow: 0 8px 32px 0 rgba(142, 142, 142, 0.1);

  /* Transitions & Shadows */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-circle: 50%;
  
  /* Scroll Progress Bar CSS */
  --scroll-progress: 0%;
}

/* Fluid Typography (Mobile-First responsive scaling using clamp) */
h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.875rem);
  line-height: 1.25;
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 0.3vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
}

.subtitle {
  font-size: clamp(1.125rem, 1vw + 0.9rem, 1.5rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-text-light-muted);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-sand-light);
  color: var(--color-text-dark);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Layout & Container Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(3.5rem, 8vw, 7.5rem) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

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

/* Scroll Progress Bar */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-red-primary), #ff6b6b);
  width: var(--scroll-progress);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Navigation Header */
.navbar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-sand-dark);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-red-primary);
}

.nav-phone {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: var(--color-navy-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.nav-phone:hover {
  background-color: var(--color-red-primary);
  border-color: var(--color-red-primary);
}

/* ==========================================================================
   Hero Section & The Hook
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 80% 20%, var(--color-navy-light) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 48, 37, 0.15) 0%, rgba(0,0,0,0) 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.pre-headline {
  color: var(--color-red-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
  background-color: rgba(217, 48, 37, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 48, 37, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw + 0.5rem, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-red-primary);
}

.hero p.subtitle {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Hook Interactive Component - Candidate Profiles Comparison */
.candidate-comparison {
  margin-top: 1.5rem;
}

.comparison-toggle {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.toggle-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text-light-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

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

/* Glassmorphic Profile Card */
.profile-card {
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(var(--glass-dark-blur));
  box-shadow: var(--glass-dark-shadow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #4f46e5, #06b6d4);
  transition: var(--transition-normal);
}

.profile-card.redballoon::before {
  background: linear-gradient(to right, var(--color-red-primary), #ff6b6b);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  background-color: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-card.redballoon .profile-avatar-placeholder {
  border-color: rgba(217, 48, 37, 0.4);
  background-color: rgba(217, 48, 37, 0.2);
}

.profile-title-area h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
}

.profile-meta {
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.badge {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.badge.success {
  background-color: rgba(24, 128, 56, 0.2);
  color: #34d399;
}

.profile-body {
  display: flex;
  flex-col: column;
  gap: 1rem;
}

.profile-report-list {
  list-style: none;
}

.profile-report-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.profile-report-icon {
  font-weight: 800;
  font-size: 1.1rem;
}

.profile-report-icon.bad {
  color: var(--color-error);
}

.profile-report-icon.good {
  color: #10b981;
}

.profile-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
}

.candidate-match-score {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
}

.candidate-match-score span {
  color: var(--color-red-primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   Social Proof Header
   ========================================================================== */
.trusted-by {
  background-color: var(--color-sand-dark);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.trusted-by-text {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.logo-slider {
  display: flex;
  width: max-content;
  animation: scrollLogos 35s linear infinite;
  gap: 4rem;
}

.logo-slider img {
  height: clamp(30px, 4vw, 45px);
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) brightness(0.4);
  transition: var(--transition-fast);
}

.logo-slider img:hover {
  opacity: 0.95;
  filter: none;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   The Pain Agitator (Sabri Suby Strategy)
   ========================================================================== */
.pain-section {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.section-header .section-tag {
  color: var(--color-red-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-header h2 {
  font-family: var(--font-display);
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.section-header h2 span {
  color: var(--color-red-primary);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem; /* Shrunk gap on mobile */
}

.pain-card {
  background-color: var(--color-sand-light);
  border: 1px solid var(--color-sand-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem; /* Shrunk padding on mobile */
  transition: var(--transition-normal);
  display: flex;
  gap: 1rem; /* Tighter spacing on mobile */
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--color-sand-dark);
  transition: var(--transition-fast);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: var(--color-white);
  border-color: rgba(217, 48, 37, 0.15);
}

.pain-card:hover::before {
  background-color: var(--color-red-primary);
}

.pain-icon {
  background-color: rgba(0, 0, 0, 0.05);
  width: 38px; /* Slightly smaller icon container on mobile */
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.pain-card:hover .pain-icon {
  background-color: var(--color-red-light);
  color: var(--color-red-primary);
}

.pain-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.pain-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pain-quote {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--color-red-primary);
  margin-top: 0.5rem;
  display: none; /* Hide long quotes on mobile to reduce scroll overload */
  font-weight: 500;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem; /* Larger gap on desktop */
  }

  .pain-card {
    padding: 1.75rem; /* Restored elegant padding for desktop */
    gap: 1.25rem;
  }

  .pain-icon {
    width: 44px; /* Restored size on desktop */
    height: 44px;
    font-size: 1.2rem;
  }

  .pain-quote {
    display: block; /* Reveal quotes where grid space is ample */
  }
}

/* ==========================================================================
   The Mechanism (Stefan Georgi RMBC Method)
   ========================================================================== */
.mechanism-section {
  background-color: var(--color-sand-light);
  position: relative;
}

.mechanism-intro {
  margin-bottom: 4rem;
}

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

.mechanism-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .mechanism-grid {
    grid-template-columns: 3fr 4fr;
    gap: 4rem;
  }
}

/* Left panel: Conflict of Interest */
.conflict-box {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.conflict-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(217, 48, 37, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.conflict-box h3 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.conflict-box h3 span {
  color: var(--color-red-primary);
}

.conflict-list {
  list-style: none;
  margin-top: 1.5rem;
}

.conflict-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-light-muted);
  line-height: 1.4;
}

.conflict-item-dot {
  color: var(--color-red-primary);
  font-weight: bold;
}

/* Right panel: Vetted Match Engine steps */
.engine-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.1);
}

.step-number {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 800;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-card:hover .step-number {
  background-color: var(--color-red-primary);
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   The Grand Slam Offer (Alex Hormozi Strategy)
   ========================================================================== */
.offer-section {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-medium) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.offer-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(217, 48, 37, 0.12) 0%, rgba(0,0,0,0) 70%);
  bottom: -400px;
  left: -200px;
  pointer-events: none;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .offer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
}

.offer-badge {
  background-color: var(--color-red-primary);
  color: var(--color-white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(217, 48, 37, 0.4);
}

.offer-title h2 {
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.offer-description {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  color: var(--color-text-light-muted);
}

.offer-bullet-list {
  list-style: none;
}

.offer-bullet-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.offer-bullet-icon {
  background-color: rgba(217, 48, 37, 0.2);
  color: var(--color-red-primary);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.offer-bullet-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.offer-bullet-content p {
  color: var(--color-text-light-muted);
  font-size: 0.95rem;
}

/* Glassmorphism Floating Lead Capture Form */
.lead-form-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.lead-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--color-red-primary), #ff6b6b);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.form-header h3 {
  font-family: var(--font-display);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--color-text-light-muted);
  font-size: 0.9rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
  margin-bottom: 0.4rem;
}

.form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-red-primary);
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.25);
}

/* Custom User Interactive CSS Form Validation States */
.form-input:user-invalid {
  border-color: var(--color-error);
  background-color: rgba(217, 48, 37, 0.05);
}

.form-input:user-valid {
  border-color: var(--color-success);
  background-color: rgba(24, 128, 56, 0.05);
}

/* Show error dynamically using adjacent sibling selector */
.field-error-msg {
  display: none;
  color: #ff8787;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  font-weight: 500;
  align-items: center;
  gap: 0.25rem;
}

.form-input:user-invalid + .field-error-msg {
  display: flex;
}

.form-submit-btn {
  background-color: var(--color-red-primary);
  border: none;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 48, 37, 0.3);
  transition: var(--transition-fast);
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.form-submit-btn:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 48, 37, 0.45);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--color-text-light-muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* Form success animation container */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-navy-dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  text-align: center;
}

.form-success-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(24, 128, 56, 0.1);
  color: #10b981;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.3);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

/* ==========================================================================
   Social Proof Testimonials
   ========================================================================== */
.testimonials-section {
  background-color: var(--color-sand-light);
}

.testimonials-carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%; /* Support 3 slides dynamically */
}

.testimonial-slide {
  width: 33.333%;
  flex-shrink: 0;
  padding: 1rem;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-quote::before {
  content: '“';
  font-size: 6rem;
  font-family: var(--font-display);
  color: rgba(217, 48, 37, 0.1);
  position: absolute;
  top: -3rem;
  left: -1rem;
  z-index: -1;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.author-meta h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.author-meta p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Testimonials Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.control-btn {
  background-color: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.control-btn:hover {
  background-color: var(--color-red-primary);
  color: var(--color-white);
  border-color: var(--color-red-primary);
  transform: scale(1.05);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
  background-color: var(--color-sand-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--color-red-primary);
  transform: scale(1.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-navy-dark);
  color: var(--color-text-light-muted);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand h4 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand h4 span {
  color: var(--color-red-primary);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-links h5 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link-list {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.75rem;
}

.footer-link-item a {
  color: var(--color-text-light-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

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

/* ==========================================================================
   Animations & Entry Effects
   ========================================================================== */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for sequential entry reveals */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Culture-Fit Benefits Section (Staggered Feature Row Layout)
   ========================================================================== */
.benefits-section {
  background-color: var(--color-white);
  padding: 1rem 0 clamp(3.5rem, 8vw, 7.5rem) 0; /* Compact top padding to avoid double margin */
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* Condensed gap */
  align-items: center;
  margin-bottom: 3.5rem; /* Condensed margin between rows */
}

.feature-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .feature-row {
    grid-template-columns: 1.1fr 1fr;
  }
  
  /* Desktop-only visual order swap so DOM order stays clean for mobile */
  .feature-row.staggered .feature-img-wrapper {
    order: 2; /* Image right on desktop */
  }
  
  .feature-row.staggered .feature-text {
    order: 1; /* Text left on desktop */
  }
}

.feature-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-sand-dark);
  transition: var(--transition-normal);
}

.feature-img-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 260px; /* Condensed image height for faster scroll */
  object-fit: cover;
  display: block;
}

.feature-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 0;
}

.feature-stat-box {
  background-color: var(--color-red-light);
  color: var(--color-red-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(217, 48, 37, 0.15);
  display: inline-block;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.feature-text p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   As Featured On Section (CRO Media Social Proof)
   ========================================================================== */
.as-featured-on {
  background-color: var(--color-navy-dark);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.as-featured-on-text {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light-muted);
  margin-bottom: 2.25rem;
}

.as-featured-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.as-featured-slider img {
  height: clamp(24px, 3.5vw, 36px);
  width: auto;
  opacity: 0.65;
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
}

.as-featured-slider img:hover {
  opacity: 0.95;
}

/* ==========================================================================
   HubSpot Embedded Meeting Scheduler Card Transition
   ========================================================================== */
#calendarEmbedContainer {
  width: 100%;
  height: 720px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  animation: fadeInCalendar 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInCalendar {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   6. FOMO Verified Hires Toast (Bottom Left)
   ========================================================================== */
.fomo-toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  background: rgba(13, 27, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem 1rem 1.25rem;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 380px;
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  pointer-events: auto;
}

.fomo-toast.visible {
  transform: translateX(0);
  opacity: 1;
}

.fomo-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.fomo-content {
  flex-grow: 1;
}

.fomo-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.fomo-text {
  font-size: 0.825rem;
  color: var(--color-white);
  line-height: 1.35;
  margin: 0;
  font-weight: 500;
}

.fomo-close-btn {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--color-text-light-muted);
  cursor: pointer;
  font-size: 0.75rem;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
  padding: 0.25rem;
}

.fomo-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Mobile responsive override for FOMO toast */
@media (max-width: 576px) {
  .fomo-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
  }
}

/* ==========================================================================
   7. Exit Intent Overlay Modal (RedBalloon Difference + Form)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1rem;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: rgba(13, 27, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-premium);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.visible .modal-card {
  transform: scale(1) translateY(0);
}

.modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--color-red-primary), #ff6b6b);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 10;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-circle);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  font-size: 0.85rem;
  z-index: 20;
  transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
}

.modal-close-btn:hover {
  background-color: var(--color-red-primary);
  border-color: var(--color-red-primary);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.modal-benefits {
  padding: 3.5rem 3rem;
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-form-area {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

#exitCalendarEmbedContainer {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  position: relative;
  animation: fadeInCalendar 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive overlays stack rules */
@media (max-width: 868px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-benefits {
    padding: 2.5rem 2rem 1.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  .modal-form-area {
    padding: 2.5rem 2rem;
  }
  
  .modal-card {
    max-height: 95vh;
  }
}

