/* ============================================================
   ELUCENT.AI — Design System & Stylesheet
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --bg-base:        #07070d;
  --bg-surface:     #0f0f1a;
  --bg-elevated:    #14141f;

  --border-subtle:  rgba(255,255,255,0.06);
  --border-glow:    rgba(99,102,241,0.4);

  --indigo:         #6366f1;
  --violet:         #8b5cf6;
  --blue:           #3b82f6;
  --amber:          #f59e0b;

  --grad-primary:   linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #3b82f6 100%);
  --grad-text:      linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 60%, #93c5fd 100%);
  --grad-glow:      radial-gradient(ellipse 80% 50% at 50% -5%, rgba(99,102,241,0.22), transparent 70%);

  --text-primary:   rgba(255,255,255,0.95);
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted:     rgba(255,255,255,0.35);

  --shadow-card:    0 0 0 1px var(--border-subtle), 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow:    0 0 48px rgba(99,102,241,0.22);

  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --section-py:     clamp(80px, 10vw, 128px);
  --container:      min(1200px, 100% - 3rem);
  --radius-card:    16px;
  --radius-pill:    9999px;
  --ease-expo:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input { font: inherit; }

/* ── Utility ─────────────────────────────────────────────── */
.container { width: var(--container); margin-inline: auto; }

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

.section-overline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,7,13,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,13,0.92);
  border-bottom-color: var(--border-subtle);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.nav-logo span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(99,102,241,0.38);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(165,180,252,0.38);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 22px rgba(99,102,241,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease, transform 0.2s var(--ease-expo);
}
.btn-primary:hover {
  background: rgba(99,102,241,0.55);
  border-color: rgba(165,180,252,0.55);
  box-shadow: 0 0 36px rgba(99,102,241,0.5), inset 0 1px 0 rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.2s ease, transform 0.2s var(--ease-expo);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.38);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  padding: 4px 0;
}
@media (min-width: 768px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-expo), opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger span:nth-child(3) { width: 16px; }

.nav.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(7,7,13,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s var(--ease-expo);
}
.mobile-menu.open { clip-path: inset(0 0 0% 0); }
.mobile-menu a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.mobile-menu a:hover { color: var(--text-primary); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  padding: 72px 1.5rem 72px;
}

/* Three.js nebula canvas — fixed to viewport so page scrolls over it */
.hero canvas[data-nebula] {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

/* Gradient fade at bottom of hero — eased stops prevent banding on dark bg */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 280px;
  background: linear-gradient(
    to bottom,
    rgba(7,7,13,0)    0%,
    rgba(7,7,13,0.05) 12%,
    rgba(7,7,13,0.15) 24%,
    rgba(7,7,13,0.32) 38%,
    rgba(7,7,13,0.54) 52%,
    rgba(7,7,13,0.74) 65%,
    rgba(7,7,13,0.89) 78%,
    rgba(7,7,13,0.97) 90%,
    #07070d           100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* ── Hero lockup ─────────────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(195,210,255,0.88);
  background: rgba(165,180,252,0.08);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(165,180,252,0.22);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  animation: fadeUp 0.8s var(--ease-expo) 0s both;
}

.hero-lockup {
  width: 100%;
  animation: fadeUp 0.9s var(--ease-expo) 0.1s both;
}

/* ELUCENT wordmark */
.hero-wordmark {
  font-size: clamp(3rem, 11vw, 8.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(210,218,255,0.93) 45%, rgba(195,212,255,0.95) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 48px rgba(139,92,246,0.6)) drop-shadow(0 0 16px rgba(99,102,241,0.35));
}

.hero-headline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 560px;
  animation: fadeUp 0.8s var(--ease-expo) 0.35s both;
}

.hero-sub {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.75;
  animation: fadeUp 0.8s var(--ease-expo) 0.45s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 0.8s var(--ease-expo) 0.55s both;
}
.hero-ctas .btn-primary { padding: 14px 32px; font-size: 0.95rem; }
.hero-ctas .btn-ghost   { padding: 14px 32px; font-size: 0.95rem; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
  animation: fadeUp 1s var(--ease-expo) 0.6s both;
}
.scroll-indicator svg {
  /* no animation */
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

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

/* ── Mission ─────────────────────────────────────────────── */
.mission-section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
  background: var(--bg-base);
}

.mission-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .mission-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.mission-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.mission-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* Mission visual card */
.mission-visual {
  position: relative;
}

.mission-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
  animation: pulse-glow 4s ease-in-out infinite;
  overflow: hidden;
  position: relative;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-card), 0 0 24px rgba(99,102,241,0.1); }
  50%       { box-shadow: var(--shadow-card), 0 0 48px rgba(99,102,241,0.25); }
}

.mission-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* ── Products ────────────────────────────────────────────── */
.products-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-headline {
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-expo), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.product-card:hover::before { opacity: 1; }

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 24px; height: 24px; }

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.05em;
}
.product-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber);
  flex-shrink: 0;
}
.product-status--live {
  color: #10b981;
}
.product-status--live::before {
  display: none;
}


.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-tagline {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: auto;
  transition: gap 0.2s ease;
}
.product-link:hover { gap: 8px; }

/* ── Why Elucent ─────────────────────────────────────────── */
.why-section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
  background: var(--bg-base);
}

.why-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(3rem, 5vw, 4rem);
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }

.why-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 32px rgba(99,102,241,0.1);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-icon svg { width: 22px; height: 22px; }

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Founder ─────────────────────────────────────────────── */
.founder-section {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
}

.founder-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: auto 1fr; gap: 5rem; }
}

.founder-photo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  border: 1px solid var(--border-glow);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--bg-elevated);
  box-shadow: 0 0 32px rgba(99,102,241,0.15);
}
.founder-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(99,102,241,0.18) 0%,
    rgba(139,92,246,0.1) 50%,
    rgba(59,130,246,0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.founder-overline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.founder-name {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.founder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.founder-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glow);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.founder-bio p + p { margin-top: 1rem; }

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap 0.2s ease;
}
.founder-link:hover { gap: 10px; }

/* ── Investor CTA ────────────────────────────────────────── */
.investor-section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-base);
}
.investor-section::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.22) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.investor-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.investor-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.investor-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* Contact form */
.contact-form {
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 0;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.form-group input,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-glow);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.form-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill-option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 13px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  user-select: none;
}
.pill-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.pill-option:hover {
  border-color: rgba(99,102,241,0.45);
  color: var(--text-primary);
}
.pill-option:has(input:checked) {
  border-color: var(--indigo);
  background: rgba(99,102,241,0.14);
  color: var(--text-primary);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.25rem;
}

.form-submit {
  padding: 12px 28px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.form-submit:hover:not(:disabled) { opacity: 0.85; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-success {
  font-size: 1rem;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 1.5rem;
  text-align: center;
}
.form-error {
  font-size: 0.825rem;
  color: #f87171;
  margin-top: 0.5rem;
  text-align: center;
}

.investor-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: var(--bg-base);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer-logo svg { width: 22px; height: 22px; }
.footer-logo span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}
.footer-social svg { width: 18px; height: 18px; }

/* ── Credential Card (mission visual) ───────────────────── */
.cred-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0;
  overflow: hidden;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
}

.cred-icon-wrap {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(165,180,252,0.08);
  border: 1px solid rgba(165,180,252,0.14);
  border-radius: 8px;
  margin-top: 2px;
}
.cred-icon-wrap svg { width: 18px; height: 18px; }

.cred-text { flex: 1; min-width: 0; }

.cred-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.cred-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  flex-shrink: 0;
}

.cred-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.cred-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cred-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0 1.5rem;
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
