/* ═══════════════════════════════════════════════════════════════
   AIWithGhost.com — Stylesheet
   Aesthetic: Dark Cyberpunk · Terminal Green · Neon Accents
════════════════════════════════════════════════════════════════ */

:root {
  --bg:         #080c10;
  --bg2:        #0d1117;
  --bg3:        #111820;
  --border:     #1e2d3d;
  --accent:     #00ff9d;
  --accent2:    #7c3aed;
  --accent3:    #ff4444;
  --yt-red:     #ff0000;
  --ig-purple:  #c13584;
  --text:       #e2e8f0;
  --text-dim:   #64748b;
  --text-muted: #94a3b8;
  --card-bg:    #0f1923;
  --card-hover: #15212e;
  --font-head:  'Syne', sans-serif;
  --font-mono:  'Space Mono', monospace;
  --font-body:  'DM Sans', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 40px rgba(0,0,0,.6);
  --glow:       0 0 30px rgba(0,255,157,.15);
}

*, *::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: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 3px; }

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s ease;
  mix-blend-mode: screen;
}
.cursor-trail {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,255,157,.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s;
  mix-blend-mode: screen;
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,12,16,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,255,157,.08); }
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; gap: 2rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -.02em;
}
.logo-ghost { font-size: 1.4rem; }
.logo-accent { color: var(--accent); }
.nav-links {
  display: flex; gap: 1.5rem;
  margin-left: 1rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-badge {
  margin-left: auto;
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  background: rgba(0,255,157,.08);
  border: 1px solid rgba(0,255,157,.2);
  padding: .35rem .9rem;
  border-radius: 100px;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,157,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,157,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--accent);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: .6;
}
@keyframes float-particle {
  from { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: .6; }
  90% { opacity: .6; }
  to { transform: translateY(-100px) translateX(var(--drift, 0px)); opacity: 0; }
}

.hero > .hero-content, .hero > .hero-visual {
  position: relative; z-index: 1;
}
.hero {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 100px;
}
.hero-grid-lines, .hero-particles {
  position: fixed; /* changed back to absolute via wrapping */
}
/* reset: hero is a section not a wrapper */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 120px 6vw 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.3);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: #a78bfa;
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  animation: fadeInUp .8s ease .1s both;
}
.hero-line-1 {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: .25rem;
}
.hero-site-name {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--text);
  letter-spacing: -.03em;
}
.ghost-emoji {
  display: inline-block;
  animation: ghost-float 3s ease-in-out infinite;
}
@keyframes ghost-float {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 1.5rem 0;
  animation: fadeInUp .8s ease .2s both;
}

.hero-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
  animation: fadeInUp .8s ease .3s both;
}
.tag {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .8rem;
  color: var(--text-muted);
  transition: all .2s;
  cursor: default;
}
.tag:hover {
  background: rgba(0,255,157,.08);
  border-color: rgba(0,255,157,.3);
  color: var(--accent);
}

.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp .8s ease .4s both;
}
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  transition: all .25s;
  cursor: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0,255,157,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,255,157,.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,255,157,.06);
}

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  animation: fadeInUp .8s ease .5s both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: .75rem; color: var(--text-dim); margin-top: .2rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── HERO VISUAL ───────────────────────────────────────────── */
.hero-visual {
  position: relative;
  animation: fadeInRight .8s ease .3s both;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb-1 { width: 300px; height: 300px; background: rgba(0,255,157,.12); top: -50px; right: -50px; animation: orb-drift 8s ease-in-out infinite; }
.orb-2 { width: 200px; height: 200px; background: rgba(124,58,237,.2); bottom: 0; left: 0; animation: orb-drift 10s ease-in-out infinite reverse; }
.orb-3 { width: 150px; height: 150px; background: rgba(255,68,68,.1); top: 50%; left: 50%; animation: orb-drift 6s ease-in-out infinite 2s; }
@keyframes orb-drift {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(20px,-20px); }
}

.terminal-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow), var(--glow);
}
.terminal-bar {
  background: #1a2332;
  padding: .75rem 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title {
  margin-left: auto; margin-right: auto;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-dim);
}
.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  min-height: 220px;
  position: relative;
}
.term-prompt { color: var(--accent); margin-right: .5rem; }
.term-cmd { color: #7dd3fc; }
.term-cursor { animation: blink .8s step-end infinite; color: var(--accent); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.term-output { margin-top: 1rem; }
.term-line { color: var(--text-muted); margin-bottom: .35rem; font-size: .8rem; }
.term-line.success { color: var(--accent); }
.term-line.error { color: var(--accent3); }
.term-line.info { color: #7dd3fc; }

/* ── TICKER ────────────────────────────────────────────────── */
.ticker-wrap {
  background: #0d1117;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: .75rem 0;
}
.ticker {
  display: flex; gap: 0;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}
.ticker span {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-muted);
  padding: 0 1rem;
}
.tick-sep { color: var(--accent) !important; opacity: .5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-33.33%); } }
.ticker-wrap:hover .ticker { animation-play-state: paused; }

/* ── SECTION ROW ───────────────────────────────────────────── */
.section-row {
  padding: 5rem 6vw;
  border-bottom: 1px solid var(--border);
}
.section-header {
  margin-bottom: 2.5rem;
}
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.section-desc {
  color: var(--text-dim);
  font-size: .95rem;
  margin-top: .4rem;
}

/* ── CHANNEL LABEL ─────────────────────────────────────────── */
.channel-label {
  display: flex; align-items: center; gap: .75rem;
  margin: 2rem 0 1rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--text-muted);
}
.ch-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: .9rem; font-weight: 800;
  color: #fff;
}
.ig-gradient { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.yt-gradient { background: #ff0000; }
.ch-badge {
  font-size: .7rem;
  padding: .2rem .65rem;
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.yt-badge { color: #ff6b6b; border-color: rgba(255,0,0,.3); background: rgba(255,0,0,.08); }

/* ── SLIDER ────────────────────────────────────────────────── */
.slider-wrap {
  position: relative;
  display: flex; align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem .25rem 1rem;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider-btn {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
  z-index: 10;
  line-height: 1;
}
.slider-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ── CARDS ─────────────────────────────────────────────────── */
.card {
  flex: 0 0 280px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,157,.3);
  box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 20px rgba(0,255,157,.08);
}
.card-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}
.card-thumb img {
  transition: transform .4s ease;
}
.card:hover .card-thumb img { transform: scale(1.05); }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover .play-overlay { opacity: 1; }
.play-btn {
  width: 56px; height: 56px;
  background: rgba(0,255,157,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-size: 1.2rem;
  transform: scale(.8);
  transition: transform .3s;
}
.card:hover .play-btn { transform: scale(1); }
.yt-play .yt-play-btn {
  background: rgba(255,0,0,.95);
  color: #fff;
}
.card-source {
  position: absolute;
  bottom: .5rem; left: .5rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  padding: .25rem .6rem;
  border-radius: 6px;
  display: flex; align-items: center; gap: .3rem;
  backdrop-filter: blur(8px);
}
.ig-source {
  background: rgba(193,53,132,.15);
  border: 1px solid rgba(193,53,132,.3);
  color: #e879a0;
}
.yt-source {
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,0,0,.3);
  color: #fff;
}
.card-info {
  padding: 1rem;
}
.card-caption {
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .5rem;
}
.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-dim);
}
.card-type { color: var(--text-muted); }

/* ── RSS CARDS ─────────────────────────────────────────────── */
.rss-card {
  flex: 0 0 300px;
  text-decoration: none;
}
.rss-card:hover { color: inherit; }
.rss-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,255,157,.2), rgba(124,58,237,.2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
  letter-spacing: .05em;
}
.rss-card:hover .rss-overlay { opacity: 1; }
.rss-title {
  font-weight: 600;
  -webkit-line-clamp: 2;
}
.rss-desc {
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more { color: var(--accent); font-size: .7rem; }

/* ── FEED TABS ─────────────────────────────────────────────── */
.feed-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.feed-tab {
  font-family: var(--font-mono);
  font-size: .75rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  transition: all .2s;
}
.feed-tab:hover, .feed-tab.active {
  background: rgba(0,255,157,.1);
  border-color: var(--accent);
  color: var(--accent);
}
.feed-tab[data-source]:not([data-source="all"]):hover,
.feed-tab[data-source]:not([data-source="all"]).active {
  background: color-mix(in srgb, var(--tab-color, var(--accent)) 10%, transparent);
  border-color: var(--tab-color, var(--accent));
  color: var(--tab-color, var(--accent));
}

/* ── IG NOTE ───────────────────────────────────────────────── */
.ig-note {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(255,200,100,.05);
  border: 1px solid rgba(255,200,100,.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: #c9a84c;
}
.ig-note code {
  background: rgba(255,255,255,.08);
  padding: .1rem .4rem;
  border-radius: 4px;
}

/* ── ABOUT SECTION ─────────────────────────────────────────── */
.about-section {
  padding: 6rem 6vw;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin: 1rem 0 1.25rem;
  letter-spacing: -.02em;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.pillar {
  display: flex; align-items: flex-start; gap: .75rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: all .3s;
}
.pillar:hover {
  border-color: rgba(0,255,157,.25);
  transform: translateY(-2px);
}
.pillar > span { font-size: 1.5rem; flex-shrink: 0; }
.pillar strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.pillar small { color: var(--text-dim); font-size: .78rem; }

/* ── GHOST CARD ────────────────────────────────────────────── */
.ghost-card {
  background: linear-gradient(135deg, #0f1923, #141e2b);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ghost-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,255,157,.08), transparent 60%);
}
.ghost-icon { font-size: 4rem; margin-bottom: 1rem; animation: ghost-float 3s ease-in-out infinite; }
.ghost-name {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800;
  color: var(--text);
  margin-bottom: .25rem;
}
.ghost-domain {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.ghost-stats {
  display: flex; justify-content: space-around;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0; margin-bottom: 1.5rem;
}
.ghost-stats div { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.ghost-stats strong {
  font-family: var(--font-head);
  font-size: 1.3rem; color: var(--accent);
}
.ghost-stats small { font-size: .7rem; color: var(--text-dim); }
.social-links {
  display: flex; justify-content: center; gap: .75rem;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .2s;
}
.social-link:hover {
  background: rgba(0,255,157,.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 6vw;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent);
  margin-bottom: .5rem;
}
.footer-copy, .footer-tech {
  font-family: var(--font-mono);
  font-size: .73rem;
  color: var(--text-dim);
  margin-bottom: .25rem;
}

/* ── MODAL ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.modal-content {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: scale(.95);
  transition: transform .3s;
  box-shadow: 0 40px 80px rgba(0,0,0,.8);
}
.modal-overlay.open .modal-content { transform: scale(1); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
}
.modal-close:hover { background: var(--accent3); color: #fff; border-color: var(--accent3); }
.modal-title {
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.modal-body { position: relative; }
.modal-body iframe {
  width: 100%; aspect-ratio: 16/9;
  border: none; display: block;
}
.modal-body .modal-ig {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; flex-direction: column; gap: 1rem;
}
.modal-body .modal-ig img { max-height: 500px; width: auto; border-radius: var(--radius); }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 5vw 4rem; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.2rem; }
  .section-row { padding: 3rem 5vw; }
  .about-section { padding: 3rem 5vw; }
  .card { flex: 0 0 240px; }
}
