:root {
  --bg: #07101d;
  --bg-2: #09182d;
  --bg-soft: rgba(10, 20, 38, 0.72);
  --panel: rgba(10, 19, 36, 0.76);
  --panel-strong: rgba(9, 19, 37, 0.9);
  --line: rgba(122, 208, 255, 0.16);
  --line-strong: rgba(122, 208, 255, 0.28);
  --text: #edf5ff;
  --muted: #b7cae5;
  --soft: #90a8ca;
  --accent: #86deff;
  --accent-2: #5d88ff;
  --accent-3: #88f2ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1280px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(93, 136, 255, 0.2), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(134, 222, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #07101b 0%, #06101c 38%, #08111f 100%);
}

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

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

.site-shell {
  position: relative;
  isolation: isolate;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(65px);
  opacity: 0.58;
  z-index: -4;
  pointer-events: none;
}

.orb-1 {
  width: 34rem;
  height: 34rem;
  left: -8rem;
  top: 1rem;
  background: rgba(93, 136, 255, 0.18);
}

.orb-2 {
  width: 30rem;
  height: 30rem;
  right: -8rem;
  bottom: 6rem;
  background: rgba(134, 222, 255, 0.14);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 190, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 190, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.54), transparent 94%);
  z-index: -5;
  pointer-events: none;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 80% 35%, rgba(255,255,255,0.45) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 50% 70%, rgba(255,255,255,0.32) 0 0.7px, transparent 0.8px);
  background-size: 18px 18px, 22px 22px, 26px 26px;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 33, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 220ms ease;
}

.desktop-nav a:hover,
.link-row a:hover,
.side-dot:hover span,
.micro-note a:hover {
  color: var(--text);
}

.side-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
}

.side-dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.side-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(141, 190, 255, 0.46);
  background: rgba(255,255,255,0.05);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.side-dot span {
  opacity: 0;
  transform: translateX(6px);
  color: var(--muted);
  font-size: 0.84rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.side-dot:hover span,
.side-dot.active span {
  opacity: 1;
  transform: translateX(0);
}

.side-dot.active::before {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  transform: scale(1.15);
}

.snap-container {
  scroll-snap-type: y mandatory;
}

.panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  padding: 112px 0 76px;
}

.panel-inner {
  width: var(--container);
}

.hero-center-wrap {
  display: grid;
  gap: 24px;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  padding: 50px 52px 44px;
}

.premium-hero-card {
  background:
    radial-gradient(circle at 18% 50%, rgba(134, 222, 255, 0.08), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(93, 136, 255, 0.11), transparent 22%),
    linear-gradient(180deg, rgba(11, 22, 42, 0.9), rgba(8, 17, 33, 0.82));
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 52% 14%, rgba(134, 222, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 56%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.hero-layout-balanced {
  min-height: 420px;
}

.hero-copy-side {
  text-align: left;
  max-width: 720px;
  align-self: center;
}

.hero-badge-row-desktop {
  justify-content: flex-start;
  margin-bottom: 34px;
}

.hero-badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 208, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.14em;
  margin: 0;
}

.hero-avatar-block {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 100%;
}

.hero-avatar-side {
  justify-self: center;
  align-self: center;
  width: 100%;
}

.avatar-aura {
  position: absolute;
  width: min(30vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 222, 255, 0.18), rgba(93, 136, 255, 0.08) 46%, transparent 68%);
  filter: blur(14px);
  opacity: 0.9;
}

.avatar-shell {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}

.hero-avatar-shell {
  width: min(100%, 284px);
  padding: 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(134, 222, 255, 0.16), rgba(93, 136, 255, 0.14));
  border: 1px solid rgba(122, 208, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 0 8px rgba(122, 208, 255, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.36);
}

.avatar-shell img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.section-heading-centered,
.feature-card-centered,
.stat-card-centered {
  text-align: center;
}

.hero-copy h1,
.section-heading h2,
.cta-box h2,
.author-name {
  margin: 0 0 16px;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 6.3vw, 5.4rem);
  line-height: 0.98;
  max-width: 100%;
}

.section-heading h2,
.cta-box h2,
.author-name {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.hero-kicker,
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero-kicker {
  margin: 0 0 14px;
}

.hero-handle {
  margin: 0 0 20px;
  color: rgba(237, 245, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lead,
.section-heading p,
.author-copy p,
.cta-box p,
.feature-card p,
.wide-panel p,
.stat-card p,
.glass-card p {
  color: var(--muted);
  line-height: 1.76;
  font-size: 1.03rem;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.center-actions {
  justify-content: center;
}

.micro-note {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--soft);
}

.micro-note a {
  color: var(--accent);
  transition: color 220ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

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

.button-primary {
  color: #07101b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(93, 136, 255, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: rgba(141, 190, 255, 0.22);
  background: rgba(255,255,255,0.02);
}

.button-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.inline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.inline-points-centered {
  justify-content: center;
}

.inline-points li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 0.92rem;
}

.glass-card {
  background: linear-gradient(180deg, rgba(11, 22, 42, 0.84), rgba(8, 17, 33, 0.74));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.accent-border {
  position: relative;
  overflow: hidden;
}

.accent-border::after {
  content: "";
  position: absolute;
  inset: auto -14% -42% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(134, 222, 255, 0.18), transparent 62%);
  pointer-events: none;
}

.premium-stat-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.cta-box,
.wide-panel {
  padding: 24px;
}

.stat-card {
  min-height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.card-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.stat-value {
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.panel-center-stack {
  display: grid;
  gap: 30px;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 220px;
}

.feature-card h3,
.wide-panel h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.wide-panel {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.author-panel {
  display: grid;
  gap: 28px;
}

.author-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.author-eyebrow {
  margin: 0;
}

.author-photo-shell {
  width: 214px;
  height: 214px;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(134, 222, 255, 0.16), rgba(93, 136, 255, 0.14));
  border: 1px solid rgba(122, 208, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 0 10px rgba(122, 208, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.36);
}

.author-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 38px 40px;
}

.author-photo-wrap {
  display: flex;
  justify-content: center;
}

.author-photo {
  width: 190px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  clip-path: circle(50% at 50% 50%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(122, 208, 255, 0.18);
}

.author-subtitle {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 1rem;
}

.author-copy-side {
  text-align: left;
  max-width: 760px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
}

.link-row-centered {
  justify-content: center;
}

.link-row a {
  color: var(--accent);
}

.cta-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 28px;
  text-align: center;
}

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 28px;
}

.footer p {
  margin: 0;
  text-align: center;
  color: var(--soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-delay { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 220ms; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease;
}

.tilt-card:hover {
  border-color: var(--line-strong);
}

@media (max-width: 1100px) {
  .cards-grid-3,
  .premium-stat-grid {
    grid-template-columns: 1fr;
  }

  .wide-panel {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 920px) {
  .hero-layout,
  .author-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-copy-side,
  .author-copy-side,
  .hero-lead {
    max-width: 100%;
    text-align: center;
  }

  .author-intro {
    gap: 16px;
  }

  .hero-badge-row-desktop,
  .hero-actions,
  .link-row,
  .inline-points {
    justify-content: center;
  }

  .hero-avatar-block {
    margin-bottom: 8px;
  }

  .micro-note {
    text-align: center;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .side-nav {
    display: none;
  }

  .topbar {
    width: min(100vw - 24px, 1200px);
    padding: 12px 14px;
  }

  .panel {
    min-height: auto;
    padding: 108px 0 42px;
    scroll-snap-align: none;
  }

  .snap-container {
    scroll-snap-type: none;
  }

  .brand em {
    display: none;
  }

  .hero-surface {
    padding: 34px 18px 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .cards-grid-3,
  .premium-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-avatar-shell {
    width: min(72vw, 258px);
  }

  .hero-layout {
    gap: 24px;
  }
}

@media (max-width: 580px) {
  :root {
    --container: min(100vw - 24px, 1200px);
  }

  .button,
  .button-sm {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .chip {
    width: 100%;
  }

  .author-card {
    padding: 24px 18px;
  }

  .author-photo-shell {
    width: 184px;
    height: 184px;
  }

  .author-photo {
    width: 162px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .tilt-card,
  .button,
  .side-dot::before,
  .side-dot span {
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
