:root {
  --brand: #16345e;
  --brand-dark: #0f2545;
  --accent: #e84c22;
  --accent-dark: #c43a14;
  --navy: #0a1730;
  --navy-mid: #0f2545;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1f2937;
}

.navbar-brand img {
  display: block;
}

.nav-link.active {
  color: var(--brand) !important;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-outline-primary {
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline-primary:hover {
  background-color: var(--brand);
  border-color: var(--brand);
}

.text-primary {
  color: var(--brand) !important;
}

.bg-primary {
  background-color: var(--brand) !important;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 100%);
  color: #fff;
  padding: 70px 0;
}

.hero h1 {
  font-weight: 800;
}

.hero .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: #fff;
  color: var(--brand);
  border-radius: 12px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.hero .price-tag small {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
}

/* ── Feature / step cards ── */
.feature-card,
.step-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}

.feature-card:hover,
.step-card:hover {
  box-shadow: 0 12px 30px rgba(30, 64, 175, .08);
  transform: translateY(-2px);
}

.feature-icon,
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ── Sample report preview ── */
.sample-preview {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

/* ── Forms ── */
.form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

/* ── Dashboard / portal shells (DSA + Admin) ── */
.portal-sidebar {
  min-height: 100vh;
  background: #111827;
  color: #d1d5db;
}

.portal-sidebar .nav-link {
  color: #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
}

.portal-sidebar .nav-link.active,
.portal-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.portal-sidebar .brand {
  color: #fff;
  font-weight: 700;
  padding: 16px 14px;
}

.stat-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}

.stat-card .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-card .label {
  color: #6b7280;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

code.api-key {
  word-break: break-all;
}

/* =====================================================================
   Animated 3D / immersive UI layer
   ===================================================================== */

/* Ambient 3D background canvas (Three.js), sits behind all content */
#three-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
}

/* Scroll-reveal animation: JS adds .reveal on load, then .is-visible
   once the element enters the viewport. No-JS users never get .reveal
   so content stays visible by default. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3D tilt-on-hover, applied via JS mousemove to card-like elements */
.feature-card,
.step-card,
.stat-card,
.form-card,
.sample-preview,
.card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

.feature-card:hover,
.step-card:hover,
.stat-card:hover,
.form-card:hover,
.sample-preview:hover,
.card:hover {
  box-shadow: 0 20px 45px rgba(30, 64, 175, .16);
}

/* Buttons get a little lift */
.btn {
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* ── Hero: animated gradient + floating blobs ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #3b82f6 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  pointer-events: none;
  animation: float-blob 18s ease-in-out infinite;
}

.hero::before {
  width: 380px;
  height: 380px;
  background: #60a5fa;
  top: -140px;
  left: -110px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: #38bdf8;
  bottom: -150px;
  right: -90px;
  animation-delay: -9s;
}

@keyframes float-blob {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

.hero,
.hero .container {
  position: relative;
  z-index: 1;
}

/* 3D hero stage (Three.js credit-score gauge, homepage only) */
#hero3d {
  position: relative;
  height: 320px;
}

#hero3d canvas {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 991px) {
  #hero3d {
    height: 240px;
  }
}

/* ── Glass cards ── */
.glass-card {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .5);
}

/* ── Portal sidebar: subtle gradient + depth ── */
.portal-sidebar {
  background: linear-gradient(165deg, #111827 0%, #1e2a44 100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, .12);
}

.portal-sidebar .nav-link {
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.portal-sidebar .nav-link:hover {
  transform: translateX(4px);
}

/* Stat cards: accent edge + glow on hover */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  border-color: rgba(30, 64, 175, .25);
}

@media (prefers-reduced-motion: reduce) {
  #three-bg-canvas {
    display: none;
  }

  .hero::before,
  .hero::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card,
  .step-card,
  .stat-card,
  .form-card,
  .sample-preview,
  .card,
  .btn,
  .portal-sidebar .nav-link {
    transition: none;
  }
}

/* =====================================================================
   Speedometer / Tilt Card styles for hero right column
   ===================================================================== */
.tilt-card-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
  width: 100%;
}

.tilt-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.35);
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  transform-style: preserve-3d;
  color: #ffffff;
}

.hero-price-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 18px 24px;
  min-width: 180px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.hero-price-chip .price-value {
  font-size: 2rem;
  font-weight: 900;
}

.hero-price-chip .price-note {
  font-size: 0.85rem;
  color: #475569;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gauge-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 200px;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.gauge-background {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: conic-gradient(from 270deg at 50% 50%,
      #ef4444 0deg,
      #f97316 45deg,
      #eab308 90deg,
      #22c55e 135deg,
      #16a34a 180deg,
      transparent 180deg);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.gauge-inner-cutout {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  background-color: rgba(9, 15, 30, 0.95);
  border-top-left-radius: 160px;
  border-top-right-radius: 160px;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.needle-container {
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  z-index: 10;
}

.needle {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform-origin: bottom center;
  width: 4px;
  height: 160px;
  background: linear-gradient(to top, #fff, #94a3b8);
  border-radius: 4px;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.needle-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #cbd5e1, #475569);
  border-radius: 50%;
  border: 2px solid #0f172a;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.ticks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tick {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 200px;
  transform-origin: bottom center;
}

.tick::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.tick.major::after {
  height: 18px;
  width: 3px;
  background: rgba(255, 255, 255, 1);
}

.score-display {
  font-family: 'Space Mono', monospace;
  text-shadow: 0 0 20px currentColor;
  font-size: 3.4rem;
  font-weight: 800;
  color: #facc15;
}

.score-labels {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0 8px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .gauge-container {
    max-width: 300px;
    height: 180px;
  }

  .gauge-background {
    width: 300px;
    height: 300px;
  }
}

/* =====================================================================
   Hero v2 — premium redesign
   ===================================================================== */

/* Darker, richer gradient + subtle dot-grid overlay */
.hero {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(135deg, #060e24 0%, #0e1f5c 35%, #1e40af 72%, #2563eb 100%);
  padding: 96px 0 108px;
}

/* Navbar: extra height so the bigger logo breathes */
.navbar { padding-top: 10px; padding-bottom: 10px; }

/* Glowing badge pill above the headline */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #bfdbfe;
  padding: 7px 20px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(96, 165, 250, .18);
}

/* Headline sizing */
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 900; line-height: 1.18; letter-spacing: -.02em;
}

/* Gradient keyword text */
.hero-accent {
  background: linear-gradient(92deg, #60a5fa 0%, #38bdf8 55%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTA button overrides for hero */
.btn-hero-primary {
  background: #fff; color: #1e40af; border: 2px solid #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-hero-primary:hover {
  background: #f0f9ff; color: #1d4ed8;
  transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}
.btn-hero-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .12); color: #fff;
  border-color: rgba(255, 255, 255, .75); transform: translateY(-2px);
}

/* Trust strip */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  color: rgba(255, 255, 255, .55); font-size: .8rem; font-weight: 500;
}
.hero-trust span::before { content: '✓ '; color: #4ade80; font-weight: 700; }

/* Right column: scene wrapper */
.hero-card-scene {
  position: relative;
  display: inline-block; width: 100%; max-width: 460px;
}

/* Pulsing aura glow behind the card */
.hero-card-aura {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at 50% 60%, rgba(59, 130, 246, .5) 0%, transparent 68%);
  filter: blur(32px); pointer-events: none; z-index: 0;
  animation: aura-pulse 4s ease-in-out infinite;
}
@keyframes aura-pulse {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.07); }
}

/* Floating achievement chips */
.float-chip {
  position: absolute;
  background: rgba(8, 16, 40, .78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #e2e8f0; font-size: .73rem; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
  z-index: 10; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .35);
  animation: chip-float 5s ease-in-out infinite;
  pointer-events: none;
}
.float-chip-icon { margin-right: 4px; }
.chip-tl { top: -18px; left: 10px;   animation-delay: 0s; }
.chip-br { bottom: 56px; right: -4px; animation-delay: -2.5s; }
.chip-ml { top: 38%;   left: -14px;  animation-delay: -1.2s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.tilt-card-wrapper { position: relative; z-index: 2; }

@media (max-width: 991px) {
  .chip-ml { display: none; }
  .hero { padding: 64px 0 72px; }
}
@media (max-width: 575px) {
  .chip-tl, .chip-br { display: none; }
  .hero-headline { font-size: 1.9rem; }
}

/* =====================================================================
   Page sections — cohesive theme matching the hero
   ===================================================================== */

/* Section label pill */
.section-tag {
  display: inline-block;
  background: #eff6ff; color: #1e40af;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
}
.section-tag-light {
  background: rgba(255, 255, 255, .12); color: #bfdbfe;
  border: 1px solid rgba(255, 255, 255, .2);
}

/* ── Feature cards v2 ── */
.section-features {
  background: linear-gradient(180deg, #eef3ff 0%, #f4f7ff 40%, #fff 100%);
  padding: 80px 0 88px;
}
.feature-card-v2 {
  background: #fff;
  border: 1px solid #e8edf8;
  border-radius: 18px;
  padding: 30px 26px;
  height: 100%;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(30, 64, 175, .05);
  transition: box-shadow .28s ease, transform .28s ease;
}
.feature-card-v2::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ic, #1e40af), #38bdf8);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.feature-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(30, 64, 175, .12);
}
.feature-card-v2:hover::before { transform: scaleX(1); }
.fc-icon {
  width: 58px; height: 58px;
  background: var(--ic-bg, #eff6ff);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.feature-card-v2 h5 { font-weight: 700; color: #0f172a; margin-bottom: 8px; }

/* ── How It Works (dark) ── */
.section-hiw {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, #060e24 0%, #0e1f5c 45%, #193580 100%);
  padding: 88px 0 96px;
}
.step-card-v2 {
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  color: #e2e8f0;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.step-card-v2:hover {
  background: rgba(255, 255, 255, .095);
  border-color: rgba(96, 165, 250, .4);
  transform: translateY(-5px);
}
.sc-num {
  font-size: 3.4rem; font-weight: 900; line-height: 1; margin-bottom: 16px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-card-v2 h5 { color: #f1f5f9; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.step-card-v2 p  { color: rgba(255, 255, 255, .52); font-size: .9rem; margin: 0; }

/* ── DSA CTA ── */
.section-dsa { background: #f0f4ff; padding: 64px 0 72px; }
.dsa-card {
  background: linear-gradient(135deg, #060e24 0%, #1e3a8a 55%, #2563eb 100%);
  border-radius: 24px;
  padding: 52px 48px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 64px rgba(30, 64, 175, .32);
}
.dsa-grid-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px;
  pointer-events: none;
}
@media (max-width: 767px) {
  .dsa-card { padding: 36px 28px; }
  .section-features, .section-hiw, .section-dsa { padding-top: 56px; padding-bottom: 60px; }
}

/* =====================================================================
   LP Brand Theme — navbar, auth pages, reCAPTCHA, footer accents
   ===================================================================== */

/* ── reCAPTCHA invisible badge: hide float, show inline disclosure ── */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.recaptcha-note {
  font-size: .7rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.recaptcha-note a { color: #64748b; text-decoration: underline; }

/* ── Light navbar (logo on white) ── */
.navbar {
  background: rgba(255, 255, 255, .97) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 37, 69, .06) !important;
}
.navbar .nav-link {
  color: var(--brand) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
  background: rgba(22, 52, 94, .06);
}
.navbar .navbar-toggler {
  border-color: rgba(22, 52, 94, .25);
}
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(22,52,94,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-nav-dsa {
  background: transparent !important;
  color: var(--brand) !important;
  border: 1.5px solid rgba(22, 52, 94, .35) !important;
  padding: 6px 18px !important;
  border-radius: 8px !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  transition: background .18s, border-color .18s, transform .18s !important;
}
.btn-nav-dsa:hover {
  background: rgba(22, 52, 94, .06) !important;
  border-color: var(--brand) !important;
  transform: none !important;
}
.btn-nav-cta {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  padding: 6px 18px !important;
  border-radius: 8px !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  transition: background .18s, transform .18s, box-shadow .18s !important;
  box-shadow: 0 4px 14px rgba(232, 76, 34, .28);
}
.btn-nav-cta:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  box-shadow: 0 6px 20px rgba(232, 76, 34, .38);
  transform: translateY(-1px) !important;
}
.btn-nav-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22, 52, 94, .06) !important;
  border: 1.5px solid rgba(22, 52, 94, .2) !important;
  color: var(--brand) !important;
  font-size: 1rem;
  transition: background .18s, border-color .18s, transform .18s;
}
.btn-nav-admin:hover {
  background: rgba(22, 52, 94, .12) !important;
  border-color: var(--brand) !important;
  color: var(--brand-dark) !important;
  transform: translateY(-1px);
}

/* ── Auth page: full-screen dark background ── */
.auth-page {
  min-height: calc(100vh - 66px);
  background:
    radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(155deg, var(--navy) 0%, #0e1f5c 45%, #1e3a8a 80%, var(--brand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  position: relative;
}
.auth-page::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,.14) 0%, transparent 70%);
  top: -120px; right: -80px;
  pointer-events: none;
}
.auth-page::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(59,130,246,.16) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  pointer-events: none;
}

/* Center column */
.auth-box {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

/* Logo + brand center */
.auth-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo-wrap img {
  height: 54px;
  filter: brightness(0) invert(1); /* white on dark */
  opacity: .92;
}

/* Glass card */
.auth-card {
  background: rgba(255, 255, 255, .97);
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .32), 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand) 60%, #38bdf8 100%);
  position: absolute;
  top: 0; left: 0; right: 0;
  border-radius: 20px 20px 0 0;
}
.auth-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.auth-card-sub {
  font-size: .88rem;
  color: #64748b;
  margin-bottom: 24px;
}
.auth-card .form-label {
  font-weight: 600;
  font-size: .83rem;
  color: #374151;
  margin-bottom: 5px;
}
.auth-card .form-control,
.auth-card .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: .55rem .85rem;
  font-size: .92rem;
  transition: border-color .18s, box-shadow .18s;
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, .1);
}
.auth-card .input-group .btn {
  border-radius: 0 10px 10px 0;
}
.auth-card .btn-primary {
  width: 100%;
  padding: .65rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  background: linear-gradient(135deg, var(--brand) 0%, #2563eb 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(30, 64, 175, .28);
  transition: transform .18s, box-shadow .18s;
  margin-top: 4px;
}
.auth-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 64, 175, .36);
}
.auth-footer-link {
  text-align: center;
  margin-top: 18px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.auth-footer-link a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.auth-footer-link a:hover { text-decoration: underline; }

/* Trust row below card */
.auth-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.auth-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.auth-trust-item::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  font-size: .8rem;
}

/* ── Get-report page hero header ── */
.report-hero {
  background:
    radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, var(--navy) 0%, #0e1f5c 40%, var(--brand-dark) 75%, var(--brand) 100%);
  padding: 56px 0 72px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.report-hero::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(230,57,70,.18) 0%, transparent 65%);
  top: -80px; right: -40px;
  pointer-events: none;
}
.report-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,57,70,.18);
  border: 1px solid rgba(230,57,70,.35);
  color: #fca5a5;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.report-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}
.report-hero p { color: rgba(255,255,255,.65); font-size: .95rem; margin: 0; }
.report-hero .price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.8rem;
}
.report-hero .price-badge small { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.6); }
.report-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.12);
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.report-form-card .form-label {
  font-weight: 600;
  font-size: .83rem;
  color: #374151;
}
.report-form-card .form-control,
.report-form-card .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: .55rem .85rem;
  transition: border-color .18s, box-shadow .18s;
}
.report-form-card .form-control:focus,
.report-form-card .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30,64,175,.1);
}
.report-form-card .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(230,57,70,.28);
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  padding: .7rem 1.5rem;
  transition: transform .18s, box-shadow .18s;
}
.report-form-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230,57,70,.38);
}
.report-form-card .btn-primary:disabled {
  background: #94a3b8;
  box-shadow: none;
}

/* ── Footer: LP red heading accents ── */
footer h6 {
  color: #f87171 !important;
}
footer .border-secondary { border-color: rgba(255,255,255,.1) !important; }

/* ── Stat card accent: use LP red for the top bar ── */
.stat-card::before {
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

@media (max-width: 575px) {
  .auth-card { padding: 28px 20px 24px; }
  .report-form-card { padding: 24px 20px; margin-top: -20px; }
  .auth-trust { gap: 14px; }
}