﻿/*
Theme Name: Vexorion Quantum AI
Theme URI: https://learn.vexorionquantumai.com
Author: Vexorion Team
Author URI: https://vexorionquantumai.com
Description: A premium cybersecurity and quantum computing education theme with dark/light modes, particle effects, interactive roadmaps, and blog with pagination.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vexorion-quantum
Tags: cybersecurity, education, dark-mode, blog, custom-menu, custom-logo
*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   VEXORION LEARN â€” MAIN STYLESHEET
   style.css â€” Global design system
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Fonts */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Theme variables - Default Dark Theme */
  --bg-deep: #03010a;
  --bg-primary: #03010a;
  --bg-secondary: #0b0620;
  --bg-card: rgba(168, 85, 247, 0.04);
  --bg-card-hover: rgba(34, 211, 238, 0.08);
  --bg-card-main: #0b0620;
  --border: rgba(168, 85, 247, 0.15);
  --border-accent: rgba(34, 211, 238, 0.35);

  --text-primary: #F1F0F5;
  --text-secondary: #A09BB8;
  --text-muted: #6b7280;

  --purple-accent: #A855F7;
  --cyan-accent: #22D3EE;

  /* Accents mapped for compatibility */
  --purple: #A855F7;
  --cyan: #22D3EE;
  --purple-light: #c084fc;
  --green: #10b981;
  --red: #f87171;
  --orange: #fb923c;
  --yellow: #facc15;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #A855F7 0%, #22D3EE 100%);
  --grad-cyan-purple: linear-gradient(135deg, #A855F7 0%, #22D3EE 100%);
  --grad-green: linear-gradient(135deg, #10b981, #22D3EE);
  --grad-red: linear-gradient(135deg, #f87171, #fb923c);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(168, 85, 247, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(34, 211, 238, 0.15);
  --shadow-glow-cyan: 0 0 20px rgba(34, 211, 238, 0.25);
  --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.25);

  /* Dark zones (Navbar, footer are dark by default, matching the theme) */
  --bg-dark: #03010a;
  --bg-dark-secondary: #0b0620;
  --text-on-dark: #F1F0F5;
  --text-on-dark-secondary: #A09BB8;
  --border-dark: rgba(168, 85, 247, 0.15);

  /* Spacing */
  --section-padding: 5rem 0;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: all 0.15s ease;
}

/* Light Theme Override (Sky Blue Theme) */
body[data-theme="light"] {
  --bg-deep: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F2F5FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: rgba(0, 102, 255, 0.05);
  --bg-card-main: #ffffff;
  --border: rgba(0, 102, 255, 0.1);
  --border-accent: rgba(0, 170, 255, 0.3);

  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --purple-accent: #0066FF; /* Pure Sky Blue Glow base */
  --cyan-accent: #00AAFF;

  /* Accents mapped for compatibility */
  --purple: #0066FF;
  --cyan: #00AAFF;
  --purple-light: #3b82f6;
  --green: #059669;
  --red: #dc2626;
  --orange: #ea580c;
  --yellow: #ca8a04;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0066FF 0%, #00AAFF 100%);
  --grad-cyan-purple: linear-gradient(135deg, #0066FF 0%, #00AAFF 100%);
  --grad-green: linear-gradient(135deg, #059669, #00AAFF);
  --grad-red: linear-gradient(135deg, #dc2626, #ea580c);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 102, 255, 0.05);
  --shadow-card-hover: 0 8px 40px rgba(0, 170, 255, 0.12);
  --shadow-glow-cyan: 0 0 20px rgba(0, 170, 255, 0.18);
  --shadow-glow-purple: 0 0 20px rgba(0, 66, 255, 0.18);

  /* Navbar and Footer in Light Theme are light background */
  --bg-dark: #FFFFFF;
  --bg-dark-secondary: #F2F5FA;
  --text-on-dark: #1E293B;
  --text-on-dark-secondary: #475569;
  --border-dark: rgba(0, 102, 255, 0.1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; background: var(--bg-primary); }

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f3ff; }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.gradient-text {
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-cyan-purple);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-cyan); filter: brightness(1.1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cyan);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-accent);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(0,212,255,0.08); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--bg-dark);
  transition: var(--transition);
  color: var(--text-on-dark);
}
.navbar.scrolled {
  background: rgba(11,6,32,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 4px 30px rgba(11,6,32,0.3);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--text-on-dark);
}
.logo-img { height: 36px; width: auto; border-radius: 50%; object-fit: contain; }
.logo-accent { color: #a78bfa; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.nav-link {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
  transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-quantum { color: #60a5fa !important; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.btn-search {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-on-dark-secondary);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-search:hover { color: #60a5fa; border-color: rgba(96,165,250,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,6,32,0.97);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  padding: 0 1.5rem;
}
.search-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #f1f0f5;
  font-family: var(--font-body);
  font-size: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  outline: none;
}
.search-input:focus { border-color: #60a5fa; box-shadow: 0 0 20px rgba(96,165,250,0.2); }
.search-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f1f0f5;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.search-close:hover { background: rgba(239,68,68,0.15); color: #ef4444; }
.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 1.5rem;
}
.search-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #c4bfdb;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.search-tag:hover { border-color: #60a5fa; color: #60a5fa; }

/* ===== SECTIONS ===== */
.section { padding: var(--section-padding); }
.section-dark { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56,29,146,0.06);
  border: 1px solid rgba(56,29,146,0.2);
  color: var(--purple);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ===== ADS SLOTS ===== */
.ads-container { padding: 0.5rem 0; }
.ads-slot { display: flex; align-items: center; justify-content: center; }
.ads-horizontal {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.ads-placeholder {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ads-placeholder span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ads-sidebar-slot {
  width: 300px;
  height: 250px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== BLOG CARDS ===== */
.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-red { background: rgba(220,38,38,0.1); color: #dc2626; }
.tag-blue { background: rgba(37,99,235,0.1); color: #2563eb; }
.tag-green { background: rgba(5,150,105,0.1); color: #059669; }
.tag-purple { background: rgba(56,29,146,0.1); color: #381d92; }
.tag-cyan { background: rgba(6,147,227,0.1); color: var(--cyan); }
.tag-orange { background: rgba(234,88,12,0.1); color: #ea580c; }

.blog-card {
  background: var(--bg-card-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.blog-card:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.blog-card a { color: var(--text-primary); }
.blog-card a:hover { color: var(--purple); }
.blog-tag-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.blog-read-time { color: var(--text-muted); font-size: 0.8rem; font-family: var(--font-mono); }
.blog-card-title { font-size: 1.3rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card-excerpt { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.7; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.small-meta { padding-top: 0.5rem; margin-top: 0.5rem; border-top: 1px solid var(--border); gap: 1rem; }
.author-chip { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.author-avatar {
  width: 28px; height: 28px;
  background: var(--grad-cyan-purple);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.blog-date { color: var(--text-muted); font-size: 0.8rem; font-family: var(--font-mono); }

.blog-card h4 { font-size: 1rem; line-height: 1.4; margin-bottom: 0.5rem; }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.75rem; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(56,29,146,0.05), rgba(6,147,227,0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter-text h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.newsletter-text p { color: var(--text-secondary); margin-bottom: 1.25rem; }
.newsletter-perks { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter-perks li { color: var(--text-secondary); font-size: 0.9rem; }
.newsletter-perks li::before { content: ''; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.nl-input {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
.nl-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(56,29,146,0.1); }
.nl-input::placeholder { color: var(--text-muted); }
.nl-btn { width: 100%; justify-content: center; padding: 0.85rem; font-size: 1rem; }
.nl-note { color: var(--text-muted); font-size: 0.78rem; text-align: center; }

/* ===== TOOLS PREVIEW ===== */
.tools-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--bg-card-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.tool-card:hover { border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.tool-icon { font-size: 1.75rem; flex-shrink: 0; }
.tool-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.tool-card p { color: var(--text-muted); font-size: 0.8rem; }
.tool-badge {
  margin-left: auto;
  background: rgba(5,150,105,0.1);
  color: var(--green);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2rem;
  color: var(--text-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--text-on-dark-secondary); font-size: 0.9rem; margin: 1rem 0 1.5rem; line-height: 1.7; }
.footer-logo { font-size: 1rem; color: var(--text-on-dark); }
.footer-social { display: flex; gap: 0.75rem; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  transition: var(--transition-fast);
}
body[data-theme="light"] .social-icon {
  background: rgba(0, 102, 255, 0.05);
}
.social-icon:hover { color: var(--cyan-accent); border-color: var(--border-accent); }
.footer-col h5 { font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; color: var(--text-on-dark); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { color: var(--text-on-dark-secondary); font-size: 0.875rem; transition: var(--transition-fast); }
.footer-col ul li a:hover { color: var(--cyan-accent); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { color: var(--text-on-dark-secondary); font-size: 0.8rem; }
.footer-disclaimer { margin-top: 0.4rem; font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter-box { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-dark);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem;
    gap: 0.25rem;
  }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tools-preview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
}

/* ===== MICRO-ANIMATIONS & INTERACTIVE STYLES ===== */

/* 1. Global Scroll Progress */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--grad-primary);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* 2. Theme Toggle Button */
.theme-toggle {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border);
  color: var(--text-on-dark-secondary);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
body[data-theme="light"] .theme-toggle {
  background: rgba(0, 102, 255, 0.05);
  color: var(--text-secondary);
}
.theme-toggle:hover {
  color: var(--cyan-accent);
  border-color: var(--border-accent);
}

/* 3. Drifting Grid Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
  animation: gridDrift 25s linear infinite;
}
body[data-theme="light"]::before {
  background-image: 
    linear-gradient(to right, rgba(0, 102, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
}
@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* 4. Ambient Pulsing Blobs */
.blob-pulse {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  animation: blobPulse 10s ease-in-out infinite alternate;
}
body[data-theme="light"] .blob-pulse {
  opacity: 0.06;
  filter: blur(150px);
}
.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--purple-accent) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--cyan-accent) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: -5s;
}
@keyframes blobPulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(40px, 20px); }
}

/* 5. Levitating Tag Floating */
@keyframes labelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.blog-tag:hover, .search-tag:hover, .difficulty-badge:hover, .rm-tags span:hover {
  animation: labelFloat 2.2s ease-in-out infinite;
}

/* 6. Button Hover Sweep Shine */
.btn-primary, .btn-hero-primary, .nl-btn {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-hero-primary::after, .nl-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
}
.btn-primary:hover::after, .btn-hero-primary:hover::after, .nl-btn:hover::after {
  left: 150%;
  transition: all 0.75s ease-in-out;
}


