/* ============================================
   A Guide to Cloud — Retro Neon Theme
   Dark background, cyan/magenta neon accents
   ============================================ */

/* Utility: screen-reader only (accessible hidden text) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  --bg-primary: #030308;
  --bg-secondary: #060610;
  --bg-card: #0a0a14;
  --bg-card-hover: #10101e;
  --neon-cyan: #66ffff;
  --neon-magenta: #ff66ff;
  --neon-green: #39ff14;
  --neon-yellow: #ffe600;
  --text-primary: #e0e0f0;
  --text-secondary: #a0a0c0;
  --text-muted: #8a8aaa;
  --border-glow: rgba(102, 255, 255, 0.3);
  --shadow-neon: 0 0 15px rgba(102, 255, 255, 0.2);
  --shadow-neon-strong: 0 0 30px rgba(102, 255, 255, 0.4);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  --max-width: 1280px;
  --radius: 16px;
  /* Glassmorphism Design Tokens */
  --glass-blur-card: 12px;
  --glass-blur-overlay: 20px;
  --glass-blur-subtle: 8px;
  --glass-bg-card: rgba(255, 255, 255, 0.03);
  --glass-bg-overlay: rgba(3, 3, 8, 0.75);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-hover: 1px solid rgba(255, 255, 255, 0.15);
  --glass-radius-card: 16px;
  --glass-radius-pill: 20px;
  --glass-radius-button: 12px;
  /* Typography Scale (1.25 ratio) */
  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
}

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

/* Skip-to-content link — hidden until keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon-magenta);
  color: #0f0f1a;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
}
/* Ambient gradient orbs — gives glass elements something to blur */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 8% 10%, rgba(255, 102, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 92% 85%, rgba(102, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 20%, rgba(102, 255, 255, 0.06) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}
/* Futuristic grid pattern — site-wide */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    linear-gradient(rgba(102, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 85%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6,
.site-logo,
.section-title,
.card-title,
.hero .tagline,
.btn-primary,
.btn-secondary,
.pill,
.card-tag {
  font-family: var(--font-heading);
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--neon-cyan);
}

/* ── NAV ────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 2rem;
  background: rgba(3, 3, 8, 0.82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-scrolled .nav-inner {
  background: rgba(3, 3, 8, 0.96);
  border-color: var(--nav-accent, rgba(102, 255, 255, 0.2));
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px color-mix(in srgb, var(--nav-accent, rgba(102, 255, 255, 0.1)) 30%, transparent);
}
.site-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.site-logo-img-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.site-logo span {
  color: #ff66ff;
  text-shadow: 0 0 20px rgba(255, 102, 255, 0.5);
}

/* ── NAV LIVE VISITOR COUNT ── */
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #22c55e;
  margin-left: 0.5rem;
  opacity: 0.85;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: th-pulse 1.5s infinite;
}
.nav-live-label { }
@media (max-width: 768px) {
  .nav-live { font-size: 0.6rem; margin-left: 0.25rem; gap: 0.15rem; }
  .nav-live-dot { width: 5px; height: 5px; }
  .nav-live-label { display: none; }
}

.nav-links {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a.nav-active {
  color: #ff99ff;
  border-color: #ff99ff;
  background: rgba(255, 102, 255, 0.06);
  box-shadow: 0 0 12px rgba(255, 102, 255, 0.15);
  text-shadow: 0 0 10px rgba(255, 102, 255, 0.4);
}
.nav-dropdown-active > .dropdown-toggle {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.nav-cta {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #030308 !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15) !important;
  color: #030308 !important;
}

/* ── NAV DROPDOWN ───────────────────────── */
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.dropdown-toggle {
  cursor: pointer;
  line-height: 1;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  background: rgba(3, 3, 8, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: var(--glass-border);
  border-radius: var(--glass-radius-card);
  padding: 0.5rem 0;
  min-width: 240px;
  list-style: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: none !important;
  border-radius: 0 !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: rgba(255, 102, 255, 0.08);
  color: #ff99ff;
  box-shadow: none;
  padding-left: 1.5rem;
}

/* ── Mega-menu (Toolkit dropdown) ── */
.mega-menu {
  width: 520px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 !important;
}
.mega-header {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-header a {
  display: block;
  padding: 0.35rem 0.4rem;
  font-size: 0.85rem;
  color: var(--text-primary) !important;
  border: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease;
}
.mega-header a:hover {
  background: rgba(255, 102, 255, 0.08);
  color: #ff99ff !important;
  box-shadow: none;
}
.mega-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.mega-col {
  padding: 0.5rem 0.2rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
}
.mega-col:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.mega-label {
  display: block;
  padding: 0.3rem 0.6rem;
  margin: 0.35rem 0.3rem 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mega-accent, rgba(255, 255, 255, 0.5));
  background: color-mix(in srgb, var(--mega-accent, #fff) 10%, transparent);
  border-left: 2px solid var(--mega-accent, rgba(255, 255, 255, 0.3));
  border-radius: 0 6px 6px 0;
  cursor: default;
  pointer-events: none;
  user-select: none;
  border: none;
  width: 100%;
  text-align: left;
}
.mega-chevron {
  float: right;
  font-size: 0.55rem;
  transition: transform 0.2s ease;
  display: none;
}
.mega-group {
  display: flex;
  flex-direction: column;
}
.mega-label:first-child {
  margin-top: 0.1rem;
}
.mega-col a {
  display: block;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.mega-col a:hover {
  background: rgba(255, 102, 255, 0.08);
  color: #ff99ff;
  box-shadow: none;
  padding-left: 0.85rem;
}
.mega-col a.nav-active {
  color: #ff99ff;
  background: rgba(255, 102, 255, 0.06);
}
.mega-footer {
  padding: 0.35rem 1rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-footer a {
  display: block;
  padding: 0.3rem 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease;
  text-decoration: none;
}
.mega-footer a:hover {
  background: rgba(255, 102, 255, 0.08);
  color: #ff99ff;
  box-shadow: none;
}

/* ── Smart Mega Menu (2026-04-17) ─────────────────────────────────────── */
.mega-menu--smart { width: 380px; padding: 0 !important; }
.mega-smart-search {
  padding: 0.6rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mega-smart-search input {
  width: 100%; padding: 0.5rem 0.8rem; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 0.85rem; outline: none;
}
.mega-smart-search input::placeholder { color: rgba(255,255,255,0.3); }
.mega-smart-search input:focus { border-color: rgba(255,102,255,0.4); }
.mega-smart-body { padding: 0.4rem 0.6rem; max-height: 360px; overflow-y: auto; scrollbar-width: thin; }
.mega-smart-section { margin-bottom: 0.5rem; }
.mega-smart-label {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35); padding: 0.2rem 0.4rem; margin-bottom: 0.15rem;
}
.mega-smart-list { display: flex; flex-direction: column; }
.mega-smart-list a {
  padding: 0.35rem 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.8);
  border-radius: 6px; text-decoration: none; transition: all 0.15s;
  border: none !important;
}
.mega-smart-list a:hover { background: rgba(255,102,255,0.08); color: #ff99ff; }
.mega-smart-list a.nav-active { color: #ff99ff; background: rgba(255,102,255,0.06); }
.mega-smart-cats { display: flex; flex-direction: column; gap: 0.2rem; }
.mega-smart-cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.7);
  border-radius: 6px; text-decoration: none; transition: all 0.15s;
  border-left: 3px solid var(--cat-color, rgba(255,255,255,0.1));
  border-top: none !important; border-bottom: none !important; border-right: none !important;
}
.mega-smart-cat:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mega-smart-cat span {
  font-size: 0.7rem; color: rgba(255,255,255,0.3); font-weight: 600;
}
.mega-smart-results {
  padding: 0.4rem 0.6rem; max-height: 300px; overflow-y: auto;
}
.mega-smart-results a {
  display: block; padding: 0.4rem 0.5rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.8); border-radius: 6px; text-decoration: none;
  transition: all 0.15s; border: none !important;
}
.mega-smart-results a:hover { background: rgba(255,102,255,0.08); color: #ff99ff; }
.mega-smart-results .mega-search-empty {
  padding: 1rem; text-align: center; color: rgba(255,255,255,0.3); font-size: 0.85rem;
}
.mega-smart-footer {
  display: flex; justify-content: space-between; padding: 0.5rem 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mega-smart-footer a {
  font-size: 0.8rem; color: rgba(255,255,255,0.5); text-decoration: none;
  border: none !important;
}
.mega-smart-footer a:hover { color: #ff99ff; }

/* Legacy dropdown labels (Videos dropdown) */
.nav-cat-label {
  padding: 0.5rem 1.2rem 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.nav-cat-label:first-child {
  padding-top: 0.3rem;
}

/* ── HERO ───────────────────────────────── */
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 0, 229, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

.hero .tagline {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255, 171, 64, 0.3);
}

.hero .tagline em {
  color: var(--neon-magenta);
  font-style: normal;
  text-shadow: 0 0 15px rgba(255, 0, 229, 0.4);
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--neon-cyan);
  color: var(--bg-primary);
  font-weight: 700;
  border-radius: 14px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #fff;
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
  text-shadow: none;
}
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--neon-cyan);
  font-weight: 700;
  border-radius: 14px;
  font-size: 1rem;
  border: 2px solid var(--neon-cyan);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  text-shadow: none;
  color: #fff;
}



/* ── HERO MINIMAL ───────────────────────── */
.hero-minimal {
  padding: 1.5rem 2rem !important;
  text-align: left !important;
}
.minimal-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.minimal-left h1 {
  font-size: 1.8rem !important;
  margin-bottom: 0 !important;
}
.minimal-left .tagline {
  font-size: 1.6rem !important;
  margin-bottom: 0 !important;
  line-height: 1.2;
}


/* ── TRUST BAR ────────────────────────────── */
.hp-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.hp-trust-bar strong { color: rgba(255, 255, 255, 0.55); }
.hp-trust-dot { color: rgba(255, 255, 255, 0.15); }

/* ── HOMEPAGE: RAYCAST TOOLKIT SHOWCASE ────── */
.hp-ray-section { margin-bottom: 2rem; }
.hp-ray-filters {
  display: flex;
  width: 100%;
  gap: 0.25rem;
  padding: 5px;
  margin-bottom: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hp-ray-filters::-webkit-scrollbar { display: none; }
.hp-ray-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 0;
}
.hp-ray-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.25s ease;
  white-space: nowrap;
  flex: 1;
  text-align: center;
}
.hp-ray-pill:hover {
  color: rgba(255, 255, 255, 0.85);
}
.hp-ray-pill.active {
  color: #fff;
}
.hp-ray-pill:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}
.hp-ray-card:focus-visible {
  outline: 2px solid var(--ray-color, var(--neon-cyan));
  outline-offset: 2px;
}
.hp-ray-wrapper {
  position: relative;
}
.hp-ray-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: 340px;
  gap: 1.2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.hp-ray-grid::-webkit-scrollbar { display: none; }
.hp-ray-grid > .hp-ray-card:nth-child(odd) { scroll-snap-align: start; }
.hp-ray-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-ray-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-ray-nav[disabled] {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}
.hp-ray-nav-left { left: -22px; }
.hp-ray-nav-right { right: -22px; }
.hp-ray-browse {
  display: block;
  text-align: center;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s;
}
.hp-ray-browse:hover {
  color: var(--neon-cyan);
}
@media (max-width: 1100px) {
  .hp-ray-grid { grid-auto-columns: 300px; }
  .hp-ray-nav-left { left: -10px; }
  .hp-ray-nav-right { right: -10px; }
}
@media (max-width: 860px) {
  .hp-ray-grid { grid-auto-columns: 260px; }
}
.hp-ray-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.2rem;
  min-height: 300px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--ray-color) 22%, transparent);
  background:
    radial-gradient(ellipse at 25% -10%, color-mix(in srgb, var(--ray-color) 48%, transparent) 0%, transparent 55%),
    #000;
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hp-ray-card:hover {
  transform: translateY(-5px) perspective(800px) rotateX(1deg) rotateY(-1.5deg);
  border-color: color-mix(in srgb, var(--ray-color) 50%, transparent);
  box-shadow:
    0 12px 40px color-mix(in srgb, var(--ray-color) 18%, transparent),
    0 0 0 1px color-mix(in srgb, var(--ray-color) 8%, transparent);
  background:
    radial-gradient(ellipse at 25% -10%, color-mix(in srgb, var(--ray-color) 60%, transparent) 0%, transparent 60%),
    #000;
}
.hp-ray-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding: 0.45rem 0.8rem;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  width: fit-content;
}
.hp-ray-emoji {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}
.hp-ray-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.1px;
  flex: 1;
}
.hp-ray-arrow {
  font-size: 0.85rem;
  color: var(--ray-color);
  opacity: 0.35;
  transition: opacity 0.3s, transform 0.3s;
  text-shadow: 0 0 12px var(--ray-color);
  flex-shrink: 0;
}
.hp-ray-card:hover .hp-ray-arrow {
  opacity: 1;
  transform: translateX(3px);
}
.hp-ray-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin: 0;
}
.hp-ray-visual {
  position: relative;
  margin-top: 0.8rem;
  pointer-events: none;
  overflow: visible;
  flex: 1;
  perspective: 500px;
  padding-top: 16px;
}
.hp-ray-visual-inner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ray-color) 25%, transparent);
  transition: border-color 0.3s, transform 0.4s;
  transform: rotateX(6deg) rotateY(-3deg);
  transform-origin: center bottom;
  z-index: 3;
}
.hp-ray-card:hover .hp-ray-visual-inner {
  border-color: color-mix(in srgb, var(--ray-color) 50%, transparent);
  transform: rotateX(3deg) rotateY(-1.5deg);
}
/* Layer 1 — closest behind */
.hp-ray-visual-inner::before {
  content: '';
  position: absolute;
  top: -10px; left: 12px; right: 12px;
  height: 12px;
  border-radius: 10px 10px 0 0;
  background: color-mix(in srgb, var(--ray-color) 15%, rgba(255,255,255,0.05));
  border: 1px solid color-mix(in srgb, var(--ray-color) 20%, transparent);
  border-bottom: none;
  z-index: 2;
}
/* Layer 2 — furthest back */
.hp-ray-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 10px;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--ray-color) 8%, rgba(255,255,255,0.03));
  border: 1px solid color-mix(in srgb, var(--ray-color) 12%, transparent);
  border-bottom: none;
  z-index: 1;
  transform: rotateX(6deg) rotateY(-3deg);
  transform-origin: center bottom;
}
.hp-ray-visual-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}
.hp-ray-preview {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: center top;
  border-radius: 9px;
  opacity: 0.55;
  filter: brightness(0.9) saturate(0.85);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
  display: block;
  transform: scale(1.02);
}
.hp-ray-card:hover .hp-ray-preview {
  opacity: 0.85;
  filter: brightness(1) saturate(1);
  transform: scale(1.06);
}
.hp-ray-abstract {
  margin-top: auto;
  padding: 0 0.4rem;
  color: var(--ray-color);
  pointer-events: none;
}
.hp-ray-abstract svg {
  width: 100%;
  display: block;
  opacity: 0.8;
  filter: drop-shadow(0 0 10px currentColor);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.hp-ray-card:hover .hp-ray-abstract svg {
  opacity: 1;
  filter: drop-shadow(0 0 16px currentColor);
}
/* Hide cards that don't match the filter */
.hp-ray-card[data-hidden="true"] {
  display: none;
}
/* Staggered entrance animation — one-time only */
@keyframes hp-ray-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hp-ray-grid.hp-ray-animate .hp-ray-card {
  animation: hp-ray-enter 0.4s ease both;
}
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(1)  { animation-delay: 0s; }
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(2)  { animation-delay: 0.04s; }
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(3)  { animation-delay: 0.04s; }
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(4)  { animation-delay: 0.08s; }
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(5)  { animation-delay: 0.08s; }
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(6)  { animation-delay: 0.12s; }
.hp-ray-grid.hp-ray-animate .hp-ray-card:nth-child(n+7) { animation-delay: 0.16s; }

.hp-ray-badge-new {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  background: rgba(57, 255, 20, 0.15);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: #39ff14;
  animation: new-badge-glow 2s ease-in-out infinite;
}
@keyframes new-badge-glow {
  0%, 100% { box-shadow: 0 0 6px rgba(57, 255, 20, 0.15); }
  50% { box-shadow: 0 0 14px rgba(57, 255, 20, 0.3); }
}

/* ── OLD TOOLKIT (legacy, keep for non-home pages) ── */
.hp-toolkit-group {
  margin-bottom: 1.2rem;
}
.hp-toolkit-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 0.5rem 0.2rem;
}
.hp-toolkit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}
.hp-toolkit-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(ellipse at 20% -15%, color-mix(in srgb, var(--tool-color) 20%, transparent) 0%, transparent 55%),
    rgba(0, 0, 0, 0.5);
  border: 1px solid color-mix(in srgb, var(--tool-color) 15%, transparent);
  border-radius: 14px;
  transition: all 0.25s;
}
.hp-toolkit-card:hover {
  background:
    radial-gradient(ellipse at 20% -15%, color-mix(in srgb, var(--tool-color) 35%, transparent) 0%, transparent 60%),
    rgba(0, 0, 0, 0.6);
  border-color: color-mix(in srgb, var(--tool-color) 40%, transparent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--tool-color) 12%, transparent);
  transform: translateY(-2px);
}
.hp-toolkit-card strong {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.hp-toolkit-card p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
  margin: 0;
}

/* ── HOMEPAGE: BLOG CARDS ────────────────── */
.hp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.hp-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.5rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.hp-blog-card:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-shadow: none;
}
.hp-blog-date {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hp-blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}
.hp-blog-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-blog-read {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.hp-blog-card:hover .hp-blog-read { opacity: 1; }
.hp-blog-badge-new {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  margin-bottom: 0.2rem;
}

/* ── SOCIAL PROOF STRIP ──────────────────── */
.hp-proof-strip {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hp-proof-strip p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  margin: 0;
}
.hp-proof-strip strong {
  color: rgba(255, 255, 255, 0.55);
}

/* ── PROOF STATS INLINE ── */
.hp-proof-stats-inline {
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.hp-proof-stats-inline strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* ── TESTIMONIALS CAROUSEL ───────────────── */
.hp-testimonials-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.hp-testimonials-scroll {
  display: flex;
  gap: 1rem;
  animation: testimonial-scroll 40s linear infinite;
  width: max-content;
}
.hp-testimonials-scroll:hover {
  animation-play-state: paused;
}
@keyframes testimonial-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp-testimonial {
  flex: 0 0 340px;
  padding: 1.2rem 1.4rem;
  background:
    radial-gradient(ellipse at 20% -15%, rgba(251, 191, 36, 0.06) 0%, transparent 55%),
    rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-radius: 18px;
  transition: border-color 0.3s;
}
.hp-testimonial:hover {
  border-color: rgba(251, 191, 36, 0.25);
}
.hp-testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.hp-testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #FBBF24;
  flex-shrink: 0;
}
.hp-testimonial-head strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
}
.hp-testimonial-source {
  display: block;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.68rem;
}
.hp-testimonial p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}
@media (max-width: 768px) {
  .hp-testimonial { flex: 0 0 280px; padding: 1rem 1.1rem; }
}

/* ── HOMEPAGE: SEARCH BOX ────────────────── */
/* ── SHARED: IN-PAGE SEARCH BOX ─────────── */
.page-search-wrap {
  max-width: 600px;
  margin: 1.5rem auto 0;
}
.welcome-strip .page-search-wrap {
  max-width: 100%;
  margin: 0.8rem 0;
}
.page-search-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 500px;
  padding: 0.65rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
}
.is-home .page-search-box {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12);
  max-width: 500px;
  margin: 0 auto;
}
.page-search-box:hover {
  border-color: rgba(255, 102, 255, 0.3);
  box-shadow: 0 0 12px rgba(255, 102, 255, 0.06);
}
.is-home .page-search-box:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.04);
}
.page-search-icon { font-size: 1rem; flex-shrink: 0; }
.is-home .page-search-icon { color: rgba(255, 255, 255, 0.5); }
.page-search-text {
  flex: 1;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
}
.is-home .page-search-text { color: rgba(255, 255, 255, 0.45); }
.page-search-shortcut {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}
.is-home .page-search-shortcut {
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
}
@media (max-width: 768px) {
  .page-search-shortcut { display: none; }
}

@media (max-width: 768px) {
  .hp-ray-wrapper { position: static; }
  .hp-ray-grid {
    display: grid;
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: unset;
    gap: 0.8rem;
    overflow-x: visible;
    scroll-snap-type: none;
    max-height: none;
  }
  .hp-ray-card { min-height: 260px; scroll-snap-align: unset; }
  .hp-ray-card:nth-child(n+5) { display: none; }
  .hp-ray-grid.hp-ray-filtered .hp-ray-card:nth-child(n+5) { display: block; }
  .hp-ray-grid.hp-ray-filtered .hp-ray-card[data-hidden="true"] { display: none; }
  .hp-ray-card[data-hidden="true"] { display: none; }
  .hp-ray-nav { display: none; }
  .hp-ray-browse { margin-top: 1rem; }
  .hp-ray-filters {
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .hp-ray-pill { flex: 0 0 auto; font-size: 0.78rem; padding: 0.45rem 0.9rem; }
  .hp-toolkit-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-blog-grid { grid-template-columns: 1fr; }
  .hp-blog-grid .hp-blog-card:nth-child(n+5) { display: none; }
  .hp-blog-card p { -webkit-line-clamp: 2; }
  .welcome-title { font-size: 2.2rem; }
  .welcome-cta-row { flex-direction: column; align-items: center; }
  .welcome-cta-row .page-search-wrap { width: 100%; }
  .hp-trust-bar { font-size: 0.72rem; }
  .hp-final-cta h2 { font-size: 1.5rem; }
  .hp-toolkit-card p { display: none; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid .video-card:nth-child(n+5) { display: none; }
}

/* ── WELCOME STRIP ───────────────────────── */
.welcome-strip {
  padding: 3.5rem 2rem 2rem;
}
.is-home .nav-inner {
  border-color: rgba(255, 255, 255, 0.04);
}
.welcome-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

@keyframes neon-pulse {
  from { box-shadow: 0 0 12px rgba(0, 229, 255, 0.2), 0 0 25px rgba(0, 229, 255, 0.08); }
  to   { box-shadow: 0 0 20px rgba(0, 229, 255, 0.35), 0 0 40px rgba(0, 229, 255, 0.15); }
}
.welcome-text-block {
  text-align: left;
}
.welcome-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -1.5px;
  line-height: 1.08;
}
.welcome-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}
.welcome-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.welcome-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
}
.welcome-cta-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  color: #fff;
}

/* ── BORDER BEAM — Travelling colour animation ── */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.border-beam {
  --border-angle: 0deg;
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(3, 3, 8, 0.9), rgba(3, 3, 8, 0.9)) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 60%,
      var(--neon-cyan) 68%,
      var(--neon-magenta) 72%,
      transparent 80%
    ) border-box;
  animation: border-beam-rotate 8s linear infinite;
}
.border-beam:hover {
  background:
    linear-gradient(rgba(6, 6, 14, 0.95), rgba(6, 6, 14, 0.95)) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 30%,
      var(--neon-cyan) 45%,
      var(--neon-magenta) 55%,
      #fff 60%,
      transparent 75%
    ) border-box;
  box-shadow: 0 0 20px rgba(102, 255, 255, 0.15), 0 0 40px rgba(255, 102, 255, 0.1);
}
.border-beam-circle {
  --border-angle: 0deg;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(3, 3, 8, 1), rgba(3, 3, 8, 1)) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 65%,
      var(--neon-cyan) 72%,
      var(--neon-magenta) 78%,
      transparent 85%
    ) border-box;
  animation: border-beam-rotate 8s linear infinite;
}
@keyframes border-beam-rotate {
  to { --border-angle: 360deg; }
}

/* ── HOMEPAGE: HERO STATS BOXES ───────────── */
.welcome-stat-boxes {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
  width: 100%;
}
.welcome-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.7rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  flex: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.welcome-stat-box:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.04);
}
a.welcome-stat-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.welcome-stat-link:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.08);
}
.welcome-stat-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.welcome-stat-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
  .welcome-inner { text-align: center; }
  .welcome-text-block { text-align: center; }
  .welcome-stat-boxes { gap: 0.3rem; }
  .welcome-stat-box { padding: 0.4rem 0.3rem; }
  .welcome-stat-num { font-size: 1rem; }
  .welcome-stat-label { font-size: 0.55rem; }
}

/* ── SECTIONS ───────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 4.5rem 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-glow), transparent);
  margin-left: 1rem;
  position: relative;
  overflow: hidden;
}
.section-title::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer-line 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer-line {
  0%, 100% { transform: translateX(-60px); opacity: 0; }
  50% { transform: translateX(200px); opacity: 1; }
}
.section-desc {
  width: 100%;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .section-desc { display: none; }
}
.section-link {
  font-size: 0.85rem;
  color: rgba(255, 102, 255, 0.7);
  white-space: nowrap;
}
.section-link:hover {
  color: rgba(255, 102, 255, 0.9);
}

/* ── VIDEO GRID ─────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.video-card .thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.3);
  pointer-events: none;
  transition: background 0.3s ease;
}
.video-card:hover .thumb::after {
  background: rgba(3, 3, 8, 0.15);
}
.video-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover .thumb img {
  transform: scale(1.05);
}
.video-card .thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-card:hover .thumb .play-icon {
  opacity: 1;
}
.play-icon::after {
  content: '▶';
  color: var(--bg-primary);
  font-size: 1.2rem;
  margin-left: 3px;
}
.video-card .card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 229, 255, 0.1);
  color: var(--neon-cyan);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.video-card .card-tag.ai { background: rgba(255, 0, 229, 0.1); color: var(--neon-magenta); }
.video-card .card-tag.cloud { background: rgba(0, 229, 255, 0.1); color: var(--neon-cyan); }
.video-card .card-tag.cert { background: rgba(57, 255, 20, 0.1); color: var(--neon-green); }
.video-card .card-tag.legacy { background: rgba(255, 230, 0, 0.1); color: var(--neon-yellow); }
.video-card .card-body {
  padding: 0.8rem;
}
.video-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}
.video-card .card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── CATEGORY PILLS ─────────────────────── */
.category-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.pill {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}
.pill:hover, .pill.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
  text-shadow: none;
}

/* ── ECOSYSTEM BANNER ───────────────────── */
.ecosystem {
  background: rgba(20, 20, 37, 0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.eco-card {
  padding: 1.5rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 20% -15%, rgba(255, 102, 255, 0.08) 0%, transparent 55%),
    rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 102, 255, 0.08);
  transition: all 0.3s ease;
}
.eco-card:hover {
  border-color: rgba(255, 102, 255, 0.3);
  background:
    radial-gradient(ellipse at 20% -15%, rgba(255, 102, 255, 0.15) 0%, transparent 60%),
    rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 102, 255, 0.06);
}
.eco-card .eco-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.eco-card .eco-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 102, 255, 0.15);
}
.eco-card h3 { font-size: 1rem; color: #fff; margin-bottom: 0.3rem; }
.eco-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ── ABOUT SECTION ──────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border-glow);
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}
.about-text p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* ── GLOBAL: BACK NAV ───────────────────── */
.back-nav {
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.back-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--neon-cyan);
  border-radius: 14px;
  color: var(--neon-cyan);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.back-nav-link:hover {
  background: var(--neon-cyan);
  color: #000;
}

/* ── GLOBAL: BACK TO TOP ────────────────── */
.global-btt {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  font-size: 1.3rem; font-weight: 900; cursor: pointer;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(20px); transition: all 0.3s;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.global-btt-show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.global-btt:hover { background: rgba(255, 255, 255, 0.12); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.2); color: #fff; }

/* ── Feedback FAB (floating action button) ── */
.feedback-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(255, 102, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}
.feedback-fab:hover {
  background: rgba(255, 102, 255, 0.25);
  box-shadow: 0 4px 25px rgba(255, 102, 255, 0.4);
  border-color: rgba(255, 102, 255, 0.5);
  transform: scale(1.1);
}
@media (max-width: 640px) {
  .feedback-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feedback-fab { transition: none; }
}

/* ── Nav dropdown divider ── */
.nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.3rem 0.5rem;
  list-style: none;
}

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  border-top: var(--glass-border);
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(10, 10, 20, 0.65);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--neon-cyan);
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.72rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 0.8rem;
  line-height: 1.5;
}
.footer-legal {
  font-size: 0.72rem;
  margin: 0 auto 0.5rem;
}
.footer-legal a {
  color: var(--text-muted);
  opacity: 0.7;
  text-decoration: underline;
}
.footer-legal a:hover { opacity: 1; }
.footer-disclaimer a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ── SECTION PAGE ───────────────────────── */
/* ── SHARED: TOOL HERO ──────────────────── */
/* Consistent hero for all Free Tools pages */
.tool-hero {
  text-align: center;
  padding: 0.75rem 1.5rem 0;
  margin-bottom: 0.75rem;
}
.tool-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: color-mix(in srgb, var(--hero-accent, #66ffff) 5%, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--hero-accent, #66ffff) 15%, rgba(255,255,255,0.06));
  border-radius: 16px;
  padding: 0.6rem 1.5rem 0.45rem;
}

.tool-hero-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hero-accent, #fff);
  margin: 0 0 0.1rem;
  letter-spacing: -0.3px;
}
.tool-hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  margin: 0.3rem auto 0;
  background: linear-gradient(90deg, transparent, var(--hero-accent, #66ffff), transparent);
  border-radius: 1px;
}
.tool-hero-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0.3rem auto 0.35rem;
  line-height: 1.3;
  max-width: 600px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .tool-hero { padding: 0.5rem 0.75rem 0; }
  .tool-hero-inner { padding: 0.6rem 1rem 0.4rem; border-radius: 12px; }
  .tool-hero-title { font-size: 1.15rem; }
  .tool-hero-title::after { width: 50px; }
  .tool-hero-subtitle { font-size: 0.78rem; max-width: 100%; }
}

/* ── TOOL USAGE COUNTER (social proof) ── */
.tool-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── LIVE VISITOR INDICATOR ── */
.tool-hero-live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tool-hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: th-pulse 1.5s infinite;
}
@keyframes th-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) {
  .tool-hero-live-dot { animation: none; }
}
.tool-counter {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid color-mix(in srgb, var(--hero-accent, #66ffff) 40%, transparent);
  border-radius: 999px;
}
.tool-counter-num {
  font-weight: 800;
  color: var(--hero-accent, rgba(255, 255, 255, 0.9));
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
}
.tool-counter-verb {
  opacity: 0.8;
  margin-left: 0.15em;
}

/* ── KO-FI SUPPORT BUTTON ────────────── */
.kofi-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 94, 91, 0.15);
  border: 1px solid rgba(255, 94, 91, 0.5);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.kofi-btn:hover, .kofi-btn:focus-visible {
  background: rgba(255, 94, 91, 0.3);
  border-color: rgba(255, 94, 91, 0.8);
  box-shadow: 0 0 20px rgba(255, 94, 91, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

/* Footer Ko-fi button */
.footer-kofi {
  text-align: center;
  margin: 0.5rem 0 1rem;
}

/* ── FRESHNESS BADGE (pipeline tools) ── */
.tool-freshness {
  display: none;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.tool-freshness-loaded {
  display: inline-flex;
}

/* ── TOOL PREV/NEXT NAV ────────────────── */
.tool-pn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.4rem 0 0;
  gap: 0.75rem;
}
.tool-pn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  max-width: 48%;
}
.tool-pn-link:hover {
  border-color: var(--hero-accent, var(--neon-cyan));
  color: var(--hero-accent, var(--neon-cyan));
  background: rgba(255,255,255,0.04);
}
.tool-pn-prev { margin-right: auto; }
.tool-pn-next { margin-left: auto; }
.tool-pn-arrow { font-size: 0.85rem; opacity: 0.7; }
.tool-pn-emoji { font-size: 0.85rem; }
.tool-pn-short { display: none; }
@media (max-width: 640px) {
  .tool-pn-name { display: none; }
  .tool-pn-short { display: inline; }
  .tool-pn-link { font-size: 0.72rem; padding: 0.35rem 0.65rem; }
}

/* ── Blog prev/next circular nav ── */
.blog-pn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  padding-top: 0.7rem;
  gap: 0.5rem;
}
.blog-pn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
  max-width: 48%;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 229, 255, 0.04);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.08);
}
.blog-pn-link:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}
.blog-pn-prev { margin-right: auto; }
.blog-pn-next { margin-left: auto; text-align: right; }
.blog-pn-arrow { font-size: 0.8rem; opacity: 0.7; flex-shrink: 0; }
.blog-pn-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.65; flex-shrink: 0; }
.blog-pn-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .blog-pn-title { display: none; }
  .blog-pn-link { font-size: 0.7rem; padding: 0.35rem 0.6rem; }
}

/* ── Section prev/next circular nav ── */
.section-pn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0.8rem auto 0;
  padding: 0;
  gap: 0.75rem;
}
.section-pn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  max-width: 48%;
}
.section-pn-link:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(255, 255, 255, 0.04);
}
.section-pn-prev { margin-right: auto; }
.section-pn-next { margin-left: auto; }
.section-pn-arrow { font-size: 0.85rem; opacity: 0.7; }
.section-pn-emoji { font-size: 0.85rem; }
.section-pn-short { display: none; }
@media (max-width: 640px) {
  .section-pn-name { display: none; }
  .section-pn-short { display: inline; }
  .section-pn-link { font-size: 0.72rem; padding: 0.35rem 0.65rem; }
  .section-pn { padding: 0 1rem; }
}

.page-hero {
  text-align: center;
  padding: 2.5rem 1.5rem 1.5rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--hero-tint, #9333EA) 35%, #030308) 0%, var(--bg-primary) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  margin-bottom: 1.5rem;
  animation: hero-entrance 0.5s ease both;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
  letter-spacing: -0.3px;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .page-hero { padding: 1.8rem 1rem 0.8rem; }
  .page-hero h1 { font-size: 1.5rem; }
}

/* ── Per-section hero gradient tints ── */
.page-ai-hub        { --hero-tint: #C026D3; }  /* fuchsia/magenta — AI content */
.page-cloud-labs     { --hero-tint: #3B82F6; }  /* blue — hands-on labs */
.page-certifications { --hero-tint: #10B981; }  /* emerald — learning/growth */
.page-exam-qa        { --hero-tint: #8B5CF6; }  /* violet — study/prep */
.page-interview-prep { --hero-tint: #A78BFA; }  /* lavender — career */
.page-music          { --hero-tint: #EC4899; }  /* pink — creative/music */
.page-blog           { --hero-tint: #0EA5E9; }  /* sky blue — content */
.page-free-tools     { --hero-tint: #C4755B; }  /* terracotta — kept for toolkit */

/* Per-section nav accents */
.page-ai-hub .site-nav        { --nav-accent: rgba(192, 38, 211, 0.35); }
.page-cloud-labs .site-nav     { --nav-accent: rgba(59, 130, 246, 0.35); }
.page-certifications .site-nav { --nav-accent: rgba(16, 185, 129, 0.35); }
.page-exam-qa .site-nav        { --nav-accent: rgba(139, 92, 246, 0.35); }
.page-interview-prep .site-nav { --nav-accent: rgba(167, 139, 250, 0.35); }
.page-music .site-nav          { --nav-accent: rgba(236, 72, 153, 0.35); }
.page-blog .site-nav           { --nav-accent: rgba(14, 165, 233, 0.35); }

/* ── SINGLE PAGE ────────────────────────── */
.single-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* ── BLOG DESIGN SYSTEM v2 ─────────────── */
/* Color-coded heading hierarchy for visual scanning */
.single-content .content-body {
  color: var(--text-secondary);
  line-height: 1.75;
  font-family: var(--font-body);
  font-size: 1.05rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Heading Hierarchy: Color-Coded Chapters ── */
/* h2: Magenta — Major sections. Brand color. Chapter breaks. */
.single-content .content-body h2 {
  color: var(--neon-magenta);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 102, 255, 0.15);
  scroll-margin-top: 5rem;
  letter-spacing: -0.01em;
}

/* h3: Matrix Green — Subsections. Bold, distinctive. */
.single-content .content-body h3 {
  color: #39ff14;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.8rem;
  margin-bottom: 0.8rem;
  scroll-margin-top: 5rem;
}

/* h4: Warm Amber — Detail points, before-the-elaboration markers. */
.single-content .content-body h4 {
  color: #FBBF24;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  scroll-margin-top: 5rem;
}

/* h5/h6: Muted supporting levels */
.single-content .content-body h5 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ── Prose Rhythm: Generous breathing room ── */
.single-content .content-body p {
  margin-bottom: 1.4em;
}

/* Strong text in paragraphs gets subtle emphasis */
.single-content .content-body p > strong:first-child,
.single-content .content-body li > strong:first-child {
  color: #e0e0f0;
}

/* Lists: spacious, scannable */
.single-content .content-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.single-content .content-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.single-content .content-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
/* Nested lists tighter */
.single-content .content-body li > ul,
.single-content .content-body li > ol {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

/* ── Horizontal rules as chapter dividers ── */
.single-content .content-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 255, 255, 0.2), transparent);
  margin: 3rem 0;
}
/* About page: magenta gradient top */
.is-about main {
  background: linear-gradient(180deg, color-mix(in srgb, #ff66ff 35%, rgba(3, 3, 8, 0.8)) 0%, transparent 300px);
}
.is-about .site-nav { --nav-accent: rgba(255, 102, 255, 0.35); }
.page-ainews .site-nav { --nav-accent: rgba(255, 102, 255, 0.35); }
.page-roadmap .site-nav { --nav-accent: rgba(229, 160, 13, 0.35); }
.page-prompts .site-nav { --nav-accent: rgba(167, 139, 250, 0.35); }
.page-polisher .site-nav { --nav-accent: rgba(236, 72, 153, 0.35); }
.page-readiness .site-nav { --nav-accent: rgba(59, 130, 246, 0.35); }
.page-copilot-matrix .site-nav { --nav-accent: rgba(96, 165, 250, 0.35); }
.page-ai-mapper .site-nav { --nav-accent: rgba(56, 189, 248, 0.35); }
.page-roi-calculator .site-nav { --nav-accent: rgba(20, 184, 166, 0.35); }
.page-deptime .site-nav { --nav-accent: rgba(220, 38, 38, 0.35); }
.page-feedback .site-nav { --nav-accent: rgba(251, 191, 36, 0.35); }
.page-migration-planner .site-nav { --nav-accent: rgba(100, 120, 204, 0.35); }
.page-ca-builder .site-nav { --nav-accent: rgba(124, 58, 237, 0.4); }
.page-ps-builder .site-nav { --nav-accent: rgba(74, 222, 128, 0.35); }
.page-free-tools .site-nav { --nav-accent: rgba(196, 117, 91, 0.4); }
.page-qr-generator .site-nav { --nav-accent: rgba(236, 72, 153, 0.35); }
.page-wifi-qr .site-nav { --nav-accent: rgba(34, 211, 238, 0.35); }
.page-start .site-nav { --nav-accent: rgba(139, 92, 246, 0.35); }
.page-prompt-guide .site-nav { --nav-accent: rgba(132, 204, 22, 0.35); }
.page-service-health .site-nav { --nav-accent: rgba(234, 88, 12, 0.35); }
.page-licensing .site-nav { --nav-accent: rgba(244, 63, 94, 0.35); }
.page-ai-showdown .site-nav { --nav-accent: rgba(212, 168, 83, 0.35); }
.page-cert-tracker .site-nav { --nav-accent: rgba(16, 185, 129, 0.35); }
.page-site-analytics .site-nav { --nav-accent: rgba(100, 116, 139, 0.35); }
.page-password-generator .site-nav { --nav-accent: rgba(217, 70, 239, 0.35); }
.page-image-compressor .site-nav { --nav-accent: rgba(129, 140, 248, 0.35); }
.page-typing-test .site-nav { --nav-accent: rgba(52, 211, 153, 0.35); }
.page-countdown .site-nav { --nav-accent: rgba(251, 146, 60, 0.35); }
.page-color-palette .site-nav { --nav-accent: rgba(244, 114, 182, 0.35); }
.page-pomodoro .site-nav { --nav-accent: rgba(239, 68, 68, 0.35); }
.page-world-clock .site-nav { --nav-accent: rgba(14, 165, 233, 0.35); }
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--glass-border);
  box-shadow: 0 0 20px rgba(102, 255, 255, 0.08);
  margin-bottom: 2rem;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.single-content h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.single-content .meta {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
/* Inline code */
.single-content .content-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(102, 255, 255, 0.06);
  border: 1px solid rgba(102, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.15em 0.4em;
}
/* Code blocks */
.single-content .content-body pre {
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid rgba(102, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.single-content .content-body pre code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* ── HAMBURGER MENU ─────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
  position: relative;
  width: 44px;
  height: 44px;
}
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 10px;
}
.hamburger-icon { top: 21px; }
.hamburger-icon::before { content: ''; top: -7px; }
.hamburger-icon::after { content: ''; top: 7px; }

/* Animate to ✕ when open */
.hamburger.active .hamburger-icon { background: transparent; }
.hamburger.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
  background: var(--neon-cyan);
}
.hamburger.active .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
  background: var(--neon-cyan);
}

/* ── COMING SOON PAGES ─────────────────── */
.coming-soon-page {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.coming-soon-page .coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.coming-soon-page h2 {
  font-size: 2rem;
  color: #ff66ff;
  text-shadow: 0 0 20px rgba(255, 102, 255, 0.4);
  margin-bottom: 1rem;
}
.coming-soon-page p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.coming-soon-page ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
  margin-bottom: 2rem;
}
.coming-soon-page ul li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
}
.coming-soon-page .coming-soon-cta {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.coming-soon-page .coming-soon-cta a {
  color: var(--neon-cyan);
}

/* ── 404 PAGE ──────────────────────────── */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  max-width: 960px;
  margin: 0 auto;
}
.error-404-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  color: #FF8A80;
  text-shadow: 0 0 40px #FF8A80, 0 0 80px rgba(255, 138, 128, 0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: glowPulse404 3s ease-in-out infinite;
}
@keyframes glowPulse404 {
  0%, 100% { text-shadow: 0 0 40px #FF8A80, 0 0 80px rgba(255, 138, 128, 0.3); }
  50% { text-shadow: 0 0 60px #FF8A80, 0 0 120px rgba(255, 138, 128, 0.5); }
}
.error-404-msg {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
}
.error-404-note {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #FF8A80;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
  text-align: left;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.error-404-note p { margin: 0 0 0.6rem; }
.error-404-note p:last-child { margin-bottom: 0; }
.error-404-note strong { color: rgba(255, 255, 255, 0.9); }
.error-404-start-pill {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1.3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}
.error-404-start-pill:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(139, 92, 246, 0.2));
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.3);
  transform: scale(1.03);
}
.error-404-all-tools {
  display: inline-block;
  color: #FF8A80;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: all 0.2s ease;
}
.error-404-all-tools:hover {
  color: #fff;
  text-decoration: underline;
}
.error-404-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #FF8A80;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.error-404-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 2.5rem;
}
.error-404-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.25s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.error-404-card:hover {
  border-color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 8%, transparent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--card-accent) 20%, transparent);
}
.error-404-card-emoji { font-size: 1.1rem; flex-shrink: 0; }
.error-404-card-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.error-404-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.error-404-links a {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.error-404-links a:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}
.error-404-home {
  margin-bottom: 2.5rem;
}
.error-404-help {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 600px;
  width: 100%;
}
.error-404-help p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.error-404-help .error-404-section-title {
  color: #FBBF24;
}
.error-404-feedback-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 14px;
  color: #FBBF24;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.error-404-feedback-btn:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: #FBBF24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .error-404-grid { grid-template-columns: repeat(2, 1fr); }
  .error-404-note { padding: 1rem; }
  .error-404-help { padding: 1.2rem; }
}

/* ── SEARCH ─────────────────────────────── */
.search-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  line-height: 1;
}
.search-btn:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}
.nav-search-li { display: none; }

/* ── SEARCH MODAL — now in /css/search-overrides.css (Pagefind) ── */

/* ── COMMENTS ───────────────────────────── */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glow);
}
.comments-section .giscus {
  margin-top: 1rem;
}


/* ── BLOG SECTION ───────────────────────── */
.blog-tl-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.blog-tl-search {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border-radius: var(--glass-radius-button);
  border: var(--glass-border);
  background: rgba(6, 6, 12, 0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  outline: none;
  transition: border-color 0.3s;
}
.blog-tl-search:focus { border-color: var(--neon-cyan); }
.blog-tl-search::placeholder { color: var(--text-muted); }
.blog-tl-count {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.blog-video-cta {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--glass-radius-button);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  text-align: center;
}
.blog-video-cta p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.blog-video-cta a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
}
.blog-video-cta a:hover { text-decoration: underline; }

/* Timeline container */
.blog-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding-left: 2.5rem;
}
.blog-timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), rgba(102, 255, 255, 0.1));
}

/* Timeline item */
.blog-tl-item {
  position: relative;
  display: block;
  margin-bottom: 0.8rem;
  text-decoration: none;
  color: inherit;
}
.blog-tl-dot {
  position: absolute;
  left: -2.18rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--neon-cyan);
  transition: all 0.2s;
  z-index: 1;
}
.blog-tl-item:hover .blog-tl-dot {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Card on the timeline */
.blog-tl-card {
  background:
    radial-gradient(ellipse at 20% -15%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.08);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  transition: all 0.25s ease;
}
.blog-tl-item:hover .blog-tl-card {
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.06);
  transform: translateX(4px);
}
.blog-tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.blog-tl-tag {
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(102, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(102, 255, 255, 0.15);
  color: var(--neon-cyan);
}
.blog-tl-tag.cert { background: rgba(57, 255, 20, 0.1); color: #39ff14; }
.blog-tl-tag.ai { background: rgba(255, 0, 255, 0.1); color: #ff00ff; }
.blog-tl-tag.lab { background: rgba(255, 215, 0, 0.1); color: #ffd700; }
.blog-tl-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.blog-tl-card h2 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-tl-item:hover .blog-tl-card h2 { color: var(--neon-cyan); }
.blog-tl-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0.3rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .blog-timeline { padding-left: 2rem; }
  .blog-tl-dot { left: -1.68rem; }
}
/* Blog content body links — purple, subtle and elegant */
.content-body a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(167, 139, 250, 0.35);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.content-body a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.content-body a:visited {
  color: #c4b5fd;
}
.content-body blockquote {
  border-left: 4px solid var(--neon-cyan);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  background: rgba(102, 255, 255, 0.04);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  font-size: 1rem;
}
.content-body blockquote p:last-child {
  margin-bottom: 0;
}
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border: 1px solid rgba(102, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
}
.content-body th {
  background: rgba(102, 255, 255, 0.1);
  color: var(--neon-cyan);
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  border: 1px solid rgba(102, 255, 255, 0.12);
}
.content-body td {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}
.content-body tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.content-body tr:hover {
  background: rgba(102, 255, 255, 0.04);
}
.content-body blockquote p:last-child {
  margin-bottom: 0;
}

/* ── SEMANTIC CALLOUT CARDS ──────────────── */
/* Base callout styles (shared) */
.content-body blockquote.callout {
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

/* 💡 Tip / Insight — green */
.content-body blockquote.callout-tip {
  border-left: 4px solid #39ff14;
  background: linear-gradient(135deg, rgba(10, 40, 10, 0.5) 0%, rgba(20, 50, 20, 0.4) 100%);
  border-color: rgba(57, 255, 20, 0.2);
  border-left-color: #39ff14;
}
.content-body blockquote.callout-tip strong { color: #39ff14; }

/* ⚠️ Warning / Note — amber */
.content-body blockquote.callout-warn {
  border-left: 4px solid #FBBF24;
  background: linear-gradient(135deg, rgba(42, 34, 0, 0.5) 0%, rgba(58, 48, 16, 0.4) 100%);
  border-color: rgba(251, 191, 36, 0.2);
  border-left-color: #FBBF24;
}
.content-body blockquote.callout-warn strong { color: #FBBF24; }

/* 📚🔍 Reference / Official docs — blue */
.content-body blockquote.callout-ref {
  border-left: 4px solid #60A5FA;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.5) 0%, rgba(27, 42, 74, 0.4) 100%);
  border-color: rgba(96, 165, 250, 0.2);
  border-left-color: #60A5FA;
}
.content-body blockquote.callout-ref strong { color: #60A5FA; }

/* 📌 Action / Do this — magenta */
.content-body blockquote.callout-action {
  border-left: 4px solid var(--neon-magenta);
  background: linear-gradient(135deg, rgba(40, 10, 40, 0.5) 0%, rgba(50, 20, 50, 0.4) 100%);
  border-color: rgba(255, 102, 255, 0.2);
  border-left-color: var(--neon-magenta);
}
.content-body blockquote.callout-action strong { color: var(--neon-magenta); }

/* 💬 Scenario — teal */
.content-body blockquote.callout-scenario {
  border-left: 4px solid #14B8A6;
  background: linear-gradient(135deg, rgba(10, 26, 30, 0.5) 0%, rgba(17, 34, 40, 0.4) 100%);
  border-color: rgba(20, 184, 166, 0.2);
  border-left-color: #14B8A6;
}
.content-body blockquote.callout-scenario strong { color: #14B8A6; }

/* Disclaimer — muted gray */
.content-body blockquote.callout-disclaimer {
  border-left: 4px solid #6B7280;
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.5) 0%, rgba(30, 30, 40, 0.4) 100%);
  border-color: rgba(107, 114, 128, 0.2);
  border-left-color: #6B7280;
  font-size: 0.9rem;
  opacity: 0.85;
}
.content-body blockquote.callout-disclaimer strong { color: #9CA3AF; }

/* ── FAQ SECTION STYLING ──────────────────── */
/* blog-faq wraps all Q&A pairs — style each pair distinctly */
.blog-faq {
  margin: 2rem 0;
}
/* Questions: magenta, bold, clear separator */
.blog-faq p > strong:first-child:last-child {
  color: var(--neon-magenta);
  font-size: 1.05rem;
  display: block;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* First question doesn't need top border */
.blog-faq p:first-child > strong:first-child:last-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
/* Answers: slightly indented, softer color */
.blog-faq p + p:not(:has(> strong:first-child:last-child)) {
  padding-left: 0.5rem;
  color: var(--text-secondary);
}

/* trainer-script used as FAQ cards — make them lighter weight */
.blog-faq .trainer-script,
.content-body > .trainer-script:has(strong:first-child) {
  margin: 0.5rem 0;
}
.content-body .mermaid {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid rgba(102, 255, 255, 0.1);
  border-radius: 16px;
  text-align: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: none;
}
/* Override Mermaid v11 inline max-width on SVG — prevents diagrams
   from rendering at their small natural width inside the larger container.
   flowchart LR diagrams are particularly affected (400-600px natural width
   inside a 900px blog container). Applies site-wide (blog + licensing). */
pre.mermaid svg,
.content-body .mermaid svg {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
pre.mermaid {
  font-family: inherit;
  white-space: pre;
  color: transparent;
  width: 100%;
}

/* ── BLOG MOBILE RESPONSIVENESS ─────────── */
@media (max-width: 768px) {
  .single-content {
    padding: 2rem 1.2rem;
  }
  .single-content h1 {
    font-size: 1.7rem;
  }
  .single-content .content-body h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
  }
  .single-content .content-body h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
  }
  .single-content .content-body h4 {
    font-size: 1.05rem;
  }
  .single-content .content-body pre {
    padding: 1rem;
    border-radius: 10px;
  }
  .single-content .content-body pre code {
    font-size: 0.82rem;
  }
  .content-body .mermaid {
    padding: 0.5rem;
  }
  .content-body table {
    font-size: 0.82rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .content-body th, .content-body td {
    padding: 0.5rem 0.6rem;
  }
  .blog-end-links {
    grid-template-columns: 1fr !important;
  }
}

/* ── BLOG: Reading progress bar ──────────── */
.blog-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--neon-cyan);
  z-index: 9999;
  transition: width 50ms linear;
  pointer-events: none;
}

/* ── BLOG: Updated date ──────────────────── */
.meta-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

/* ── BLOG: Share button ──────────────────── */
.blog-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.blog-share-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.blog-share-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ── BLOG: End-of-post CTA ───────────────── */
.blog-end-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.blog-end-cta h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1.2rem;
}
.blog-end-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.blog-end-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-end-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.blog-end-link-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neon-cyan);
}
.blog-end-link-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.blog-end-subscribe {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.blog-end-sub-btn {
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.blog-end-sub-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ── BLOG: Code copy button ──────────────── */
.code-copy-wrap {
  position: relative;
}
.code-copy-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.code-copy-wrap:hover .code-copy-btn {
  opacity: 1;
}
.code-copy-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── BLOG: Image styling ─────────────────── */
.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.content-body figure {
  margin: 1.5rem 0;
}
.content-body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}



/* ── RESPONSIVE: NAV COLLAPSE ───────────── */
@media (max-width: 1024px) {
  .site-nav {
    padding: 0;
    background: rgba(3, 3, 8, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  .nav-inner {
    border-radius: 0;
    border: none;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    height: 56px;
    padding: 0 1.5rem;
  }
  .nav-scrolled .nav-inner {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav-scrolled.site-nav,
  .site-nav.nav-scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 9999;
    flex-direction: column;
    background: rgba(3, 3, 8, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open {
    display: flex;
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.nav-open { overflow: hidden; }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: none !important;
  }
  /* Mobile: dropdown menus stack inline */
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;

    backdrop-filter: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }
  .nav-dropdown .dropdown-menu li { border-bottom: none; }
  .nav-dropdown .dropdown-menu li a {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }
  /* Mega-menu mobile: single column, no fixed width */
  .mega-menu {
    width: auto !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding: 0 0 0 0.5rem !important;
  }
  .mega-header {
    border-bottom: none;
    padding: 0.3rem 0;
  }
  .mega-header a {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
  .mega-columns {
    grid-template-columns: 1fr;
  }
  .mega-col {
    padding: 0;
  }
  .mega-col:first-child {
    border-right: none;
  }
  .mega-label {
    padding: 0.6rem 0.8rem;
    font-size: 0.7rem;
    pointer-events: auto;
    cursor: pointer;
    margin: 0.2rem 0;
    border-radius: 8px;
    transition: background 0.2s ease;
  }
  .mega-label:hover, .mega-label:focus-visible {
    background: color-mix(in srgb, var(--mega-accent, #fff) 15%, transparent);
  }
  .mega-label[aria-expanded="true"] {
    background: color-mix(in srgb, var(--mega-accent, #fff) 18%, transparent);
    border-left: 3px solid var(--mega-accent, rgba(255,255,255,0.3));
  }
  .mega-label[aria-expanded="true"] .mega-chevron {
    transform: rotate(90deg);
  }
  .mega-chevron {
    display: inline;
  }
  .mega-group {
    display: none;
    padding-left: 0.4rem;
  }
  .mega-group.mega-group--open {
    display: flex;
  }
  .mega-col a {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
  .mega-col a:hover {
    padding-left: 0.3rem;
  }
  .mega-footer {
    border-top: none;
    padding: 0.2rem 0 0.5rem;
  }
  .mega-footer a {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .about-content { grid-template-columns: 1fr; }
  .ecosystem { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-grid .video-card:nth-child(n+5) { display: none; }
  .hp-toolkit-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-blog-grid .hp-blog-card:nth-child(n+5) { display: none; }
  .ecosystem { grid-template-columns: 1fr; }
  .hp-ray-pill { padding: 0.4rem 0.7rem; font-size: 0.72rem; }
}


/* ── SKELETON LOADING — animated placeholders ── */
.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}
.skeleton::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.skeleton-line {
  height: 12px;
  margin-bottom: 0.6rem;
  border-radius: 6px;
}
.skeleton-line:nth-child(1) { width: 80%; }
.skeleton-line:nth-child(2) { width: 60%; }
.skeleton-line:nth-child(3) { width: 70%; }
.skeleton-line:nth-child(4) { width: 50%; }
.skeleton-card {
  height: 160px;
  border-radius: 16px;
  margin-bottom: 1rem;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* ── CURSOR GLOW — subtle follow on homepage ── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}

/* ── MOBILE PERFORMANCE: Reduce glass effects ── */
@media (max-width: 768px) {
  body::before {
    background:
      radial-gradient(ellipse 80% 60% at 8% 10%, rgba(255, 102, 255, 0.1) 0%, transparent 60%),
      radial-gradient(ellipse 60% 70% at 92% 85%, rgba(102, 255, 255, 0.08) 0%, transparent 60%);
  }
  body::after { display: none; }
  .hp-ray-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .welcome-stat-box {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hp-ray-filters {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hp-blog-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .eco-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ── ACCESSIBILITY: Reduced motion ────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── ACCESSIBILITY: Global focus-visible ─ */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}
/* Suppress default outline when not keyboard-navigating */
:focus:not(:focus-visible) {
  outline: none;
}

/* ── VIEW TRANSITIONS — fast 100ms cross-fade ── */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: vt-fade-out 100ms ease-out;
}
::view-transition-new(root) {
  animation: vt-fade-in 100ms ease-in;
}
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ── NEWSLETTER SIGNUP ───────────────────── */
.hp-newsletter {
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
}
.hp-newsletter-inner {
  max-width: 640px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}
.hp-newsletter-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.15);
  margin-bottom: 1rem;
}
.hp-newsletter h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
}
.hp-newsletter-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.hp-newsletter-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.hp-newsletter-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}
.hp-newsletter-benefit span { flex: 1; }
.hp-newsletter-form { margin-bottom: 0.8rem; }
.hp-newsletter-input-row {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}
.hp-newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.hp-newsletter-input-row input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.hp-newsletter-input-row input[type="email"]:focus {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.hp-newsletter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  background: #FBBF24;
  color: #030308;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}
.hp-newsletter-btn:hover {
  background: #F59E0B;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
  transform: translateY(-1px);
}
.hp-newsletter-trust {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin-top: 0.6rem;
}
.hp-newsletter-success {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 0.8rem;
}
.hp-newsletter-success-icon { font-size: 1.5rem; display: block; margin-bottom: 0.3rem; }
.hp-newsletter-success p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin: 0; }
.hp-newsletter-success strong { color: #10B981; }
.hp-newsletter-preview-link {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}
.hp-newsletter-preview-link:hover { color: #FBBF24; }

/* ── GUIDED WAITLIST ─────────────────────── */
.hp-waitlist {
  padding: 1rem 1.5rem 3rem;
  display: flex;
  justify-content: center;
}
.hp-waitlist-inner {
  max-width: 640px;
  width: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(251, 191, 36, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}
.hp-waitlist-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #818CF8;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 1rem;
}
.hp-waitlist h2 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818CF8, #C084FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem;
}
.hp-waitlist-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.hp-waitlist-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.hp-waitlist-features span {
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hp-waitlist-starting {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}
.hp-waitlist-starting strong { color: rgba(255, 255, 255, 0.6); }
.hp-waitlist-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}
.hp-waitlist-btn:hover {
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .hp-waitlist-inner { padding: 1.8rem 1.2rem 1.5rem; }
  .hp-waitlist h2 { font-size: 1.8rem; }
  .hp-waitlist-features { gap: 0.4rem; }
}

@media (max-width: 640px) {
  .hp-newsletter-inner { padding: 1.8rem 1.2rem 1.5rem; }
  .hp-newsletter h2 { font-size: 1.4rem; }
  .hp-newsletter-benefits { grid-template-columns: 1fr; }
  .hp-newsletter-input-row { flex-direction: column; }
  .hp-newsletter-btn { width: 100%; }
}

/* ── FINAL CTA ────────────────────────────── */
.hp-final-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.hp-final-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.hp-final-cta p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.hp-final-cta-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-final-btn {
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}
.hp-final-primary {
  background: rgba(255, 255, 255, 0.9);
  color: #030308;
}
.hp-final-primary:hover {
  background: #fff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
  color: #030308;
}
.hp-final-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}
.hp-final-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ══ Tool Ecosystem Cross-Links (shared) ══ */
.tool-eco {
  text-align: center;
  padding: 2rem 0;
  max-width: 750px;
  margin: 0 auto;
}
.tool-eco-title { color: #e6edf3; margin-bottom: 1rem; font-size: 1.2rem; }
.tool-eco-grid { display: grid; gap: 0.75rem; }
.tool-eco-3 { grid-template-columns: repeat(3, 1fr); }
.tool-eco-4 { grid-template-columns: repeat(4, 1fr); }
.tool-eco-5 { grid-template-columns: repeat(5, 1fr); }
.tool-eco-6 { grid-template-columns: repeat(6, 1fr); }
.tool-eco-7 { grid-template-columns: repeat(4, 1fr); }
.tool-eco-8 { grid-template-columns: repeat(4, 1fr); }
.tool-eco-2 { grid-template-columns: repeat(2, 1fr); max-width: 400px; margin: 0 auto; }
.tool-eco-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem 0.75rem;
  text-decoration: none;
  color: #e6edf3;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.tool-eco-card:hover { border-color: var(--eco-accent, #3B82F6); }
.tool-eco-card.tool-eco-active {
  border-color: var(--eco-accent, #3B82F6);
  background: color-mix(in srgb, var(--eco-accent, #3B82F6) 10%, transparent);
}
.tool-eco-card span { font-size: 1.3rem; display: block; margin-bottom: 0.4rem; }
.tool-eco-card strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.tool-eco-card p { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin: 0; }
@media (max-width: 600px) {
  .tool-eco-5 { grid-template-columns: repeat(3, 1fr); }
  .tool-eco-6 { grid-template-columns: repeat(3, 1fr); }
  .tool-eco-7 { grid-template-columns: repeat(3, 1fr); }
  .tool-eco-8 { grid-template-columns: repeat(3, 1fr); }
  .tool-eco-4 { grid-template-columns: repeat(2, 1fr); }
  .tool-eco-3 { grid-template-columns: 1fr; }
}

/* ══ Tool Ecosystem Feedback Line ══ */
.tool-eco-feedback {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0.75rem 0 0;
}
.tool-eco-feedback a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tool-eco-feedback a:hover { color: #fff; }

/* ══ Footer Feedback Line (global) ══ */
.footer-feedback {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-feedback a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-feedback a:hover { color: #fff; }

/* ============================================
   Blog — Trainer Guide Cards
   Used in train-the-trainer blog posts
   ============================================ */

/* Trainer Script Card — dark blue bg with light text */
.trainer-script {
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.7) 0%, rgba(27, 42, 74, 0.7) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-left: 4px solid #60A5FA;
  border-radius: var(--glass-radius-card);
  padding: 1.2rem 1.5rem;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,0.92);
}
.trainer-script strong { color: #60A5FA; }
.trainer-script em { color: rgba(255,255,255,0.85); font-style: italic; }

/* Trainer Tip Card — warm yellow glow */
.trainer-tip {
  background: linear-gradient(135deg, rgba(42, 34, 0, 0.7) 0%, rgba(58, 48, 16, 0.7) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-left: 4px solid #FBBF24;
  border-radius: var(--glass-radius-card);
  padding: 1.2rem 1.5rem;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,0.92);
}
.trainer-tip strong { color: #FBBF24; }

/* Agent Highlight Card */
.agent-highlight {
  background: linear-gradient(135deg, rgba(10, 26, 42, 0.7) 0%, rgba(17, 34, 64, 0.7) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-left: 4px solid #14B8A6;
  border-radius: var(--glass-radius-card);
  padding: 1.2rem 1.5rem;
  margin: 0.8rem 0;
  color: rgba(255,255,255,0.92);
}
.agent-highlight strong { color: #14B8A6; }

/* Living Document Banner — warm orange/amber glow */
.living-doc-banner {
  background: linear-gradient(135deg, rgba(42, 26, 0, 0.7) 0%, rgba(58, 42, 16, 0.7) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-left: 4px solid #F59E0B;
  border-radius: var(--glass-radius-card);
  padding: 1.2rem 1.5rem;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,0.92);
}
.living-doc-banner strong { color: #F59E0B; }
.living-doc-banner a { color: #60A5FA; }

/* Prompt Example Card — purple accent */
.prompt-example {
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.7) 0%, rgba(42, 26, 58, 0.7) 100%);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-left: 4px solid #A78BFA;
  border-radius: var(--glass-radius-card);
  padding: 1.2rem 1.5rem;
  margin: 0.8rem 0;
  color: rgba(255,255,255,0.92);
  font-style: italic;
}
.prompt-example strong { color: #A78BFA; font-style: normal; }
.prompt-example code { background: rgba(167,139,250,0.15); padding: 2px 6px; border-radius: 4px; font-style: normal; }

/* ============================================
   Print Stylesheet — Force exact screen look
   Preserves the dark theme for PDF/print.
   Only activates when printing. Zero screen impact.
   ============================================ */
@media print {
  /* Force browsers to print backgrounds and colors exactly as on screen */
  *, *::before, *::after {
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* Hide non-content elements */
  .site-nav, .global-btt, .feedback-fab,
  .back-nav-link, footer { display: none !important; }

  /* Ensure full width */
  .blog-content, .content, main, article {
    max-width: 100% !important;
  }

  /* Page break control */
  h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
  table, .trainer-script, .trainer-tip, .agent-highlight, .prompt-example,
  .living-doc-banner, blockquote, pre.mermaid, .mermaid {
    page-break-inside: avoid;
  }
  img { max-width: 100% !important; page-break-inside: avoid; }
}
