/* ============================================================
   EvenBuilds — Neon Cyberpunk Theme
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:        #05050e;
  --bg-2:      #0a0a1c;
  --bg-3:      #0f0f26;
  --card:      #0c0c20;
  --card-2:    #101028;
  --border:    rgba(255, 255, 255, 0.07);
  --border-hi: rgba(0, 255, 127, 0.25);

  --neon:      #00ff7f;
  --neon-dim:  rgba(0, 255, 127, 0.12);
  --neon-glow: rgba(0, 255, 127, 0.35);
  --cyber:     #00bfff;
  --cyber-dim: rgba(0, 191, 255, 0.12);
  --purple:    #8b5cf6;

  --text:      #d4d4f0;
  --text-muted:#7070a0;
  --text-dim:  #3a3a60;
  --white:     #ffffff;

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h:     72px;
  --max-w:     1200px;
  --pad-x:     clamp(1.25rem, 5vw, 2.5rem);

  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, iframe, video { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Screen-reader only */
.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;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

/* ── Utilities ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1rem;
}

.eyebrow--glow {
  text-shadow: 0 0 12px var(--neon);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--neon {
  background: var(--neon);
  color: #000;
  border-color: var(--neon);
  box-shadow: 0 0 16px var(--neon-glow);
}
.btn--neon:hover {
  background: transparent;
  color: var(--neon);
  box-shadow: 0 0 28px var(--neon-glow), inset 0 0 16px var(--neon-dim);
}
.btn--neon:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn--outline:hover {
  color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 16px var(--neon-dim);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.btn--sm {
  font-size: 0.8rem;
  padding: 0.55rem 1.1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__arrow { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(5, 5, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo span {
  color: var(--neon);
  text-shadow: 0 0 12px var(--neon-glow);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav__link {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav__cta { margin-left: 1rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 127, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 127, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.hero__orb--a {
  top: -10%;
  left: 35%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0, 255, 127, 0.13) 0%, transparent 70%);
}
.hero__orb--b {
  bottom: -20%;
  right: 5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.06) 2px,
    rgba(0, 0, 0, 0.06) 4px
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vw, 6rem);
  max-width: 760px;
}

.hero__heading {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

/* Glitch effect */
.glitch {
  position: relative;
  display: inline-block;
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-glow), 0 0 60px rgba(0,255,127,0.2);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
}
.glitch::before {
  color: var(--cyber);
  animation: glitch-a 6s infinite steps(1, end);
}
.glitch::after {
  color: var(--purple);
  animation: glitch-b 6s infinite steps(1, end);
}

@keyframes glitch-a {
  0%,85%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  87% { clip-path: inset(8%  0 55% 0); transform: translate(-4px, 1px); }
  89% { clip-path: inset(55% 0 15% 0); transform: translate(4px, -1px); }
  91% { clip-path: inset(25% 0 70% 0); transform: translate(-2px, 2px); }
}
@keyframes glitch-b {
  0%,86%,100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  88% { clip-path: inset(40% 0 40% 0); transform: translate(4px, -1px); }
  90% { clip-path: inset(65% 0 10% 0); transform: translate(-4px, 1px); }
  92% { clip-path: inset(15% 0 75% 0); transform: translate(2px, -2px); }
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--neon), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ── Ticker ─────────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 0.75rem;
}

.ticker__track { overflow: hidden; }

.ticker__items {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}

.ticker__items span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ticker__sep {
  color: var(--neon) !important;
  font-size: 0.6rem !important;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── About ──────────────────────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about__frame {
  position: relative;
  display: inline-block;
}

.about__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: grayscale(15%) contrast(1.05);
  display: block;
}

.about__frame-deco {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  pointer-events: none;
}

.about__frame-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--neon);
  border-style: solid;
}
.about__frame-corner--tl {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
  border-radius: var(--radius-lg) 0 0 0;
}
.about__frame-corner--br {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 var(--radius-lg) 0;
}

.yt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff5050;
  transition: background var(--transition), border-color var(--transition);
}
.yt-chip:hover {
  background: rgba(255, 0, 0, 0.18);
  border-color: rgba(255, 0, 0, 0.45);
}
.yt-chip__icon { width: 18px; height: 18px; flex-shrink: 0; }

.about__lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.7;
}
.about__lead em { color: var(--neon); font-style: normal; }

.about__body {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  border-color: var(--border-hi);
  box-shadow: 0 0 20px var(--neon-dim);
}

.pillar__icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.pillar__title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.pillar__body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Videos ─────────────────────────────────────────────────── */
.videos { background: var(--bg-2); }

.videos__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}

.video-main__wrap {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-main__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.video-main__caption {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-inline: 0.25rem;
}

.videos__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition);
}
.channel-card:hover { border-color: var(--border-hi); }

.channel-card__yt {
  width: 44px; height: 44px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}
.channel-card__yt svg { width: 100%; height: 100%; }
.channel-card__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.channel-card__handle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  margin-bottom: 0.35rem;
}
.channel-card__subs {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 1rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  transition: color var(--transition), border-color var(--transition);
}
.tag:hover {
  color: var(--neon);
  border-color: var(--border-hi);
}

.videos__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Guides ─────────────────────────────────────────────────── */
.guides__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.guide-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.guide-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.guide-card--pro {
  background: linear-gradient(140deg, #0c0c22 0%, #0c1c14 100%);
  border-color: rgba(0, 255, 127, 0.3);
  box-shadow: 0 0 40px rgba(0, 255, 127, 0.07);
}
.guide-card--pro:hover {
  border-color: rgba(0, 255, 127, 0.55);
  box-shadow: 0 0 56px rgba(0, 255, 127, 0.14);
}

.guide-card__ribbon {
  position: absolute;
  top: 0; right: 0;
  background: var(--neon);
  color: #000;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 0 var(--radius-xl) 0 var(--radius);
}

.guide-card__label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.guide-card__label--pro { color: var(--neon); }

.guide-card__title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.guide-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.guide-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.guide-card__was {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: line-through;
}
.guide-card__now {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.guide-card__now--neon {
  color: var(--neon);
  text-shadow: 0 0 16px var(--neon-glow);
}
.guide-card__tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  background: var(--neon);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.guide-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.guide-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.guide-card__features li::before {
  content: '✓';
  color: var(--neon);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.guides__trust {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Newsletter ─────────────────────────────────────────────── */
.newsletter { background: var(--bg-2); }

.newsletter__card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 255, 127, 0.05);
  max-width: 680px;
  margin-inline: auto;
}

.newsletter__glow {
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 127, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter__sub {
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.newsletter__form { max-width: 480px; margin-inline: auto; }

.newsletter__row {
  display: flex;
  gap: 0.5rem;
}
.newsletter__row input {
  flex: 1;
  min-width: 0;
}

/* ── Forms ──────────────────────────────────────────────────── */
input, textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input::placeholder, textarea::placeholder {
  color: var(--text-dim);
}
input:focus, textarea:focus {
  border-color: var(--border-hi);
  box-shadow: 0 0 0 3px var(--neon-dim);
}
textarea { resize: vertical; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.form__field { margin-bottom: 0.75rem; }
.form__field:last-of-type { margin-bottom: 1.25rem; }

.form__feedback {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.form__feedback--ok    { color: var(--neon); }
.form__feedback--error { color: #ff5050; }

/* ── Contact ────────────────────────────────────────────────── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact__desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.contact__meta li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact__meta-icon {
  color: var(--neon);
  width: 1.2em;
  text-align: center;
}

.contact__social { display: flex; gap: 0.5rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  transition: color var(--transition), border-color var(--transition);
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}

.footer__brand .nav__logo {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.footer__tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__social { display: flex; gap: 0.75rem; }
.footer__social-link {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.footer__social-link svg { width: 17px; height: 17px; }
.footer__social-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 12px rgba(255,255,255,0.06);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Responsive ─────────────────────────────────────────────── */

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__visual {
    max-width: 380px;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .videos__layout {
    grid-template-columns: 1fr;
  }
  .videos__sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .channel-card {
    flex: 1;
    min-width: 220px;
  }
  .guides__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .nav__menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(5, 5, 14, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--pad-x) 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .nav__menu.open { display: flex; }
  .nav__link {
    width: 100%;
    padding: 0.7rem 0.75rem;
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__heading { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .hero__stats { gap: 1rem; }
  .stat__divider { height: 30px; }

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

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

  .newsletter__row {
    flex-direction: column;
  }
  .newsletter__row .btn { width: 100%; justify-content: center; }

  .footer__inner {
    flex-direction: column;
    gap: 2rem;
  }
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
  }
}
