/* ============================================
   KINVIVA CARE - STYLESHEET
   ============================================ */

/* ============================================
   VARIABLES & BASE STYLES
   ============================================ */

:root {
  color-scheme: light;
  /* Colors */
  --primary: #0e9c8a;
  --primary-dark: #0b7d6e;
  --navy: #1b2a4e;
  --light-blue: #f2f8fc;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-dark: #6b7280;
  --gray-medium: #9ca3af;
  --text-dark: #1f2937;
  --border-color: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;

  /* Typography */
  --font-serif: 'Lora', serif;
  --font-sans: 'Source Sans 3', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

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

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

main,
section {
  color: var(--text-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--navy);
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
  margin-top: var(--spacing-lg);
}

h4 {
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
  margin-top: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.75;
  color: var(--text-dark);
  font-weight: 400;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: var(--spacing-md);
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

.section-light {
  background-color: var(--light-blue);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
  background-color: var(--light-blue);
  text-decoration: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.nav-logo {
  font-size: 1.75rem;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: inline-block;
}

/* Slightly larger logo on desktop for better presence */
.nav-brand img.nav-logo {
  height: 44px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-dark);
  background-color: var(--light-blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--spacing-2xl) 0 4rem 0;
  background: linear-gradient(180deg, #fbfeff 0%, var(--white) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: var(--spacing-2xl);
  align-items: center;
}

.hero-advanced {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, rgba(7,179,154,0.04) 0%, rgba(27,42,78,0) 40%);
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--gray-dark);
  max-width: 48rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--gray-dark);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  max-width: 90%;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
  100% { transform: translateY(0px) rotate(-0.5deg); }
}

/* 3D showcase scene styles */
.showcase-scene {
  position: relative;
  width: min(720px, 100%);
  min-height: 620px;
  transform-style: preserve-3d;
  will-change: transform;
}

.scene-backdrop {
  position: absolute;
  inset: 22px 32px 40px 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 18%, rgba(7,179,154,0.14), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(22,48,90,0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(244,250,254,0.9));
  box-shadow: 0 24px 60px rgba(12, 28, 52, 0.10);
  border: 1px solid rgba(27,42,78,0.06);
}

.scene-card,
.scene-chip {
  position: absolute;
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(12, 28, 52, 0.12);
  border: 1px solid rgba(255,255,255,0.7);
  transform-style: preserve-3d;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease;
}

.scene-card h3,
.scene-card h4 {
  margin: 0;
  color: var(--navy);
}

.scene-card p { margin: 0; color: var(--gray-dark); }

.scene-card--large {
  left: 62px;
  top: 54px;
  width: 330px;
  padding: 28px 28px 30px;
}

.scene-card--large h3 { font-size: 1.3rem; margin-top: 1rem; margin-bottom: 0.45rem; }
.scene-card--large p { max-width: 86%; }

.scene-pill {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}
.scene-pill--teal { background: #07b39a; box-shadow: 0 0 0 8px rgba(7,179,154,0.12); }
.scene-pill--blue { background: #3f7bd9; box-shadow: 0 0 0 8px rgba(63,123,217,0.12); }

.scene-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.wave-wave {
  height: 22px;
  margin-top: 1.1rem;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(7,179,154,0.85) 10% 12%, transparent 12% 20%, rgba(7,179,154,0.95) 20% 22%, transparent 22% 30%, rgba(7,179,154,0.75) 30% 32%, transparent 32% 40%, rgba(7,179,154,0.9) 40% 42%, transparent 42% 100%);
  border-radius: 999px;
  filter: drop-shadow(0 3px 8px rgba(7,179,154,0.16));
}

.scene-card--phone {
  left: 248px;
  top: 180px;
  width: 184px;
  height: 326px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.phone-frame {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: linear-gradient(145deg, #0d1830, #101f3b 55%, #1b2a4e);
  padding: 10px;
  box-shadow: 0 24px 50px rgba(13, 24, 48, 0.22);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: calc(100% - 18px);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #f5fbff);
  overflow: hidden;
  padding: 24px 14px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 72px;
  height: 12px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(6, 14, 28, 0.82);
}

.phone-brand {
  display: block;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.phone-message {
  background: #f2faf8;
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(7,179,154,0.08);
}

.phone-mic {
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, #8cf0e5, #08b7a0 55%, #2c6be0 100%);
  box-shadow: 0 0 0 10px rgba(8,183,160,0.08);
}

.phone-mic::before {
  content: '';
  position: absolute;
  inset: 18px 24px;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,0.96);
  border-top: 0;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.phone-home {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 52px;
  height: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
}

.scene-card--alert {
  right: 52px;
  top: 72px;
  width: 250px;
  padding: 20px 22px;
}

.scene-card--alert h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.scene-card--metric {
  left: 72px;
  bottom: 62px;
  width: 280px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #16305a;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.scene-chip {
  padding: 12px 16px;
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 600;
}

.scene-chip--left {
  left: 12px;
  top: 214px;
}

.scene-chip--right {
  right: 8px;
  bottom: 44px;
}

.scene-card--large,
.scene-card--alert,
.scene-card--metric,
.scene-card--phone,
.scene-chip--left,
.scene-chip--right {
  transform-origin: 50% 50%;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .showcase-scene { min-height: 560px; width: min(680px, 100%); }
  .scene-card--large { left: 18px; width: 280px; }
  .scene-card--phone { left: 186px; top: 164px; width: 158px; height: 284px; }
  .scene-card--alert { right: 16px; width: 214px; }
  .scene-card--metric { left: 18px; width: 252px; }
  .scene-chip--right { right: 10px; }
}

/* ============================================
   CARDS & BOXES
   ============================================ */

.step-card,
.feature-box,
.benefit-card,
.value-card,
.info-card {
  background-color: var(--white) !important;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 2px solid var(--light-blue);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.step-card:hover,
.feature-box:hover,
.benefit-card:hover,
.value-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background-color: #fafbfc !important;
}

.step-card h3,
.step-card h4,
.feature-box h3,
.feature-box h4,
.benefit-card h3,
.benefit-card h4,
.value-card h3,
.value-card h4,
.info-card h3,
.info-card h4 {
  color: var(--navy) !important;
  font-weight: 700;
}

.step-card p,
.feature-box p,
.benefit-card p,
.value-card p,
.info-card p {
  color: var(--text-dark) !important;
  font-weight: 400;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.inline-icon {
  height: 1.15rem;
  width: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.info-grid,
.benefits-grid,
.features-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.features-grid .feature-box,
.benefits-grid .benefit-card,
.info-grid .info-card,
.steps-grid .step-card {
  background-color: var(--white);
  border-color: #cfe0ef;
}

.features-grid .feature-box h3,
.features-grid .feature-box h4,
.benefits-grid .benefit-card h3,
.benefits-grid .benefit-card h4,
.info-grid .info-card h3,
.info-grid .info-card h4,
.steps-grid .step-card h3,
.steps-grid .step-card h4 {
  color: var(--navy);
}

.features-grid .feature-box p,
.benefits-grid .benefit-card p,
.info-grid .info-card p,
.steps-grid .step-card p {
  color: var(--text-dark);
}

/* ============================================
   SECTIONS & GRIDS
   ============================================ */

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.how-it-works-brief {
  text-align: center;
}

.how-it-works-brief h2 {
  margin-bottom: var(--spacing-lg);
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: var(--spacing-lg);
}

.mission-content,
.commitment-box,
.disclaimer-box,
.info-box,
.coming-soon-box {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.commitment-box h4,
.disclaimer-box h4,
.mission-content h4 {
  color: var(--navy);
  margin-top: 0;
}

.commitment-box p,
.disclaimer-box p,
.mission-content p,
.info-box p,
.coming-soon-box p {
  color: var(--text-dark);
  font-weight: 400;
}

.commitment-box ul,
.disclaimer-box ul {
  margin: var(--spacing-md) 0;
}

.commitment-box li,
.disclaimer-box li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

/* ============================================
   FORMS
   ============================================ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
}

.form {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 156, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-success,
.form-error {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
}

.form-success {
  background-color: #f0fdf4;
  border-left: 4px solid var(--success);
  color: #166534;
}

.form-error {
  background-color: #fef2f2;
  border-left: 4px solid var(--error);
  color: #991b1b;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  max-width: 800px;
  margin: var(--spacing-lg) auto;
}

.faq details {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  cursor: pointer;
}

.faq details summary {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq details summary::-webkit-details-marker {
  display: none;
}

.faq details summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  color: var(--gray-dark);
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
  max-width: 800px;
  margin: var(--spacing-lg) auto;
}

.timeline-item {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-marker {
  flex-shrink: 0;
  width: 120px;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.timeline-content h4 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.timeline-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background-color: var(--light-blue);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.25rem;
}

.timeline-step h4 {
  margin: 0;
  margin-top: var(--spacing-sm);
}

.timeline-step p {
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   PROBLEM STATEMENT
   ============================================ */

.problem-statement {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.problem-item {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.problem-item h4 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.problem-item p {
  margin-bottom: 0;
  color: var(--gray-dark);
  font-size: 0.95rem;
}

/* ============================================
   TRUST & FINAL CTA
   ============================================ */

.trust {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) auto;
  max-width: 800px;
  text-align: center;
}

.trust-links {
  margin-top: var(--spacing-md);
  font-weight: 500;
}

.trust-links a {
  color: var(--primary);
  font-weight: 600;
}

.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: var(--spacing-2xl) 0;
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  margin-top: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-section p {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-security {
  color: var(--primary);
  font-weight: 600;
  margin-top: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
  margin-left: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
}

.legal-content h3 {
  margin-top: var(--spacing-lg);
  font-size: 1.25rem;
}

.legal-content ul {
  margin-bottom: var(--spacing-md);
}

.legal-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.last-updated {
  color: var(--gray-medium);
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .benefits-grid,
  .info-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md);
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem var(--spacing-md);
    border-radius: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero-content p {
    max-width: 100%;
    font-size: 1rem;
  }

  .problem-statement,
  .timeline-compact,
  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .timeline-marker {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .btn {
    width: 100%;
    display: block;
    padding: 1rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus states for accessibility */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ================================================================
   PROFESSIONAL POLISH LAYER  (appended — overrides earlier rules)
   Refines typography, depth, spacing, nav, cards, forms & footer.
   Keeps the existing layout and teal brand.
   ================================================================ */

:root {
  /* Softer, layered shadows for a more premium feel */
  --shadow-sm: 0 1px 2px rgba(16, 33, 60, 0.06);
  --shadow-md: 0 6px 18px -6px rgba(16, 33, 60, 0.12), 0 2px 6px -2px rgba(16, 33, 60, 0.08);
  --shadow-lg: 0 18px 40px -12px rgba(16, 33, 60, 0.18), 0 6px 14px -6px rgba(16, 33, 60, 0.10);
  --ring: 0 0 0 4px rgba(11, 125, 110, 0.18);
  --hairline: #e8edf3;
  --primary-darker: #095f54;
}

/* ---- Accessibility: skip link (visible only on keyboard focus) ---- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  text-decoration: none;
  color: #fff;
}

/* ---- Stronger, higher-contrast focus ring ---- */
:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Typography refinement ---- */
body { color: var(--text-dark); letter-spacing: 0.1px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: 2.9rem; letter-spacing: -0.8px; }
h2 { font-size: 2.05rem; letter-spacing: -0.4px; }
.lead, .hero-content p { color: #46505f; }
a { text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.last-updated { color: var(--gray-dark); }

/* Comfortable reading measure for standalone prose blocks */
.legal-content p, .legal-content li { max-width: 70ch; }

/* ---- Section rhythm ---- */
.section { padding: 5rem 0; }
.section-light {
  background-color: var(--gray-light);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* ---- Buttons: crisper, clearer hover/active ---- */
.btn {
  padding: 0.9rem 2rem;
  letter-spacing: 0.2px;
  border-radius: var(--radius-full);
  will-change: transform;
}
.btn-primary {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 18px -8px rgba(11, 125, 110, 0.55);
}
.btn-primary:hover {
  background-color: var(--primary-darker);
  box-shadow: 0 14px 26px -10px rgba(11, 125, 110, 0.55);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  border-width: 2px;
  background-color: #fff;
}
.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* ---- Navbar: refined, subtle glass ---- */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-content { height: 74px; }
.nav-menu a {
  font-weight: 600;
  color: #3b4658;
  padding: 0.5rem 0.9rem;
}
.nav-menu a:hover { background-color: var(--gray-light); color: var(--primary-dark); }
.nav-menu a.active {
  color: var(--primary-dark);
  background-color: rgba(11, 125, 110, 0.10);
}

/* ---- Cards: consistent hairline + soft depth + accent on hover ---- */
.step-card,
.feature-box,
.benefit-card,
.value-card,
.info-card,
.problem-item {
  border: 1px solid var(--hairline) \!important;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.step-card::before,
.feature-box::before,
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #19c2ad);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.step-card:hover,
.feature-box:hover,
.benefit-card:hover,
.value-card:hover,
.info-card:hover,
.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d6e3ee \!important;
}
.step-card:hover::before,
.feature-box:hover::before,
.benefit-card:hover::before { opacity: 1; }

/* ---- Step / badge circles: subtle depth ---- */
.step-number, .step-num {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 6px 14px -6px rgba(11, 125, 110, 0.6);
}

/* ---- Forms: larger targets, clearer focus ---- */
.form {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
}
.form-group label { font-size: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 0.9rem;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-dark);
  box-shadow: var(--ring);
}

/* ---- Accent boxes (disclaimer, mission, commitment, info) ---- */
.mission-content,
.commitment-box,
.disclaimer-box,
.info-box,
.coming-soon-box {
  border-left-width: 5px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* ---- FAQ refinement ---- */
.faq details {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq details[open] {
  border-color: #d6e3ee;
  box-shadow: var(--shadow-md);
}
.faq details summary { padding: 0.25rem 0; }
.faq details p { color: var(--text-dark); }

/* ---- Header & CTA gradients: deeper, better text contrast ---- */
.page-header,
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4f47 100%);
}
.page-header p, .final-cta p { color: rgba(255, 255, 255, 0.92); }

/* ---- Hero scene: calmer, less gimmicky shadows ---- */
.scene-card, .scene-chip {
  box-shadow: 0 10px 30px -12px rgba(12, 28, 52, 0.18);
  background: rgba(255, 255, 255, 0.92);
}
.hero-note { color: var(--gray-dark); font-weight: 500; }

/* ---- Footer: cleaner spacing and link affordance ---- */
.footer { padding-top: 3.5rem; }
.footer-section a { color: rgba(255, 255, 255, 0.82); }
.footer-section a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-security { color: #6fe3d3; }
.footer-bottom { color: rgba(255, 255, 255, 0.7); }

/* ---- Images never overflow their containers ---- */
img { max-width: 100%; height: auto; }

/* ---- Mobile niceties ---- */
@media (max-width: 768px) {
  .section { padding: 3.25rem 0; }
  h1 { font-size: 2.05rem; }
  .nav-menu a { padding: 0.85rem 1rem; border-radius: 10px; }
}
