/* ==========================================================================
   CyberJus Premium Landing Page Styles
   ========================================================================== */

/* --- 1. CSS Variables --- */
:root {
  /* --- 8px Grid System Tokens --- */
  --spacing-1: 0.25rem; /* 4px */
  --spacing-2: 0.5rem;  /* 8px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-4: 1rem;    /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem;  /* 24px */
  --spacing-8: 2rem;    /* 32px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-12: 3rem;   /* 48px */
  --spacing-16: 4rem;   /* 64px */
  --spacing-20: 5rem;   /* 80px */
  --spacing-24: 6rem;   /* 96px */
  --spacing-32: 8rem;   /* 128px */

  /* --- Core Colors (from Tailwind Config) --- */
  --color-background: #00142a;
  --color-surface: #00142a;
  --color-surface-container-lowest: #000f21;
  --color-surface-container-low: #001c37;
  --color-surface-container: #04203b;
  --color-surface-container-high: #122b46;
  --color-surface-container-highest: #1e3652;
  
  --color-on-surface: #d2e4ff;
  --color-on-surface-variant: #c3c6d7;
  
  --color-primary: #b4c5ff;
  --color-primary-container: #2563eb;
  --color-on-primary-container: #eeefff;
  
  --color-secondary: #7bd0ff;
  --color-tertiary: #b5c7eb;
  
  --color-white: #ffffff;
  --color-error: #ffb4ab;

  /* --- Glassmorphism & Borders --- */
  --glass-bg: rgba(30, 54, 82, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  
  /* --- Layout & Radii --- */
  --max-width: 1200px;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-xxl: 20px;
  --radius-pill: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-premium: 0 20px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(123, 208, 255, 0.3);
}

/* --- Accessibility: Respect Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .meteor, .glow-spin, .animate-spin {
    display: none !important;
  }
  
  .scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* --- 2. Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4 {
  color: var(--text-white);
}

.light-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}
.light-section h1, .light-section h2, .light-section h3, .light-section h4 {
  color: var(--bg-dark);
}

.dark-section {
  background-color: var(--bg-dark-alt);
  color: var(--text-off-white);
}

.dark-premium {
  background-color: var(--bg-dark);
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

/* --- 3. Typography --- */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-muted { color: var(--text-muted); }
.cyan-text { color: var(--cyan); }
.text-center { text-align: center; }

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.light-section .gradient-text {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* --- 4. Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.me-3 { margin-right: 0.75rem; }
.w-100 { width: 100%; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

.d-none { display: none; }
@media (min-width: 768px) {
  .d-md-none { display: none; }
  .d-md-inline { display: inline-block; }
}

.grid-two { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-three { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) {
  .grid-two { grid-template-columns: 1fr 1fr; }
  .grid-three { grid-template-columns: repeat(3, 1fr); }
}

.flex-align { display: flex; align-items: center; }
.justify-center { justify-content: center; display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- 5. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: border-box;
}

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.light-section .btn-secondary {
  background: var(--color-white);
  color: var(--color-background);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--border-dark);
}
.border-cyan { border-color: var(--color-secondary); }
.btn-outline:hover {
  background: rgba(123, 208, 255, 0.1);
  transform: translateY(-2px);
}

/* --- 6. Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--spacing-4) 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(0, 15, 33, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img { height: 40px; width: auto; }
.nav-links { display: none; }
@media (min-width: 992px) {
  .nav-links { display: flex; gap: var(--spacing-8); }
  .nav-links a {
    color: var(--color-on-surface-variant);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  .nav-links a:hover { color: var(--color-secondary); }
}
.menu-toggle {
  background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer;
}

/* --- 7. Animations --- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }

.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-fade-left.visible { opacity: 1; transform: translateX(0); }

.style-delay-1 { transition-delay: 100ms; }
.style-delay-2 { transition-delay: 200ms; }
.style-delay-3 { transition-delay: 300ms; }
.style-delay-4 { transition-delay: 400ms; }

/* --- 8. Background Canvas & Glows --- */
#heroCanvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.glass-overlay { position: relative; z-index: 1; }

.glow-radial {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(0,20,42,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.bottom-left { bottom: -200px; left: -200px; }
.top-right { top: -200px; right: -200px; }
.center-glow { top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(123,208,255,0.2) 0%, rgba(0,20,42,0) 70%); width: 800px; height: 800px; }

.abstract-grid-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) scale(2);
  transform-origin: top center;
  z-index: 0;
  opacity: 0.5;
}

/* --- 9. Premium Components --- */
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xxl);
  padding: var(--spacing-10);
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s ease;
}

.pull-quote::before {
  content: '"';
  position: absolute; left: -1rem; top: -1.5rem;
  font-size: 5rem; opacity: 0.08;
  font-family: 'Playfair Display', serif;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(var(--spacing-10));
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes meteor {
  0% { transform: rotate(135deg) translateY(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: rotate(135deg) translateY(-1500px); opacity: 0; }
}
.meteor {
  position: absolute;
  width: 2px;
  height: 150px;
  background: linear-gradient(to bottom, var(--color-secondary), transparent);
  animation: meteor 4s linear infinite;
  transform: rotate(135deg);
  opacity: 0;
}
.meteor::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  top: 0;
  left: -2px;
  box-shadow: 0 0 15px 3px rgba(123, 208, 255, 0.8);
}

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}
.glow-card,
.glow-button {
  position: relative;
}
.glow-card::after,
.glow-button::after {
  content: "";
  position: absolute;
  z-index: 10;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  box-sizing: border-box;
  background: conic-gradient(from var(--border-angle), transparent 70%, var(--color-secondary), var(--color-primary-container));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.glow-card:hover::after,
.glow-button:hover::after {
  opacity: 1;
  animation: glow-spin 2s linear infinite;
}

.window-frame {
  background: #0d1117;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}
.window-header {
  background: #161b22;
  padding: var(--spacing-3) var(--spacing-4);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.window-dots {
  display: flex;
  gap: var(--spacing-2);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.window-address {
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: var(--spacing-1) var(--spacing-5);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  flex: 1;
  margin: 0 var(--spacing-5);
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.pricing-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
  z-index: 1;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}
.glow-card:hover .pricing-pattern-overlay {
  opacity: 0.15;
}
.pricing-pattern-content {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--color-secondary);
  line-height: 1.2;
  white-space: pre-wrap;
  word-break: break-all;
  user-select: none;
}
.glow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(123, 208, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.glow-card:hover::before {
  opacity: 1;
}

@keyframes glow-spin {
  to { --border-angle: 1turn; }
}


/* --- 9. Specific Sections --- */

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
.hero-grid { display: grid; gap: 4rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.2fr 0.8fr; } }
.hero-support { margin: 1.5rem 0 2.5rem; font-weight: 500; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo-large { width: 120px; display: block; margin: 0 auto 2rem; opacity: 0.9; filter: drop-shadow(0 0 20px rgba(56,189,248,0.3)); }
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s ease;
}
.solid-dark { background: var(--bg-dark-alt); }
.hero-metrics-card:hover { transform: translateY(-5px); border-color: rgba(56,189,248,0.3); }
.metrics-list { list-style: none; }
.metrics-list li { padding: 1rem 0; border-bottom: 1px solid var(--border-dark); display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.metrics-list li:last-child { border-bottom: none; }
.metrics-list i { color: var(--cyan); font-size: 1.2rem; }

/* Problem Section */
.section-header { text-align: center; margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
.glass-light {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.icon-box {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(37,99,235,0.05); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 1.5rem;
}
.highlight-line { font-size: 1.2rem; font-weight: 600; color: var(--primary); margin-top: 3rem; display: inline-block; padding-bottom: 5px; border-bottom: 2px solid var(--cyan); }

/* Positioning */
.glass-quote {
  font-size: 1.3rem; font-style: italic; background: var(--card-dark); border: 1px solid rgba(56,189,248,0.2); padding: 2rem; border-radius: var(--radius-card); color: var(--cyan-alt);
}

/* Platform */
.check-list { list-style: none; }
.check-list li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1.1rem; }
.check-list i { color: var(--primary); margin-top: 4px; font-size: 1.25rem; }

/* How it works flow */
.flow-container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; font-family: 'Poppins'; }
.flow-step { background: var(--card-dark); border: 1px solid var(--border-dark); padding: 0.75rem 1.5rem; border-radius: var(--radius-pill); font-size: 0.9rem; }
.highlight-step { background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%); border-color: transparent; font-weight: 600; box-shadow: var(--shadow-glow); }
.flow-arrow { color: var(--text-muted); font-size: 1.2rem; }

/* Features */
.features-grid-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .features-grid-layout { grid-template-columns: repeat(2, 1fr); } }
.feature-icon { margin-bottom: 1rem; font-size: 2.5rem; color: var(--primary); }
.module-list { list-style: none; }
.module-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; color: var(--text-muted); }
.module-list li::before { content: '→'; color: var(--cyan); margin-right: 8px; }

/* Premium Report */
.perspective-card { transform: perspective(1000px) rotateY(-5deg); transition: transform 0.5s ease; border-color: rgba(56,189,248,0.3); }
.perspective-card:hover { transform: perspective(1000px) rotateY(0deg); }
.report-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-dark); padding-bottom: 1rem; margin-bottom: 1rem; }
.report-logo { height: 24px; }
.report-hash { font-family: monospace; font-size: 0.75rem; background: rgba(56,189,248,0.1); padding: 4px 8px; border-radius: 4px; color: var(--cyan); }
.skeleton { background: rgba(255,255,255,0.1); border-radius: 4px; height: 12px; margin-bottom: 8px; }
.w-80 { width: 80%; } .w-60 { width: 60%; }
.graph-nodes { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.node { width: 16px; height: 16px; border-radius: 50%; background: var(--text-muted); }
.node.active { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.edge { width: 40px; height: 2px; background: var(--text-muted); }

/* Cases */
.case-card p.real-situation { font-weight: 500; font-size: 0.9rem; margin-bottom: 1rem; color: var(--text-dark); }
.case-card p.cyberjus-help { font-size: 0.9rem; color: var(--primary); background: rgba(37,99,235,0.05); padding: 1rem; border-radius: 8px; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plans-grid { grid-template-columns: repeat(4, 1fr); } }
.plan-card { position: relative; padding: 2rem; display: flex; flex-direction: column; }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); font-size: 0.75rem; padding: 4px 12px; border-radius: var(--radius-pill); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.highlight-plan { border-color: var(--primary); box-shadow: 0 0 30px rgba(37,99,235,0.2); background: rgba(10,37,64,0.6); transform: scale(1.05); z-index: 2; }
@media(max-width: 1023px) { .highlight-plan { transform: scale(1); } }
.plan-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.5rem; font-weight: 800; font-family: 'Poppins'; margin-bottom: 1rem; line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-desc { font-size: 0.85rem; color: var(--text-muted); min-height: 48px; }
.plan-features { list-style: none; margin-top: 2rem; flex-grow: 1; border-top: 1px solid var(--border-dark); padding-top: 1.5rem; }
.plan-features li { margin-bottom: 1rem; font-size: 0.9rem; display: flex; gap: 0.5rem; }

/* Profiling */
.profile-card { text-align: center; }
.icon-circle { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 1.5rem; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo { height: 32px; filter: grayscale(1) invert(1) brightness(2); }
.footer-links-group h4 { color: var(--text-white); margin-bottom: 1.5rem; font-size: 1rem; }
.footer-links-group a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.75rem; font-size: 0.9rem; transition: color 0.3s; }
.footer-links-group a:hover { color: var(--cyan); }
.border-top-dark { border-top: 1px solid var(--border-dark); }

/* ==========================================================================
   21st.dev Inspired Features: Aurora, Bento, Marquee, Spotlight, Border-beam
   ========================================================================== */

/* Aurora Background */
.aurora-bg {
  position: relative;
  background-color: #000b18;
  overflow: hidden;
}
.aurora-bg::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: radial-gradient(circle at 40% 40%, #1e3a8a 0%, transparent 40%),
              radial-gradient(circle at 70% 60%, #172554 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, #0369a1 0%, transparent 45%);
  filter: blur(80px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: aurora-spin 25s ease infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes aurora-spin {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10%, 15%) rotate(5deg); }
  100% { transform: translate(-10%, -15%) rotate(-5deg); }
}

/* Marquee / Social Proof */
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 3rem;
  padding: 1.5rem 0;
  animation: marquee-scroll 35s linear infinite;
  align-items: center;
}
.marquee-content:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.bento-item {
  background: rgba(4, 32, 59, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 208, 255, 0.3);
  box-shadow: 0 20px 60px rgba(123, 208, 255, 0.15);
}
@media (max-width: 1023px) {
  .bento-grid {
    grid-template-columns: repeat(1, 1fr);
    display: flex;
    flex-direction: column;
  }
}

/* Spotlight Card Effect via pure JS */
.spotlight-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(123, 208, 255, 0.15), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* 21st.dev Style Magic Border Animations */
.border-beam {
  position: relative;
  border-radius: inherit;
}
.border-beam::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(var(--border-angle, 0deg), #1e40af, #38bdf8, #60a5fa, #1e40af);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: beam-spin 4s linear infinite;
}
@keyframes beam-spin {
  to { --border-angle: 360deg; }
}

/* Magic CTA button / 21st.dev button styles */
.magic-button {
  background: linear-gradient(110deg, #1d4ed8, #0369a1, #1d4ed8);
  background-size: 200% 100%;
  animation: shine 4s linear infinite;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.magic-button:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.45);
}
@keyframes shine {
  to { background-position: -200% 0; }
}

