/* ===================================================
   AideFlow Landing Page — Design System & Styles
   =================================================== */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --navy-900: #0a1628;
  --navy-800: #0f1f3d;
  --navy-700: #152952;
  --navy-600: #1b3468;
  --navy-500: #1e3a5f;
  --navy-400: #2a4a7f;

  /* Teal / Accent */
  --teal-500: #2ec4b6;
  --teal-400: #3dd6c8;
  --teal-300: #5ee6d8;
  --teal-600: #20a89b;
  --teal-glow: rgba(46, 196, 182, 0.25);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;

  /* Semantic */
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  --shadow-teal: 0 4px 24px rgba(46, 196, 182, 0.3);
  --shadow-navy: 0 4px 24px rgba(10, 22, 40, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-800);
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 640px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: var(--white);
  box-shadow: var(--shadow-teal);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(46, 196, 182, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: var(--navy-700);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
  background: rgba(46, 196, 182, 0.05);
}

.btn-large {
  padding: 20px 44px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.nav-logo img {
  height: 52px;
  width: auto;
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover {
  color: var(--navy-800);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  margin: 6px 0;
  transition: all var(--duration-fast) var(--ease-out);
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-20));
  padding-bottom: var(--space-24);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(46, 196, 182, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(10, 22, 40, 0.03), transparent);
  pointer-events: none;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.05));
  border: 1px solid rgba(46, 196, 182, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--navy-900);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-proof-icon {
  width: 18px;
  height: 18px;
  color: var(--teal-500);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  animation: fadeInRight 0.8s var(--ease-out) 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.05));
  pointer-events: none;
}

/* Floating Stats Card */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.7);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 8%;
  left: -5%;
}

.hero-float-card.card-2 {
  top: 12%;
  right: -5%;
  animation-delay: 2s;
}

.float-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: var(--space-1);
}

.float-card-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-800);
}

.float-card-value.green {
  color: var(--success);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- Problem Section --- */
.problem {
  padding: var(--space-24) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(46, 196, 182, 0.05), transparent),
    radial-gradient(circle at 80% 20%, rgba(46, 196, 182, 0.03), transparent);
  pointer-events: none;
}

.problem-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
  position: relative;
  z-index: 1;
}

.problem .section-label {
  color: var(--teal-400);
}

.problem .section-title {
  color: var(--white);
}

.problem .section-subtitle {
  color: var(--gray-400);
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

.problem-column {
  position: relative;
}

.problem-card {
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  height: 100%;
}

.problem-card.hospital {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.08), rgba(46, 196, 182, 0.02));
  border: 1px solid rgba(46, 196, 182, 0.15);
}

.problem-card.clinic {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.problem-card-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.problem-card.hospital .problem-card-tag {
  color: var(--teal-400);
  background: rgba(46, 196, 182, 0.12);
}

.problem-card.clinic .problem-card-tag {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
}

.problem-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.problem-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: var(--space-8);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.problem-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--gray-300);
}

.problem-list-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-card.hospital .problem-list-item svg {
  color: var(--teal-400);
}

.problem-card.clinic .problem-list-item svg {
  color: var(--danger);
}

.problem-stat-row {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.problem-stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--danger);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.problem-stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* VS Divider */
.problem-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--navy-800);
  border: 2px solid rgba(46, 196, 182, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--teal-400);
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 0 30px rgba(46, 196, 182, 0.15);
}

/* --- Solution Section --- */
.solution {
  padding: var(--space-24) 0;
  background: var(--gray-50);
  position: relative;
}

.solution-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.solution-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(46, 196, 182, 0.3);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.05));
  color: var(--teal-500);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.feature-tag {
  display: inline-flex;
  margin-top: var(--space-4);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-600);
  background: rgba(46, 196, 182, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* --- ROI Calculator Section --- */
.roi {
  padding: var(--space-24) 0;
  background: var(--white);
  position: relative;
}

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

.roi-content {
  position: relative;
}

.roi-content .section-title {
  max-width: 480px;
}

.roi-content .section-subtitle {
  margin-bottom: var(--space-8);
}

.roi-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.roi-metric {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--gray-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.roi-metric:hover {
  border-color: rgba(46, 196, 182, 0.2);
  box-shadow: var(--shadow-md);
}

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

.roi-metric-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.roi-metric-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy-800);
}

.roi-metric-value.highlight {
  color: var(--teal-500);
}

.roi-metric-value.danger {
  color: var(--danger);
}

/* ROI Calculator Card */
.roi-calculator {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}

.roi-calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(46, 196, 182, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(46, 196, 182, 0.05), transparent 40%);
  pointer-events: none;
}

.roi-calc-header {
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.roi-calc-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.roi-calc-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.roi-calc-body {
  position: relative;
  z-index: 1;
}

.roi-slider-group {
  margin-bottom: var(--space-8);
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.roi-slider-label span {
  font-size: 0.875rem;
  color: var(--gray-300);
}

.roi-slider-label strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--teal-400);
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--teal-500);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(46, 196, 182, 0.4);
  transition: all var(--duration-fast) var(--ease-out);
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.5);
}

.roi-result {
  background: rgba(46, 196, 182, 0.08);
  border: 1px solid rgba(46, 196, 182, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.roi-result-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-400);
  margin-bottom: var(--space-2);
}

.roi-result-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.roi-result-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* --- Trust Section --- */
.trust {
  padding: var(--space-24) 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.trust-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}

.trust-header .section-subtitle {
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.trust-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.trust-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--teal-500);
}

.trust-card-icon svg {
  width: 30px;
  height: 30px;
}

.trust-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.trust-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-500);
}

/* Trust Testimonial / Quote */
.trust-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  border: 1px solid var(--gray-200);
  position: relative;
}

.trust-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-weight: 900;
  color: var(--teal-500);
  opacity: 0.15;
  line-height: 1;
}

.trust-quote blockquote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--navy-700);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.trust-quote-author {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
}

.trust-quote-title {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* --- CTA Section --- */
.cta {
  padding: var(--space-24) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(46, 196, 182, 0.1), transparent),
    radial-gradient(circle at 20% 50%, rgba(46, 196, 182, 0.05), transparent 50%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta .section-label {
  color: var(--teal-400);
  justify-content: center;
}

.cta .section-title {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.cta-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: var(--space-10);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.cta-guarantee svg {
  width: 16px;
  height: 16px;
  color: var(--teal-400);
}

/* --- Booking / Calendly Section --- */
.booking {
  padding: var(--space-24) 0 var(--space-16);
  background: var(--white);
  position: relative;
}

.booking-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.booking-header .section-subtitle {
  margin: 0 auto;
}

.booking-widget {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.booking-widget .calendly-inline-widget {
  border-radius: var(--radius-xl);
}

/* --- Footer --- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-12) 0 var(--space-8);
}

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

.footer-logo img {
  height: 120px;
  width: auto;
  max-height: calc(var(--space-12) + var(--space-8));
  mix-blend-mode: screen;
}

.footer-text {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--gray-500);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-link:hover {
  color: var(--teal-400);
}

/* --- Intersection Observer Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Voice Waveform Animation --- */
.voice-wave-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  padding: 0 var(--space-2);
}

.voice-bar {
  width: 3px;
  background: var(--teal-500);
  border-radius: var(--radius-full);
  animation: voiceBar 1.2s ease-in-out infinite;
}

.voice-bar:nth-child(1) { animation-delay: 0s; height: 8px; }
.voice-bar:nth-child(2) { animation-delay: 0.1s; height: 16px; }
.voice-bar:nth-child(3) { animation-delay: 0.2s; height: 24px; }
.voice-bar:nth-child(4) { animation-delay: 0.3s; height: 20px; }
.voice-bar:nth-child(5) { animation-delay: 0.15s; height: 12px; }
.voice-bar:nth-child(6) { animation-delay: 0.25s; height: 28px; }
.voice-bar:nth-child(7) { animation-delay: 0.35s; height: 16px; }
.voice-bar:nth-child(8) { animation-delay: 0.05s; height: 22px; }

@keyframes voiceBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .problem-vs {
    display: none;
  }

  .roi-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-16);
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .problem-card,
  .feature-card {
    padding: var(--space-6);
  }

  .roi-calculator {
    padding: var(--space-6);
  }

  .trust-quote {
    padding: var(--space-8);
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy-800);
}

/* --- Audio Player Overlay --- */
.audio-player-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.audio-player-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.audio-player-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10) var(--space-8);
  box-shadow: var(--shadow-2xl), 0 0 80px rgba(46, 196, 182, 0.1);
  max-width: 480px;
  width: 90%;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration-slow) var(--ease-out);
}

.audio-player-overlay.open .audio-player-card {
  transform: translateY(0) scale(1);
}

.audio-player-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.audio-player-close:hover {
  background: var(--gray-200);
  color: var(--navy-800);
}

/* Player Header */
.audio-player-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.audio-player-icon-ring {
  flex-shrink: 0;
}

.audio-player-icon-ring-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.12), rgba(46, 196, 182, 0.04));
  border: 2px solid rgba(46, 196, 182, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  transition: all var(--duration-normal) var(--ease-out);
}

.audio-player-icon-ring-inner.playing {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 6px rgba(46, 196, 182, 0.1), 0 0 20px rgba(46, 196, 182, 0.15);
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(46, 196, 182, 0.1), 0 0 20px rgba(46, 196, 182, 0.15); }
  50% { box-shadow: 0 0 0 10px rgba(46, 196, 182, 0.05), 0 0 30px rgba(46, 196, 182, 0.1); }
}

.audio-player-title {
  display: flex;
  flex-direction: column;
}

.audio-player-label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
}

.audio-player-sublabel {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Waveform */
.audio-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
  margin-bottom: var(--space-6);
  padding: 0 var(--space-2);
}

.waveform-bar {
  width: 4px;
  min-height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease-out), transform 0.15s var(--ease-out);
}

.waveform-bar.active {
  background: var(--teal-500);
}

/* Progress Bar */
.audio-progress-wrapper {
  margin-bottom: var(--space-6);
  cursor: pointer;
}

.audio-progress-bar {
  position: relative;
  width: 100%;
  height: 5px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: visible;
}

.audio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.1s linear;
}

.audio-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: var(--teal-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(46, 196, 182, 0.4);
  transition: left 0.1s linear;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}

/* Play/Pause Button */
.audio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: all var(--duration-fast) var(--ease-out);
}

.audio-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(46, 196, 182, 0.45);
}

.audio-play-btn:active {
  transform: scale(0.96);
}
