/* ==========================================================================
   Love Yellow Pages — Design System
   Theme: Warm Yellow (brand) + Blue (trust/action)
   All colors/effects flow through tokens in :root — pages reference var(--…)
   ========================================================================== */

:root {
  /* --- Brand: yellow (warm, inviting) --- */
  --yellow: #D4B84A;
  --yellow-bright: #F5D76E;
  --yellow-dark: #8B6B00;
  --yellow-darker: #6B5000;
  --yellow-light: #E8D4A0;
  --yellow-pale: #FFF6D9;
  --yellow-bg: #FFFDF0;

  /* --- Brand: blue (trust, action) --- */
  --blue: #2563EB;
  --blue-dark: #1E40AF;
  --blue-darker: #172B85;
  --blue-light: #DBEAFE;
  --blue-bg: #EFF6FF;

  /* --- Semantic --- */
  --green: #059669;
  --green-light: #D1FAE5;
  --red: #DC2626;
  --red-light: #FEE2E2;
  --purple: #7C3AED;

  /* --- Neutrals --- */
  --ink: #111827;
  --ink-2: #1F2937;
  --fg: #1A1A1A;
  --fg-secondary: #6B7280;
  --line: #E7DFC8;
  --bg: #FBF7EA;
  --bg-card: #FFFFFF;
  --header-bg: #14171F;
  --header-bg-2: #1D2230;

  /* --- Shadows & effects --- */
  --shadow-sm: 0 1px 3px rgba(17, 23, 32, .07), 0 1px 2px rgba(17, 23, 32, .05);
  --shadow-md: 0 6px 20px rgba(17, 23, 32, .10), 0 2px 8px rgba(17, 23, 32, .06);
  --shadow-lg: 0 18px 48px rgba(17, 23, 32, .18);
  --shadow-blue: 0 6px 20px rgba(37, 99, 235, .35);
  --shadow-yellow: 0 6px 20px rgba(212, 184, 74, .38);
  --ring: 0 0 0 3px rgba(37, 99, 235, .28);
  --ring-yellow: 0 0 0 3px rgba(212, 184, 74, .30);

  /* --- Shape & motion --- */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition: .18s cubic-bezier(.4, 0, .2, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--fg);
  background-color: #14122B;
  background-image: linear-gradient(160deg, #1A1330 0%, #0F1B3D 100%);
  min-height: 100vh;
}
/* Site-wide animated background (heart-bokeh, Fred option 1).
   Soft blurred golden orbs drift upward; container #romanticBg is added by
   MainLayout, orbs generated by /js/heart-bokeh.js, styles below.
   On the homepage the couple video (.bg-video) sits in FRONT of this layer. */
.romantic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.heart-orb {
  position: absolute;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(212, 184, 74, .28) 0%,
    rgba(212, 184, 74, .10) 40%,
    rgba(212, 184, 74, 0) 70%);
  filter: blur(12px);
  animation: floatUp linear infinite;
}
.heart-orb.orb-red {
  background: radial-gradient(circle,
    rgba(230, 57, 70, .22) 0%,
    rgba(230, 57, 70, .08) 40%,
    rgba(230, 57, 70, 0) 70%);
}
@keyframes floatUp {
  0%   { transform: translateY(0) scale(.8); opacity: 0; }
  10%  { opacity: .55; }
  75%  { opacity: .35; }
  100% { transform: translateY(-112vh) scale(1.15); opacity: 0; }
}

/* ===== Option 2: ultra-minimalist micro heart particles (outlined, faint) ===== */
.micro-heart {
  position: absolute;
  bottom: -20px;
  width: 12px;
  height: 12px;
  opacity: .08;
  animation: driftUp linear infinite;
}
.micro-heart::before,
.micro-heart::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 12px 12px 0 0;
  border: 1px solid #ffb3c6; /* soft pastel pink outline */
  border-bottom: none;
}
.micro-heart::before {
  left: 6px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}
.micro-heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}
@keyframes driftUp {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-50vh) rotate(15deg); }
  100% { transform: translateY(-110vh) rotate(-15deg); }
}

/* ===== Option 3: clean floating linear waves ===== */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 30vh;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V120H0Z" fill="%23D4B84A" opacity="0.12"/></svg>');
  background-size: 50% 100%;
  animation: waveMotion 20s linear infinite;
  pointer-events: none;
}
.wave.delay {
  animation: waveMotion 15s linear infinite;
  opacity: .5;
  bottom: 5px;
  transform: scaleY(-1);
}
@keyframes waveMotion {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Full-page fixed background video (smiling couple) — homepage only, in front of hearts */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Translucent overlay above the video for text legibility + brand tint */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17, 23, 32, .46) 0%, rgba(23, 43, 133, .42) 100%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 184, 74, .14), transparent 70%);
}
/* Keep page content above the fixed background video (home + pricing both host
   .bg-video as a sibling of their root wrapper; without z-index the video paints
   over the content). Home uses .home; pricing uses .max-w-4xl.
   .page-wrap/.header/.footer also lifted above the site-wide hearts (body::before). */
.home, .max-w-4xl, .page-wrap, .header, .footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  letter-spacing: -.01em;
  line-height: 1.25;
}

::selection { background: rgba(212, 184, 74, .35); }

/* Focus visibility for keyboard users */
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ==========================================================================
   Layout
   ========================================================================== */
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* ==========================================================================
   Header + main menu
   ========================================================================== */
.header {
  background: linear-gradient(120deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .22);
}

.header-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.14rem; text-decoration: none !important;
  white-space: nowrap;
}
.header-logo:hover .logo-mark { transform: rotate(-8deg) scale(1.12); }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--yellow) 0%, #C79F35 100%);
  box-shadow: var(--shadow-yellow);
  transition: transform var(--transition);
}
.header-logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }

/* Desktop nav links */
.main-nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav-item {
  position: relative;
  display: inline-flex; align-items: center;
  height: 100%; padding: 0 16px;
  color: #C3C9D6; font-weight: 600; font-size: 0.92rem;
  background: none; border: none; cursor: pointer;
  font-family: inherit; text-decoration: none !important;
  transition: color var(--transition), background var(--transition);
}
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-active { color: #fff; }
.nav-active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright));
}

/* Right side: auth / user menu */
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-ghost-light {
  background: transparent; color: #D7DCE6; border: none; cursor: pointer;
  padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: .88rem;
  font-family: inherit; text-decoration: none !important; transition: all var(--transition);
}
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* User dropdown */
.user-menu { position: relative; }
.user-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; padding: 5px 12px 5px 5px; border-radius: var(--radius-pill);
  cursor: pointer; font-family: inherit; font-weight: 600; font-size: .88rem;
  transition: background var(--transition), border-color var(--transition);
}
.user-btn:hover { background: rgba(255, 255, 255, .14); }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #C79F35);
  color: var(--yellow-darker); font-weight: 800; font-size: .85rem;
}
.caret { font-size: .7rem; opacity: .7; transition: transform var(--transition); }
.user-menu.open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 200;
  min-width: 210px; padding: 6px;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown a, .dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 8px; border: none; background: none;
  color: var(--fg); font-size: .88rem; font-weight: 500; font-family: inherit;
  text-decoration: none !important; cursor: pointer; text-align: left;
  transition: background var(--transition);
}
.dropdown a:hover, .dropdown button:hover { background: var(--yellow-bg); color: var(--yellow-darker); }
.dropdown hr { border: none; border-top: 1px solid var(--line); margin: 5px 8px; }
.dropdown .danger { color: #B91C1C; }
.dropdown .danger:hover { background: #FEF2F2; }
.dropdown .dd-user { padding: 10px 12px 8px; display: block; }
.dropdown .dd-user .dd-name { font-weight: 700; color: var(--ink); font-size: .9rem; }
.dropdown .dd-user .dd-mail { font-size: .75rem; color: var(--fg-secondary); }

/* Hamburger (mobile) */
.hamburger {
  display: none; background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer; padding: 6px 10px; border-radius: 8px;
}
.hamburger:hover { background: rgba(255, 255, 255, .1); }

/* Mobile slide-down panel */
.mobile-nav {
  display: none;
  position: sticky; top: 62px; z-index: 99;
  background: var(--header-bg); border-bottom: 2px solid var(--yellow);
  padding: 10px 16px 16px;
  flex-direction: column; gap: 2px;
  transform-origin: top;
  animation: mobileIn .22s var(--ease);
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav button {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; border: none; background: none;
  color: #DDE2EC; font-size: .95rem; font-weight: 600; font-family: inherit;
  cursor: pointer; text-decoration: none !important; text-align: left;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mobile-nav .m-active { background: rgba(212, 184, 74, .16); color: var(--yellow-bright); }
.mobile-nav hr { border: none; border-top: 1px solid rgba(255, 255, 255, .12); margin: 8px 0; }

@keyframes mobileIn { from { opacity: 0; transform: scaleY(.9); } to { opacity: 1; transform: scaleY(1); } }
.mobile-nav.open { display: flex; animation: mobileIn .2s var(--ease); }

@media (max-width: 900px) {
  .main-nav, .header-actions .desktop-only { display: none; }
  .hamburger { display: block; }
  .header { padding: 0 16px; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 20px; border-radius: 9px;
  font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; font-size: 0.88rem;
  line-height: 1.2; border: none; cursor: pointer; text-decoration: none !important;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition), border-color var(--transition);
  will-change: transform;
}
.btn:active { transform: translateY(0) scale(.985); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Primary — blue gradient, lifts and glows on hover */
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-primary:active { box-shadow: var(--shadow-sm); }

/* Secondary — gold outline */
.btn-secondary {
  background: transparent; color: var(--yellow);
  border: 2px solid var(--yellow); padding: 7px 18px;
}
.btn-secondary:hover { background: rgba(212, 184, 74, .12); box-shadow: var(--ring-yellow); }

/* Ghost — quiet text button */
.btn-ghost { background: transparent; color: #B8C0CE; border: none; }
.btn-ghost:hover { color: var(--yellow-bright); background: rgba(255, 255, 255, .06); }

/* Solid gold — for warm CTAs */
.btn-gold {
  background: linear-gradient(135deg, var(--yellow) 0%, #C49F35 100%);
  color: var(--yellow-darker); box-shadow: var(--shadow-yellow);
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* Semantic */
.btn-danger { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-danger:hover { background: #B91C1C; box-shadow: 0 6px 18px rgba(220, 38, 38, .35); transform: translateY(-1px); }
.btn-success { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-success:hover { background: #047857; transform: translateY(-1px); }

/* Sizes */
.btn-sm { padding: 5px 13px; font-size: 0.8rem; border-radius: 7px; }
.btn-lg { padding: 13px 30px; font-size: 1rem; border-radius: var(--radius); }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 24px;
  box-shadow: var(--shadow-sm);
}
/* Cards: gentle continuous float + hover lift, and a heart that pops above
   like a tooltip on hover (works on every .card, no markup change). */
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes heartPop {
  0%   { opacity: 0; transform: translate(-50%, 6px) scale(.4) rotate(-12deg); }
  60%  { opacity: 1; transform: translate(-50%, -14px) scale(1.15) rotate(6deg); }
  100% { opacity: 1; transform: translate(-50%, -10px) scale(1) rotate(0); }
}
.card {
  position: relative;
  animation: cardFloat 6s ease-in-out infinite;
}
/* Stagger the float so cards don't bob in unison */
.card:nth-child(2n)   { animation-delay: -1.5s; }
.card:nth-child(3n)   { animation-delay: -3s; }
.card:nth-child(4n)   { animation-delay: -4.5s; }
/* The jumping heart tooltip */
.card::after {
  content: '💛';
  position: absolute;
  top: 0; left: 50%;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, 6px) scale(.4);
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
  transition: opacity .2s, transform .25s var(--ease-pop);
  z-index: 5;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), var(--shadow-yellow);
  border-color: var(--yellow);
  animation-play-state: paused;   /* hold still while hovered so the lift reads */
}
.card:hover::after {
  opacity: 1;
  transform: translate(-50%, -14px) scale(1.1) rotate(0);
  animation: heartPop .45s var(--ease-pop);
}
/* Any card marked clickable keeps the stronger lift on hover */
.card[onclick], .card-hover {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card[onclick]:hover, .card-hover:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-md), var(--shadow-yellow); border-color: var(--yellow);
}

/* ==========================================================================
   Badges & avatars
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: .01em;
}
.badge-blue { background: var(--blue); color: #fff; }
.badge-gold { background: linear-gradient(135deg, var(--yellow), #C9A437); color: var(--yellow-darker); }
.badge-green { background: var(--green); color: #fff; }
.badge-red { background: #FEE2E2; color: #991B1B; }
.badge-soft { background: var(--yellow-pale, #FFF9E0); color: #854D0E; border: 1px solid rgba(212,184,74,.4); }

/* ==========================================================================
   Forms
   ========================================================================== */
.input-group { margin-bottom: 16px; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--ink-2); }
.input-group input, .input-group select, .input-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 9px; font-size: 0.9rem; font-family: inherit; outline: none;
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--blue); box-shadow: var(--ring);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  text-align: center; padding: 24px 20px; color: var(--fg-secondary); font-size: 0.85rem;
  border-top: 1px solid var(--line); margin-top: auto;
  background: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   Utility classes (kept — used across pages)
   ========================================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 480px; }
.max-w-4xl { max-width: 960px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.w-full { width: 100%; }
.space-y-4 > * + * { margin-top: 16px; }
.gold-text { color: var(--yellow-dark); }
.gold-border { border-color: var(--yellow); }

/* ==========================================================================
   Motion: entrances, stagger, hover lift
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--yellow-light); border-top-color: var(--yellow); border-radius: 50%; animation: spin 0.6s linear infinite; }

@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.stagger > * { animation: cardIn .4s var(--ease) backwards; }
.stagger > *:nth-child(1) { animation-delay: .02s; }
.stagger > *:nth-child(2) { animation-delay: .07s; }
.stagger > *:nth-child(3) { animation-delay: .12s; }
.stagger > *:nth-child(4) { animation: cardIn .4s var(--ease) backwards; animation-delay: .17s; }
.stagger > *:nth-child(5) { animation-delay: .22s; }
.stagger > *:nth-child(6) { animation-delay: .27s; }
.stagger > *:nth-child(7) { animation-delay: .32s; }
.stagger > *:nth-child(8) { animation-delay: .37s; }
.stagger > *:nth-child(n+9) { animation-delay: .42s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn .3s var(--ease); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert-error { padding: 12px 14px; background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: 8px; color: #B91C1C; font-size: 0.85rem; }
.alert-success { padding: 12px 14px; background: #F0FDF4; border: 1px solid #86EFAC; border-radius: 8px; color: #166534; font-size: 0.85rem; }

/* ==========================================================================
   Legacy compatibility aliases (older inline styles reference these)
   ========================================================================== */
:root {
  --blue: #2563EB;
  --fg: #1a1a1a;
  --fg-secondary: #6b7280;
  --gold: #D4B84A;
  --gold-dark: #8B6B00;
  --gold-light: #E8D4A0;
  --gold-bg: #FFFDF0;
  --green: #059669;
  --red: #DC2626;
  --bg-card: #ffffff;
  --radius: 12px;
}

/* ==========================================================================
   Hero (home) — love-themed photo backdrop with a translucent overlay
   Defined globally (not in Home.razor.css) so it renders even when the
   scoped-CSS bundle fails to serve under MapStaticAssets.
   ========================================================================== */
/* Hero (home) — sits transparently over the full-page photo (set on body),
   with a stronger local overlay so the headline stays crisp. Card-free by
   design so the love photo shows through everywhere. */
.hero {
  position: relative;
  padding: 84px 20px 70px;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 120% at 50% 50%, rgba(17, 23, 32, .40), rgba(17, 23, 32, .10) 70%, transparent),
    linear-gradient(180deg, rgba(17, 23, 32, .30) 0%, rgba(23, 43, 133, .28) 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(212, 184, 74, .35);
}
@media (max-width: 700px) {
  .hero { padding: 56px 16px 48px; }
}

/* ==========================================================================
   Dark info pages (how-it-works, registration-guide, approval-guide,
   levels-explained, compatibility-example, faq, safety, contact)
   ========================================================================== */
.page-dark {
  --card: #1A1A2E;
  --fg: #FFFFFF;
  --fg-secondary: rgba(255, 255, 255, .78);
  --border: rgba(212, 184, 74, .35);
  --gold: rgba(212, 184, 74, .14);
  --gold-glare: rgba(212, 184, 74, .32);
  --accent-bg: rgba(212, 184, 74, .14);
  color: #FFFFFF;
}
.page-dark .card,
.page-dark .accordion-button {
  background-color: transparent !important;
  border-color: rgba(212, 184, 74, .35);
  color: #FFFFFF;
}
.page-dark .accordion-button {
  background-color: #1A1A2E !important;
  color: #FFFFFF;
}
.page-dark .card-body,
.page-dark .card-header {
  color: #FFFFFF;
}
.page-dark .card-header h4 {
  color: #FFFFFF !important;
}
.page-dark .text-muted {
  color: rgba(255, 255, 255, .72) !important;
}
.page-dark .keep-dark {
  color: #1A1A2E !important;
}
.page-dark .keep-dark .text-muted {
  color: rgba(23, 37, 84, .62) !important;
}
.page-dark table { color: #FFFFFF; }
.page-dark th,
.page-dark td {
  color: #FFFFFF !important;
  border-color: rgba(212, 184, 74, .35);
}
.page-dark .btn {
  color: #FFFFFF;
}
.page-dark .btn-gold,
.page-dark .btn-ghost {
  color: rgba(212, 184, 74, .95);
}
.page-dark .btn-link,
.page-dark .accordion-button.btn-link {
  background-color: #1A1A2E !important;
  border: 1px solid rgba(212, 184, 74, .35);
  color: #FFFFFF;
}
.page-dark select,
.page-dark .form-control,
.page-dark .form-select,
.page-dark textarea {
  background-color: #1A1A2E !important;
  color: #FFFFFF !important;
  border-color: #D4B84A !important;
}
.page-dark .top-nav {
  background-color: #1A1A2E !important;
  border-color: rgba(212, 184, 74, .35) !important;
}
.page-dark .top-nav .nav-link {
  color: rgba(255, 255, 255, .78) !important;
}
.page-dark .top-nav .nav-link:hover {
  color: #FFFFFF !important;
  background-color: rgba(212, 184, 74, .14) !important;
}
.page-dark [style*="#D4B84A"],
.page-dark [style*="#d4b84a"] {
  text-shadow: 0 0 14px var(--gold, rgba(212, 184, 74, .14)), 0 0 40px var(--gold-glare, rgba(212, 184, 74, .32));
}