/* =========================================================================
   Edgar neon glass-card style
   Canonical tokens sampled from his 1080×1350 content (ref abe38dd7,
   “COMMENT GAINZ” card + ring headshot) and aligned with his reel/carousel
   language in video-editor/skills_from_edgar/edgars-reel-to-carousel.md.

   Use with the OFL fonts in ./fonts/ (Anton, Barlow Condensed).
   This file assumes it lives next to a fonts/ directory.

   Landing pages, carousels, and cards can all share these classes.
   ========================================================================= */

@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Neon green: solid keyword / ring / button fill. 27,919 of 28,437
     solid stroke pixels on the reference sampled as #3DFF6E (median). */
  --neon: #3DFF6E;
  --neon-rgb: 61, 255, 110;

  /* Card border: 3px of neon at 55% over near-black, which reads as
     #24913F / #269140 on the sampled card. Use the token, not the composite. */
  --neon-dim: rgba(61, 255, 110, 0.55);
  --neon-glow: rgba(61, 255, 110, 0.32);
  --neon-glow-strong: rgba(61, 255, 110, 0.7);

  --ink: #04080A;
  --bg: #050806;
  --card-top: rgba(10, 18, 12, 0.92);
  --card-bot: rgba(4, 8, 5, 0.92);
  --text: #FFFFFF;
  --text-body: #E9F2EC;
  --text-muted: rgba(233, 242, 236, 0.72);
  --btn-ink: #04210C;

  /* Accents used in reels/carousels — not for landing-page chrome unless needed */
  --wrong: #FF3B4A;
  --tag-yellow: #FFD400;

  --font-display: Anton, "Arial Narrow", sans-serif;
  --font-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;

  --radius-card: 24px;
  --border-card: 3px;
  --radius-pill: 999px;
}

/* ---------- Page defaults (opt-in: put neon-page on <body>) ---------- */
.neon-page {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.neon-page *,
.neon-page *::before,
.neon-page *::after { box-sizing: border-box; }
.neon-page img,
.neon-page video { display: block; max-width: 100%; height: auto; }

/* ---------- Kickers, headlines, body ---------- */
.neon-kicker {
  display: block;
  margin: 0 0 22px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--neon);
  text-shadow: 0 0 14px rgba(61, 255, 110, 0.6);
}

.neon-title,
.neon-page h1,
.neon-page h2,
.neon-page h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
.neon-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0; }
.neon-page h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 0; }
.neon-page h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 0; }

/* ONE keyword per headline — solid neon + tight text-shadow glow */
.neon-word {
  color: var(--neon);
  text-shadow:
    0 0 22px rgba(61, 255, 110, 0.85),
    0 0 4px rgba(61, 255, 110, 0.9);
}

.neon-body,
.neon-page p {
  font-family: var(--font-condensed);
  font-weight: 600;
  color: var(--text-body);
  text-align: center;
}
.neon-page p { margin: 0; }

/* ---------- Frosted glass card ---------- */
.neon-card {
  position: relative;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  border: var(--border-card) solid var(--neon-dim);
  border-radius: var(--radius-card);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 0 40px var(--neon-glow),
    0 14px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px 36px 32px;
  overflow: hidden;
  text-align: center;
  color: var(--text-body);
}

/* Diagonal shimmer / sheen. Use on hero, sign-off, or one featured card — not every card. */
.neon-card--shimmer::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -55%;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(61, 255, 110, 0.1) 40%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(61, 255, 110, 0.1) 60%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: neon-shimmer 6.5s ease-in-out 1.2s infinite;
  pointer-events: none;
  z-index: 1;
}
.neon-card--shimmer > * { position: relative; z-index: 2; }

@keyframes neon-shimmer {
  0%   { left: -55%; opacity: 0; }
  8%   { opacity: 1; }
  42%  { opacity: 1; }
  55%  { left: 115%; opacity: 0; }
  100% { left: 115%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-card--shimmer::after { animation: none; display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Pill button (glowing neon, dark ink, tracked caps) ---------- */
.neon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: var(--neon);
  color: var(--btn-ink);
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  cursor: pointer;
  box-shadow:
    0 0 24px rgba(61, 255, 110, 0.55),
    0 0 4px rgba(61, 255, 110, 0.85);
  transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.neon-btn:hover,
.neon-btn:focus-visible {
  filter: brightness(1.08);
  box-shadow:
    0 0 32px var(--neon-glow-strong),
    0 0 6px rgba(61, 255, 110, 0.95);
  outline: none;
}
.neon-btn:active { transform: translateY(1px); }
.neon-btn-block { display: flex; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .neon-btn { transition: none; }
  .neon-btn:active { transform: none; }
}

/* ---------- Circular headshot with glowing ring ---------- */
.neon-avatar {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--neon);
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(61, 255, 110, 0.7),
    0 0 60px rgba(61, 255, 110, 0.3);
  margin: 0 auto;
  background: #111;
}

/* ---------- Photo section (blurred real photo behind cards) ---------- */
.neon-photo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.neon-photo-bg,
.neon-photo-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.neon-photo-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
}
.neon-photo-section::before {
  content: "";
  background:
    linear-gradient(180deg, rgba(4, 8, 5, 0.55) 0%, rgba(4, 8, 5, 0.28) 45%, rgba(4, 8, 5, 0.62) 100%),
    radial-gradient(circle at 50% 30%, rgba(61, 255, 110, 0.12), transparent 60%);
  z-index: 1;
}
.neon-photo-section > *:not(.neon-photo-bg) { position: relative; z-index: 2; }

/* ---------- Green chevron connector ---------- */
.neon-chevron {
  width: 18px;
  height: 18px;
  margin: 28px auto;
  border-right: 3px solid var(--neon);
  border-bottom: 3px solid var(--neon);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(61, 255, 110, 0.8));
}

/* ---------- Checks, pills, helpers ---------- */
.neon-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.neon-checks li {
  position: relative;
  padding: 0 0 0.7em 1.55em;
  font-weight: 600;
  color: var(--text-body);
}
.neon-checks li:last-child { padding-bottom: 0; }
.neon-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--neon);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(61, 255, 110, 0.7);
}

.neon-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid var(--neon-dim);
  border-radius: var(--radius-pill);
  color: var(--neon);
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(61, 255, 110, 0.45);
}

.neon-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--neon);
  text-shadow: 0 0 18px rgba(61, 255, 110, 0.75);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 8px;
}
