/* CUSTOM PROPERTIES */
:root {
  --bg: #09080e;
  --panel: rgba(22, 18, 32, 0.82);
  --panel-strong: #161020;
  --text: #f0eaf8;
  --muted: #9b92ab;
  --line: rgba(240, 234, 248, 0.1);
  --amber: #f0b35b;
  --mint: #7ce0c3;
  --rose: #e2748d;
  --violet: #b49ef8;
  --blue: #6c8ef7;

  --glow-amber: rgba(240, 179, 91, 0.35);
  --glow-mint: rgba(124, 224, 195, 0.3);
  --glow-rose: rgba(226, 116, 141, 0.3);
  --glow-violet: rgba(180, 158, 248, 0.3);

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(180, 158, 248, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(240, 179, 91, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(124, 224, 195, 0.09) 0%, transparent 40%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: linear-gradient(to bottom, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

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

h1, h2, h3, p {
  margin-top: 0;
}

/* PROGRESS BAR */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  z-index: 300;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px var(--glow-mint);
  transition: width 0.08s linear;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.topbar.scrolled {
  border-bottom-color: var(--line);
  background: rgba(9, 8, 14, 0.6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 15px;
  flex-shrink: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--glow-violet));
}

.nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 8, 14, 0.5);
}

.nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.hamburger:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 8, 14, 0.97);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0 24px;
}

.mobile-nav__link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  font-size: clamp(26px, 8vw, 38px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--muted);
  border-radius: 20px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav__close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.mobile-nav__hint {
  position: absolute;
  bottom: 32px;
  color: rgba(155,146,171,0.4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 24px 96px;
  position: relative;
  z-index: 2;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: 600px;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(124, 224, 195, 0.25);
  border-radius: 999px;
  background: rgba(124, 224, 195, 0.06);
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  background: linear-gradient(160deg, #ffffff 0%, #c8beff 45%, #7ce0c3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  max-width: 640px;
  color: #c4bdd0;
  font-size: 18px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: #130f00;
  background: linear-gradient(135deg, #f5c06a, var(--amber) 60%, #e89530);
  box-shadow: 0 8px 24px var(--glow-amber);
}

.button--primary:hover {
  box-shadow: 0 16px 40px var(--glow-amber);
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  border-radius: inherit;
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* HERO VISUAL */
.hero__visual {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(180, 158, 248, 0.15);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(180,158,248,0.07), rgba(255,255,255,0.02));
  box-shadow: var(--shadow), 0 0 60px rgba(180, 158, 248, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  pointer-events: none;
}

.hero__nucleus {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero__nucleus-glow {
  position: absolute;
  inset: -28px;
  background: radial-gradient(circle, rgba(180,158,248,0.35), transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero__nucleus-icon {
  position: relative;
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 12px var(--glow-violet)) brightness(1.3);
  animation: rotate 20s linear infinite;
  z-index: 4;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

.orbit {
  position: absolute;
  border: 1px solid rgba(124, 224, 195, 0.2);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.orbit--one {
  width: 340px;
  height: 340px;
  left: 50%;
  top: 50%;
  margin: -170px 0 0 -170px;
  border-color: rgba(180, 158, 248, 0.2);
}

.orbit--two {
  width: 220px;
  height: 220px;
  left: 50%;
  top: 50%;
  margin: -110px 0 0 -110px;
  border-color: rgba(226, 116, 141, 0.22);
  animation-duration: 14s;
  animation-direction: reverse;
}

.orbit--three {
  width: 440px;
  height: 440px;
  left: 50%;
  top: 50%;
  margin: -220px 0 0 -220px;
  border-color: rgba(124, 224, 195, 0.1);
  animation-duration: 32s;
}

.formula-card {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 5px;
  min-width: 160px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(10, 8, 18, 0.82);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.formula-card span {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #f0eaf8;
}

.formula-card small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.formula-card:nth-of-type(3) {
  left: 36px;
  top: 60px;
  border-color: rgba(180, 158, 248, 0.2);
  box-shadow: 0 0 24px rgba(180, 158, 248, 0.12), 0 16px 44px rgba(0,0,0,0.4);
}

.formula-card--accent {
  right: 32px;
  top: 200px;
  border-color: rgba(124, 224, 195, 0.2);
  box-shadow: 0 0 24px rgba(124, 224, 195, 0.1), 0 16px 44px rgba(0,0,0,0.4);
}

.formula-card--warm {
  left: 64px;
  bottom: 60px;
  border-color: rgba(240, 179, 91, 0.22);
  box-shadow: 0 0 24px rgba(240, 179, 91, 0.1), 0 16px 44px rgba(0,0,0,0.4);
}

.float-card {
  animation: float 5s ease-in-out infinite;
}

.delay-1 { animation-delay: -1.6s; }
.delay-2 { animation-delay: -3.2s; }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 100px;
}

.stats article {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stats article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  opacity: 0;
  transition: opacity 0.3s;
}

.stats article:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.stats article:hover::before {
  opacity: 1;
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* SECTIONS */
.section {
  margin-top: 110px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  background: linear-gradient(140deg, #ffffff 0%, #d0c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* TOPIC GRID */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.28s var(--ease-spring), border-color 0.25s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(180, 158, 248, 0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(180, 158, 248, 0.1);
}

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

.topic-card:nth-child(3n+1):hover {
  border-color: rgba(124, 224, 195, 0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(124, 224, 195, 0.1);
}
.topic-card:nth-child(3n+2):hover {
  border-color: rgba(240, 179, 91, 0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(240, 179, 91, 0.1);
}
.topic-card:nth-child(3n):hover {
  border-color: rgba(226, 116, 141, 0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(226, 116, 141, 0.1);
}

.topic-card--wide {
  grid-column: span 3;
  min-height: auto;
}

.topic-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #0a0812;
  background: var(--mint);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(124, 224, 195, 0.3);
}

.topic-card:nth-child(3n+2) .topic-card__icon {
  background: var(--amber);
  box-shadow: 0 4px 14px rgba(240, 179, 91, 0.3);
}

.topic-card:nth-child(3n) .topic-card__icon {
  background: var(--rose);
  box-shadow: 0 4px 14px rgba(226, 116, 141, 0.3);
}

.topic-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.topic-card p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 14px;
  margin-bottom: 0;
}

/* PRIORITY SECTION */
.priority__layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.formula-list {
  display: grid;
  gap: 10px;
}

.formula-item {
  width: 100%;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s var(--ease-spring);
}

.formula-item:hover {
  transform: translateX(4px);
}

.formula-item:hover, .formula-item.is-active {
  border-color: rgba(124, 224, 195, 0.45);
  background: rgba(124, 224, 195, 0.07);
}

.formula-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.formula-item b {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.note-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(240, 179, 91, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(240, 179, 91, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow), 0 0 40px rgba(240, 179, 91, 0.05);
}

.note-panel img {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 8px var(--glow-amber));
}

.note-panel h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

.note-panel p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 0;
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease-spring), border-color 0.25s ease, box-shadow 0.28s ease;
}

.timeline article:hover {
  transform: translateY(-6px);
  border-color: rgba(180, 158, 248, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(180, 158, 248, 0.08);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 44px;
  border-radius: 12px;
  background: rgba(240, 179, 91, 0.1);
  border: 1px solid rgba(240, 179, 91, 0.25);
  color: var(--amber);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
}

.timeline h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 14px;
  margin-bottom: 0;
}

/* FINAL CARD */
.final-card {
  margin-top: 110px;
  padding: clamp(32px, 6vw, 60px);
  border: 1px solid rgba(226, 116, 141, 0.3);
  border-radius: 40px;
  background:
    radial-gradient(ellipse at 95% 15%, rgba(226, 116, 141, 0.22), transparent 50%),
    radial-gradient(ellipse at 10% 85%, rgba(180, 158, 248, 0.12), transparent 50%),
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow), 0 0 60px rgba(226, 116, 141, 0.06);
  position: relative;
  overflow: hidden;
}

.final-card h2 {
  margin-bottom: 20px;
  color: var(--rose);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.06em;
  -webkit-text-fill-color: var(--rose);
  background: none;
}

.final-card p {
  max-width: 860px;
  margin-bottom: 0;
  font-size: 20px;
  color: #c4bdd0;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  position: relative;
  z-index: 2;
}

.footer a {
  color: var(--mint);
  font-weight: 700;
  transition: opacity 0.2s;
}

.footer a:hover {
  opacity: 0.7;
}

/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(22, 16, 32, 0.9);
  border: 1px solid rgba(180, 158, 248, 0.3);
  color: var(--violet);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-spring), box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  border-color: rgba(180, 158, 248, 0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px var(--glow-violet);
  transform: translateY(-3px) scale(1.05);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #0f0d18;
  border: 1px solid rgba(180, 158, 248, 0.15);
  border-radius: 28px;
  width: 100%;
  max-width: 760px;
  padding: 44px;
  position: relative;
  transform: translateY(32px) scale(0.96);
  transition: transform 0.38s var(--ease-spring), opacity 0.3s ease;
  opacity: 0;
  margin: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 60px rgba(180, 158, 248, 0.06);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 38px; height: 38px;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  transform: scale(1.1);
}

.modal-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.modal h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #e8e0ff, var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.modal-subtitle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.modal-section {
  margin-bottom: 32px;
}

.modal-section h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.modal-section h3::before {
  content: '';
  width: 3px; height: 16px;
  background: linear-gradient(to bottom, var(--violet), var(--blue));
  border-radius: 2px;
  flex-shrink: 0;
}

.modal-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 10px;
}

.modal-section p strong {
  color: var(--text);
  font-weight: 700;
}

.modal-formula-box {
  background: rgba(108,142,247,0.07);
  border: 1px solid rgba(108,142,247,0.18);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0;
  font-family: 'Courier New', 'Menlo', 'Monaco', monospace;
  font-size: 0.9rem;
  color: #8aadff;
  line-height: 2.2;
}

.modal-formula-box span {
  display: inline-block;
  margin-right: 20px;
  font-weight: 700;
}

.modal-formula-box small {
  color: var(--muted);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.tip-box {
  background: rgba(124,224,195,0.06);
  border: 1px solid rgba(124,224,195,0.18);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--mint);
  line-height: 1.75;
}

.tip-box strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

/* RESPONSIVE - TABLET */
@media (max-width: 960px) {
  .hero, .priority__layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
  }

  .hero__visual {
    min-height: 400px;
  }

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

  .topic-card--wide {
    grid-column: span 2;
  }

  .note-panel {
    position: static;
  }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 680px) {
  .topbar {
    padding: 14px 18px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  main {
    padding: 20px 18px 72px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 54px);
    letter-spacing: -0.05em;
    line-height: 0.95;
  }

  .lead {
    font-size: 16px;
  }

  .hero {
    gap: 24px;
  }

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

  .hero__actions .button {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
  }

  .hero__visual {
    min-height: 260px;
    border-radius: 28px;
  }

  .hero__visual::after {
    border-radius: 22px;
    inset: 12px;
  }

  .orbit--one {
    width: 210px;
    height: 210px;
    margin: -105px 0 0 -105px;
  }

  .orbit--two {
    width: 138px;
    height: 138px;
    margin: -69px 0 0 -69px;
  }

  .orbit--three {
    width: 270px;
    height: 270px;
    margin: -135px 0 0 -135px;
  }

  .hero__nucleus-icon {
    width: 36px;
    height: 36px;
  }

  .formula-card {
    min-width: 110px;
    padding: 11px 14px;
    border-radius: 14px;
  }

  .formula-card span {
    font-size: 18px;
  }

  .formula-card small {
    font-size: 10px;
  }

  .formula-card:nth-of-type(3) {
    left: 14px;
    top: 22px;
  }

  .formula-card--accent {
    right: 12px;
    top: 110px;
  }

  .formula-card--warm {
    left: 18px;
    bottom: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0 56px;
  }

  .stats article {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 20px;
  }

  .stats strong {
    font-size: 36px;
    margin-bottom: 0;
    min-width: 60px;
  }

  .section {
    margin-top: 64px;
  }

  .section__head {
    display: block;
    margin-bottom: 20px;
  }

  .section h2 {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: 6px;
  }

  .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .topic-grid, .timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .topic-card {
    min-height: auto;
    padding: 20px 18px;
    border-radius: 22px;
  }

  .topic-card:hover {
    transform: none;
  }

  .topic-card--wide {
    grid-column: auto;
  }

  .topic-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 14px;
  }

  .topic-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .priority__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .formula-item {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .formula-item b {
    font-size: 16px;
  }

  .note-panel {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .note-panel img {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .note-panel h3 {
    font-size: 20px;
  }

  .timeline article {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .timeline article:hover {
    transform: none;
  }

  .timeline span {
    margin-bottom: 28px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px;
  }

  .timeline h3 {
    font-size: 17px;
  }

  .final-card {
    margin-top: 64px;
    padding: 26px 22px;
    border-radius: 28px;
  }

  .final-card h2 {
    font-size: 28px;
  }

  .final-card p {
    font-size: 16px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 18px 36px;
    font-size: 13px;
  }

  .scroll-top {
    bottom: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* MODAL MOBILE */
@media (max-width: 680px) {
  .modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .modal {
    border-radius: 28px 28px 0 0 !important;
    padding: 32px 20px 44px !important;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .modal::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 0 auto 24px;
  }

  .modal h2 {
    font-size: 1.4rem !important;
  }
}
