/* ========================================
   Cozu Landing Page — Dual Theme Styles
   data-theme="dark" | data-theme="light"
   Color palette inspired by Cozu logo:
     Deep forest: #1A4830
     Sage green:  #74C485
     Cream:       #E8F080
   ======================================== */

/* ========================================
   DARK THEME (Default)
   ======================================== */
:root,
html[data-theme="dark"] {
  /* Backgrounds */
  --bg-page: #101010;
  --bg-section: #1a1a1a;
  --bg-hero: #000000;
  --bg-nav: rgba(16, 16, 16, 0.82);
  --bg-nav-scrolled: rgba(12, 12, 12, 0.95);
  --bg-modal: linear-gradient(180deg, rgba(30, 38, 33, 0.99) 0%, rgba(16, 22, 18, 0.99) 100%);
  --bg-input: rgba(255, 255, 255, 0.05);
  --bg-overlay: rgba(0, 0, 0, 0.65);
  --bg-hero-veil: rgba(10, 20, 14, 0.45);
  --bg-mobile-nav: linear-gradient(180deg, rgba(20, 30, 24, 0.97) 0%, rgba(12, 20, 16, 0.99) 100%);

  /* Text */
  --text-primary: #f0f0ee;
  --text-secondary: #b8c0bc;
  --text-tertiary: #6a7870;
  --text-quaternary: #8a9890;

  /* Borders */
  --border-subtle: rgba(82, 183, 136, 0.10);
  --border-strong: rgba(82, 183, 136, 0.20);
  --border-input: rgba(82, 183, 136, 0.15);
  --border-mobile: rgba(82, 183, 136, 0.08);
  --border-card: rgba(82, 183, 136, 0.08);

  /* Accent - sage from logo */
  --color-primary: #52B788;
  --color-primary-hover: #74C495;
  --color-btn-glow: rgba(82, 183, 136, 0.28);
  --color-label: #52B788;

  /* Nav */
  --nav-highlight: rgba(82, 183, 136, 0.08);
  --nav-box-shadow:
    inset 0 -1px 0 0 rgba(82, 183, 136, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.20),
    0 4px 16px rgba(0, 0, 0, 0.30);
  --nav-scrolled-shadow:
    inset 0 -1px 0 0 rgba(82, 183, 136, 0.10),
    0 2px 8px rgba(0, 0, 0, 0.30),
    0 8px 24px rgba(0, 0, 0, 0.40);

  /* Quote */
  --quote-overlay: linear-gradient(100.33deg, rgba(0, 0, 0, 0) 36%, rgba(16, 22, 18, 0.97) 95%);
  --quote-overlay-mobile: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(16, 22, 18, 0.65) 40%, rgba(16, 22, 18, 0.90) 100%);
  --quote-text-muted: rgba(176, 200, 188, 0.65);

  /* Typography */
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", sans-serif;
  --font-badge: "Inter", sans-serif;

  /* Assets */
  --logo-filter: none;
  --logo-footer-filter: none;
  --scroll-icon-fill: #6a9980;
  --close-btn-bg: rgba(82, 183, 136, 0.10);
  --close-btn-hover: rgba(82, 183, 136, 0.20);
  --close-btn-color: #f0f0ee;
  --scroll-top-icon: #f0f0ee;
  --waitlist-bg: linear-gradient(180deg, rgba(30, 40, 34, 0.99) 0%, rgba(16, 24, 20, 0.99) 100%);
  --waitlist-border: rgba(82, 183, 136, 0.15);
}

/* ========================================
   LIGHT THEME — Forest Green / Cozu Logo
   ======================================== */
html[data-theme="light"] {
  /* Backgrounds */
  --bg-page: #F5F4F0;
  --bg-section: #ECEAE5;
  --bg-hero: #F5F4F0;
  --bg-nav: rgba(245, 244, 240, 0.88);
  --bg-nav-scrolled: rgba(255, 255, 255, 0.97);
  --bg-modal: linear-gradient(180deg, #FFFFFF 0%, #F5F4F0 100%);
  --bg-input: #FFFFFF;
  --bg-overlay: rgba(26, 46, 36, 0.35);
  --bg-hero-veil: transparent;
  --bg-mobile-nav: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 244, 240, 0.99) 100%);

  /* Text */
  --text-primary: #161B18;
  --text-secondary: #3A4840;
  --text-tertiary: #6A7870;
  --text-quaternary: #9AA8A0;

  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-input: rgba(0, 0, 0, 0.14);
  --border-mobile: rgba(0, 0, 0, 0.06);
  --border-card: rgba(0, 0, 0, 0.06);

  /* Accent — deep forest green */
  --color-primary: #2D6A4F;
  --color-primary-hover: #1A4830;
  --color-btn-glow: rgba(45, 106, 79, 0.22);
  --color-label: #40916C;

  /* Nav */
  --nav-highlight: rgba(0, 0, 0, 0.05);
  --nav-box-shadow:
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.06);
  --nav-scrolled-shadow:
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.07),
    0 8px 24px rgba(0, 0, 0, 0.09);

  /* Quote */
  --quote-overlay: linear-gradient(100.33deg, rgba(245, 244, 240, 0) 36%, rgba(236, 234, 229, 0.97) 95%);
  --quote-overlay-mobile: linear-gradient(180deg, rgba(245, 244, 240, 0.05) 0%, rgba(236, 234, 229, 0.68) 40%, rgba(236, 234, 229, 0.93) 100%);
  --quote-text-muted: rgba(22, 27, 24, 0.50);

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", sans-serif;
  --font-badge: "Inter", sans-serif;

  /* Assets */
  --logo-filter: brightness(0) saturate(100%);
  --logo-footer-filter: brightness(0) saturate(100%);
  --scroll-icon-fill: #9AA8A0;
  --close-btn-bg: rgba(0, 0, 0, 0.06);
  --close-btn-hover: rgba(0, 0, 0, 0.12);
  --close-btn-color: #161B18;
  --scroll-top-icon: #FFFFFF;
  --waitlist-bg: linear-gradient(180deg, #FFFFFF 0%, #F5F4F0 100%);
  --waitlist-border: rgba(0, 0, 0, 0.10);
}

/* ========================================
   Shared tokens (always apply)
   ======================================== */
:root {
  --letter-tight: -0.02em;
  --letter-heading: -0.03em;
  --letter-display: -0.045em;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 14px;
  --border-radius-xl: 20px;
  --border-radius-full: 100px;

  --section-spacing: 96px;

  /* Animation easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.40s var(--ease-in-out),
    color 0.40s var(--ease-in-out);
}

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

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

/* ========================================
   Scroll-Triggered Animation System
   ======================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.75s var(--ease-out-expo);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="slide-left"] {
  transform: translateX(-32px);
}

[data-animate="slide-right"] {
  transform: translateX(32px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="100"] {
  transition-delay: 100ms;
}

[data-delay="150"] {
  transition-delay: 150ms;
}

[data-delay="200"] {
  transition-delay: 200ms;
}

[data-delay="300"] {
  transition-delay: 300ms;
}

[data-delay="400"] {
  transition-delay: 400ms;
}

[data-delay="500"] {
  transition-delay: 500ms;
}

[data-delay="600"] {
  transition-delay: 600ms;
}

/* Hero enters without IntersectionObserver — CSS keyframe on load */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-content>* {
  animation: heroFadeUp 0.85s var(--ease-out-expo) both;
}

.hero-content>*:nth-child(1) {
  animation-delay: 0.05s;
}

.hero-content>*:nth-child(2) {
  animation-delay: 0.15s;
}

.hero-content>*:nth-child(3) {
  animation-delay: 0.28s;
}

.hero-content>*:nth-child(4) {
  animation-delay: 0.40s;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--nav-box-shadow);
  transition: all 0.30s var(--ease-in-out);
}

.navbar.scrolled {
  background: var(--bg-nav-scrolled);
  box-shadow: var(--nav-scrolled-shadow);
}

.nav-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 60px;
  height: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-links {
  /* Column 2: always exactly centered */
}

.nav-actions {
  justify-self: end;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-icon.cozu-logo {
  width: auto;
  height: 26px;
  max-width: 110px;
  filter: var(--logo-filter);
  transition: filter 0.40s var(--ease-in-out), opacity 0.2s ease;
}

.logo-icon.cozu-logo:hover {
  opacity: 0.75;
}

/* Centered nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

html[data-theme="light"] .nav-link:hover {
  background: rgba(45, 106, 79, 0.07);
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--color-primary);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #ffffff;
  transition:
    background 0.2s ease,
    transform 0.18s var(--ease-out-expo),
    box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--color-btn-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-nav-primary {
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  /* Animated gradient — makes this button stand out from generic green CTA */
  background: linear-gradient(-45deg, #1d5c3d, #2D6A4F, #40916C, #52B788, #2D6A4F);
  background-size: 300% 300%;
  animation: navBtnGradient 5s ease infinite;
  border: none;
}

@keyframes navBtnGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Override the hover state so the gradient persists on hover */
.btn-nav-primary:hover {
  background: linear-gradient(-45deg, #1d5c3d, #2D6A4F, #40916C, #52B788, #2D6A4F);
  background-size: 300% 300%;
  animation: navBtnGradient 5s ease infinite;
  box-shadow: 0 4px 18px rgba(45, 106, 79, 0.35);
  transform: translateY(-1px);
}

.btn-nav-primary-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-cta {
  padding: 14px 28px;
  border-radius: var(--border-radius-full);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.btn-full {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 24px var(--color-btn-glow);
  border: none !important;
}

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

.mobile-menu-btn span {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 48px 80px;
  overflow: hidden;
  /* Animated mesh gradient — subtle version */
  background: linear-gradient(-45deg,
      #e8f5ec,
      #f5f4f0,
      #ddf0e5,
      #f0f7f2,
      #e8f5ec);
  background-size: 400% 400%;
  animation: heroMesh 16s ease infinite;
}

@keyframes heroMesh {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Dot-grid overlay — subtle CSS-only motion */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45, 106, 79, 0.10) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
  pointer-events: none;
  animation: dotDrift 35s linear infinite;
}

@keyframes dotDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 36px 36px;
  }
}

html[data-theme="dark"] .hero {
  background: var(--bg-hero);
  animation: none;
}

html[data-theme="dark"] .hero::before {
  display: none;
}

/* ── Decorative blobs (light theme) ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-blob--1 {
  width: 620px;
  height: 620px;
  top: -130px;
  right: -120px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.16) 0%, rgba(82, 183, 136, 0) 70%);
  animation: blobFloat1 14s ease-in-out infinite;
}

.hero-blob--2 {
  width: 460px;
  height: 460px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.12) 0%, rgba(45, 106, 79, 0) 70%);
  animation: blobFloat2 18s ease-in-out infinite;
}

.hero-blob--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 12%;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.10) 0%, rgba(82, 183, 136, 0) 70%);
  animation: blobFloat2 22s ease-in-out infinite reverse;
}

html[data-theme="dark"] .hero-blob {
  display: none;
}

@keyframes blobFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(24px, -16px) scale(1.04);
  }

  66% {
    transform: translate(-16px, 12px) scale(0.97);
  }
}

@keyframes blobFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  40% {
    transform: translate(-20px, 20px) scale(1.05);
  }

  70% {
    transform: translate(16px, -12px) scale(0.96);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-hero);
  z-index: 0;
  overflow: hidden;
}

#shader-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#shader-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-hero-veil);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  pointer-events: none;
  z-index: 1;
}

html[data-theme="light"] .hero-bg::after {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: none;
}

/* Hide hero-bg entirely on light theme — we use a CSS animated gradient instead */
html[data-theme="light"] .hero-bg {
  display: none;
}

html[data-theme="light"] #shader-container {
  opacity: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

/* Colored accent on the display title */
.hero-title-accent {
  font-style: normal;
  color: var(--color-primary);
  /* subtle underline decoration */
  position: relative;
  display: inline-block;
}

html[data-theme="light"] .hero-title-accent {
  background: linear-gradient(120deg, #2D6A4F 0%, #52B788 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Inline actions row: CTA + stat pill side by side */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* Compact stat pill — inline, not a separate block */
.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .hero-stat-pill {
  background: rgba(82, 183, 136, 0.06);
  border-color: rgba(82, 183, 136, 0.18);
}

.hero-stat-pill-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  white-space: nowrap;
}

html[data-theme="light"] .hero-stat-pill-number {
  background: linear-gradient(120deg, #2D6A4F 0%, #52B788 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-pill-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
  line-height: 1.4;
  max-width: 180px;
  text-align: left;
}

/* Counter below actions row */
.hero-counter {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
}

.hero-counter strong {
  color: var(--color-primary);
  font-weight: 600;
}

.swartz-badge span {
  font-family: var(--font-badge);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}

html[data-theme="light"] .swartz-badge span {
  color: var(--color-label);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: var(--letter-heading);
  color: var(--text-secondary);
}

html[data-theme="light"] .hero-subtitle {
  font-weight: 300;
  letter-spacing: -0.01em;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 68px;
  line-height: 1.20;
  letter-spacing: var(--letter-display);
  color: var(--text-primary);
  text-transform: capitalize;
  /* Ensure descenders (y, g, p) are never clipped */
  overflow: visible;
  padding-bottom: 0.05em;
}

html[data-theme="light"] .hero-title {
  font-weight: 800;
  font-size: 72px;
  line-height: 1.20;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

.hero-description {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 580px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: var(--letter-tight);
  color: var(--text-primary);
}

html[data-theme="light"] .hero-tagline {
  font-weight: 500;
  color: var(--color-primary);
}

.hero-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.70;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  padding: 10px;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.scroll-indicator:hover {
  opacity: 0.85;
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  fill: var(--scroll-icon-fill);
}

/* ========================================
   DNA Section (Company Logos)
   ======================================== */
.dna-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: var(--section-spacing) 0;
  background: linear-gradient(135deg, #1A4830 0%, #2D6A4F 55%, #40916C 100%);
  overflow: hidden;
  position: relative;
}

/* Light sweep shimmer across the DNA section */
.dna-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: dnaSweep 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dnaSweep {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

html[data-theme="dark"] .dna-section {
  background: linear-gradient(135deg, #0e2a1a 0%, #1A4830 55%, #2D6A4F 100%);
}

.dna-section .section-label {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.18em;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  /* Fade edges so the loop seam is invisible */
  mask-image: linear-gradient(to right,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.logo-marquee-track .logo-strip,
.logo-marquee-track .logo-strip-duplicate {
  display: flex;
  align-items: center;
  gap: 90px;
  padding: 0 45px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}

.logo-strip {
  flex-shrink: 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  /* On green bg, logos rendered white */
  filter: brightness(0) invert(1);
}

html[data-theme="light"] .logo-item img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.logo-item:hover img {
  opacity: 1;
}

html[data-theme="light"] .logo-item:hover img {
  opacity: 1;
}

/* Individual logo dimensions */
.logo-deloitte img {
  width: 110px;
  height: 24px;
}

.logo-brown img {
  width: 116px;
  height: 58px;
}

.logo-google img {
  width: 110px;
  height: 38px;
}

.logo-hcii img {
  width: 116px;
  height: 50px;
}

.logo-cmu img {
  width: 78px;
  height: 50px;
}

.logo-nokia img {
  width: 109px;
  height: 18px;
}

.logo-ucsd img {
  width: 110px;
  height: 21px;
}

.logo-ericsson img {
  width: 110px;
  height: 23px;
}

/* ========================================
   About Section — 3-per-row Feature Cards
   ======================================== */
.about-section {
  padding: var(--section-spacing) 60px;
  background: var(--bg-page);
  transition: background-color 0.40s var(--ease-in-out);
}

.about-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-section-header .section-label {
  margin-bottom: 14px;
}

.about-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

html[data-theme="light"] .about-section-title {
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

/* 3-per-row grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}

/* Vertical feature card */
.feature-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border-card);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--bg-page);
  position: relative;
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
  border-color: var(--border-strong);
}

html[data-theme="light"] .feature-card:hover {
  box-shadow: 0 16px 40px rgba(26, 72, 48, 0.12);
  border-color: rgba(45, 106, 79, 0.20);
}

/* Numbered badge top-right */
.feature-card-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(82, 183, 136, 0.12);
  border-radius: var(--border-radius-full);
  padding: 3px 9px;
  z-index: 2;
}

html[data-theme="light"] .feature-card-num {
  background: rgba(45, 106, 79, 0.08);
  color: var(--color-primary);
}

.feature-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.60s var(--ease-out-expo);
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

/* Accent bar at top of card — colored by category */
.feature-card .feature-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, #74C485 100%);
  flex-shrink: 0;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  flex: 1;
}

.feature-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-label);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-label-icon {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

html[data-theme="light"] .feature-title {
  font-size: 23px;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.feature-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.70;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}

html[data-theme="light"] .feature-desc {
  color: var(--text-tertiary);
  font-size: 14px;
}

/* CTA card spans all 3 columns */
.feature-card--cta {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 56px;
  background: linear-gradient(135deg, #1A4830 0%, #2D6A4F 60%, #40916C 100%);
  border: none !important;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  position: relative;
}

.feature-card--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.feature-card--cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(26, 72, 48, 0.35);
}

.feature-card--cta .feature-content {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.feature-card--cta .feature-header {
  gap: 10px;
}

.feature-card--cta .feature-label {
  color: rgba(255, 255, 255, 0.70);
}

.feature-card--cta .feature-title {
  font-size: 28px;
  color: #ffffff;
  max-width: 460px;
}

html[data-theme="light"] .feature-card--cta .feature-title {
  font-size: 30px;
  color: #ffffff;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.feature-card--cta .btn-full {
  width: auto;
  padding: 14px 28px;
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--border-radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature-card--cta .btn-full:hover {
  background: #f0faf5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
  color: #1A4830;
}

.cta-subtext {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
}

/* ========================================
   Quote Section
   ======================================== */
.quote-section {
  position: relative;
  padding: var(--section-spacing) 60px;
  background: var(--bg-page);
  transition: background-color 0.40s var(--ease-in-out);
}

.quote-bg {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.quote-bg img {
  width: 100%;
  height: auto;
  min-height: 480px;
  object-fit: cover;
}

.quote-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--quote-overlay);
  z-index: 1;
}

.quote-content {
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
  max-width: 380px;
  z-index: 2;
}

.quote-negatives {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.quote-negatives p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--quote-text-muted);
}

.quote-positives {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.quote-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-align: right;
  max-width: 520px;
}

html[data-theme="light"] .quote-main {
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 0;
  margin: 0;
  background: var(--bg-page);
  transition: background-color 0.40s var(--ease-in-out);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 60px;
  border-top: 1px solid var(--border-subtle);
}

.copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-tertiary);
}

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

.footer-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-brand {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.footer-logo-full {
  width: 100%;
  height: auto;
  display: block;
}

.footer-logo-full.cozu-footer-logo {
  width: auto;
  max-width: 300px;
  margin: 0 auto;
  padding-bottom: 40px;
  filter: var(--logo-footer-filter);
  transition: filter 0.40s var(--ease-in-out);
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out-expo);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--color-btn-glow);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--scroll-top-icon);
}

/* ========================================
   Waitlist Modal
   ======================================== */
.waitlist-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.waitlist-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.waitlist-overlay.is-open .waitlist-modal {
  transform: scale(1);
  opacity: 1;
}

.waitlist-modal {
  position: relative;
  background: var(--waitlist-bg);
  border: 1px solid var(--waitlist-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

.waitlist-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--close-btn-bg);
  color: var(--close-btn-color);
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.waitlist-close:hover {
  background: var(--close-btn-hover);
}

.waitlist-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

html[data-theme="light"] .waitlist-title {
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.waitlist-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.waitlist-form .form-group {
  margin-bottom: 18px;
}

.waitlist-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.waitlist-form .required {
  color: var(--color-primary);
}

.waitlist-form .optional {
  font-weight: 400;
  opacity: 0.70;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--border-radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--text-quaternary);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-btn-glow);
}

.form-error {
  display: block;
  font-size: 12px;
  color: #e57373;
  margin-top: 4px;
}

.form-actions {
  margin-top: 24px;
}

.waitlist-submit {
  padding: 12px 20px;
  font-size: 15px;
}

.form-message {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-message.success {
  color: #52B788;
}

.form-message.error {
  color: #e57373;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1100px) {
  .feature-card {
    gap: 56px;
  }

  .feature-title {
    font-size: 34px;
  }

  html[data-theme="light"] .feature-title {
    font-size: 36px;
  }
}

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

  .nav-content {
    gap: 0;
  }

  .hero-title {
    font-size: 52px;
  }

  html[data-theme="light"] .hero-title {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .about-section {
    padding: var(--section-spacing) 32px;
  }

  .quote-section {
    padding: var(--section-spacing) 32px;
  }

  .footer-top {
    padding: 48px 32px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }

  .feature-card:nth-child(even) .feature-image {
    order: 0;
  }

  .feature-image {
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
  }

  .feature-title {
    font-size: 32px;
  }

  html[data-theme="light"] .feature-title {
    font-size: 34px;
  }

  .feature-desc {
    font-size: 15px;
    max-width: 100%;
  }

  .feature-card:last-child {
    padding: 56px 24px;
  }

  .feature-card:last-child .feature-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .nav-content {
    padding: 0 16px;
    height: 56px;
  }

  .nav-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-mobile-nav);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border-mobile);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease-out-expo);
  }

  .nav-actions.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .hero {
    padding: 80px 20px 40px;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  html[data-theme="light"] .hero-title {
    font-size: 40px;
  }

  .about-section {
    padding: var(--section-spacing) 16px;
  }

  .quote-section {
    padding: var(--section-spacing) 16px;
  }

  .quote-bg {
    border-radius: var(--border-radius-lg);
    height: 100vh;
  }

  .quote-bg img {
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: 38% center;
  }

  .quote-bg::after {
    background: var(--quote-overlay-mobile);
  }

  .quote-content {
    top: 50%;
    right: 24px;
    left: 24px;
    transform: translateY(-50%);
    max-width: none;
    gap: 24px;
    align-items: flex-end;
  }

  .quote-negatives p {
    font-size: 12px;
    text-align: right;
  }

  .quote-main {
    font-size: 22px;
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
    padding: 40px 16px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-spacing: 64px;
  }

  .hero {
    padding: 70px 16px 32px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  html[data-theme="light"] .hero-title {
    font-size: 32px;
  }

  .feature-title {
    font-size: 26px;
  }

  html[data-theme="light"] .feature-title {
    font-size: 28px;
  }

  .feature-desc {
    font-size: 14px;
  }

  .feature-card:last-child .feature-title {
    font-size: 26px;
  }

  .about-section {
    padding: var(--section-spacing) 16px;
  }

  .quote-section {
    padding: var(--section-spacing) 16px;
  }

  .quote-main {
    font-size: 20px;
  }
}

/* ── Why Now Embedded Stat Card ── */
.why-now-stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  border-radius: var(--border-radius-lg);
  background: var(--bg-section);
  border: 1px solid var(--border-card);
  transition: background 0.4s ease, border-color 0.4s ease;
  margin-top: 8px;
}

.why-now-stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
}

html[data-theme="light"] .why-now-stat-number {
  background: linear-gradient(120deg, #2D6A4F 0%, #52B788 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-now-stat-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-tertiary);
  max-width: 280px;
}

/* ========================================
   Ripple Button Effect
   ======================================== */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  animation: rippleAnim 0.65s var(--ease-out-expo) forwards;
}

@keyframes rippleAnim {
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* ========================================
   Feature Pull Quote
   ======================================== */
.feature-pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  border-left: 2px solid var(--color-primary);
  padding-left: 16px;
  opacity: 0.85;
}

html[data-theme="light"] .feature-pull-quote {
  font-size: 18px;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}

/* Old CTA card override removed — green gradient version defined at line ~1075 is canonical */

/* ========================================
   Product Screenshots Section
   ======================================== */
.product-section {
  padding: var(--section-spacing) 60px;
  background: var(--bg-section);
  transition: background-color 0.40s var(--ease-in-out);
}

.product-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.product-header {
  max-width: 640px;
}

.product-header .section-label {
  margin-bottom: 16px;
}

.product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

html[data-theme="light"] .product-title {
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.product-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.70;
  color: var(--text-secondary);
}

.product-screens {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.product-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-screen--main {
  grid-row: 1 / 3;
}

.product-screen-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.product-screen--main .product-screen-placeholder {
  aspect-ratio: unset;
  height: 100%;
  min-height: 480px;
}

.product-screen-placeholder:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

html[data-theme="light"] .product-screen-placeholder {
  box-shadow: 0 4px 20px rgba(26, 72, 48, 0.07);
}

html[data-theme="light"] .product-screen-placeholder:hover {
  box-shadow: 0 12px 40px rgba(26, 72, 48, 0.14);
}

.placeholder-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.placeholder-ui-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.placeholder-dot:nth-child(1) {
  background: #ff5f57;
}

.placeholder-dot:nth-child(2) {
  background: #febc2e;
}

.placeholder-dot:nth-child(3) {
  background: #28c840;
}

.placeholder-ui-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 20px;
}

/* Mic icon UI */
.placeholder-ui-mic svg {
  width: 72px;
  height: 72px;
  color: var(--color-primary);
}

.placeholder-ui-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Animated waveform */
.placeholder-waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}

.placeholder-waveform span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--color-primary);
  opacity: 0.6;
  animation: waveBar 1.2s ease-in-out infinite;
}

.placeholder-waveform span:nth-child(1) {
  height: 12px;
  animation-delay: 0s;
}

.placeholder-waveform span:nth-child(2) {
  height: 24px;
  animation-delay: 0.15s;
}

.placeholder-waveform span:nth-child(3) {
  height: 32px;
  animation-delay: 0.3s;
}

.placeholder-waveform span:nth-child(4) {
  height: 20px;
  animation-delay: 0.45s;
}

.placeholder-waveform span:nth-child(5) {
  height: 36px;
  animation-delay: 0.6s;
}

.placeholder-waveform span:nth-child(6) {
  height: 20px;
  animation-delay: 0.45s;
}

.placeholder-waveform span:nth-child(7) {
  height: 32px;
  animation-delay: 0.3s;
}

.placeholder-waveform span:nth-child(8) {
  height: 24px;
  animation-delay: 0.15s;
}

.placeholder-waveform span:nth-child(9) {
  height: 14px;
  animation-delay: 0.08s;
}

.placeholder-waveform span:nth-child(10) {
  height: 10px;
  animation-delay: 0s;
}

@keyframes waveBar {

  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 0.9;
  }
}

/* Report placeholder */
.placeholder-ui-content--report {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.placeholder-report-line {
  height: 10px;
  border-radius: 5px;
  background: var(--border-strong);
  width: 100%;
  opacity: 0.5;
  animation: shimmer 2s ease-in-out infinite;
}

.placeholder-report-line--title {
  height: 16px;
  width: 70%;
  opacity: 0.7;
}

.placeholder-report-line--short {
  width: 55%;
}

@keyframes shimmer {

  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.65;
  }
}

/* Rewards placeholder */
.placeholder-ui-content--rewards {
  gap: 24px;
}

.placeholder-rewards-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--color-btn-glow);
}

.placeholder-rewards-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-primary);
  line-height: 1;
}

.placeholder-rewards-unit {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.placeholder-rewards-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.placeholder-rewards-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border-subtle);
  overflow: hidden;
}

.placeholder-rewards-bar span {
  display: block;
  height: 100%;
  width: 90%;
  border-radius: 4px;
  background: var(--color-primary);
  opacity: 0.6;
  animation: barPulse 2.5s ease-in-out infinite;
}

@keyframes barPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.85;
  }
}

.placeholder-replace-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-quaternary);
  white-space: nowrap;
  opacity: 0.5;
  pointer-events: none;
}

.product-screen-card-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-screen-card-label p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========================================
   Why Now Section
   ======================================== */
.why-now-section {
  padding: var(--section-spacing) 60px 48px;
  background: var(--bg-page);
  transition: background-color 0.40s var(--ease-in-out);
}

/* Tighten top padding so Why Now and Why Cozu flow together */
.about-section {
  padding: 48px 60px var(--section-spacing);
  background: var(--bg-page);
  transition: background-color 0.40s var(--ease-in-out);
}

.why-now-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.why-now-left .section-label {
  margin-bottom: 16px;
}

.why-now-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

html[data-theme="light"] .why-now-title {
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.why-now-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

.why-now-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-now-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--border-radius-md);
  background: rgba(82, 183, 136, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.3s ease;
}

html[data-theme="light"] .why-now-icon {
  background: rgba(45, 106, 79, 0.08);
}

.why-now-item:hover .why-now-icon {
  background: rgba(82, 183, 136, 0.18);
}

html[data-theme="light"] .why-now-item:hover .why-now-icon {
  background: rgba(45, 106, 79, 0.14);
}

.why-now-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.why-now-item-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.why-now-item-text p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.70;
}

.why-now-quote {
  border-left: 2px solid var(--color-primary);
  padding: 20px 24px;
  background: var(--bg-section);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  transition: background 0.40s ease;
}

.why-now-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

html[data-theme="light"] .why-now-quote p {
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

.why-now-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}

/* ========================================
   LinkedIn Feed Section
   ======================================== */
.linkedin-section {
  padding: var(--section-spacing) 60px;
  background: var(--bg-section);
  transition: background-color 0.40s var(--ease-in-out);
}

.linkedin-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.linkedin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.linkedin-header-text .section-label {
  margin-bottom: 10px;
}

.linkedin-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text-primary);
}

html[data-theme="light"] .linkedin-title {
  letter-spacing: -0.03em;
}

.btn-linkedin-follow {
  padding: 12px 22px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  gap: 8px;
  flex-shrink: 0;
}

.linkedin-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.linkedin-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.li-post {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    border-color 0.35s ease;
}

.li-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
  border-color: var(--border-strong);
}

html[data-theme="light"] .li-post:hover {
  box-shadow: 0 12px 32px rgba(26, 72, 48, 0.10);
}

.li-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.li-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  padding: 6px;
}

.li-post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--logo-filter);
}

.li-post-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.li-post-company {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.li-post-date {
  font-size: 12px;
  color: var(--text-quaternary);
}

.li-post-body {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.70;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  flex: 1;
}

.li-post-read-more {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  transition: color 0.2s ease, gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.li-post-read-more:hover {
  color: var(--color-primary-hover);
}

.linkedin-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.linkedin-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  padding: 10px 20px;
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius-full);
  transition: background 0.2s ease, color 0.2s ease;
}

.linkedin-view-all:hover {
  background: var(--color-primary);
  color: #fff;
}

.linkedin-note {
  font-size: 11.5px;
  color: var(--text-quaternary);
  letter-spacing: -0.01em;
}

/* ========================================
   Expanded Footer
   ======================================== */
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  /* Constrained width + auto margins = true centering */
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 0 48px;
  border-top: 1px solid var(--border-subtle);
  align-items: start;
}

/* Wrapper to add horizontal padding around the centered grid */
.footer {
  padding: 0 60px;
  background: var(--bg-page);
  transition: background-color 0.40s var(--ease-in-out);
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Ensures brand column left-aligns exactly with other columns in grid */
  align-items: flex-start;
}

.footer-wordmark {
  height: 28px;
  width: auto;
  filter: var(--logo-filter);
  transition: filter 0.40s var(--ease-in-out);
}

.footer-mission {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.70;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-tagline-small {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-quaternary);
  margin-bottom: 16px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

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

.footer-col--contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-quaternary);
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--text-secondary);
}

.footer-legal-links span {
  color: var(--text-quaternary);
  font-size: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.copyright {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-quaternary);
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.footer-back-top:hover {
  color: var(--text-primary);
}

/* Hide old footer elements that no longer exist */
.footer-links,
.footer-brand,
.footer-logo-full {
  display: none;
}

/* ========================================
   Responsive — New Sections
   ======================================== */
@media (max-width: 1100px) {
  .product-screens {
    grid-template-columns: 1fr 1fr;
  }

  .product-screen--main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .product-screen--main .product-screen-placeholder {
    min-height: 340px;
    aspect-ratio: 16/9;
  }

  .why-now-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-now-title {
    position: static;
    font-size: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 40px 40px;
  }

  .footer-col--brand {
    grid-column: 1 / 3;
  }

  .footer-bottom {
    padding: 16px 40px 28px;
  }
}

@media (max-width: 900px) {
  .product-section {
    padding: var(--section-spacing) 32px;
  }

  .why-now-section {
    padding: var(--section-spacing) 32px;
  }

  .linkedin-section {
    padding: var(--section-spacing) 32px;
  }

  .linkedin-posts {
    grid-template-columns: 1fr;
  }

  .linkedin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat-number {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .product-screens {
    grid-template-columns: 1fr;
  }

  .product-screen--main {
    grid-column: 1;
    grid-row: 1;
  }

  .product-screen--main .product-screen-placeholder {
    aspect-ratio: 4/3;
    min-height: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 48px 20px 32px;
  }

  .footer-col--brand {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 28px;
    text-align: center;
  }

  .product-section {
    padding: var(--section-spacing) 20px;
  }

  .why-now-section {
    padding: var(--section-spacing) 20px;
  }

  .linkedin-section {
    padding: var(--section-spacing) 20px;
  }

  .hero-proof {
    flex-direction: column;
    gap: 10px;
  }

  .hero-stat-block {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .hero-stat-number {
    font-size: 30px;
  }

  .product-title {
    font-size: 30px;
  }

  .why-now-title {
    font-size: 28px;
  }

  .linkedin-title {
    font-size: 26px;
  }

  .why-now-quote p {
    font-size: 15px;
  }

  .li-post {
    padding: 20px;
  }

  .feature-card--cta .feature-title {
    font-size: 26px;
  }

  html[data-theme="light"] .feature-card--cta .feature-title {
    font-size: 28px;
  }
}