/* Visionary Solution — Shared Styles */

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(226, 232, 240, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* FAQ Accordion */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 0.5rem;
}
.faq-item .faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.active {
  transform: translateX(0);
}

/* Mesh Background */
.mesh-bg-hub {
  background:
    radial-gradient(at 20% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
    #f8fafc;
}

.mesh-bg-lumina {
  background:
    radial-gradient(at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(at 80% 20%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
    radial-gradient(at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
    #fefcf8;
}

/* Grid Overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Glow Effects */
.shadow-glow-nova {
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.3);
}
.shadow-glow-stellar {
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
}
.shadow-glow-aurora {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.3);
}
.shadow-glow-lumina {
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.3);
}

/* Legal Page Styles */
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1rem 0 0.5rem;
}
.legal-content p {
  margin-bottom: 0.75rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.legal-content ul, .legal-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: #475569;
  font-size: 0.9375rem;
}
.legal-content li {
  margin-bottom: 0.375rem;
  line-height: 1.6;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.legal-content th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: #f1f5f9;
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}
.legal-content td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #475569;
}
.alert-box {
  background: #fff3e0;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.9375rem;
}
.critical-box {
  background: #ffebee;
  border-left: 4px solid #ef4444;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.9375rem;
}
.info-box {
  background: #e3f2fd;
  border-left: 4px solid #3b82f6;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.9375rem;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection overrides per page already in body classes */