/* Apex Comics — Landing SPA */

:root {
  --green: #1da11f;
  --green-glow: #2ee632;
  --green-tag-bg: rgba(29, 161, 31, 0.22);
  --green-tag-text: #5dff60;
  --black: #000000;
  --dark: #121212;
  --dark-glass: rgba(18, 18, 18, 0.72);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-soft: rgba(255, 255, 255, 0.38);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-hero: linear-gradient(135deg, #1a0a2e 0%, #0d1b2a 40%, #000 70%);
  --gradient-card: linear-gradient(135deg, #3b5bdb 0%, #7048e8 55%, #5c2d91 100%);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 52px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.ambient__orb--green {
  width: 420px;
  height: 420px;
  background: var(--green);
  top: -8%;
  right: -6%;
  animation-delay: 0s;
}

.ambient__orb--purple {
  width: 520px;
  height: 520px;
  background: #6b2fd8;
  bottom: 10%;
  left: -12%;
  animation-delay: -6s;
}

.ambient__orb--magenta {
  width: 300px;
  height: 300px;
  background: #c026d3;
  top: 45%;
  right: 20%;
  opacity: 0.25;
  animation-delay: -12s;
}

@keyframes orb-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, -30px) scale(1.08);
  }
}

/* Layout */
.page {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Site header — logo left, nav pill beside it */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
}

.site-header--hidden {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.2s;
}

.site-logo:hover {
  opacity: 0.9;
}

.site-logo__icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.site-logo__icon--footer {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}

.site-logo__name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-logo__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-nav__brand {
  align-self: flex-start;
  margin-bottom: 8px;
}

.mobile-nav__brand .site-logo__icon {
  width: 48px;
  height: 48px;
}

.nav {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 12px;
  background: var(--dark-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav__cta {
  padding: 8px 14px;
  background: var(--green);
  color: var(--black);
  white-space: nowrap;
  font-weight: 600;
  margin-left: 2px;
  font-size: 0.8125rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.nav__cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 32px rgba(29, 161, 31, 0.45);
}

.nav__menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  margin-left: 2px;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  background: var(--gradient-hero);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--green-glow);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title span {
  background: linear-gradient(90deg, var(--white) 0%, var(--green-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.2s;
}

.btn--primary {
  background: var(--green);
  color: var(--black);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(29, 161, 31, 0.35);
}

.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Phone mockup */
.phone {
  position: relative;
  justify-self: center;
  width: min(300px, 100%);
}

.phone__frame {
  position: relative;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(145deg, #2a2a2a, #0a0a0a);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(29, 161, 31, 0.12);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.8s var(--ease-out);
}

.phone:hover .phone__frame {
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 2;
}

.phone__screen {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(29, 161, 31, 0.2) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Reading stats section */
.stats {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(106, 76, 255, 0.06) 50%, transparent 100%);
}

.stats-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stats-benefits {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.stats-benefits__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(106, 76, 255, 0.18);
  color: #a78bfa;
  display: grid;
  place-items: center;
}

.stats-benefits strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Stats hero card — mirrors LibraryStatsHero in the app */
.stats-hero__card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.stats-hero:hover .stats-hero__card {
  transform: translateY(-4px);
  box-shadow:
    0 32px 70px rgba(106, 76, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stats-hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/library.png") center 20% / cover no-repeat;
  filter: blur(12px) saturate(1.2);
  transform: scale(1.15);
  opacity: 0.55;
}

.stats-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(106, 76, 255, 0.65) 0%,
    rgba(15, 9, 46, 0.88) 100%
  );
}

.stats-hero__content {
  position: relative;
  z-index: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.stats-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

.stats-hero__title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 6px;
  line-height: 1.15;
}

.stats-hero__metrics {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}

.stats-hero__metric-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stats-hero__metric-icon {
  opacity: 0.9;
}

.stats-hero__metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats-hero__metric-label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
  text-transform: capitalize;
}

.stats-hero__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.stats-hero__footer-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stats-hero__footer-item svg {
  opacity: 0.7;
  flex-shrink: 0;
}

.stats-hero__footer-item strong {
  font-weight: 600;
}

.stats-hero__caption {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted-soft);
  text-align: center;
  line-height: 1.45;
}

/* Section common */
.section {
  padding: 120px 0;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}

/* Feature row */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature--reverse .feature__content {
  order: 2;
}

.feature--reverse .feature__visual {
  order: 1;
}

.feature__list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature__list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--green-tag-bg);
  color: var(--green-glow);
  display: grid;
  place-items: center;
}

.feature__list strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}

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

.feature-card {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 161, 31, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-tag-bg);
  color: var(--green-glow);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* X-Ray showcase */
.xray-showcase {
  margin-top: 64px;
  padding: 48px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.xray-flow {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: xray-step;
}

.xray-flow li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.xray-flow__step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.xray-flow strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.xray-profile {
  margin-top: 28px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.xray-profile__title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-glow);
  margin-bottom: 12px;
}

.xray-profile__fields {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.xray-profile__fields li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.xray-profile__fields li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.xray-showcase__visual {
  text-align: center;
}

.xray-showcase .phone {
  width: 240px;
  margin-inline: auto;
}

.xray-showcase .phone__frame {
  transform: none;
}

.xray-showcase__caption {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted-soft);
}

/* Reader showcase */
.reader-showcase__header {
  max-width: 640px;
  margin-bottom: 40px;
}

.reader-modes {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.reader-modes__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.reader-modes__tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.reader-modes__tab:hover {
  color: var(--white);
  border-color: var(--glass-border);
}

.reader-modes__tab--active {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}

.reader-modes__body {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 0;
}

.reader-preview {
  position: relative;
  padding: 32px 24px;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid var(--glass-border);
  min-height: 280px;
}

.reader-preview__stage {
  position: absolute;
  inset: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}

.reader-preview__stage.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.reader-preview__page {
  background: linear-gradient(145deg, #2a2a35, #1a1a22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Horizontal preview */
.reader-preview__stage--horizontal {
  flex-direction: row;
  gap: 10px;
}

.reader-preview__stage--horizontal .reader-preview__page--current {
  width: 88px;
  height: 120px;
}

.reader-preview__stage--horizontal .reader-preview__page--next {
  width: 72px;
  height: 100px;
  opacity: 0.55;
}

.reader-preview__arrow--h {
  position: absolute;
  bottom: 0;
  font-size: 0.72rem;
  color: var(--green-glow);
  letter-spacing: 0.04em;
}

/* Vertical preview */
.reader-preview__stage--vertical {
  flex-direction: column;
}

.reader-preview__stage--vertical .reader-preview__page--top {
  width: 100px;
  height: 70px;
}

.reader-preview__stage--vertical .reader-preview__page--bottom {
  width: 100px;
  height: 70px;
  opacity: 0.5;
  transform: translateY(8px);
}

.reader-preview__arrow--v {
  font-size: 0.72rem;
  color: var(--green-glow);
  animation: bob-down 1.6s ease-in-out infinite;
}

@keyframes bob-down {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Dual preview */
.reader-preview__stage--dual {
  flex-direction: row;
  gap: 8px;
}

.reader-preview__stage--dual .reader-preview__page--spread {
  width: 72px;
  height: 110px;
}

.reader-preview__badge {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Guided preview */
.reader-preview__stage--guided .reader-preview__page--guided {
  position: relative;
  width: 120px;
  height: 150px;
}

.reader-preview__panel {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.reader-preview__panel--1 {
  top: 8%;
  left: 6%;
  width: 42%;
  height: 38%;
}

.reader-preview__panel--2 {
  top: 8%;
  right: 6%;
  width: 42%;
  height: 38%;
}

.reader-preview__panel--3 {
  bottom: 8%;
  left: 6%;
  right: 6%;
  height: 44%;
}

.reader-preview__panel.is-focus {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(29, 161, 31, 0.45);
  animation: panel-pulse 2s ease-in-out infinite;
}

@keyframes panel-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(29, 161, 31, 0.3); }
  50% { box-shadow: 0 0 24px rgba(29, 161, 31, 0.55); }
}

.reader-preview__arrow--tap {
  font-size: 0.72rem;
  color: var(--green-glow);
}

.reader-modes__panels {
  padding: 28px 32px;
  min-height: 280px;
}

.reader-modes__panel {
  display: none;
  animation: panel-in 0.4s var(--ease-out);
}

.reader-modes__panel.is-active {
  display: block;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reader-modes__panel-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reader-modes__default {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--green-tag-bg);
  color: var(--green-tag-text);
  border-radius: var(--radius-pill);
}

.reader-modes__panel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

.reader-modes__hints {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reader-modes__hints li {
  font-size: 0.85rem;
  color: var(--muted-soft);
  padding-left: 18px;
  position: relative;
}

.reader-modes__hints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.reader-gestures {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin-top: 28px;
  padding: 0;
}

.reader-gestures li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.reader-gestures span:first-child {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--green-glow);
}

/* Publishers */
.publishers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.publisher {
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, color 0.2s;
}

.publisher:hover {
  border-color: rgba(29, 161, 31, 0.5);
  color: var(--white);
}

/* Pricing */
.pricing__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--premium {
  border-color: rgba(29, 161, 31, 0.45);
  background: linear-gradient(
    160deg,
    rgba(29, 161, 31, 0.1) 0%,
    rgba(106, 76, 255, 0.06) 40%,
    var(--glass) 100%
  );
  box-shadow: 0 0 48px rgba(29, 161, 31, 0.12);
}

.pricing-card--premium:hover {
  box-shadow: 0 20px 50px rgba(29, 161, 31, 0.2);
}

.pricing-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--green);
  color: var(--black);
  border-radius: var(--radius-pill);
}

.pricing-card__head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pricing-card__price {
  line-height: 1.1;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-card__period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-card__tagline {
  font-size: 0.88rem;
  color: var(--muted);
}

.pricing-card__tagline--note {
  font-size: 0.78rem;
  color: var(--muted-soft);
  font-style: italic;
}

.pricing-card__list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.pricing-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pricing-card__item--yes {
  color: var(--muted);
}

.pricing-card__item--no {
  color: var(--muted-soft);
}

.pricing-card__item--premium {
  color: var(--white);
}

.pricing-card__item--premium strong {
  color: var(--green-glow);
  font-weight: 600;
}

.pricing-card__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.pricing-card__item--yes .pricing-card__icon,
.pricing-card__item--premium .pricing-card__icon {
  background: var(--green-tag-bg);
  color: var(--green-glow);
}

.pricing-card__item--no .pricing-card__icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-soft);
}

.pricing-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* CTA */
.cta {
  padding: 100px 0 140px;
}

.cta__box {
  text-align: center;
  padding: 80px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(29, 161, 31, 0.15) 0%, rgba(107, 47, 216, 0.12) 50%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
}

.cta__box h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta__box p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* Footer */
.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--glass-border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.footer__brand {
  display: flex;
  align-items: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .feature,
  .xray-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature--reverse .feature__content,
  .feature--reverse .feature__visual {
    order: unset;
  }

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

  .reader-modes__body {
    grid-template-columns: 1fr;
  }

  .reader-preview {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    min-height: 220px;
  }

  .stats-hero__metrics {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .xray-showcase {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 40px;
  }

  .xray-showcase__visual {
    order: -1;
  }

  .site-logo__icon {
    width: 38px;
    height: 38px;
  }

  .site-header .site-logo__text {
    display: none;
  }

  .site-header {
    gap: 12px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav {
    justify-content: flex-end;
    padding: 0 12px;
  }

  .nav__menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .stats-hero__title {
    font-size: 1.4rem;
  }

  .cta__box {
    padding: 48px 24px;
  }

  .phone__frame {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient__orb,
  .hero__eyebrow-dot,
  .reveal,
  .reader-preview__arrow--v,
  .reader-preview__panel.is-focus,
  .reader-modes__panel {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reader-preview__stage {
    transition: none;
  }
}
