/*
 * AllDone Premium Brand Website Design System
 * Inspired by Apple, Stripe, Linear, and Framer award-winning designs.
 */

/* -----------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   ----------------------------------------- */
:root {
  /* Color Palette */
  --color-white: #FFFFFF;
  --color-navy: #0F172A;
  --color-navy-light: #1E293B;
  --color-emerald: #16A34A;
  --color-emerald-light: #22C55E;
  --color-sky-blue: #E0F2FE;
  --color-sky-blue-accent: #BAE6FD;
  --color-warm-beige: #FDFBF7;
  --color-beige-dark: #F5EFEB;
  --color-border: #E2E8F0;
  --color-border-glow: #F1F5FD;
  --color-gray-text: #475569;
  --color-gray-light: #F8FAFC;
  --color-danger: #EF4444;

  /* Typography */
  --font-family-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-family-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;

  /* Layout Spacing */
  --space-unit: 8px;
  --container-max-width: 1200px;
  --header-height: 80px;

  /* Shadows (Apple and Linear inspired subtle depth) */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 30px 70px rgba(15, 23, 42, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.03);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transition Timings */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -----------------------------------------
   2. BASE STYLES & RESET
   ----------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family-sans);
  background-color: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-gray-text);
  font-weight: 400;
}

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

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

/* Common Section Layouts */
section {
  padding: 120px 0;
  position: relative;
}

.section-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 80px auto;
}

.section-title {
  font-size: 3rem;
  font-family: var(--font-family-sans);
  color: var(--color-navy);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

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

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

.relative {
  position: relative;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--color-navy) 30%, var(--color-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -----------------------------------------
   3. PREMIUM LOADING SCREEN
   ----------------------------------------- */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

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

.loader-logo {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.loader-bar-wrap {
  width: 180px;
  height: 3px;
  background-color: var(--color-sky-blue);
  border-radius: var(--radius-full);
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background-color: var(--color-emerald);
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* -----------------------------------------
   4. STICKY GLASSMORPHIC HEADER
   ----------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth), height var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(15, 23, 42, 0.05);
  height: 70px;
}

.header-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-navy);
  display: flex;
  align-items: center;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-emerald);
  border-radius: var(--radius-full);
  margin-left: 3px;
  display: inline-block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gray-text);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: var(--color-emerald);
  transition: width var(--transition-fast), left var(--transition-fast);
}

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

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

.header-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* -----------------------------------------
   5. BUTTON SYSTEM (Magnetic & GPU-Accelerated)
   ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}

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

.btn-primary {
  background-color: var(--color-emerald);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.15);
}

.btn-primary:hover {
  background-color: #15803d;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}

.btn-secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
  background-color: var(--color-navy-light);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-gray-text);
}

.btn-outline:hover {
  background-color: var(--color-gray-light);
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-arrow {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Mobile Menu Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: var(--radius-full);
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* -----------------------------------------
   6. HERO SECTION
   ----------------------------------------- */
.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
  background-color: var(--color-warm-beige);
  overflow: hidden;
}

/* Ambient Glow Lights */
.ambient-light {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(140px);
  opacity: 0.6;
  pointer-events: none;
}

.light-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-sky-blue-accent) 0%, rgba(186, 230, 253, 0) 70%);
  top: -100px;
  right: 10%;
}

.light-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-beige-dark) 0%, rgba(245, 239, 235, 0) 75%);
  bottom: -150px;
  left: 5%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--color-emerald);
  border-radius: var(--radius-full);
  position: relative;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-emerald);
  border-radius: var(--radius-full);
  animation: beacon-pulse 1.8s infinite ease-out;
}

@keyframes beacon-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

.hero-title {
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--color-gray-text);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 32px;
}

.trust-avatars {
  display: flex;
  margin-right: -8px;
}

.avatar-holder {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-right: -8px;
  box-shadow: var(--shadow-sm);
}

.trust-text {
  font-size: 0.9rem;
  color: var(--color-gray-text);
}

.rating-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.star {
  color: #F59E0B; /* Amber star */
}

/* Hero Right: 3D Visual & Floating Cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-canvas-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-home-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.08));
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Floating Glass UI Cards */
.floating-card {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: float-y 6s ease-in-out infinite alternate;
  animation-delay: var(--float-float-delay, 0s);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.floating-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 255, 255, 0.9);
}

@keyframes float-y {
  0% {
    transform: translate(var(--float-x), calc(var(--float-y) - 6px));
  }
  100% {
    transform: translate(var(--float-x), calc(var(--float-y) + 6px));
  }
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.checkmark-bg {
  background-color: var(--color-emerald);
}

.shield-bg {
  background-color: var(--color-navy);
}

.map-bg {
  background-color: #0ea5e9; /* Sky blue */
  position: relative;
}

.beacon-circle {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background-color: #22C55E;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 2px var(--color-white);
}

.lightning-bg {
  background-color: #F59E0B; /* Orange-yellow */
}

.card-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
}

.card-info p {
  font-size: 0.75rem;
  color: var(--color-gray-text);
  white-space: nowrap;
}

/* Ratings Floating Card */
.card-ratings {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.card-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
}

.star-mini-row {
  display: flex;
  color: #F59E0B;
}

.card-ratings p {
  font-size: 0.75rem;
  color: var(--color-gray-text);
}

/* Float Placements */
.card-verified {
  top: 15%;
  left: -20px;
  --float-x: -20px;
  --float-y: 0px;
  --float-float-delay: 0s;
}

.card-background {
  top: 25%;
  right: -30px;
  --float-x: 35px;
  --float-y: 0px;
  --float-float-delay: 1.5s;
}

.card-nearby {
  bottom: 18%;
  left: -40px;
  --float-x: -40px;
  --float-y: 0px;
  --float-float-delay: 3s;
}

.card-booking {
  top: 0%;
  right: 10px;
  --float-x: 25px;
  --float-y: 0px;
  --float-float-delay: 0.8s;
}

.card-ratings {
  bottom: 8%;
  right: 20px;
  --float-x: -5px;
  --float-y: 0px;
  --float-float-delay: 2.2s;
}

/* -----------------------------------------
   7. TRUST STATISTICS (Animated Counters)
   ----------------------------------------- */
.stats-section {
  background-color: var(--color-white);
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum"; /* Monospaced numbers to prevent shifts */
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-text);
}

/* -----------------------------------------
   8. THE PROBLEM SECTION
   ----------------------------------------- */
.problem-section {
  background-color: var(--color-gray-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.problem-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 163, 74, 0.2);
}

.problem-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.04);
  line-height: 1;
}

.problem-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-sky-blue);
  color: var(--color-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--color-gray-text);
  line-height: 1.5;
}

/* -----------------------------------------
   9. THE SOLUTION SECTION (Flow Line)
   ----------------------------------------- */
.solution-section {
  background-color: var(--color-white);
  overflow: hidden;
}

.solution-svg-container {
  position: absolute;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: calc(100% - 380px);
  pointer-events: none;
  z-index: 1;
}

.solution-svg-container svg {
  width: 100%;
  height: 100%;
}

.solution-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.solution-step {
  display: flex;
  align-items: center;
  width: 100%;
}

.step-marker {
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  transition: border-color var(--transition-smooth), background-color var(--transition-smooth), transform var(--transition-smooth);
}

.step-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
}

.step-content {
  flex: 1;
  padding: 32px;
  background-color: var(--color-gray-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-left: 32px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.step-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Directing odd/even rows for parallax layouts */
.solution-step:nth-child(even) {
  flex-direction: row-reverse;
}

.solution-step:nth-child(even) .step-content {
  margin-left: 0;
  margin-right: 32px;
}

/* Active status triggers */
.solution-step.active .step-marker {
  border-color: var(--color-emerald);
  background-color: var(--color-emerald);
  transform: scale(1.1);
}

.solution-step.active .step-marker .step-number {
  color: var(--color-white);
}

.solution-step.active .step-content {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 163, 74, 0.15);
}

/* -----------------------------------------
   10. FEATURES SECTION (Bento Grid)
   ----------------------------------------- */
.features-section {
  background-color: var(--color-gray-light);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
}

.bento-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 163, 74, 0.15);
}

.bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.bento-wide .bento-media {
  flex: 1;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background-color: var(--color-gray-light);
  overflow: hidden;
}

.bento-wide .bento-info {
  flex: 1.2;
}

.bento-media-sm {
  width: 48px;
  height: 48px;
  background-color: var(--color-sky-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-icon {
  width: 24px;
  height: 24px;
}

.bento-icon-alert {
  width: 24px;
  height: 24px;
  animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #F59E0B; }
  100% { transform: scale(1); }
}

.bento-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--color-sky-blue);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7; /* Sky blue dark text */
  margin-bottom: 16px;
}

.bento-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.bento-info p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Glass & Soon Status */
.bento-glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-style: dashed;
}

.badge-soon {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray-text);
  margin-bottom: 16px;
}

/* Bento Custom Graphics */
.bento-svg-graphics {
  max-height: 120px;
}

.mock-calendar {
  width: 80%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.cal-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
}

.cal-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.slot {
  font-size: 0.7rem;
  padding: 4px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.slot.active {
  background-color: #ECFDF5;
  color: var(--color-emerald);
  border-color: #A7F3D0;
  font-weight: 600;
}

.slot.disabled {
  background-color: var(--color-gray-light);
  color: rgba(15, 23, 42, 0.3);
  text-decoration: line-through;
}

.mock-profile-card {
  width: 85%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.mp-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.mp-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-text);
  margin-bottom: 4px;
}

.mp-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.mp-stars {
  font-size: 0.65rem;
  color: #F59E0B;
}

.mp-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1.2;
}

.mp-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  background-color: var(--color-gray-light);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  border: 1px solid var(--color-border);
}

/* -----------------------------------------
   11. COMPARISON SECTION
   ----------------------------------------- */
.comparison-section {
  background-color: var(--color-white);
}

.comparison-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--color-gray-light);
  font-weight: 700;
  color: var(--color-navy);
}

.feature-col {
  width: 25%;
}

.feature-name {
  font-weight: 700;
  color: var(--color-navy);
}

/* Highlighting AllDone Advantage Column */
.highlight-th {
  background-color: #ECFDF5 !important;
  color: #047857 !important;
  border-bottom: 2px solid var(--color-emerald) !important;
}

.highlight-td {
  background-color: rgba(22, 163, 74, 0.02);
  border-left: 1px solid rgba(22, 163, 74, 0.1);
  border-right: 1px solid rgba(22, 163, 74, 0.1);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:last-child .highlight-td {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: var(--radius-lg);
}

/* -----------------------------------------
   12. PREMIUM SHOWCASE (3D Mockups)
   ----------------------------------------- */
.showcase-section {
  background-color: var(--color-warm-beige);
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.showcase-list {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-list li {
  display: flex;
  gap: 16px;
}

.list-num {
  width: 32px;
  height: 32px;
  background-color: var(--color-sky-blue);
  color: #0284c7;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.showcase-list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.showcase-list p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Devices 3D Perspective Rotation Box */
.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 560px;
  perspective: 1200px;
}

.devices-perspective {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 500px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out; /* Smooth transition when modified via JS */
}

/* High Fidelity HTML/CSS Phone Mockup */
.phone-mockup {
  position: absolute;
  width: 250px;
  height: 480px;
  background-color: var(--color-navy);
  border-radius: 40px;
  border: 10px solid var(--color-navy);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform-style: preserve-3d;
}

.client-phone {
  left: 0;
  top: 0;
  transform: translate3d(0, 0, 50px) rotateY(15deg);
  z-index: 5;
}

.caregiver-phone {
  right: 0;
  bottom: 0;
  transform: translate3d(60px, 40px, -20px) rotateY(25deg);
  z-index: 2;
}

.phone-speaker {
  width: 60px;
  height: 4px;
  background-color: #1e293b;
  border-radius: var(--radius-full);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-header {
  height: 44px;
  padding: 12px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.ph-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-navy);
}

.ph-status-icon {
  font-size: 0.6rem;
  color: var(--color-emerald);
}

.phone-body {
  flex: 1;
  padding: 16px;
  background-color: var(--color-gray-light);
  overflow-y: hidden;
  position: relative;
}

.phone-home-indicator {
  width: 100px;
  height: 4px;
  background-color: #94a3b8;
  border-radius: var(--radius-full);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Client Screen Content */
.search-bar-mock {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.7rem;
  color: var(--color-gray-text);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.caregiver-item-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.caregiver-item-mock.active-item {
  border-color: var(--color-emerald);
  background-color: #ECFDF5;
}

.cm-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-text);
}

.cm-details {
  flex: 1;
}

.cm-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-navy);
}

.cm-badge-tick {
  color: var(--color-emerald);
}

.cm-rating {
  font-size: 0.55rem;
  color: #F59E0B;
}

.cm-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-navy);
}

.booking-drawer-mock {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-md);
  z-index: 15;
}

.drawer-drag-bar {
  width: 32px;
  height: 3px;
  background-color: var(--color-border);
  border-radius: var(--radius-full);
  margin: 0 auto 8px auto;
}

.dm-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dm-stars {
  color: #F59E0B;
}

.btn-mock-book {
  width: 100%;
  background-color: var(--color-emerald);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

/* Caregiver Screen Content */
.phone-body.p-chat {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #F8FAFC;
}

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  font-size: 0.65rem;
  border-radius: var(--radius-md);
  line-height: 1.4;
}

.chat-bubble.left {
  align-self: flex-start;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.chat-bubble.right {
  align-self: flex-end;
  background-color: var(--color-emerald);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.chat-input-mock-wrap {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.chat-input-mock {
  flex: 1;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.65rem;
  color: rgba(15, 23, 42, 0.4);
}

.chat-send-btn-mock {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* -----------------------------------------
   13. SAFETY FIRST SECTION
   ----------------------------------------- */
.safety-section {
  background-color: var(--color-navy);
  color: var(--color-white);
}

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

.safety-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 80px;
}

.safety-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-emerald-light);
  margin-bottom: 24px;
}

.safety-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.safety-point {
  display: flex;
  gap: 16px;
}

.sp-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(22, 163, 74, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-icon svg {
  stroke: var(--color-emerald-light);
}

.safety-point h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.safety-point p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* Security Radial Visual */
.safety-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.safety-graphic-box {
  width: 320px;
  height: 320px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.security-svg {
  width: 240px;
  height: 240px;
}

/* Rotating SVG particles */
.rot-particle-1 {
  transform-origin: 100px 100px;
  animation: rotate-radial 12s linear infinite;
}

.rot-particle-2 {
  transform-origin: 100px 100px;
  animation: rotate-radial 8s linear infinite reverse;
}

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

.shield-lock-icon {
  transition: transform var(--transition-smooth);
}

.safety-graphic-box:hover .shield-lock-icon {
  transform: scale(1.08);
}

.safety-indicator-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(22, 163, 74, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald-light);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.active-pulse {
  width: 6px;
  height: 6px;
  background-color: var(--color-emerald-light);
  border-radius: var(--radius-full);
  animation: active-glow 1.5s infinite;
}

@keyframes active-glow {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* -----------------------------------------
   14. TESTIMONIALS SECTION (Slider)
   ----------------------------------------- */
.testimonials-section {
  background-color: var(--color-white);
  overflow: hidden;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-smooth);
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  background-color: var(--color-gray-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-smooth);
}

.testimonial-card:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.t-rating {
  font-size: 1.2rem;
  color: #F59E0B;
}

.t-text {
  font-size: 1.35rem;
  font-family: var(--font-family-serif);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-navy);
}

.t-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-emerald);
}

.t-user-info h4 {
  font-size: 1rem;
  color: var(--color-navy);
}

.t-user-info p {
  font-size: 0.85rem;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--color-gray-light);
  border-color: var(--color-navy);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

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

/* -----------------------------------------
   15. CAREGIVER COMMUNITY
   ----------------------------------------- */
.community-section {
  background-color: var(--color-warm-beige);
}

.community-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.community-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(22, 163, 74, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-emerald);
  margin-bottom: 24px;
}

.community-benefits-list {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.community-benefits-list li {
  display: flex;
  gap: 16px;
}

.cb-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--color-emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.community-benefits-list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.community-benefits-list p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.stack-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.community-floating-tag {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  color: var(--color-emerald);
  font-weight: 700;
  font-size: 0.9rem;
}

/* -----------------------------------------
   16. OUR VISION (Text Reveal Scroll Trigger)
   ----------------------------------------- */
.vision-section {
  background-color: var(--color-white);
  padding: 140px 0;
  border-bottom: 1px solid var(--color-border);
}

.vision-box {
  max-width: 800px;
  margin: 0 auto;
}

.vision-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.vision-text {
  font-size: 2.85rem;
  font-family: var(--font-family-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  opacity: 0.15; /* Base state is faded, JS will reveal */
  transition: opacity 0.8s ease-out;
}

.vision-text.revealed {
  opacity: 1;
}

.vision-description {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* -----------------------------------------
   17. FAQ SECTION (Accordion)
   ----------------------------------------- */
.faq-section {
  background-color: var(--color-gray-light);
}

.faq-accordion-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(22, 163, 74, 0.15);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
}

.faq-arrow {
  color: var(--color-gray-text);
  transition: transform var(--transition-smooth);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-content-inner {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--color-gray-text);
  line-height: 1.6;
}

/* Active accordion styles */
.faq-item.active {
  border-color: var(--color-emerald);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-emerald);
}

/* -----------------------------------------
   18. FINAL CTA (Cinematic Glow)
   ----------------------------------------- */
.final-cta-section {
  padding: 140px 0;
  background-color: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
}

.cta-background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-gradient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.12) 0%, rgba(15, 23, 42, 0) 65%);
  border-radius: var(--radius-full);
}

.cta-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.cta-particle {
  position: absolute;
  background-color: rgba(186, 230, 253, 0.4); /* Sky blue particles */
  border-radius: var(--radius-full);
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* -----------------------------------------
   19. FOOTER
   ----------------------------------------- */
.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr) 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-navy);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
}

.footer-tagline {
  color: var(--color-gray-text);
  margin-bottom: 24px;
  line-height: 1.5;
  max-width: 240px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-text);
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-gray-light);
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.footer-links-group h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  color: var(--color-gray-text);
}

.footer-links-group a:hover {
  color: var(--color-emerald);
}

.footer-newsletter h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.footer-newsletter p {
  color: var(--color-gray-text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family-sans);
  font-size: 0.85rem;
  color: var(--color-navy);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-navy);
}

.btn-newsletter {
  padding: 10px 18px;
  background-color: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-newsletter:hover {
  background-color: var(--color-navy-light);
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--color-emerald);
}

/* -----------------------------------------
   20. SCROLL REVEAL ANIMATION CLASSES
   ----------------------------------------- */
.scroll-reveal {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

/* Animations styles */
.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(40px);
}

.fade-right {
  transform: translateX(-40px);
}

.scale-up {
  transform: scale(0.92);
}

/* Revealed visual state trigger */
.scroll-reveal.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}

/* Special above-the-fold reveals */
.reveal-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-on-load-anim 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual.reveal-on-load {
  animation-delay: 0.3s;
}

@keyframes reveal-on-load-anim {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------------------
   21. RESPONSIVE DESIGN (Breakpoints)
   ----------------------------------------- */

/* Landscape / Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3.25rem;
  }
  
  .hero-grid {
    gap: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-wide {
    grid-column: span 2;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .showcase-visual {
    height: 480px;
  }
  
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .community-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .community-visual {
    order: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr repeat(3, 1fr);
  }
  
  .footer-newsletter {
    grid-column: span 4;
  }
}

/* Mobile Breakpoint (768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-container {
    padding: 0 24px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-header {
    margin-bottom: 48px;
  }
  
  /* Header Mobile Nav Overlay */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    padding: 40px 24px;
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
    border-top: 1px solid var(--color-border);
  }
  
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .header-ctas {
    display: none; /* Hide primary buttons inside header on mobile nav triggers */
  }
  
  /* Hero section adjustments */
  .hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px auto;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 40px auto;
  }
  
  .hero-trust-indicators {
    flex-direction: column;
    gap: 12px;
  }
  
  .visual-canvas-container {
    max-width: 320px;
    height: 320px;
  }
  
  .floating-card {
    padding: 8px 12px;
  }
  
  .card-info h4 {
    font-size: 0.8rem;
  }
  
  .card-info p {
    font-size: 0.7rem;
  }
  
  /* Stats Column */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .stat-number {
    font-size: 2.75rem;
  }
  
  /* Problem Grid */
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  /* Solution line hide on mobile for simplicity, standard stack */
  .solution-svg-container {
    display: none;
  }
  
  .solution-steps {
    gap: 40px;
  }
  
  .solution-step {
    flex-direction: column !important;
    text-align: center;
  }
  
  .step-content {
    margin: 20px 0 0 0 !important;
    width: 100%;
  }
  
  /* Bento layouts adjustments */
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-wide {
    grid-column: span 1;
    flex-direction: column;
    gap: 20px;
  }
  
  .bento-wide .bento-media {
    width: 100%;
    min-height: 120px;
  }
  
  /* Comparison */
  .comparison-table th, .comparison-table td {
    padding: 16px;
    font-size: 0.85rem;
  }
  
  /* Showcase Phones Stack vertically or simplify */
  .devices-perspective {
    max-width: 320px;
    height: 440px;
  }
  
  .phone-mockup {
    width: 180px;
    height: 360px;
    border-width: 6px;
  }
  
  .client-phone {
    transform: translate3d(-10px, 0, 30px) rotateY(10deg);
  }
  
  .caregiver-phone {
    transform: translate3d(40px, 30px, -10px) rotateY(15deg);
  }
  
  /* Safety grid */
  .safety-points-grid {
    grid-template-columns: 1fr;
  }
  
  .safety-graphic-box {
    width: 280px;
    height: 280px;
  }
  
  .security-svg {
    width: 200px;
    height: 200px;
  }
  
  /* Testimonial slider */
  .testimonial-card {
    padding: 24px;
    gap: 20px;
  }
  
  .t-text {
    font-size: 1.1rem;
  }
  
  /* Vision text sizing */
  .vision-text {
    font-size: 1.85rem;
  }
  
  /* Final CTA Section */
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-newsletter {
    grid-column: span 1;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
