/* ==========================================================================
   Azurita Design System & Global Styles
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-blue: #004B87;
  --primary-blue-dark: #003663;
  --primary-blue-light: #e6f0fa;
  
  --accent-terracotta: #C85A32;
  --accent-terracotta-light: #F9ECE8;
  --accent-terracotta-hover: #AB4B27;
  
  --accent-mustard: #E3A82D;
  --accent-mustard-light: #FDF6E6;
  
  --accent-cactus: #2E6F40;
  --accent-cactus-light: #EAF1EC;
  
  --bg-cream: #F5EFEB;
  --bg-white: #FFFFFF;
  --text-dark: #2A363E;
  --text-muted: #5C6E79;
  --border-light: #E4DAD3;
  
  /* Layout Values */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  
  /* Fonts */
  --font-headings: 'Fredoka', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.25;
}

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

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

/* Common Section Layouts */
section {
  padding: 96px 0;
}

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

.section-header {
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 90, 50, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue-light);
  transform: translateY(-3px);
}

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

.btn-terracotta:hover {
  background-color: var(--accent-terracotta-hover);
}

/* ==========================================================================
   1. Sticky Navbar Component
   ========================================================================== */

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(245, 239, 235, 0.85); /* background-cream with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 218, 211, 0.5);
  transition: var(--transition-smooth);
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar-wrapper.scrolled {
  height: 70px;
  background-color: rgba(245, 239, 235, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  background-color: var(--bg-white);
  padding: 2px;
  transition: var(--transition-smooth);
}

.logo-link:hover .logo-img {
  transform: rotate(15deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-terracotta);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--accent-terracotta);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.cart-btn:hover {
  border-color: var(--primary-blue);
  background-color: var(--primary-blue-light);
  transform: scale(1.05);
}

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

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-terracotta);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-white);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */

.hero-section {
  padding-top: 140px; /* Spacer for sticky navbar */
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px rgba(0, 75, 135, 0.1);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background-color: var(--accent-mustard-light);
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  z-index: 1;
  filter: blur(10px);
  opacity: 0.85;
}

.hero-img {
  position: relative;
  z-index: 2;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

/* Floating Animation */
.animate-float {
  animation: floatImg 6s ease-in-out infinite;
}

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

/* ==========================================================================
   3. Age Category Grid
   ========================================================================== */

.age-grid-section {
  background-color: var(--bg-white);
  border-radius: 48px;
  margin: 0 16px;
  box-shadow: var(--shadow-sm);
}

.age-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.age-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
}

.age-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.age-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.age-tag {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.age-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.age-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.age-link-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

/* Card Accent Styling - Terracotta */
.card-terracotta {
  background-color: var(--accent-terracotta-light);
}
.card-terracotta .age-card-icon {
  background-color: var(--bg-white);
  color: var(--accent-terracotta);
}
.card-terracotta .age-tag {
  color: var(--accent-terracotta);
}
.card-terracotta .age-link-btn {
  color: var(--accent-terracotta);
}
.card-terracotta:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(200, 90, 50, 0.15);
  border-color: rgba(200, 90, 50, 0.25);
}
.card-terracotta:hover::before {
  background-color: var(--accent-terracotta);
}
.card-terracotta:hover .age-card-icon {
  background-color: var(--accent-terracotta);
  color: var(--bg-white);
}

/* Card Accent Styling - Mustard */
.card-mustard {
  background-color: var(--accent-mustard-light);
}
.card-mustard .age-card-icon {
  background-color: var(--bg-white);
  color: var(--accent-mustard);
}
.card-mustard .age-tag {
  color: var(--accent-mustard);
}
.card-mustard .age-link-btn {
  color: var(--accent-mustard);
}
.card-mustard:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(227, 168, 45, 0.15);
  border-color: rgba(227, 168, 45, 0.25);
}
.card-mustard:hover::before {
  background-color: var(--accent-mustard);
}
.card-mustard:hover .age-card-icon {
  background-color: var(--accent-mustard);
  color: var(--bg-white);
}

/* Card Accent Styling - Cactus */
.card-cactus {
  background-color: var(--accent-cactus-light);
}
.card-cactus .age-card-icon {
  background-color: var(--bg-white);
  color: var(--accent-cactus);
}
.card-cactus .age-tag {
  color: var(--accent-cactus);
}
.card-cactus .age-link-btn {
  color: var(--accent-cactus);
}
.card-cactus:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(46, 111, 64, 0.15);
  border-color: rgba(46, 111, 64, 0.25);
}
.card-cactus:hover::before {
  background-color: var(--accent-cactus);
}
.card-cactus:hover .age-card-icon {
  background-color: var(--accent-cactus);
  color: var(--bg-white);
}

/* ==========================================================================
   4. Value Prop Showcase
   ========================================================================== */

.value-props {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.value-row {
  display: flex;
  align-items: center;
  gap: 64px;
}

.value-row.row-reverse {
  flex-direction: row-reverse;
}

.value-img-placeholder {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
  border: 1px solid rgba(228, 218, 211, 0.8);
}

.value-illustration {
  width: 140px;
  height: 140px;
}

.value-img-placeholder::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(0, 75, 135, 0.15);
  top: -8px;
  left: -8px;
  z-index: -1;
  transition: var(--transition-smooth);
}

.value-row:hover .value-img-placeholder::after {
  top: 8px;
  left: 8px;
}

.value-text {
  max-width: 600px;
}

.value-badge {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.badge-terracotta { background-color: var(--accent-terracotta-light); color: var(--accent-terracotta); }
.badge-mustard { background-color: var(--accent-mustard-light); color: var(--accent-mustard); }
.badge-cactus { background-color: var(--accent-cactus-light); color: var(--accent-cactus); }

.value-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

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

/* ==========================================================================
   5. Gamified Digital Dashboard Preview
   ========================================================================== */

.dashboard-section {
  background-color: var(--primary-blue-light);
  border-radius: 48px;
  margin: 0 16px;
}

.dashboard-preview-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.dashboard-controls {
  background-color: var(--bg-cream);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.control-label {
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--primary-blue);
  font-size: 1.05rem;
}

.toggle-btn-group {
  display: flex;
  background-color: var(--bg-white);
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
  border: 1px solid var(--border-light);
}

.toggle-tab {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: none;
  background: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-tab:hover {
  color: var(--primary-blue);
}

.toggle-tab.active {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.dashboard-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

/* Left Panel: Milestone Map Graphics */
.milestone-map-panel {
  padding: 40px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(circle at 10% 10%, #fafcff 0%, #f6f9fc 100%);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  z-index: 5;
}

.panel-title-text {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.15rem;
}

.badge-status-online {
  font-size: 0.75rem;
  background-color: #DEF7EC;
  color: var(--accent-cactus);
  padding: 2px 10px;
  border-radius: 100px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-status-online::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-cactus);
  border-radius: 50%;
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.milestone-graphic-container {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft Clouds design */
.dashboard-cloud {
  position: absolute;
  background-color: var(--bg-white);
  border-radius: 100px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.03));
  opacity: 0.9;
  z-index: 2;
}

.dashboard-cloud::before, .dashboard-cloud::after {
  content: '';
  position: absolute;
  background-color: var(--bg-white);
  border-radius: 50%;
}

.cloud-1 {
  width: 80px;
  height: 30px;
  top: 15%;
  left: 10%;
}
.cloud-1::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 10px;
}
.cloud-1::after {
  width: 30px;
  height: 30px;
  top: -15px;
  right: 15px;
}

.cloud-2 {
  width: 100px;
  height: 36px;
  bottom: 20%;
  right: 10%;
}
.cloud-2::before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 15px;
}
.cloud-2::after {
  width: 40px;
  height: 40px;
  top: -20px;
  right: 15px;
}

.animate-float-delay {
  animation: floatImg 8s ease-in-out infinite;
  animation-delay: 2s;
}

/* SVG Path Animation and nodes */
.milestone-path-svg {
  position: absolute;
  width: 90%;
  height: 75%;
  z-index: 3;
}

.path-bg {
  stroke: var(--border-light);
}

.path-progress {
  stroke-dasharray: 400;
  stroke-dashoffset: 270; /* Active segment offset */
  transition: stroke-dashoffset 0.8s ease-in-out;
}

.milestone-node {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.node-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--border-light);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.node-label {
  margin-top: 8px;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  background-color: var(--bg-white);
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.milestone-node.active .node-circle {
  border-color: var(--primary-blue);
  background-color: var(--accent-mustard);
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(0, 75, 135, 0.15);
}

.milestone-node.active .node-label {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Right Panel: Milestone Checklist */
.milestone-checklist-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-white);
}

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

.checklist-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item {
  animation: fadeIn 0.4s ease-out;
}

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

/* Custom Checkbox Design */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  flex-shrink: 0;
  height: 22px;
  width: 22px;
  background-color: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  margin-top: 2px;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: var(--primary-blue-light);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent-cactus);
  border-color: var(--accent-cactus);
}

.checkmark::after {
  content: "";
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.custom-checkbox .checkmark::after {
  width: 5px;
  height: 10px;
  border: solid var(--bg-white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-bottom: 2.5px;
}

.item-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.custom-checkbox input:checked ~ .item-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

.checklist-footer {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.progress-bar-container {
  flex-grow: 1;
  height: 8px;
  background-color: var(--bg-cream);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--accent-cactus);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-percentage-text {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cactus);
  white-space: nowrap;
}

/* ==========================================================================
   6. Social Proof Carousel
   ========================================================================== */

.reviews-section {
  overflow: hidden;
}

.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 75, 135, 0.15);
}

.review-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stars {
  color: var(--accent-mustard);
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.verified-badge {
  font-size: 0.75rem;
  color: var(--accent-cactus);
  background-color: var(--accent-cactus-light);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-blue);
  box-shadow: inset 0 0 0 1px rgba(0, 75, 135, 0.1);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot:hover {
  background-color: var(--text-muted);
}

.dot.active {
  background-color: var(--primary-blue);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */

.footer {
  background-color: var(--primary-blue);
  color: var(--bg-cream);
  padding: 80px 0 40px 0;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

/* Newsletter Waitlist Panel */
.footer-newsletter {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-mustard), var(--accent-cactus));
}

.newsletter-title {
  color: var(--bg-white);
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 1.025rem;
  color: rgba(245, 239, 235, 0.8);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.form-group {
  display: flex;
  gap: 12px;
  background-color: var(--bg-white);
  padding: 6px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 18px;
  color: var(--text-dark);
  background: transparent;
  width: 100%;
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-feedback-message {
  display: block;
  font-size: 0.85rem;
  margin-top: 10px;
  font-weight: 500;
  text-align: left;
  padding-left: 12px;
  transition: var(--transition-smooth);
  height: 20px;
}

.form-feedback-message.error {
  color: #ff8b8b;
}

/* Newsletter Success CSS */
.success-icon-container {
  width: 56px;
  height: 56px;
  background-color: rgba(46, 111, 64, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  border: 2px solid var(--accent-cactus);
}

.success-icon {
  width: 28px;
  height: 28px;
  color: var(--bg-white);
}

.newsletter-success h4 {
  color: var(--bg-white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.newsletter-success p {
  color: rgba(245, 239, 235, 0.8);
}

/* Middle Footer Links Grid */
.footer-info-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.logo-footer {
  margin-bottom: 20px;
}

.logo-footer .logo-text {
  color: var(--bg-white);
}

.logo-footer .logo-img {
  border-color: var(--bg-white);
}

.brand-pitch {
  font-size: 0.95rem;
  color: rgba(245, 239, 235, 0.75);
  line-height: 1.6;
  max-width: 320px;
}

.col-title {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bg-white);
  margin-bottom: 24px;
}

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

.footer-links-list a {
  font-size: 0.95rem;
  color: rgba(245, 239, 235, 0.75);
}

.footer-links-list a:hover {
  color: var(--accent-mustard);
  padding-left: 4px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

/* Bottom Footer copyright & badges */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(245, 239, 235, 0.6);
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 0.85rem;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  color: rgba(245, 239, 235, 0.9);
  font-weight: 500;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-container {
    gap: 32px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .age-cards-grid {
    gap: 20px;
  }
  
  .age-card {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
  
  /* Navbar */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    border-bottom: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-media {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Age Cards Grid */
  .age-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
  }
  
  /* Value Rows */
  .value-row, .value-row.row-reverse {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .value-img-placeholder {
    width: 180px;
    height: 180px;
  }
  
  .value-illustration {
    width: 100px;
    height: 100px;
  }
  
  /* Dashboard */
  .dashboard-controls {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .dashboard-display {
    grid-template-columns: 1fr;
  }
  
  .milestone-map-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    min-height: 240px;
  }
  
  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .reviews-carousel-wrapper {
    display: block;
  }
  
  .carousel-dots {
    display: none; /* Dots removed on static vertical mobile layout */
  }
  
  /* Footer */
  .footer-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .brand-pitch {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .form-group {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 8px;
    box-shadow: none;
  }
  
  .form-input {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: var(--shadow-sm);
  }
  
  .form-group .btn {
    width: 100%;
    padding: 14px;
  }
}
