/* ============================================
   A Guide to Cloud — Retro Neon Theme
   Dark background, cyan/magenta neon accents
   ============================================ */

:root {
  --bg-primary: #0f0f1a;
  --bg-secondary: #141425;
  --bg-card: #1a1a2e;
  --bg-card-hover: #22223a;
  --neon-cyan: #66ffff;
  --neon-magenta: #ff66ff;
  --neon-green: #39ff14;
  --neon-yellow: #ffe600;
  --text-primary: #e0e0f0;
  --text-secondary: #a0a0c0;
  --text-muted: #6a6a8a;
  --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: 'Montserrat', 'Inter', sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  --max-width: 1280px;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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;
}

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;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 255, 255, 0.2);
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.site-logo span {
  color: #ff66ff;
  text-shadow: 0 0 20px rgba(255, 102, 255, 0.5);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  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 {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.nav-cta {
  background: rgba(255, 171, 64, 0.15) !important;
  border-color: rgba(255, 171, 64, 0.4) !important;
  color: #ffab40 !important;
}
.nav-cta:hover {
  background: rgba(255, 171, 64, 0.25) !important;
  border-color: #ffab40 !important;
  box-shadow: 0 0 15px rgba(255, 171, 64, 0.3) !important;
  color: #fff !important;
}

/* ── NAV DROPDOWN ───────────────────────── */
.nav-dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  background: rgba(16, 16, 40, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 200px;
  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;
}
.dropdown-menu li a:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-cyan);
  box-shadow: none;
  padding-left: 1.5rem;
}

/* ── 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);
}
.hero-cta {
  display: inline-flex;
  gap: 1rem;
}


.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--neon-cyan);
  color: var(--bg-primary);
  font-weight: 700;
  border-radius: 8px;
  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: 8px;
  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;
}

/* ── HERO MINIMAL SUB TEXT ───────────────── */
.minimal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}



/* ── STATS BAR (box format) ──────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-glow);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glow);
}
.stat {
  background: var(--bg-secondary);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background 0.3s ease;
}
.stat:hover {
  background: var(--bg-card);
}
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ── STATS: INLINE ──────────────────────── */
.stats-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.stats-inline strong {
  color: var(--neon-cyan);
  font-weight: 800;
}
.stats-dot {
  color: var(--text-muted);
}


/* ── WELCOME STRIP ───────────────────────── */
.welcome-strip {
  background: #141425;
  border-bottom: 1px solid rgba(102, 255, 255, 0.2);
  padding: 1.2rem 2rem;
}
.welcome-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.welcome-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25), 0 0 30px rgba(0, 229, 255, 0.1);
  flex-shrink: 0;
  animation: neon-pulse 3s ease-in-out infinite alternate;
}
@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: 1.3rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 0.2rem;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.welcome-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── CHANNEL CARDS ───────────────────────── */
.welcome-channels {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  min-width: 160px;
}
.channel-card:nth-child(1) {
  border: 1px solid rgba(255, 102, 255, 0.3);
  box-shadow: 0 0 12px rgba(255, 102, 255, 0.2), 0 0 25px rgba(255, 102, 255, 0.08);
}
.channel-card:nth-child(1):hover {
  border-color: #ff66ff;
  box-shadow: 0 0 20px rgba(255, 102, 255, 0.4), 0 0 40px rgba(255, 102, 255, 0.15);
  transform: translateY(-2px);
  text-shadow: none;
}
.channel-card:nth-child(1) img {
  border: 2px solid rgba(255, 102, 255, 0.4);
  box-shadow: 0 0 10px rgba(255, 102, 255, 0.3);
}
.channel-card:nth-child(2) {
  border: 1px solid rgba(102, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(102, 255, 255, 0.2), 0 0 25px rgba(102, 255, 255, 0.08);
}
.channel-card:nth-child(2):hover {
  border-color: #66ffff;
  box-shadow: 0 0 20px rgba(102, 255, 255, 0.4), 0 0 40px rgba(102, 255, 255, 0.15);
  transform: translateY(-2px);
  text-shadow: none;
}
.channel-card:nth-child(2) img {
  border: 2px solid rgba(102, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(102, 255, 255, 0.3);
}
.channel-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}
.channel-card strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.channel-card span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.channel-cta {
  font-family: var(--font-heading);
  font-size: 0.72rem !important;
  font-weight: 700;
  color: var(--neon-cyan) !important;
  margin-top: 0.2rem;
}
@media (max-width: 768px) {
  .welcome-inner { flex-direction: column; text-align: center; }
  .welcome-channels { justify-content: center; }
}

/* ── SECTIONS ───────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 4rem 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  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;
}
.section-link {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  white-space: nowrap;
}

/* ── VIDEO GRID ─────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon);
}
.video-card .thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.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-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: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  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: 8px;
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.08);
  transition: all 0.3s ease;
}
.eco-card:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 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(102, 255, 255, 0.2);
}
.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);
}

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(102, 255, 255, 0.2);
  padding: 3rem 2rem;
  text-align: center;
  background: #0a0a14;
}
.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;
}

/* ── SECTION PAGE ───────────────────────── */
.page-hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}
.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ── SINGLE PAGE ────────────────────────── */
.single-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  margin-bottom: 2rem;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.single-content h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.single-content .meta {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.single-content .content-body {
  color: var(--text-secondary);
  line-height: 1.9;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.single-content .content-body h2 {
  color: var(--neon-cyan);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.single-content .content-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ── HAMBURGER MENU ─────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
  position: relative;
  width: 32px;
  height: 32px;
}
.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: 4px;
}
.hamburger-icon { top: 15px; }
.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);
}

/* ── 404 PAGE ──────────────────────────── */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 2rem;
}
.error-404-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: 0 0 40px var(--neon-cyan), 0 0 80px rgba(0, 229, 255, 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 var(--neon-cyan), 0 0 80px rgba(0, 229, 255, 0.3); }
  50% { text-shadow: 0 0 60px var(--neon-cyan), 0 0 120px rgba(0, 229, 255, 0.5); }
}
.error-404-msg {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}
.error-404-links {
  display: flex;
  gap: 1rem;
  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: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.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);
}

/* ── 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);
}

.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.search-modal.active { display: flex; }

.search-modal-inner {
  width: 90%;
  max-width: 640px;
  position: relative;
}

.search-modal-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
}
.search-modal-close:hover { color: var(--neon-cyan); }

.search-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 2px solid var(--border-glow);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(102, 255, 255, 0.2);
}

.search-results {
  margin-top: 0.75rem;
  max-height: 55vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.search-result-item:hover {
  border-color: var(--neon-cyan);
  background: rgba(102, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(102, 255, 255, 0.1);
}

.search-result-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-result-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border: 1px solid;
  border-radius: 4px;
}

.search-result-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.search-no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.95rem;
}

/* ── COMMENTS ───────────────────────────── */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glow);
}
.comments-section .giscus {
  margin-top: 1rem;
}

/* ── AI NEWS PAGE ───────────────────────── */
.ainews-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.ainews-date {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-cyan);
}
.ainews-stats {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.ainews-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.ainews-filter {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}
.ainews-filter:hover, .ainews-filter.active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(102, 255, 255, 0.06);
}
.ainews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.ainews-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.ainews-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
  text-shadow: none;
}
.ainews-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(102, 255, 255, 0.1);
  color: var(--neon-cyan);
}
.ainews-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.ainews-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}
.ainews-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ainews-loading {
  text-align: center;
  color: var(--text-muted);
  grid-column: 1 / -1;
  padding: 3rem;
}

/* ── AI NEWS TABS ───────────────────────── */
.ainews-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.ainews-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}
.ainews-tab:hover, .ainews-tab.active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(102, 255, 255, 0.08);
}
.ainews-section-header {
  grid-column: 1 / -1;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  padding: 1rem 0 0.5rem;
  border-bottom: 1px solid rgba(102, 255, 255, 0.15);
  margin-top: 1rem;
}

/* ── 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; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.98);
    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; }
  .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;
  }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .ecosystem { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
