/* ==========================================================================
   PREVENTA — Marketing Site
   Tesla-inspired dark aesthetic + wellness warmth
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Background palette */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --bg-elevated: #1e1e1e;

  /* Text palette */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #6e6e73;

  /* Accent — teal/emerald wellness gradient */
  --accent: #00d4aa;
  --accent-light: #00f0c0;
  --accent-dark: #00b894;
  --gradient: linear-gradient(135deg, #00d4aa 0%, #00b4d8 50%, #7c3aed 100%);
  --gradient-text: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);

  /* Layout */
  --nav-height: 72px;
  --container-max: 1200px;
  --section-padding: 140px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Borders & Radius */
  --border: 1px solid rgba(255, 255, 255, 0.06);
  --border-hover: 1px solid rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

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

::selection {
  background: rgba(0, 212, 170, 0.3);
  color: var(--text-primary);
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-bottom 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: var(--border);
}

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

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-mark {
  color: var(--accent);
  font-size: 14px;
}

.nav-wellness {
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--text-secondary);
  font-size: 0.85em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Floating gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 212, 170, 0.12);
  top: 15%;
  left: 25%;
  animation: orbFloat1 14s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 450px;
  height: 450px;
  background: rgba(0, 180, 216, 0.10);
  top: 35%;
  right: 15%;
  animation: orbFloat2 18s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: rgba(124, 58, 237, 0.08);
  bottom: 15%;
  left: 15%;
  animation: orbFloat3 12s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, -50px) scale(1.15); }
}

@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -60px) scale(1.2); }
}

/* Keep static gradient for subpage heroes (research, team) */
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 212, 170, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(0, 180, 216, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 30%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient);
  z-index: 1001;
  width: 0%;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn-nav {
  padding: 8px 20px;
  font-size: 12px;
  border-radius: 6px;
  margin-left: 12px;
}

.btn-full {
  width: 100%;
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

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

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
  line-height: 1.7;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-description {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.4s var(--ease);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 170, 0.15);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

/* Mouse-tracking glow overlay */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 212, 170, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Steps / How It Works ---------- */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 32px;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin-top: 32px;
  flex-shrink: 0;
  opacity: 0.4;
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Research ---------- */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.research-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all 0.4s var(--ease);
}

.research-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.research-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}

.research-icon svg {
  width: 100%;
  height: 100%;
}

.research-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.research-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.team-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.team-avatar {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 180, 216, 0.1));
  border: 1px solid rgba(0, 212, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.avatar-placeholder svg {
  width: 40px;
  height: 40px;
}

.avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 170, 0.2);
}


.team-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s var(--ease);
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a1a1a6' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

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

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-error {
  text-align: center;
  font-size: 13px;
  color: #ff6b6b;
  margin-top: 12px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 60px 40px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 40px;
  border-top: var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 720px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
  padding-top: 24px;
  border-top: var(--border);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals for grids */
.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.research-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.research-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.research-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.team-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.team-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.about-stats .stat-card:nth-child(2) { transition-delay: 0.1s; }
.about-stats .stat-card:nth-child(3) { transition-delay: 0.2s; }
.about-stats .stat-card:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Research Page ---------- */
.research-hero {
  position: relative;
  padding: 180px 0 60px;
  overflow: hidden;
}

.research-hero-content {
  max-width: 700px;
}

.research-hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 8px;
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}

.mission-statement {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.mission-detail {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Research identify block */
.research-identify {
  background: var(--bg-card);
  border: var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 48px;
}

.research-identify-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.research-identify-list {
  list-style: none;
  padding: 0;
}

.research-identify-list li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 6px 0 6px 24px;
  position: relative;
}

.research-identify-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.category-number {
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.category-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.category-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.impact-card {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
}

.impact-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.impact-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}

.impact-icon svg {
  width: 100%;
  height: 100%;
}

.impact-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.impact-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Research team (horizontal cards) */
.research-team-card[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.research-team-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 48px auto 0;
}

.research-team-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease);
}

.research-team-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.08);
}

.research-team-card .team-avatar {
  margin-bottom: 0;
  flex-shrink: 0;
}

.research-team-info {
  flex: 1;
}

.research-team-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.research-team-bio + .research-team-bio {
  margin-top: 12px;
}

/* CTA block */
.cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Commitment list */
.commitment-list {
  max-width: 700px;
  margin-top: 48px;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: var(--border);
}

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

.commitment-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.commitment-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA actions */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Staggered reveals for research page */
.categories-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.categories-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.categories-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.categories-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.categories-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.impact-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.impact-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.impact-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.research-team-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.research-team-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    margin-top: 0;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .categories-grid,
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
    --nav-height: 64px;
  }

  /* Scale down hero orbs on mobile */
  .hero-orb-1 { width: 300px; height: 300px; }
  .hero-orb-2 { width: 220px; height: 220px; }
  .hero-orb-3 { width: 180px; height: 180px; }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overscroll-behavior: contain;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 20px;
    padding: 12px 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn-nav {
    margin-left: 0;
    margin-top: 16px;
    padding: 14px 32px;
    font-size: 14px;
  }

  /* Logo - shorten on mobile */
  .nav-logo {
    font-size: 14px;
    letter-spacing: 2px;
  }

  /* Layout */
  .features-grid,
  .research-grid,
  .categories-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .research-team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 28px 24px;
  }

  .research-hero {
    padding: 120px 0 50px;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .section-title {
    letter-spacing: -0.5px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .step {
    padding: 0 16px;
  }

  /* Research page */
  .mission-statement {
    font-size: 18px;
  }

  .research-identify {
    padding: 24px 20px;
  }

  .category-card {
    padding: 28px 24px;
  }

  .commitment-item p {
    font-size: 15px;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Feature cards */
  .feature-card {
    padding: 28px 24px;
  }

  /* Stat cards */
  .stat-card {
    padding: 24px 20px;
  }

  /* Section subtitle */
  .section-subtitle {
    font-size: 15px;
    margin-bottom: 48px;
  }

  /* Disclaimer */
  .footer-disclaimer {
    padding: 0 16px;
  }
}

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

  .nav-logo {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .nav-wellness {
    font-size: 0.8em;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .avatar-img {
    width: 80px;
    height: 80px;
  }

  .avatar-placeholder {
    width: 80px;
    height: 80px;
  }

  .team-card {
    padding: 36px 24px;
  }

  .research-team-card {
    padding: 24px 20px;
  }

  .research-team-bio {
    font-size: 13px;
  }

  .footer-brand {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
}
