/* =====================================================
   ETHIA — Design System
   A warm, sophisticated, personified health companion
   ===================================================== */

/* CSS Variables */
:root {
  /* Colors */
  --color-bg: #FDFBF7;
  --color-bg-warm: #F7F3ED;
  --color-bg-accent: #EDE8DF;
  --color-text: #1A1A1A;
  --color-text-soft: #5A5A5A;
  --color-text-muted: #8A8A8A;
  --color-primary: #2D5A4A;
  --color-primary-soft: #3D7A64;
  --color-primary-light: #E8F0EC;
  --color-primary-dark: #1E3D32;
  --color-accent: #C4956A;
  --color-accent-light: #F5EDE5;
  --color-border: #E5E0D8;
  --color-white: #FFFFFF;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--transition-smooth);
}

nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  transition: color 0.2s;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-bg);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 99;
}

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

.mobile-menu a {
  padding: var(--space-sm) 0;
  font-size: 1.1rem;
  color: var(--color-text-soft);
}

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

.btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s var(--transition-smooth);
}

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

.btn-primary:hover {
  background: var(--color-primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 90, 74, 0.25);
}

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

.btn-secondary:hover {
  background: var(--color-primary-light);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

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

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  padding: 8rem var(--space-lg) var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--color-accent-light) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

/* Ethia Introduction */
.ethia-intro {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.ethia-presence {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  border-radius: 50%;
  position: relative;
}

.ethia-presence::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 60%);
  border-radius: 50%;
}

.ethia-presence.large {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
}

.ethia-intro span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Hero Visual - Cards */
.hero-visual {
  position: relative;
  z-index: 1;
  height: 400px;
}

.hero-card {
  position: absolute;
  background: var(--color-white);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.3s var(--transition-smooth);
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card .card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero-card .card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.hero-card .card-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.hero-card .card-insight {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-style: italic;
}

.card-labs {
  top: 0;
  left: 0;
  width: 320px;
}

.card-checkin {
  top: 120px;
  right: 0;
  width: 260px;
}

.card-prep {
  bottom: 40px;
  left: 40px;
  width: 300px;
}

/* =====================================================
   CONSTELLATION - Ethia Logo with Feature Cards
   ===================================================== */

.constellation {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

/* Ensure logo has no card styling */
.logo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  animation: ethia-float 3s ease-in-out infinite;
}

.logo-wrapper img {
  width: 216px;
  height: 216px;
  display: block;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 12px 32px rgba(45, 90, 74, 0.2));
}

.constellation > img,
.constellation .ethia-hero-logo,
img.ethia-hero-logo {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.ethia-hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 130px;
  width: 130px;
  animation: ethia-float 3s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(45, 90, 74, 0.2));
  z-index: 10;
  /* Ensure no background box */
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.orbit-card {
  position: absolute;
  background: var(--color-white);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  min-width: 155px;
  max-width: 185px;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  z-index: 5;
}

.orbit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.orbit-card .card-icon {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.orbit-card .card-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 3px;
}

.orbit-card .card-insight {
  font-size: 0.78rem;
  color: var(--color-primary);
  font-style: italic;
}

/* Position cards around the logo like a clock */
.orbit-card.card-1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-card.card-2 { top: 15%; right: 0; }
.orbit-card.card-3 { bottom: 15%; right: 0; }
.orbit-card.card-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-card.card-5 { bottom: 15%; left: 0; }
.orbit-card.card-6 { top: 15%; left: 0; }

/* Floating animations for cards */
.orbit-card.card-1 { animation: float-center 4s ease-in-out infinite; }
.orbit-card.card-2 { animation: float-side 4.5s ease-in-out infinite; }
.orbit-card.card-3 { animation: float-side 5s ease-in-out infinite 0.5s; }
.orbit-card.card-4 { animation: float-center 4.2s ease-in-out infinite 0.3s; }
.orbit-card.card-5 { animation: float-side 4.8s ease-in-out infinite 0.2s; }
.orbit-card.card-6 { animation: float-side 4.3s ease-in-out infinite 0.4s; }

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

@keyframes float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes float-side {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Nav and Footer logo icons */
.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 32px;
  width: 32px;
  margin-right: 10px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  height: 26px;
  width: 26px;
}

/* CTA section logo */
.ethia-cta-logo {
  height: 80px;
  width: 80px;
  margin-bottom: var(--space-md);
  animation: ethia-float-simple 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(45, 90, 74, 0.15));
}

@keyframes ethia-float-simple {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =====================================================
   PHILOSOPHY SECTION
   ===================================================== */

.philosophy-section {
  padding: var(--space-3xl) 0;
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.philosophy-label,
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.philosophy-section .philosophy-label {
  color: rgba(255,255,255,0.6);
}

.philosophy-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-xl);
}

.philosophy-section h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.philosophy-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

.philosophy-text p {
  margin-bottom: var(--space-md);
}

.philosophy-motto {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.philosophy-motto strong {
  color: var(--color-accent);
  font-weight: 500;
}

/* =====================================================
   HOW SECTION
   ===================================================== */

.how-section {
  padding: var(--space-3xl) 0;
}

.how-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.how-step.reverse {
  direction: rtl;
}

.how-step.reverse > * {
  direction: ltr;
}

.step-content {
  padding: var(--space-lg) 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.step-content p {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.step-content p em {
  font-style: italic;
  color: var(--color-primary);
}

.step-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.step-feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Step Visuals - Mockups */
.step-visual {
  background: var(--color-bg-warm);
  border-radius: 24px;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-mockup {
  width: 100%;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

/* Upload Mockup */
.mockup-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-xl);
  border: 2px dashed var(--color-border);
  margin: var(--space-md);
  border-radius: 12px;
  color: var(--color-text-muted);
}

.mockup-upload svg {
  width: 40px;
  height: 40px;
}

.mockup-result {
  padding: var(--space-md);
  margin: 0 var(--space-md) var(--space-md);
  background: var(--color-bg-warm);
  border-radius: 12px;
}

.result-marker {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 0.75rem;
}

.marker-name {
  font-weight: 600;
  color: var(--color-text);
}

.marker-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.marker-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}

.marker-status.optimal {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.result-insight {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-style: italic;
}

/* Check-in Mockup */
.mockup-checkin {
  padding: var(--space-lg);
}

.checkin-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.checkin-options {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkin-option {
  font-size: 1.75rem;
  padding: 0.5rem;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.2s;
}

.checkin-option.selected {
  opacity: 1;
  background: var(--color-primary-light);
  transform: scale(1.1);
}

.checkin-note {
  background: var(--color-bg-warm);
  border-radius: 12px;
  padding: var(--space-md);
}

.checkin-note span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.note-input {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

/* Prep Mockup */
.mockup-prep {
  padding: var(--space-lg);
}

.prep-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.prep-section {
  margin-bottom: var(--space-md);
}

.prep-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.prep-item {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  padding: 0.25rem 0;
}

/* =====================================================
   ALWAYS SECTION (AI Chat)
   ===================================================== */

.always-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-warm);
}

.always-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.always-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.always-text p {
  font-size: 1.1rem;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.always-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.example-bubble {
  background: var(--color-white);
  padding: 0.75rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  box-shadow: var(--shadow-sm);
}

/* Chat Mockup */
.chat-mockup {
  background: var(--color-white);
  border-radius: 24px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.chat-message {
  margin-bottom: var(--space-md);
}

.chat-message.user span {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 20px 20px 4px 20px;
  font-size: 0.95rem;
  margin-left: auto;
  float: right;
}

.chat-message.ethia {
  display: flex;
  gap: var(--space-sm);
  clear: both;
}

.ethia-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.ethia-avatar::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 60%);
  border-radius: 50%;
}

.ethia-response {
  background: var(--color-bg-warm);
  padding: 1rem 1.25rem;
  border-radius: 4px 20px 20px 20px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.ethia-response span {
  display: block;
}

.ethia-followup {
  margin-top: 0.75rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* =====================================================
   TESTIMONIAL
   ===================================================== */

.testimonial-section {
  padding: var(--space-3xl) 0;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: var(--color-text);
}

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

/* =====================================================
   TRUST SECTION
   ===================================================== */

.trust-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-warm);
}

.trust-content {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 0.95rem;
  color: var(--color-text);
}

.trust-text span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

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

footer {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

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

/* =====================================================
   ANIMATIONS
   ===================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--transition-smooth);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for hero cards */
.hero-card:nth-child(1) { transition-delay: 0.1s; }
.hero-card:nth-child(2) { transition-delay: 0.2s; }
.hero-card:nth-child(3) { transition-delay: 0.3s; }

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

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-visual {
    height: auto;
    min-height: 500px;
    margin-top: var(--space-lg);
  }

  .how-step,
  .how-step.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .how-step.reverse {
    direction: ltr;
  }

  .step-visual {
    order: -1;
  }

  .always-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 900px) {
  .constellation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: auto;
    padding: var(--space-md) 0;
  }

  .logo-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: var(--space-md);
    animation: ethia-float-simple 3s ease-in-out infinite;
  }

  .ethia-hero-logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: var(--space-md);
    animation: ethia-float-simple 3s ease-in-out infinite;
  }

  .orbit-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none !important;
    max-width: 280px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .trust-content {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }
}
