:root {
  color-scheme: dark;
  --bg: #020403;
  --panel: #111111;
  --panel-2: #161616;
  --line: rgba(200, 200, 200, 0.15);
  --line-strong: rgba(200, 200, 200, 0.32);
  --text: #ffffff;
  --muted: #a0a0a0;
  --dim: #555555;
  --accent: #e0e0e0;
  --accent-2: #888888;
  --danger: #ff5f8f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(200, 200, 200, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 200, 200, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 0%, rgba(200, 200, 200, 0.16), transparent 32rem),
    radial-gradient(circle at 8% 28%, rgba(150, 150, 150, 0.09), transparent 26rem),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(180, 180, 180, 0.12);
  background: rgba(2, 4, 3, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}



.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand small {
  max-width: 320px;
  overflow: hidden;
  color: var(--muted);
  font: 700 10px/1.1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.header-cta {
  justify-self: end;
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ─── HERO ─── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 84px) 48px;
  border-bottom: 1px solid var(--line);
}

/* layered ambient glow */
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse 80% 60% at 18% 44%, rgba(200, 200, 200, 0.14), transparent),
    radial-gradient(ellipse 60% 50% at 82% 28%, rgba(150, 150, 150, 0.07), transparent),
    linear-gradient(180deg, rgba(2, 4, 3, 0.1) 0%, rgba(2, 4, 3, 0.92) 100%);
}

/* scan-line CRT overlay */
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(200, 200, 200, 0.018) 2px,
    rgba(200, 200, 200, 0.018) 4px
  );
  pointer-events: none;
  animation: scanDrift 8s linear infinite;
}

/* ── hero left column ── */

.hero-content {
  position: relative;
  z-index: 3;
  order: 1;
  max-width: 680px;
}

/* accent bar left edge */
.hero-content::before {
  position: absolute;
  left: -28px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--accent), var(--accent-2) 60%, transparent);
  opacity: 0.55;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font: 800 12px/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.8vw, 96px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

/* typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 4px;
  background: var(--accent);
  vertical-align: baseline;
  animation: cursorBlink 1s step-end infinite;
  box-shadow: 0 0 12px rgba(200, 200, 200, 0.5);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 15px 22px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 120ms ease;
}

.primary-button:active,
.secondary-button:active {
  transform: scale(0.97);
}

.primary-button {
  background: var(--accent);
  color: #00110d;
  box-shadow: 0 0 34px rgba(200, 200, 200, 0.22);
}

.secondary-button {
  border-color: var(--line-strong);
  background: rgba(2, 4, 3, 0.6);
  color: var(--text);
}

.primary-button:hover {
  background: var(--accent-2);
}

.secondary-button:hover,
.header-cta:hover {
  border-color: var(--accent);
  background: rgba(200, 200, 200, 0.1);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.signal-strip span {
  border: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.68);
  padding: 9px 12px;
  color: var(--muted);
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

/* ── hero right column — terminal ── */

.hero-visual {
  position: relative;
  z-index: 3;
  order: 2;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}


.hero-terminal {
  position: relative;
.hero-terminal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: url('./assets/logosvg.webp') center/contain no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.hero-terminal > div {
  position: relative;
  z-index: 1;
}

  position: relative;
  border: 1px solid rgba(200, 200, 200, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 200, 200, 0.06), transparent 60%),
    rgba(3, 9, 8, 0.92);
  box-shadow:
    0 0 0 1px rgba(200, 200, 200, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(200, 200, 200, 0.06);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(200, 200, 200, 0.12);
  background: rgba(7, 17, 15, 0.8);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(200, 200, 200, 0.25);
}

.terminal-dot:nth-child(1) { background: rgba(255, 95, 143, 0.6); }
.terminal-dot:nth-child(2) { background: rgba(150, 150, 150, 0.5); }
.terminal-dot:nth-child(3) { background: rgba(200, 200, 200, 0.5); }

.terminal-title {
  margin-left: auto;
  color: var(--dim);
  font: 700 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-body {
  padding: 20px 18px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

/* scan beam inside terminal */
.terminal-body::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(200, 200, 200, 0.04) 48%,
    rgba(200, 200, 200, 0.08) 50%,
    rgba(200, 200, 200, 0.04) 52%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: terminalScan 4s ease-in-out infinite;
  pointer-events: none;
}

.term-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font: 500 13px/1.7 "JetBrains Mono", monospace;
  color: var(--muted);
  opacity: 0;
  animation: termLineReveal 0.4s ease-out forwards;
}

.term-line:nth-child(1) { animation-delay: 0.2s; }
.term-line:nth-child(2) { animation-delay: 0.5s; }
.term-line:nth-child(3) { animation-delay: 0.8s; }
.term-line:nth-child(4) { animation-delay: 1.1s; }
.term-line:nth-child(5) { animation-delay: 1.4s; }
.term-line:nth-child(6) { animation-delay: 1.7s; }
.term-line:nth-child(7) { animation-delay: 2.0s; }
.term-line:nth-child(8) { animation-delay: 2.3s; }
.term-line:nth-child(9) { animation-delay: 2.6s; }
.term-line:nth-child(10) { animation-delay: 2.9s; }
.term-line:nth-child(11) { animation-delay: 3.2s; }
.term-line:nth-child(12) { animation-delay: 3.5s; }

.term-prompt {
  color: var(--accent);
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
}

.term-cmd {
  color: var(--text);
  font-weight: 700;
}

.term-flag {
  color: var(--accent-2);
}

.term-comment {
  color: var(--dim);
  font-style: italic;
}

.term-success {
  color: var(--accent);
}

.term-warn {
  color: var(--accent-2);
}

.term-key {
  color: rgba(143, 108, 255, 0.9);
}

.term-value {
  color: var(--accent);
}

.term-separator {
  height: 1px;
  margin: 6px 0;
  background: linear-gradient(90deg, var(--line), transparent 80%);
}

/* shield badge floating above terminal */
.hero-shield-badge {
  position: absolute;
  top: -28px;
  right: -18px;
  z-index: 4;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 200, 200, 0.3);
  background:
    radial-gradient(circle, rgba(200, 200, 200, 0.15), transparent 70%),
    rgba(3, 9, 8, 0.95);
  box-shadow:
    0 0 40px rgba(200, 200, 200, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.4);
  animation: shieldBadgeFloat 4s ease-in-out infinite;
}

.hero-shield-badge svg {
  width: 42px;
  height: 42px;
}

.hero-shield-badge svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-shield-badge svg path:first-child {
  fill: rgba(200, 200, 200, 0.08);
}

/* status bar below terminal */
.terminal-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid rgba(200, 200, 200, 0.12);
  background: rgba(7, 17, 15, 0.6);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 200, 200, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

.status-text {
  color: var(--dim);
  font: 700 10px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* floating particles around terminal */
.hero-particles {
  position: absolute;
  inset: -40px;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particleDrift 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; }
.particle:nth-child(2) { top: 28%; right: 5%; animation-delay: 1.2s; }
.particle:nth-child(3) { bottom: 18%; left: 15%; animation-delay: 2.4s; width: 2px; height: 2px; }
.particle:nth-child(4) { top: 55%; right: 12%; animation-delay: 0.8s; }
.particle:nth-child(5) { bottom: 32%; right: 22%; animation-delay: 3.6s; width: 2px; height: 2px; background: var(--accent-2); }
.particle:nth-child(6) { top: 8%; left: 45%; animation-delay: 1.8s; background: var(--accent-2); }

/* connector lines from particles */
.hero-connectors {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.connector {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.12), transparent);
  animation: connectorFade 5s ease-in-out infinite;
}

.connector:nth-child(1) { top: 20%; left: 0; width: 35%; transform: rotate(12deg); animation-delay: 0s; }
.connector:nth-child(2) { top: 65%; right: 0; width: 28%; transform: rotate(-8deg); animation-delay: 1.5s; }
.connector:nth-child(3) { bottom: 25%; left: 10%; width: 40%; transform: rotate(4deg); animation-delay: 3s; }

.intro-band,
.method,
.tracks,
.mentor,
.final-cta,
.pain-grid {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 42px;
  padding: 72px 0;
}

.intro-copy p,
.mentor p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy {
  display: grid;
  gap: 16px;
}

.intro-copy p {
  margin-bottom: 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pain-grid {
  padding-bottom: 84px;
}

.pain-grid article,
.track-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 23, 21, 0.9), rgba(3, 7, 6, 0.86));
  padding: 28px;
  box-shadow: var(--shadow);
}

.pain-grid span {
  color: var(--accent-2);
  font: 900 13px "JetBrains Mono", monospace;
}

.pain-grid p,
.track-grid p,
.bento-card p {
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.ebook-section,
.platform-section,
.courses-section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ebook-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 42px;
  align-items: start;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.ebook-copy p,
.platform-heading p {
  color: var(--muted);
  font-size: 18px;
}

.ebook-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ebook-points li {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  color: var(--muted);
}

.ebook-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 85% 0%, rgba(200, 200, 200, 0.14), transparent 18rem),
    rgba(3, 9, 8, 0.92);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.form-title {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 900;
}

.form-subtitle,
.form-status {
  color: var(--muted);
  font-size: 14px;
}

.ebook-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ebook-form input,
.ebook-form select,
.ebook-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #020403;
  color: var(--text);
  font: 600 15px Inter, sans-serif;
  padding: 13px 14px;
  outline: none;
}

.ebook-form textarea {
  min-height: 104px;
  resize: vertical;
}

.ebook-form input:focus,
.ebook-form select:focus,
.ebook-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 200, 200, 0.12);
}

.ebook-form .primary-button {
  width: 100%;
  cursor: pointer;
}

.download-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
}

.platform-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.platform-heading {
  max-width: 860px;
  position: static;
}

.capability-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.capability-grid span {
  border: 1px solid var(--line);
  background: rgba(7, 17, 15, 0.72);
  padding: 10px 12px;
  color: var(--muted);
  font: 800 12px/1.1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.exposure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.exposure-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 23, 21, 0.9), rgba(3, 7, 6, 0.86));
  padding: 24px;
}

.exposure-grid p {
  color: var(--muted);
}

.courses-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.course-card {
  display: grid;
  grid-template-columns: 52px minmax(260px, 0.92fr) minmax(340px, 1.08fr);
  gap: 22px;
  align-items: start;
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 78% 22%, rgba(200, 200, 200, 0.14), transparent 22rem),
    linear-gradient(135deg, rgba(5, 14, 13, 0.98), rgba(1, 5, 4, 0.96));
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.course-card + .course-card {
  margin-top: 22px;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.course-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  color: var(--accent);
  font: 900 24px "JetBrains Mono", monospace;
}

.course-icon img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(200, 200, 200, 0.4));
  animation: floatLogo 3s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
  will-change: transform, filter;
}

.course-icon img:hover {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(200, 200, 200, 0.8));
  animation-play-state: paused;
}

.course-label {
  margin-bottom: 8px;
  color: var(--accent);
  font: 800 11px/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.course-copy h3 {
  max-width: 560px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.98;
}

.course-copy p:not(.course-label) {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.course-tags span {
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--muted);
  font: 800 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.course-video-frame {
  overflow: hidden;
  border: 12px solid #050606;
  background: #101514;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.course-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050606;
}

.section-heading {
  position: static;
  top: auto;
  align-self: start;
}

.platform-section .section-heading,
.courses-section .section-heading,
.tracks .section-heading {
  position: static;
  top: auto;
}

.method-bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(126px, auto);
  gap: 16px;
  isolation: isolate;
  perspective: 1200px;
}

.method-bento::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(200, 200, 200, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 200, 200, 0.035) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 34px 34px;
  opacity: 0.65;
  animation: bentoGridDrift 18s linear infinite;
}

.bento-card {
  --card-accent: var(--accent);
  --card-hot: var(--accent-2);
  --card-rgb: 200, 200, 200;
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 76% 12%, rgba(var(--card-rgb), 0.32), transparent 35%),
    linear-gradient(140deg, rgba(var(--card-rgb), 0.12), transparent 46%),
    linear-gradient(180deg, rgba(18, 23, 34, 0.94), rgba(3, 7, 6, 0.92));
  background-position: 0 0, 0 0, 0 0;
  background-size: auto, 180% 180%, auto;
  padding: clamp(20px, 2.5vw, 30px);
  opacity: 0;
  box-shadow: var(--shadow);
  translate: 0 18px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  animation:
    bentoReveal 680ms ease-out forwards,
    bentoSurface 7.5s ease-in-out infinite;
}

.bento-guardian {
  --card-accent: #e0e0e0;
  --card-hot: #a0a0a0;
  --card-rgb: 200, 200, 200;
  grid-column: span 4;
  grid-row: span 2;
}

.bento-encrypt {
  --card-accent: #8f6cff;
  --card-hot: #e0e0e0;
  --card-rgb: 143, 108, 255;
  grid-column: span 2;
  grid-row: span 1;
}

.bento-analytics {
  --card-accent: #ff9d5c;
  --card-hot: #a0a0a0;
  --card-rgb: 255, 157, 92;
  grid-column: span 2;
  grid-row: span 1;
}

.bento-revenue {
  --card-accent: #a0a0a0;
  --card-hot: #8f6cff;
  --card-rgb: 150, 150, 150;
  grid-column: span 6;
  min-height: 210px;
}

.bento-card:nth-child(2) {
  animation-delay: 110ms, 900ms;
}

.bento-card:nth-child(3) {
  animation-delay: 220ms, 1.8s;
}

.bento-card:nth-child(4) {
  animation-delay: 330ms, 2.7s;
}

.bento-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 70%, white 12%);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 44px rgba(var(--card-rgb), 0.18);
  transform: translateY(-6px) rotateX(1deg);
}

.bento-card::before {
  position: absolute;
  inset: auto -28px -42px auto;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(var(--card-rgb), 0.2);
  transform: rotate(45deg);
  animation: bentoDiamond 14s linear infinite;
}

.bento-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(105deg, transparent 32%, rgba(var(--card-rgb), 0.16) 42%, transparent 52%),
    linear-gradient(rgba(var(--card-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--card-rgb), 0.035) 1px, transparent 1px);
  background-position: 180% 0, 0 0, 0 0;
  background-size: 220% 100%, 28px 28px, 28px 28px;
  mask-image: linear-gradient(140deg, black, transparent 72%);
  pointer-events: none;
  animation: bentoScan 4.8s ease-in-out infinite;
}

.bento-large {
  min-height: 316px;
}

.bento-wide {
  min-height: 210px;
}

.bento-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.bento-letter {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 72%, white 8%);
  background: rgba(2, 4, 3, 0.34);
  color: var(--card-accent);
  font: 900 27px "JetBrains Mono", monospace;
  text-shadow: 0 0 22px rgba(var(--card-rgb), 0.44);
  animation: bentoLetterPulse 3.4s ease-in-out infinite;
}

.bento-letter::after {
  position: absolute;
  inset: -7px;
  content: "";
  border: 1px solid rgba(var(--card-rgb), 0.18);
  opacity: 0;
  animation: bentoLetterRing 3.4s ease-in-out infinite;
}

.bento-body {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.bento-card h3,
.bento-card p,
.bento-card small {
  position: relative;
  z-index: 1;
}

.bento-card h3 {
  max-width: 13ch;
  margin-bottom: 12px;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 0.98;
}

.bento-card p {
  max-width: 36rem;
  margin-bottom: 28px;
  font-size: 17px;
}

.bento-card small {
  color: var(--card-hot);
  font: 800 11px/1.45 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.bento-large .bento-letter {
  width: 68px;
  height: 68px;
  font-size: 32px;
}

.bento-large h3 {
  font-size: clamp(34px, 4vw, 52px);
}

.bento-visual {
  position: relative;
  flex: 0 0 auto;
  width: 118px;
  aspect-ratio: 1;
}

.guardian-visual {
  width: min(42%, 184px);
  min-width: 138px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(200, 200, 200, 0.26), transparent 38%),
    conic-gradient(from 90deg, transparent, rgba(200, 200, 200, 0.76), transparent, rgba(150, 150, 150, 0.52), transparent);
  animation: guardianOrbFloat 5s ease-in-out infinite;
}

.guardian-ring,
.guardian-core,
.guardian-scan {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
}

.guardian-ring {
  border: 1px dashed rgba(150, 150, 150, 0.42);
  animation: guardianSpin 12s linear infinite;
}

.guardian-core {
  inset: 28%;
  border-radius: 28% 28% 42% 42%;
  background: rgba(2, 4, 3, 0.64);
  clip-path: polygon(50% 0, 90% 18%, 84% 72%, 50% 100%, 16% 72%, 10% 18%);
  box-shadow:
    inset 0 0 0 2px var(--card-accent),
    0 0 28px rgba(200, 200, 200, 0.35);
  animation: guardianCorePulse 2.8s ease-in-out infinite;
}

.guardian-scan {
  inset: 14%;
  background: linear-gradient(180deg, transparent 34%, rgba(150, 150, 150, 0.58), transparent 66%);
  opacity: 0.42;
  animation: guardianScan 2.6s ease-in-out infinite;
}

.encrypt-visual {
  width: 106px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(143, 108, 255, 0.16), rgba(200, 200, 200, 0.08));
  box-shadow: inset 0 0 0 1px rgba(143, 108, 255, 0.28);
  animation: lockPanelPulse 3.6s ease-in-out infinite;
}

.lock-shackle,
.lock-body {
  position: absolute;
  left: 50%;
  translate: -50% 0;
}

.lock-shackle {
  top: 24px;
  width: 42px;
  height: 34px;
  border: 5px solid var(--card-accent);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  animation: shackleUnlock 3.8s ease-in-out infinite;
}

.lock-body {
  top: 54px;
  width: 62px;
  height: 45px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(143, 108, 255, 0.42), rgba(200, 200, 200, 0.24));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(143, 108, 255, 0.32);
}

.cipher-line {
  position: absolute;
  left: 18px;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-hot), transparent);
  animation: cipherRain 2.2s linear infinite;
}

.cipher-line:last-child {
  animation-delay: 1.1s;
}

.analytics-visual {
  display: grid;
  width: 108px;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  border-radius: 24px;
  padding: 18px;
  background: rgba(2, 4, 3, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 157, 92, 0.24);
}

.analytics-visual span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--card-hot), var(--card-accent));
  box-shadow: 0 0 18px rgba(255, 157, 92, 0.28);
  animation: analyticsBars 1.8s ease-in-out infinite;
}

.analytics-visual span:nth-child(1) {
  height: 34%;
}

.analytics-visual span:nth-child(2) {
  height: 76%;
  animation-delay: 0.2s;
}

.analytics-visual span:nth-child(3) {
  height: 52%;
  animation-delay: 0.4s;
}

.analytics-visual span:nth-child(4) {
  height: 88%;
  animation-delay: 0.6s;
}

.analytics-visual i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card-hot);
  box-shadow: 0 0 22px rgba(150, 150, 150, 0.44);
  animation: analyticsNode 2.4s ease-in-out infinite;
}

.revenue-visual {
  display: flex;
  width: min(45%, 280px);
  min-width: 220px;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: rgba(2, 4, 3, 0.38);
  box-shadow: inset 0 0 0 1px rgba(150, 150, 150, 0.2);
}

.revenue-visual::before {
  position: absolute;
  inset: 50% 24px auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--card-accent), var(--card-hot), var(--card-accent));
  transform-origin: left;
  animation: revenuePath 3.6s ease-in-out infinite;
}

.metric-pill,
.path-dot {
  position: relative;
  z-index: 1;
}

.metric-pill {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(150, 150, 150, 0.28), rgba(143, 108, 255, 0.22));
  color: var(--text);
  font: 900 12px "JetBrains Mono", monospace;
  animation: metricFloat 3s ease-in-out infinite;
}

.metric-pill:nth-child(2) {
  animation-delay: 0.25s;
}

.metric-pill:nth-child(3) {
  animation-delay: 0.5s;
}

.path-dot {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 18px rgba(150, 150, 150, 0.42);
  animation: pathDotTravel 3.6s ease-in-out infinite;
}

.path-dot:nth-of-type(5) {
  animation-delay: 0.55s;
}

.path-dot:nth-of-type(6) {
  animation-delay: 1.1s;
}

.tracks {
  padding: 88px 0;
}

.tracks .section-heading {
  max-width: 720px;
  position: static;
}

.track-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.mentor {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 58px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.mentor-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.mentor-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(2, 4, 3, 0.78));
}

.mentor-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
}

.final-cta {
  margin-bottom: 68px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 80% 10%, rgba(200, 200, 200, 0.18), transparent 26rem),
    linear-gradient(135deg, rgba(11, 23, 21, 0.94), rgba(2, 4, 3, 0.94));
  padding: clamp(32px, 6vw, 70px);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  max-width: 820px;
  margin-inline: auto;
}

.final-cta .primary-button {
  margin-top: 20px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 24px clamp(20px, 6vw, 84px);
  color: var(--dim);
  font: 800 11px/1.4 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

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

@keyframes shieldFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes lineTrace {
  0% {
    stroke-dashoffset: 110;
    opacity: 0.18;
  }

  45%,
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -110;
    opacity: 0.22;
  }
}

@keyframes networkPulse {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@keyframes dataBlink {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 1;
  }
}

@keyframes cryptoPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(45deg) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: rotate(45deg) scale(1.05);
  }
}

@keyframes bentoReveal {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes bentoSurface {
  0%,
  100% {
    background-position: 0 0, 0% 0%, 0 0;
  }

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

@keyframes bentoScan {
  0%,
  42% {
    background-position: 180% 0, 0 0, 0 0;
    opacity: 0.55;
  }

  62% {
    background-position: -80% 0, 10px 10px, 10px 10px;
    opacity: 1;
  }

  100% {
    background-position: -80% 0, 18px 18px, 18px 18px;
    opacity: 0.55;
  }
}

@keyframes bentoDiamond {
  0% {
    opacity: 0.2;
    transform: rotate(45deg) scale(0.92);
  }

  50% {
    opacity: 0.58;
    transform: rotate(135deg) scale(1.06);
  }

  100% {
    opacity: 0.2;
    transform: rotate(225deg) scale(0.92);
  }
}

@keyframes bentoLetterPulse {
  0%,
  100% {
    border-color: rgba(var(--card-rgb), 0.38);
    box-shadow: 0 0 0 rgba(var(--card-rgb), 0);
  }

  50% {
    border-color: rgba(var(--card-rgb), 0.84);
    box-shadow: 0 0 28px rgba(var(--card-rgb), 0.2);
  }
}

@keyframes bentoLetterRing {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.12);
  }
}

@keyframes bentoGridDrift {
  to {
    background-position: 68px 68px;
  }
}

@keyframes guardianOrbFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 0 18px rgba(200, 200, 200, 0.24));
  }

  50% {
    transform: translateY(-8px) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(200, 200, 200, 0.38));
  }
}

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

@keyframes guardianCorePulse {
  0%,
  100% {
    transform: scale(0.94);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes guardianScan {
  0%,
  100% {
    transform: translateY(-38%) rotate(18deg);
  }

  50% {
    transform: translateY(38%) rotate(18deg);
  }
}

@keyframes lockPanelPulse {
  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

@keyframes shackleUnlock {
  0%,
  100% {
    transform: translateX(0);
  }

  42%,
  58% {
    transform: translateX(7px) translateY(-5px) rotate(8deg);
  }
}

@keyframes cipherRain {
  0% {
    top: 14px;
    opacity: 0;
  }

  20%,
  70% {
    opacity: 1;
  }

  100% {
    top: 102px;
    opacity: 0;
  }
}

@keyframes analyticsBars {
  0%,
  100% {
    transform: scaleY(0.62);
  }

  50% {
    transform: scaleY(1.06);
  }
}

@keyframes analyticsNode {
  0%,
  100% {
    transform: translate(0, 0) scale(0.9);
  }

  50% {
    transform: translate(-48px, 62px) scale(1.15);
  }
}

@keyframes revenuePath {
  0%,
  100% {
    transform: scaleX(0.18);
    opacity: 0.38;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes metricFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pathDotTravel {
  0% {
    left: 18px;
    opacity: 0;
    transform: translateY(-50%) scale(0.72);
  }

  20%,
  75% {
    opacity: 1;
  }

  100% {
    left: calc(100% - 28px);
    opacity: 0;
    transform: translateY(-50%) scale(1.12);
  }
}

/* ─── NEW HERO KEYFRAMES ─── */

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes scanDrift {
  0% { background-position: 0 0; }
  100% { background-position: 0 8px; }
}

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

@keyframes termLineReveal {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shieldBadgeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    box-shadow:
      0 0 40px rgba(200, 200, 200, 0.15),
      0 8px 32px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
    box-shadow:
      0 0 60px rgba(200, 200, 200, 0.25),
      0 16px 48px rgba(0, 0, 0, 0.4);
  }
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(200, 200, 200, 0.5);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 4px rgba(200, 200, 200, 0.3);
  }
}

@keyframes particleDrift {
  0%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
    transform: translate(12px, -18px);
  }
  80% {
    opacity: 0.4;
  }
}

@keyframes connectorFade {
  0%, 100% { opacity: 0; }
  30%, 70% { opacity: 0.5; }
}

/* ─── REDUCED MOTION ─── */

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .terminal-body::before,
  .hero-shield-badge,
  .particle,
  .connector,
  .typing-cursor,
  .status-dot {
    animation: none;
  }

  .term-line {
    opacity: 1;
    animation: none;
  }

  .typing-cursor {
    opacity: 1;
  }

  .method-bento::before,
  .bento-card,
  .bento-card::before,
  .bento-card::after,
  .bento-letter,
  .bento-letter::after,
  .bento-visual,
  .guardian-ring,
  .guardian-core,
  .guardian-scan,
  .encrypt-visual,
  .lock-shackle,
  .cipher-line,
  .analytics-visual span,
  .analytics-visual i,
  .revenue-visual::before,
  .metric-pill,
  .path-dot {
    animation: none;
  }

  .bento-card {
    opacity: 1;
    translate: 0 0;
  }
}

.mobile-menu-btn { display: none; }

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    width: 100%;
    margin-top: 16px;
    gap: 16px;
  }

  nav.active {
    display: flex !important;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 20px 48px;
    gap: 32px;
  }

  .hero-content {
    display: block;
    max-width: 100%;
  }

  .hero-content::before {
    display: none;
  }

  .hero-visual {
    order: 2;
    max-width: 100%;
  }

  .hero-shield-badge {
    width: 64px;
    height: 64px;
    top: -20px;
    right: -8px;
  }

  .hero-shield-badge svg {
    width: 34px;
    height: 34px;
  }

  .terminal-body {
    min-height: 260px;
  }

  .signal-strip {
    order: 3;
  }

  .intro-band,
  .method,
  .mentor,
  .ebook-section,
  .course-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .pain-grid,
  .track-grid,
  .exposure-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
  }

  .hero {
    padding: 104px 16px 32px;
    gap: 24px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 50px);
    line-height: 0.95;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .terminal-body {
    min-height: 220px;
    padding: 14px 12px;
  }

  .term-line {
    font-size: 11px;
  }

  .hero-shield-badge {
    width: 56px;
    height: 56px;
    top: -16px;
    right: -4px;
  }

  .hero-shield-badge svg {
    width: 28px;
    height: 28px;
  }

  .hero-particles {
    display: none;
  }

  .hero-connectors {
    display: none;
  }

  .pain-grid,
  .track-grid,
  .exposure-grid {
    grid-template-columns: 1fr;
  }

  .method-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-large,
  .bento-wide,
  .bento-guardian,
  .bento-encrypt,
  .bento-analytics,
  .bento-revenue {
    grid-column: auto;
    grid-row: auto;
  }

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

  .bento-top {
    flex-wrap: wrap;
  }

  .bento-visual {
    width: 104px;
  }

  .guardian-visual {
    width: 128px;
    min-width: 128px;
  }

  .revenue-visual {
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }

  .bento-card h3 {
    max-width: 100%;
  }

  .intro-band,
  .method,
  .tracks,
  .mentor,
  .ebook-section,
  .platform-section,
  .courses-section {
    padding: 58px 0;
  }

  .course-card {
    gap: 18px;
  }

  .course-icon {
    width: 46px;
    height: 46px;
  }

  .course-copy h3 {
    font-size: 30px;
  }

  .course-copy p:not(.course-label) {
    font-size: 16px;
  }

  .course-video-frame {
    border-width: 8px;
  }

  .capability-grid span {
    flex: 1 1 calc(50% - 10px);
    min-width: 140px;
  }
}



/* Pricing Section */
.pricing {
  padding: 6rem 1rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200,200,200,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pricing .section-heading {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  background: rgba(15,23,21,0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(10px);
}

.pricing-card.highlighted {
  border-color: rgba(200,200,200,0.5);
  box-shadow: 0 0 40px rgba(200,200,200,0.1);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.pricing-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.pricing-price {
  margin-bottom: 2rem;
}

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

.pricing-price .amount {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1;
}

.pricing-card:not(.highlighted) .pricing-price .amount {
  color: var(--fg);
}

.pricing-price .avista {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-size: 0.9rem;
}

.pricing-card:not(.highlighted) .pricing-features li::before {
  color: #64748b;
}

.pricing-features strong {
  color: var(--fg);
}

.pricing-card .primary-button {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.pricing-card .secondary-button {
  width: 100%;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--fg);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.pricing-card .secondary-button:hover {
  background: rgba(255,255,255,0.1);
}

.pricing-guarantee {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

.header-logo {
  height: 35px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}

@media (min-width: 900px) {
  .header-logo {
    height: 60px !important;
  }
}

@keyframes spin { 100% { transform: rotate(360deg); } }

@media (min-width: 768px) {
  .guarantee-card {
    flex-direction: row !important;
    text-align: left !important;
  }
  .guarantee-card__content {
    text-align: left !important;
  }
  .guarantee-steps {
    margin: 0 !important;
  }
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scrollCarousel 20s linear infinite;
}
.carousel-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%) brightness(200%);
  transition: all 0.3s ease;
}
.carousel-track img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(100%);
}
@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 2rem)); }
}
.carousel-track-wrapper::before,
.carousel-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.carousel-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.carousel-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.pricing-badge {
  animation: badgePulse 2s infinite;
  background: linear-gradient(45deg, #e0e0e0, #00b09b) !important;
  color: #000 !important;
  text-shadow: none !important;
  box-shadow: 0 0 15px rgba(200,200,200,0.6) !important;
}
@keyframes badgePulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

@media (min-width: 768px) {
  .course-card .course-icon {
    display: none !important;
  }
  .course-card {
    grid-template-columns: minmax(260px, 0.92fr) minmax(340px, 1.08fr) !important;
  }
}

.hero-bg-video {
  display: none;
}
@media (min-width: 1024px) {
  .hero {
    position: relative;
    overflow: hidden;
    grid-template-columns: 1fr !important;
  }
  .hero-bg-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.45;
    filter: contrast(1.15);
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-50px);
    animation: contentSlideRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: opacity 0.3s ease, filter 0.3s ease;
  }

  @keyframes contentSlideRight {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
  }
  .hero-visual, .hero-connectors {
    position: relative;
    z-index: 1;
  }
  .hero-terminal {
    display: none !important;
  }
}




.hero-actions .primary-button {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
  transition: all 0.3s ease;
}

.hero-actions .primary-button:hover {
  background: var(--accent-2);
  color: #00110d;
  box-shadow: 0 0 34px rgba(150, 150, 150, 0.4);
  transform: translateY(-3px) scale(1.02);
}

/* CODARFREE CURRICULUM STYLES */
.curriculum-container {
  max-width: 900px;
  margin: 120px auto 80px auto;
  padding: 0 20px;
  min-height: 70vh;
}
.curriculum-container h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}
.curriculum-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapter {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}
.chapter-header-wrapper {
  display: flex;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.chapter-button, .module-button, .block-header {
  background: none;
  border: none;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
}
.chapter-button:hover, .module-button:hover, .block-header:hover {
  background: rgba(180, 180, 180, 0.05);
}
.chapter-button-left, .module-button-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 1.1em;
}
.chapter-button-left svg, .module-button-left svg {
  fill: var(--accent);
  width: 20px;
  height: 20px;
}
.chapter-panel, .module-panel, .accordion-block-expanded .challenge-grid-block-panel {
  display: none;
  padding: 10px 20px;
}
.chapter-panel.active, .module-panel.active, .accordion-block-expanded.active .challenge-grid-block-panel {
  display: block;
}
.module-header-wrapper {
  background: rgba(0, 0, 0, 0.2);
  margin-top: 10px;
  border-radius: 4px;
  display: flex;
}
.block-grid {
  margin-top: 10px;
}
.block-header-wrapper {
  display: flex;
}
.map-challenges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 20px;
}
.map-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.map-grid-item:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.block-reset-button, .chapter-button-toggle, .module-button-toggle {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 10px 20px;
}
.block-reset-button svg {
  width: 16px;
  fill: currentColor;
}
.dropdown-wrap svg {
  transition: transform 0.3s;
}
[aria-expanded="true"] .dropdown-wrap svg,
[aria-expanded="true"] .module-button-left .dropdown-wrap svg {
  transform: rotate(180deg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* CODARFREE MAIN MENU STYLES */
.menu-container {
  max-width: 900px;
  margin: 120px auto 80px auto;
  padding: 0 20px;
  min-height: 70vh;
}
.menu-container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text);
}
.learn-alert {
  background: rgba(200, 200, 200, 0.05);
  border: 1px solid var(--line-strong);
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
}
.donate-button {
  display: inline-block;
  background: var(--panel-2);
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  border: 1px solid var(--accent);
  transition: all 0.2s;
}
.donate-button:hover {
  background: var(--accent);
  color: var(--bg);
}
.map-ui h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text);
}
.map-ui ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.map-superblock-link {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.map-superblock-link:hover {
  background: rgba(180, 180, 180, 0.05);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text);
}
.map-icon {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}
.daily-coding-challenge-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.daily-coding-challenge-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.quote-partial {
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-bottom: 30px;
}

/* WORKSPACE UI STYLES */
.workspace-body {
  overflow: hidden; /* Prevent full page scroll in workspace */
  margin: 0;
  padding: 0;
}
.workspace-container {
  display: flex;
  height: calc(100vh - 60px);
  background: var(--panel-2);
}
.workspace-panel {
  flex: 1;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 300px;
}
.workspace-panel:last-child {
  border-right: none;
}
.workspace-panel-header {
  background: var(--panel);
  padding: 10px 15px;
  border-bottom: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.workspace-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.workspace-editor .workspace-panel-content {
  padding: 0;
  background: #0d1117;
}
.code-editor {
  width: 100%;
  height: 100%;
  background: transparent;
  color: #c9d1d9;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.5;
  border: none;
  padding: 20px;
  resize: none;
  outline: none;
}
.preview-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}
.workspace-btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
}
.workspace-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 200, 200, 0.2);
}
