/* ============================================================
   Landing · 3 Formas de Ganar Dinero Con Claude
   ============================================================ */

:root {
  --bg: #07080a;
  --bg-2: #0d0e11;
  --ink: #f1ece1;
  --ink-soft: #a39d92;
  --ink-muted: #6a655c;
  --line: rgba(241, 236, 225, 0.08);
  --line-strong: rgba(241, 236, 225, 0.16);
  --accent: #d8c9a3;
  --accent-warm: #c89b6c;
  --claude: #D97757;
  --danger: #c9222a;
  --ok: #6fbf73;
  --info: #6ec1c9;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-card: 0 30px 80px -40px rgba(0, 0, 0, 0.7), 0 6px 20px -10px rgba(0, 0, 0, 0.5);
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overscroll-behavior: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
input, textarea, select { font-size: 16px; }

/* ====== Background ====== */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.aurora__blob--1 {
  width: 100vmax; height: 100vmax;
  left: -30vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(216, 201, 163, 0.16), transparent 70%);
}
.aurora__blob--2 {
  width: 90vmax; height: 90vmax;
  right: -35vmax; top: -10vmax;
  background: radial-gradient(closest-side, rgba(200, 155, 108, 0.13), transparent 70%);
}
.aurora__blob--3 {
  width: 110vmax; height: 110vmax;
  left: 10%; bottom: -55vmax;
  background: radial-gradient(closest-side, rgba(216, 201, 163, 0.10), transparent 70%);
}

.mesh {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.85;
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 78% 65% at center, transparent 30%, var(--bg) 100%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

/* ====== Header ====== */
.site-header {
  position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 36px;
  gap: 20px;
  animation: fadeDown 1.1s var(--ease-out-quint) both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translate3d(0, -12px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.brand {
  position: relative; display: inline-flex; align-items: center;
  gap: 10px; text-decoration: none; color: var(--ink);
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px;
  transition: border-color .5s var(--ease-soft), transform .6s var(--ease-out-quint), background .5s var(--ease-soft);
}
.brand:hover { border-color: var(--line-strong); background: rgba(28, 28, 32, 0.6); transform: translate3d(0, -1px, 0); }
.brand__avatar {
  position: relative; width: 32px; height: 32px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, #2a2a2e, #1a1a1d);
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-strong);
}
.brand__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__avatar-fallback { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 14px; }
.brand__avatar::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(216, 201, 163, 0.3);
  animation: avatarPulse 3.6s var(--ease-out-quint) infinite;
  pointer-events: none; will-change: transform, opacity;
}
@keyframes avatarPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  60%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 13px; font-weight: 600; }
.brand__handle { font-size: 11px; color: var(--ink-soft); margin-top: 2px; font-family: var(--font-mono); }
.brand__yt {
  width: 28px; height: 28px; border-radius: 50%;
  background: #ff0033; color: #fff;
  display: inline-grid; place-items: center; margin-left: 4px;
  transition: transform .5s var(--ease-spring), box-shadow .4s var(--ease-soft);
  box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.6);
}
.brand:hover .brand__yt { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(255, 0, 51, 0); }
.header-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-soft); text-transform: uppercase;
}
.header-tag::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-warm); margin-right: 8px;
  vertical-align: middle; transform: translate3d(0, -1px, 0);
  box-shadow: 0 0 8px var(--accent-warm);
  animation: pulse 2.4s ease-in-out infinite;
  will-change: opacity;
}

/* ====== Hero ====== */
.hero {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 80px auto 40px; padding: 0 36px;
  text-align: center; will-change: transform;
}
.eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
  padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255, 255, 255, 0.02);
  animation: heroIn 0.9s var(--ease-out-quint) 0.1s both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.dot {
  position: relative; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-warm); box-shadow: 0 0 10px var(--accent-warm);
  animation: pulse 2.4s ease-in-out infinite; will-change: opacity;
}
.dot::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent-warm);
  animation: ripple 2.4s var(--ease-out-quint) infinite;
  pointer-events: none; will-change: transform, opacity;
}
.dot--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot--ok::before { border-color: var(--ok); }
@keyframes pulse { 0%,100% {opacity: 1;} 50% {opacity: .35;} }
@keyframes ripple {
  0%   { transform: scale(1); opacity: 0.7; }
  80%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 5.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 24px auto 22px;
  max-width: 22ch;
  color: var(--ink);
  animation: heroIn 1.1s var(--ease-out-quint) 0.25s both;
}
.hero__title em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero__claude {
  color: var(--claude); white-space: nowrap;
  display: inline-block; font-style: normal;
}
.claude-logo {
  width: 0.85em; height: 0.85em;
  display: inline-block; vertical-align: -0.08em; margin-right: 0.18em;
  color: var(--claude);
  filter: drop-shadow(0 0 14px rgba(217, 119, 87, 0.35));
}
.hero__three {
  display: inline-block;
  font-family: var(--font-display); font-style: italic;
  color: var(--accent-warm);
  position: relative;
}
.hero__three::after {
  content: ''; position: absolute;
  left: -2%; right: -2%; bottom: 0.06em; height: 0.06em;
  background: var(--accent-warm); opacity: 0.4;
  transform-origin: left;
  animation: underline 1.4s var(--ease-out-expo) 0.6s both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__sub {
  max-width: 640px; margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  animation: heroIn 1s var(--ease-out-quint) 0.4s both;
}

/* ====== Reveal ====== */
.reveal {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition:
    opacity 1s var(--ease-out-quint),
    transform 1s var(--ease-out-quint);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* ====== Spotlights — 3 formas ====== */
.formas {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 60px 36px 100px;
}
.spotlight-list {
  display: flex; flex-direction: column; gap: 96px;
}
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  perspective: 1600px;
  cursor: pointer;
  transition: transform .6s var(--ease-out-quint);
}
.spotlight:hover .spotlight__cta {
  border-color: rgba(241, 236, 225, 0.34);
  background: rgba(255, 255, 255, 0.04);
}
.spotlight__cta { user-select: none; transition: border-color .35s var(--ease-soft), background .35s var(--ease-soft); }
.spotlight--media-right .spotlight__copy  { order: 1; }
.spotlight--media-right .spotlight__media { order: 2; }
.spotlight--media-left  .spotlight__media { order: 1; }
.spotlight--media-left  .spotlight__copy  { order: 2; }
.spotlight--media-right { --ry-rest: -5deg; }
.spotlight--media-left  { --ry-rest:  5deg; }

.spotlight__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 56ch; }
.spotlight__tag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.spotlight__sub-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(216, 201, 163, 0.10);
  color: var(--accent);
  border: 1px solid rgba(216, 201, 163, 0.22);
}
.spotlight__sub-tag svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.9; }

.spotlight__product {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.spotlight__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
}
.spotlight__title em { font-style: italic; color: var(--accent); }
.spotlight__desc {
  color: var(--ink-soft);
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.65; margin: 0;
}
.spotlight__bullets {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: grid; gap: 8px;
}
.spotlight__bullets li {
  font-size: 14px; color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.55;
}
.spotlight__bullets svg {
  flex-shrink: 0; width: 14px; height: 14px;
  margin-top: 3px; color: var(--accent-warm);
}
.spotlight__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.spotlight__media {
  position: relative; perspective: 1400px; transform-style: preserve-3d;
  display: flex; align-items: center; justify-content: center;
}
.spotlight__float {
  position: relative; width: 100%;
  transform-style: preserve-3d;
  animation: floatIdle 9s ease-in-out infinite;
  will-change: transform;
}
.spotlight--media-left .spotlight__float { animation-delay: -4.5s; }
@keyframes floatIdle {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}
/* ===== Fan of 3 cards (replaces the single frame) ===== */
.spotlight__fan {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  transform-style: preserve-3d;
  will-change: transform;
}
.spotlight__fan-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 62%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0b0d;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.75),
    0 12px 24px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition:
    transform .7s var(--ease-out-quint),
    filter .55s var(--ease-soft),
    box-shadow .55s var(--ease-soft);
  will-change: transform;
}
.spotlight__fan-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top; /* crop bottom; preserve top of the capture */
  display: block;
  filter: saturate(1.04) brightness(0.95);
  transition: filter .6s var(--ease-soft);
}
.spotlight__fan-card--crop-top img {
  object-position: center top; /* alias for clarity; mockups crop bottom */
}
.spotlight__fan-card--center {
  transform: translate(-50%, -50%);
  z-index: 3;
  filter: none;
}
.spotlight__fan-card--left {
  transform: translate(-78%, -50%) rotate(-9deg);
  z-index: 2;
}
.spotlight__fan-card--right {
  transform: translate(-22%, -50%) rotate(9deg);
  z-index: 1;
}
.spotlight__media:hover .spotlight__fan-card--left {
  transform: translate(-94%, -54%) rotate(-12deg);
}
.spotlight__media:hover .spotlight__fan-card--right {
  transform: translate(-6%,  -54%) rotate(12deg);
}
.spotlight__media:hover .spotlight__fan-card--center {
  transform: translate(-50%, -58%) scale(1.02);
}
.spotlight__media:hover .spotlight__fan-card img {
  filter: saturate(1.12) brightness(1.02);
}
.spotlight__media:hover .spotlight__fan-card {
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.85),
    0 18px 30px -14px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.spotlight__sparkles {
  position: absolute; inset: -6%; pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity 0.6s var(--ease-soft);
}
.spotlight__media:hover .spotlight__sparkles { opacity: 1; }
.spotlight__sparkle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(216, 201, 163, 0.95);
  box-shadow: 0 0 10px rgba(216, 201, 163, 0.7);
  animation: twinkle 2.8s var(--ease-out-quint) infinite;
  opacity: 0; will-change: transform, opacity;
}
@keyframes twinkle {
  0%, 100% { transform: scale(0); opacity: 0; }
  40%      { transform: scale(1); opacity: 1; }
  60%      { transform: scale(1); opacity: 1; }
  80%      { transform: scale(0.4); opacity: 0; }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease-spring), background .35s var(--ease-soft), border-color .35s var(--ease-soft), color .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
  text-decoration: none; background: transparent; color: var(--ink);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease-soft);
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: translate3d(0, 1px, 0) scale(0.98); }
.btn--primary {
  background: var(--ink); color: #0b0c0e; border-color: var(--ink);
}
.btn--primary:hover { background: #fff; box-shadow: 0 12px 30px -12px rgba(241, 236, 225, 0.4); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(241, 236, 225, 0.34); background: rgba(255, 255, 255, 0.04); transform: translate3d(0, -1px, 0); }
.btn--small { padding: 8px 14px; font-size: 12.5px; }

/* ====== Modal ====== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 6, 8, 0.7);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  animation: backdropIn .45s var(--ease-out-quint) both;
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.modal__shell {
  position: relative; width: 100%;
  max-width: 920px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #14151a, #0c0d10);
  border: 1px solid var(--line-strong);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.75);
  transform-origin: center 40%;
  animation: modalIn .7s var(--ease-out-expo) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translate3d(0, 36px, 0) scale(0.92); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.modal__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.modal__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.modal__tag--ok { color: var(--ok); }
.modal__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 24px; letter-spacing: -0.018em;
  margin: 0 0 6px; line-height: 1.15;
}
.modal__sub {
  color: var(--ink-soft); margin: 0;
  font-size: 13.5px; line-height: 1.55; max-width: 60ch;
}
.modal__close {
  background: transparent; border: 1px solid var(--line);
  color: var(--ink);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .4s var(--ease-soft), color .4s var(--ease-soft), transform .4s var(--ease-spring);
  flex-shrink: 0;
}
.modal__close:hover { border-color: var(--line-strong); color: var(--accent); transform: rotate(90deg); }

/* ====== Tabs (Form 3) ====== */
.modal__tabs {
  display: flex; gap: 6px;
  padding: 16px 26px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: -1px;
}
.modal__tabs[hidden] { display: none; }
.tab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: none;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s var(--ease-soft), background .3s var(--ease-soft), border-color .3s var(--ease-soft);
}
.tab svg { width: 14px; height: 14px; }
.tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.025); }
.tab[aria-selected="true"] {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(216, 201, 163, 0.08), transparent);
  border-color: var(--line-strong);
}
.tab[aria-selected="true"]::after {
  content: ''; position: absolute;
}

/* ====== Resources chips ====== */
.modal__resources {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 26px 0;
}
.modal__resources:empty { display: none; }
.resource-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 201, 163, 0.06);
  color: var(--accent);
  border: 1px solid rgba(216, 201, 163, 0.18);
  text-decoration: none;
  transition: background .35s var(--ease-soft), border-color .35s var(--ease-soft), transform .35s var(--ease-spring);
}
.resource-chip:hover { background: rgba(216, 201, 163, 0.12); border-color: rgba(216, 201, 163, 0.32); transform: translate3d(0, -1px, 0); }
.resource-chip svg { flex-shrink: 0; }

/* ====== Annotation callout (info to adapt the prompt) ====== */
.prompt-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 18px 26px 0;
  padding: 14px 16px;
  border: 1px solid rgba(110, 193, 201, 0.22);
  background: linear-gradient(180deg, rgba(110, 193, 201, 0.06), rgba(110, 193, 201, 0.02));
  border-radius: 14px;
}
.prompt-note__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(110, 193, 201, 0.15);
  color: var(--info);
  display: grid; place-items: center;
}
.prompt-note__icon svg { width: 16px; height: 16px; }
.prompt-note__text {
  font-size: 13px; line-height: 1.55;
  color: var(--ink); margin: 0;
  font-style: italic;
}
.prompt-note__text strong {
  font-weight: 600; color: var(--info); font-style: normal;
}

/* ====== Modal body (prompt code) ====== */
.modal__body {
  flex: 1; overflow-y: auto;
  padding: 18px 26px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 236, 225, 0.15) transparent;
}
.modal__body::-webkit-scrollbar { width: 8px; }
.modal__body::-webkit-scrollbar-thumb { background: rgba(241, 236, 225, 0.15); border-radius: 4px; }
.prompt-pane[hidden] { display: none; }
.prompt-text {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6;
  color: #d6d2c9; margin: 0;
  white-space: pre-wrap; word-wrap: break-word; word-break: break-word;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.modal__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 16px 26px 20px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.modal__actions {
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
#footer-action[hidden] { display: none !important; }
.modal__hint {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-soft); letter-spacing: 0.06em;
}

/* ====== Course modal ====== */
.modal__shell--course { max-width: 760px; }
.modal__head--course { border-bottom: 1px solid var(--line); }
.modal__foot--course { background: rgba(0, 0, 0, 0.25); }
.course-video {
  position: relative; display: block;
  margin: 18px 26px 20px;
  aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  background: #0a0b0d; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .5s var(--ease-out-quint), border-color .4s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.course-video:hover {
  border-color: var(--line-strong);
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
}
.course-video__thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0;
  transition: transform 1s var(--ease-out-quint), filter .5s var(--ease-soft);
  filter: brightness(0.92);
}
.course-video:hover .course-video__thumb { transform: scale(1.04); filter: brightness(1); }
.course-video__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em;
  color: var(--ink-soft);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(216, 201, 163, 0.06), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 18px 18px;
  opacity: 0; pointer-events: none; z-index: 0;
}
.course-video--no-thumb .course-video__fallback { opacity: 1; }
.course-video__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5));
  pointer-events: none; z-index: 1;
}
.course-video__play {
  position: absolute; top: 50%; left: 50%;
  width: 68px; height: 68px; border-radius: 50%;
  background: #ff0033;
  display: grid; place-items: center;
  pointer-events: none; z-index: 2;
  transform: translate3d(-50%, -50%, 0);
  box-shadow:
    0 14px 40px -12px rgba(255, 0, 51, 0.55),
    0 0 0 0 rgba(255, 0, 51, 0.45);
  transition: transform .4s var(--ease-spring), box-shadow .5s var(--ease-soft);
}
.course-video__play svg { width: 24px; height: 24px; margin-left: 3px; }
.course-video:hover .course-video__play {
  transform: translate3d(-50%, -50%, 0) scale(1.1);
  box-shadow:
    0 18px 50px -10px rgba(255, 0, 51, 0.7),
    0 0 0 14px rgba(255, 0, 51, 0);
}

/* ====== Toast ====== */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate3d(-50%, 20px, 0);
  background: var(--ink); color: #0a0b0d;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
  padding: 10px 16px; border-radius: 999px;
  pointer-events: none; opacity: 0;
  transition: opacity .4s var(--ease-soft), transform .5s var(--ease-spring);
  z-index: 200;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.55);
}
.toast.show { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* ====== Footer ====== */
.site-footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  padding: 36px 36px 40px;
}
.footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.footer__logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity .4s var(--ease-soft), transform .5s var(--ease-spring);
}
.footer__logo:hover img { opacity: 1; transform: translate3d(0, -2px, 0); }
.footer__nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 22px;
}
.footer__nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 13px;
  transition: color .35s var(--ease-soft);
}
.footer__nav a:hover { color: var(--ink); }
.footer__credit {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-muted); margin: 4px 0 0;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .hero { margin: 50px auto 30px; padding: 0 22px; }
  .site-header { padding: 16px 22px; }
  .header-tag { display: none; }
  .modal { padding: 14px; }
  .modal__shell { max-height: calc(100vh - 28px); border-radius: 18px; }
  .modal__head, .modal__resources, .modal__body, .modal__foot, .prompt-note, .modal__tabs {
    padding-left: 18px; padding-right: 18px;
  }
  .prompt-note { margin-left: 18px; margin-right: 18px; }
  .course-video { margin-left: 18px; margin-right: 18px; }
  .modal__foot { flex-direction: column; align-items: stretch; }
  .modal__foot .btn { justify-content: center; }
  .site-footer { padding: 30px 22px 36px; }

  .formas { padding: 40px 22px 60px; }
  .spotlight-list { gap: 64px; }
  .spotlight { grid-template-columns: 1fr; gap: 26px; }
  .spotlight--media-left .spotlight__media,
  .spotlight--media-right .spotlight__media { order: 0; }
  .spotlight--media-left .spotlight__copy,
  .spotlight--media-right .spotlight__copy { order: 1; }

  .modal__tabs { padding-top: 12px; }
  .tab { font-size: 11px; padding: 8px 10px; }
}
@media (max-width: 540px) {
  .brand__handle { display: none; }
  .brand__text { line-height: 1.1; }
  .modal__head { flex-direction: row; }
  .modal__title { font-size: 20px; }
  .prompt-text { font-size: 11.5px; }
  .modal__hint { display: none; }
  .hero__quick { padding: 10px 14px; gap: 10px; }
}

/* ====== Mobile robustness ====== */
@media (max-width: 980px) {
  .aurora { display: none !important; }
  body {
    background:
      radial-gradient(ellipse 90% 50% at 50% 0%, rgba(216, 201, 163, 0.08), transparent 60%),
      radial-gradient(ellipse 80% 40% at 50% 100%, rgba(200, 155, 108, 0.05), transparent 60%),
      var(--bg);
    background-attachment: scroll;
  }
  .grain { display: none !important; }
  #particles { display: none !important; }
  .mesh { position: absolute; min-height: 100vh; }
  .vignette { position: absolute; min-height: 100vh; }

  .brand {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(20, 20, 24, 0.85);
  }
  .modal__backdrop {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(5, 6, 8, 0.88);
  }
  .spotlight, .spotlight__media { perspective: none !important; }
  .spotlight__fan { transform: none !important; will-change: auto; transform-style: flat; }
  .spotlight__float { animation: none !important; transform: none !important; will-change: auto; }
  .spotlight__sparkles { display: none !important; }
  /* Tighter fan on mobile to keep cards on-screen */
  .spotlight__fan-card { width: 68%; transition: none !important; }
  .spotlight__fan-card--left  { transform: translate(-72%, -50%) rotate(-6deg) !important; }
  .spotlight__fan-card--right { transform: translate(-28%, -50%) rotate(6deg) !important; }
  .spotlight__fan-card--center { transform: translate(-50%, -50%) !important; }
  .spotlight { cursor: default; }
  .spotlight:hover .spotlight__cta { background: transparent; border-color: var(--line-strong); }
  .hero__three::after { animation: none !important; transform: scaleX(1); }
  .brand__avatar::after { display: none; }
  .dot::before { display: none; }
  .header-tag::before { animation: none !important; }
  .hero { will-change: auto; transform: none !important; }
  .reveal {
    transform: none !important;
    filter: none !important;
    transition: opacity .8s var(--ease-out-quint);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: auto;
  }
  .spotlight__frame, img { max-width: 100%; }
}
