/* =============================================
   SHARED HEADER/FOOTER SNIPPET
   Copy this HTML into every page for consistency
   ============================================= */

/*
  All pages use the same:
  - #navbar (sticky glassmorphism nav)
  - #footer (dark premium footer)
  - #back-to-top
  - .floating-btns (WhatsApp + Call)
  - #ai-chat-widget
  - #cookie-banner
  - #newsletter-popup
  - #toast-container
  - #progress-bar
  - #preloader
  - #mouse-follower
  - #search-popup
  - #mobile-nav
*/

/* Page Hero Styles (shared across inner pages) */
.page-hero {
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #090D16 0%, #0F172A 50%, #1E1B4B 100%) !important;
  color: #FFFFFF !important;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.28) 0%, rgba(79, 70, 229, 0.12) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), rgba(129, 140, 248, 0.4), transparent);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #60A5FA !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-hero-badge i {
  color: #38BDF8;
}

.page-hero h1 {
  margin-bottom: 1rem;
  color: #FFFFFF !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero h1.color-white,
.page-hero .color-white {
  color: #FFFFFF !important;
}

.page-hero .gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #A5B4FC 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.page-hero p,
.page-hero .lead {
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.85) !important;
  line-height: 1.7;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-custom a:hover {
  color: #60A5FA !important;
}

.breadcrumb-custom .sep {
  opacity: 0.4;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-custom .current {
  color: #38BDF8 !important;
  font-weight: 600;
}

/* =============================================
   LEGAL & COMPLIANCE PAGES STYLING
   ============================================= */
.legal-container {
  padding: 60px 0 100px;
}

.legal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--section-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.legal-nav-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.legal-nav-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.legal-nav-links a:hover,
.legal-nav-links a.active {
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  font-weight: 600;
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-700);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-content p, 
.legal-content li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-alert-info {
  background: rgba(37,99,235,0.06);
  border-left: 4px solid var(--primary);
  color: var(--dark-600);
}

.legal-alert-warning {
  background: rgba(245,158,11,0.08);
  border-left: 4px solid #F59E0B;
  color: var(--dark-600);
}

.legal-contact-box {
  background: var(--section-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
}

.placeholder-tag {
  background: rgba(245,158,11,0.15);
  color: #B45309;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85em;
  font-weight: 600;
  border: 1px dashed rgba(245,158,11,0.4);
}

