/* ═══════════════════════════════════════════
       CSS VARIABLES / DESIGN TOKENS
       ═══════════════════════════════════════════ */
:root {
  /* === NEW MICRO-INTERACTION TOKENS === */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-smooth: 300ms;

  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-elevated: #f4f4f3;
  --bg-hover: #eaeae8;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.12);
  --text-primary: #121212;
  --text-secondary: #5e5e5e;
  --text-tertiary: #929292;
  --accent: #121212;
  --accent-dim: rgba(18, 18, 18, 0.06);
  --accent-glow: rgba(87, 70, 175, 0.04);
  --accent-purple: #5746af;
  --accent-purple-dim: rgba(87, 70, 175, 0.08);
  --white: #ffffff;
  --error: #e5484d;
  --success: #22c55e;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Satoshi', -apple-system, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 140px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Easing - The "Buttery" Smooth Curves */
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  /* ease-out-expo, very dramatic finish */
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  /* ease-out-quint */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  /* Slight bouncy overshoot */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ═══════════════════════════════════════════
       RESET & BASE
       ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "rlig" 1, "calt" 1;
  overflow-x: hidden;
}

::selection {
  background: rgba(87, 70, 175, 0.15);
  color: var(--accent-purple);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* ═══════════════════════════════════════════
       NOISE / GRAIN OVERLAY
       ═══════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {

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

  10% {
    transform: translate(-5%, -10%);
  }

  30% {
    transform: translate(3%, -15%);
  }

  50% {
    transform: translate(12%, 9%);
  }

  70% {
    transform: translate(9%, 4%);
  }

  90% {
    transform: translate(-1%, 7%);
  }
}

/* ═══════════════════════════════════════════
       LAYOUT
       ═══════════════════════════════════════════ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ═══════════════════════════════════════════
       NAV
       ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px var(--space-xl);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 300ms var(--ease-smooth), opacity 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth), color 300ms var(--ease-smooth), background-color 300ms var(--ease-smooth);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: opacity 200ms var(--ease-smooth);
}

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

.nav-logo {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--accent-purple), #382c78);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.5px;
  padding-top: 1px;
  /* Optical alignment for M */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(87, 70, 175, 0.25);
}

.nav-name {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transform: translateY(0.5px);
  /* Optical baseline alignment */
}

.nav-name span {
  color: var(--text-tertiary);
}

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















/* ═══════════════════════════════════════════
       HERO
       ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-4xl) + 60px) var(--space-xl) var(--space-4xl);
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.03em;
  animation: fadeUp 600ms var(--ease-slow) both;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 300ms var(--ease-smooth), box-shadow 200ms var(--ease-smooth), background-color 200ms var(--ease-smooth), border-color 200ms var(--ease-smooth);
}

.hero-badge:hover {
  background: var(--bg-hover);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}

.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.4;
  animation: pulse 2.5s var(--ease-in-out) infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-lg);
  animation: fadeUp 600ms var(--ease-slow) 0.1s both;
  color: var(--text-primary);
}

.hero-title em {
  font-style: italic;
  color: var(--accent-purple);
  padding-right: 4px;
  /* Fix clipping for italics */
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
  font-weight: 400;
  animation: fadeUp 600ms var(--ease-slow) 0.2s both;
}

/* Email form */
.hero-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth), background-color 300ms var(--ease-smooth);
  animation: fadeUp 600ms var(--ease-slow) 0.3s both;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.hero-form:focus-within {
  border-color: rgba(87, 70, 175, 0.4);
  box-shadow: 0 0 0 4px var(--accent-purple-dim), 0 8px 30px rgba(0, 0, 0, 0.06);
}

.hero-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  /* Fix input vert alignment */
}

.hero-form input::placeholder {
  color: var(--text-tertiary);
  font-weight: 400;
}







.hero-form button .icon {
  margin-left: 6px;
  transition: transform 200ms var(--ease-spring);
}

.hero-form button:hover .icon {
  transform: translateX(3px);
}

.hero-meta {
  margin-top: calc(var(--space-md) + 4px);
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  animation: fadeUp 600ms var(--ease-slow) 0.4s both;
}

.hero-meta span {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
       SOCIAL PROOF TICKER
       ═══════════════════════════════════════════ */
.proof {
  padding: var(--space-xl) 0;
  position: relative;
}

.proof::before,
.proof::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.proof::before {
  top: 0;
}

.proof::after {
  bottom: 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-lg), 8vw, var(--space-4xl));
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
  padding: 12px;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-top: var(--space-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
       SAMPLE ISSUE
       ═══════════════════════════════════════════ */
.sample {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent-purple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.sample-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transform: translateY(0);
  transition: transform 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth), border-color 300ms var(--ease-smooth), background-color 300ms var(--ease-smooth);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 2px 10px rgba(0, 0, 0, 0.01);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.sample-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.sample-card:hover {
  border-color: rgba(87, 70, 175, 0.3);
  box-shadow: 0 0 0 1px rgba(87, 70, 175, 0.1), 0 10px 40px rgba(0, 0, 0, 0.04);
}

.sample-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sample-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.sample-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-purple);
  background: var(--accent-purple-dim);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.sample-body {
  padding: 0 var(--space-xl);
}



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

.sample-item-category {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.sample-item-category span {
  margin-right: 6px;
  font-size: 13px;
}



.sample-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sample-item-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-top: 14px;
}

.sample-item-source::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-medium);
}

/* ═══════════════════════════════════════════
       FEATURES / HOW IT WORKS
       ═══════════════════════════════════════════ */
.features {
  padding: var(--space-4xl) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}



.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
}







.feature-card:hover .feature-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
       SOURCES MARQUEE
       ═══════════════════════════════════════════ */
.sources {
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sources::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.sources-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}





.source-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.source-badge .dot--discord {
  background: #5865F2;
}

.source-badge .dot--github {
  background: #24292f;
}

.source-badge .dot--twitter {
  background: #000000;
}

.source-badge .dot--telegram {
  background: #2AABEE;
}

.source-badge .dot--reddit {
  background: #FF4500;
}

.source-badge .dot--arxiv {
  background: #B31B1B;
}

/* ═══════════════════════════════════════════
       CTA SECTION
       ═══════════════════════════════════════════ */
.cta {
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.02);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 10;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center -20%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box .section-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  position: relative;
  z-index: 2;
}

.cta-box .hero-sub {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-bottom: var(--space-lg);
}

.cta-box .hero-form {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}

.cta-box .hero-meta {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════
       FOOTER
       ═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-brand .nav-logo {
  width: 20px;
  height: 20px;
  font-size: 9px;
  background: var(--text-tertiary);
  box-shadow: none;
}

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





/* ═══════════════════════════════════════════
       ANIMATIONS
       ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {

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

  50% {
    opacity: 0.2;
    transform: scale(1.8);
  }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-slow), transform 600ms var(--ease-slow);
}

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

/* ═══════════════════════════════════════════
       RESPONSIVE
       ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links .nav-link {
    display: none;
  }

  .nav {
    padding: 12px var(--space-lg);
  }

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

  .hero {
    padding-top: calc(var(--space-4xl) + 40px);
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .proof {
    padding: var(--space-2xl) 0;
  }

  .proof-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-sm);
  }

  .proof-item {
    padding: 0;
  }

  .proof-number {
    font-size: 2.2rem;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .section-label {
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .section-title {
    margin-top: 0;
  }

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

  .hero-form {
    flex-direction: column;
    border-radius: calc(var(--radius-md) + 2px);
  }

  .hero-form input {
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-xl);
    text-align: center;
  }

  .cta-box {
    padding: var(--space-2xl) var(--space-lg);
  }

  .sources-row {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sample-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════
       ACCESSIBILITY
       ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════
   MICRO-INTERACTION SYSTEM (REWRITTEN)
   ═══════════════════════════════════════════ */

/* === NAV LINKS — add lift === */
.nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-out-expo),
    letter-spacing var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-smooth) var(--ease-out-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* === BUTTONS — lift + press === */
.nav-cta,
.hero-form button {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-spring),
    box-shadow var(--duration-normal) var(--ease-out-expo),
    background-color var(--duration-normal) var(--ease-out-expo);
}

.hero-form button {
  font-size: 13px;
  padding: 0 28px;
  border: none;
  margin: 4px;
  border-radius: calc(var(--radius-md) - 4px);
}

.hero-form button .icon {
  margin-left: 6px;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.hero-form button:hover .icon {
  transform: translateX(4px);
}

.nav-cta:hover,
.hero-form button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 6px 16px rgba(0, 0, 0, 0.15);
  background: #202020;
}

.nav-cta:active,
.hero-form button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition-duration: var(--duration-instant);
}

/* === FEATURE CARDS — lift + icon pop === */
.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.015);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-smooth) var(--ease-out-expo),
    border-color var(--duration-smooth) var(--ease-out-expo),
    box-shadow var(--duration-smooth) var(--ease-out-expo),
    background var(--duration-smooth) var(--ease-out-expo);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-smooth) var(--ease-out-expo);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 70, 175, 0.3);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 1px rgba(87, 70, 175, 0.1), 0 12px 30px rgba(0, 0, 0, 0.04);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  transition: transform var(--duration-smooth) var(--ease-out-back),
    background var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo),
    color var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: var(--accent-purple-dim);
  color: var(--accent-purple);
  border-color: rgba(87, 70, 175, 0.3);
}

/* === SOURCE BADGES — float + pointer === */
.source-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);

  cursor: pointer;
  transition: transform var(--duration-smooth) var(--ease-out-back),
    background-color var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo),
    color var(--duration-normal) var(--ease-out-expo);
}

.source-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent-purple);
  background: var(--bg-secondary);
  box-shadow: 0 6px 16px rgba(87, 70, 175, 0.08);
  color: var(--text-primary);
}

.source-badge .dot {
  transition: transform var(--duration-fast) var(--ease-spring), opacity var(--duration-fast) var(--ease-out-expo);
}

.source-badge:hover .dot {
  transform: scale(1.2);
  opacity: 1;
}

/* === SAMPLE ITEMS — left border reveal + arrow hint === */
.sample-item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  transition: background var(--duration-normal) var(--ease-out-expo);
}

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

.sample-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: var(--space-xl);
  bottom: var(--space-xl);
  width: 3px;
  background: var(--accent-purple);
  transform: scaleY(0);
  transform-origin: center;
  border-radius: 4px;
  transition: transform var(--duration-smooth) var(--ease-out-expo);
}

.sample-item:hover::before {
  transform: scaleY(1);
}

.sample-item h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--duration-normal) var(--ease-out-expo);
}

.sample-item h3::after {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--duration-smooth) var(--ease-out-expo);
}

.sample-item:hover h3 {
  color: var(--accent-purple);
}

.sample-item:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

/* === STATS — hover glow === */
.stat-number {
  transition: transform var(--duration-normal) var(--ease-out-back),
    text-shadow var(--duration-normal) var(--ease-out-expo);
  cursor: default;
}

.stat-number:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(87, 70, 175, 0.2);
  color: var(--accent-purple);
}

/* === EMAIL INPUT — focus glow === */
.hero-form input {
  transition: border-color var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-smooth) var(--ease-out-expo),
    background var(--duration-normal) var(--ease-out-expo);
}

.hero-form:focus-within input {
  background: #fff;
}

.hero-form input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(87, 70, 175, 0.1);
  background: #fff;
  outline: none;
}

/* === FOOTER LINKS — underline slide === */
.footer-link {
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--duration-normal) var(--ease-out-expo);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

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

.footer-link:hover::after {
  transform: scaleX(1);
}

/* === HERO ITALIC SHIMMER === */
.hero-title em {
  font-style: italic;
  padding-right: 4px;
  background: linear-gradient(90deg,
      var(--accent-purple) 0%,
      #8b72d4 40%,
      var(--accent-purple) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

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

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