/* ===================================================
   Készenléti Rendőrség Nemzeti Nyomozó Iroda – Official Green Banking Redesign
   Aesthetic: "Corporate Bank Trust & Safety"
   =================================================== */

/* ─── CSS Custom Properties ─── */
:root {
  /* Police Navy Blue & Gold Theme Colors (Replacing Green) */
  --brand-blue:        #0a1d37; /* Deep Navy Blue */
  --brand-blue-dark:   #051021;
  --accent-gold:       #bca166; /* Classy NNI Gold */
  --accent-gold-light: rgba(188, 161, 102, 0.08);
  --accent-gold-glow:  rgba(188, 161, 102, 0.2);

  /* Legacy Mapping for Green variables to prevent breaking changes */
  --brand-green:       var(--brand-blue);
  --brand-green-dark:  var(--brand-blue-dark);
  --accent-green:      var(--accent-gold);
  --accent-green-light:var(--accent-gold-light);
  --accent-green-glow: var(--accent-gold-glow);

  /* Clean Light Backgrounds */
  --bg-page:           #ffffff;
  --bg-section:        #f9fafb;
  --bg-card:           #ffffff;
  --bg-card-hover:     #f3f4f6;
  --bg-sidebar:        #f9fafb;
  --bg-header:         var(--brand-blue);

  /* Typography Colors - High Contrast Slate */
  --text-primary:      #111827; /* Dark slate */
  --text-secondary:    #4b5563; /* Slate gray */
  --text-muted:        #9ca3af; /* Muted gray */
  --text-on-dark:      #ffffff;
  --text-on-dark-dim:  rgba(255, 255, 255, 0.8);
  --text-link:         var(--accent-gold);

  /* Semantic Alerts */
  --success:           #10b981; /* Semantic success green */
  --success-light:     #ecfdf5;
  --success-border:    #a7f3d0;
  --warning:           #d97706;
  --warning-light:     #fef3c7;
  --warning-border:    #fde68a;
  --danger:            #dc2626;
  --danger-light:      #fee2e2;
  --danger-border:     #fca5a5;
  --info:              #2563eb;
  --info-light:        #dbeafe;
  --info-border:       #bfdbfe;

  /* Borders & Shadows */
  --border:            #e5e7eb; /* Fine light gray */
  --border-strong:     #d1d5db;
  --border-focus:      var(--accent-gold);

  --shadow-sm:         0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:         0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg:         0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-hud:        0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);

  /* Radius Scales */
  --radius-sm:         6px;
  --radius-md:         8px;
  --radius-lg:         12px;
  --radius-xl:         16px;
  --radius-full:       9999px;

  /* Layout Font Settings */
  --font-title:        'Outfit', 'Inter', system-ui, sans-serif;
  --font-body:         'Inter', system-ui, -apple-system, sans-serif;
  --transition:        200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Resets ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-margin-top: 135px; /* Spacing for the new 124px header */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 124px; /* Shift content down so it does not hide under fixed nav */
}

a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover {
  color: var(--brand-green);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--accent-green);
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ─── Visible Focus State ─── */
:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
}

/* ─── Page Switcher ─── */
.page { display: none; }
.page.active { 
  display: block; 
  animation: pageFadeIn 0.35s ease-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Trust Indicator Strip ─── */
.safe-strip {
  background: #051021;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.safe-strip-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* ===================================================
   NAVIGATION BAR (HEADER)
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.navbar-top {
  height: 72px;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  width: 100%;
}

.navbar-bottom {
  height: 48px;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-separator {
  height: 4px;
  background: linear-gradient(to right, #c22f3d 50%, #0066cc 50%);
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-container.justify-center {
  justify-content: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition);
}
.nav-logo:hover .logo-img {
  transform: scale(1.03);
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  position: relative;
}

.logo-main-text {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.logo-sub-text {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
  line-height: 1.2;
}

.flag-underline {
  display: flex;
  width: 75px;
  height: 3px;
  margin-top: 3px;
  border-radius: 1px;
  overflow: hidden;
}
.flag-red { background: #c22f3d; flex: 1; }
.flag-white { background: #ffffff; flex: 1; }
.flag-green { background: #1b7a43; flex: 1; }

.nav-emergency-red {
  background: #c22f3d;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(194, 47, 61, 0.35);
  animation: pulseEmergency 2.5s infinite;
  letter-spacing: 0.5px;
}
.nav-emergency-red:hover {
  background: #ad2330;
  box-shadow: 0 4px 12px rgba(194, 47, 61, 0.5);
  transform: translateY(-1px);
}

@keyframes pulseEmergency {
  0% { box-shadow: 0 0 0 0 rgba(194, 47, 61, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(194, 47, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 47, 61, 0); }
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-socials a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.nav-socials a:hover {
  color: #ffffff;
}
.nav-socials i {
  width: 15px;
  height: 15px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.lang-btn {
  cursor: pointer;
  padding: 2px 4px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.lang-btn:hover {
  color: #ffffff;
}
.lang-btn.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}
.lang-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Bottom Bar Sub-Navigation Links */
.nav-links-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.sub-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 48px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
  transition: color var(--transition), background-color var(--transition);
}
.sub-nav-link i {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.sub-nav-link:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
}
.sub-nav-link:hover i {
  color: var(--accent-gold);
}
.sub-nav-link.active {
  color: var(--accent-gold);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}
.sub-nav-link.active i {
  color: var(--accent-gold);
}
.sub-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gold);
}
.sub-nav-link.emergency-text {
  color: #fc8181;
}
.sub-nav-link.emergency-text i {
  color: #fc8181;
}
.sub-nav-link.emergency-text:hover {
  background: rgba(252, 129, 129, 0.1);
}

/* Left Hamburger button style */
.nav-hamburger-left {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger-left span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Footer logo custom layout styles */
.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0.9) grayscale(0.2);
}

/* Mobile Navigation Drawer Menu Styles */
.drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85%;
  background: var(--brand-blue-dark);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
}
.nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.drawer-logo {
  height: 44px;
  width: auto;
}
.drawer-title-group {
  display: flex;
  flex-direction: column;
}
.drawer-title-main {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}
.drawer-title-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
}
.drawer-close {
  position: absolute;
  top: 16px; right: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  background: none;
  border: none;
}
.drawer-close:hover {
  color: #ffffff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, color 0.2s;
}
.drawer-link i {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}
.drawer-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.drawer-link.active {
  background: rgba(188, 161, 102, 0.15);
  color: #ffffff;
}
.drawer-link.active i {
  color: var(--accent-gold);
}
.drawer-link.emergency-text {
  color: #fc8181;
}
.drawer-link.emergency-text i {
  color: #fc8181;
}

.drawer-actions {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drawer-emergency-btn {
  background: #c22f3d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px;
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}
.drawer-lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
}
.drawer-lang-btn {
  cursor: pointer;
  color: #d1d5db;
  padding: 2px 6px;
  font-weight: 700;
}
.drawer-lang-btn.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

/* ===================================================
   CENTERED HERO PANEL (REFERENCE LAYOUT)
   =================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #051021; /* Fallback dark blue background */
  padding: 140px 24px 160px; /* Expanded height padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  max-width: none;
  width: 100%;
  margin: 0;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 480px; /* Restrict slideshow vertical space to avoid extreme portrait stretch */
  width: 100%;
  z-index: 1;
}

.hero-slideshow::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(5, 16, 33, 0.2) 0%, #051021 100%);
  z-index: 2;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 10s ease-out;
  transform: scale(1.05);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.centered-hero {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4.5vw, 44px); /* Expanded font size */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); /* Stronger shadow for readability */
}

.hero-subtitle {
  font-size: 17.5px; /* Expanded subtitle size */
  color: #f1f5f9;
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* Concentric Pulse Widget Visual */
.pulse-shield-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  cursor: pointer;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  background: rgba(188, 161, 102, 0.05);
  border: 1px solid rgba(188, 161, 102, 0.1);
  animation: pulseRingAnimation 4s infinite cubic-bezier(0.25, 0, 0, 1);
}
.ring-1 {
  width: 130px; height: 130px;
  animation-delay: 0s;
}
.ring-2 {
  width: 180px; height: 180px;
  animation-delay: 1.2s;
}
.ring-3 {
  width: 230px; height: 230px;
  animation-delay: 2.4s;
}

.pulse-center-badge {
  position: relative;
  z-index: 10;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(188, 161, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pulse-center-badge i {
  width: 44px;
  height: 44px;
  color: #fff;
}
.pulse-shield-wrapper:hover .pulse-center-badge {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(188, 161, 102, 0.55);
}

@keyframes pulseRingAnimation {
  0% {
    transform: scale(0.92);
    opacity: 0.3;
  }
  50% {
    opacity: 0.95;
  }
  100% {
    transform: scale(1.08);
    opacity: 0.3;
  }
}

/* CTA Centered Panel */
.hero-cta-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  width: 100%;
}

.btn-bank-protect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  background: linear-gradient(135deg, #d4af37 0%, #bca166 50%, #aa8b4c 100%);
  color: #051021; /* High contrast dark text on gold background */
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  min-height: 52px;
  box-shadow: 0 0 25px rgba(188, 161, 102, 0.35), 0 4px 15px rgba(0, 0, 0, 0.3);
  text-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-bank-protect:hover {
  background: linear-gradient(135deg, #e5c158 0%, #cbb177 50%, #ba9c5d 100%);
  box-shadow: 0 0 35px rgba(188, 161, 102, 0.55), 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px) scale(1.02);
  color: #051021;
}
.btn-bank-protect::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  transform: skewX(-25deg);
  transition: none;
}
.btn-bank-protect:hover::before {
  left: 125%;
  transition: all 0.75s ease-in-out;
}
.btn-bank-protect i {
  width: 18px;
  height: 18px;
}

/* ─── Global Premium Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent-green);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 700;
  min-height: 42px;
  box-shadow: 0 4px 14px rgba(188, 161, 102, 0.25);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: #a88e53;
  box-shadow: 0 6px 18px rgba(188, 161, 102, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}
.btn-primary i {
  width: 16px;
  height: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: #f3f4f6;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 600;
  min-height: 42px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary:hover {
  background: #e5e7eb;
  border-color: #c7cbd2;
  transform: translateY(-1px);
}
.btn-secondary i {
  width: 16px;
  height: 16px;
}

.cta-subtext {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.cta-check-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
}

/* 4-Column Feature Row with glassmorphism cards */
.hero-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 36px;
  margin-bottom: 28px;
  text-align: left;
}

.feature-col {
  background: rgba(10, 29, 55, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.feature-col:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-col:hover {
  transform: translateY(-4px);
  background: rgba(10, 29, 55, 0.7);
  border-color: rgba(188, 161, 102, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.feature-col-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(188, 161, 102, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-col-icon i {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
}

.feature-col-text h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.feature-col-text p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
}

.hero-footer-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero-footer-notice i {
  width: 14px;
  height: 14px;
}

/* ===================================================
   SECTIONS COMMON & FRAUD GRID
   =================================================== */
section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-green-light);
  border: 1px solid rgba(0, 168, 107, 0.15);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.categories-section {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

/* Clean White Card Component */
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--card-accent, var(--accent-green));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-wrap i {
  width: 18px;
  height: 18px;
  color: var(--card-accent, var(--accent-green));
}
.card-severity {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.severity-high {
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}
.severity-medium {
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  color: var(--warning);
}

.card-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.card-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2px 0 6px;
}
.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.card-read-more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-green);
  font-weight: 700;
}
.card-read-more i {
  width: 12px;
  height: 12px;
}
.card-stats {
  color: var(--text-muted);
}

/* ===================================================
   QUICK CHECK & PROTECTION TIPS
   =================================================== */
.quick-check-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.qc-left {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
}
.qc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qc-icon i {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
}
.qc-left h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.qc-left p {
  font-size: 13px;
  color: var(--text-secondary);
}

.qc-right {
  flex: 1;
  width: 100%;
}
.qc-input-group {
  display: flex;
  gap: 8px;
}
.qc-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13.5px;
}
.qc-input:focus {
  outline: none;
  border-color: var(--accent-green);
}
.qc-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.qc-btn:hover {
  background: var(--brand-green);
}
.qc-btn i {
  width: 16px;
  height: 16px;
}
.qc-result {
  margin-top: 10px;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: none;
}
.qc-result.show {
  display: block;
}
.qc-result.safe {
  background: var(--success-light);
  border: 1px solid var(--success-border);
  color: var(--success);
}
.qc-result.warning {
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  color: var(--warning);
}
.qc-result.danger {
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.tips-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}
.tip-number {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 20px;
  font-weight: 800;
  color: #f3f4f6;
}
.tip-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.tip-icon i {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
}
.tip-card h4 {
  font-family: var(--font-title);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.tip-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===================================================
   VERIFICATION & REPORT SYSTEMS
   =================================================== */
.page-header {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.page-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.verify-container {
  max-width: 800px;
  margin: 32px auto;
  padding: 0 24px;
}
.verify-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.vtab {
  flex: 1;
  padding: 10px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.vtab i {
  width: 14px;
  height: 14px;
}
.vtab.active {
  background: var(--accent-green-light);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.verify-input-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.verify-input-section h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.verify-input-section p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.verify-input-group {
  display: flex;
  gap: 8px;
  position: relative;
}
.verify-input-icon {
  position: absolute;
  left: 14px; top: 11px;
  color: var(--text-muted);
}
.verify-input-icon i {
  width: 18px;
  height: 18px;
}
.verify-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px 10px 44px;
  color: var(--text-primary);
  font-size: 13.5px;
}
.verify-input:focus {
  outline: none;
  border-color: var(--accent-green);
}
.verify-btn {
  padding: 0 20px;
  background: var(--accent-green);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13.5px;
}
.verify-btn:hover {
  background: var(--brand-green);
}

.verify-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  display: none;
  font-size: 13px;
}
.verify-result.show {
  display: block;
}
.verify-result.safe {
  background: var(--success-light);
  border: 1px solid var(--success-border);
  color: var(--success);
}
.verify-result.warning {
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  color: var(--warning);
}

.vr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.vr-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vr-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-green);
  font-size: 12px;
}
.vr-card strong {
  display: block;
  font-size: 12.5px;
  color: var(--text-primary);
}
.vr-card span {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Checklist Red Flags */
.red-flags-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}
.red-flags-section h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.red-flags-section h3 i {
  color: var(--danger);
}
.flags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.flag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.flag-item:hover {
  background: #f3f4f6;
}
.flag-check {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}
.flag-check i {
  width: 16px;
  height: 16px;
}
.flag-item.checked {
  border-color: var(--danger-border);
  background: var(--danger-light);
}
.flag-item.checked .flag-check {
  color: var(--danger);
}
.flags-result {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===================================================
   REPORT & EMERGENCY LAYOUTS
   =================================================== */
.report-container {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 24px;
}
.report-emergency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.re-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.re-card.urgent {
  border-color: var(--danger-border);
  background: var(--danger-light);
}
.re-icon i {
  width: 20px;
  height: 20px;
}
.re-card.urgent .re-icon i {
  color: var(--danger);
}
.re-card.bank .re-icon i {
  color: var(--accent-green);
}
.re-content h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.re-content p {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.re-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--danger);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
}
.re-btn i {
  width: 14px;
  height: 14px;
}
.re-btn.secondary {
  background: #f3f4f6;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.re-btn.secondary:hover {
  background: #e5e7eb;
}

.report-channels h3 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-icon i {
  width: 14px;
  height: 14px;
  color: var(--accent-green);
}
.channel-card h4 {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--text-primary);
}
.channel-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.after-fraud {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}
.after-fraud h3 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-green-light);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.step-content h4 {
  font-family: var(--font-title);
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.step-content p {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ===================================================
   FRAUD DETAILED ARCTICLES
   =================================================== */
.fraud-layout {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.fraud-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.sidebar-card h4 {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.sidebar-item:hover {
  background: #f3f4f6;
  color: var(--text-primary);
}
.sidebar-item.active {
  background: var(--accent-green-light);
  color: var(--brand-green);
  border-left: 3px solid var(--accent-green);
  font-weight: 700;
}

.sidebar-emergency {
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.se-icon i {
  color: var(--danger);
  width: 24px;
  height: 24px;
  margin: 0 auto 10px;
}
.sidebar-emergency p {
  font-size: 12px;
  margin-bottom: 12px;
}
.se-btn {
  display: block;
  width: 100%;
  padding: 8px;
  background: var(--danger);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 12px;
}

.fraud-main {
  min-width: 0;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-header {
  padding: 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
  position: relative;
}
.article-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 32px; right: 32px;
  height: 2px;
  background: var(--accent-green);
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.article-icon-lg i {
  width: 24px;
  height: 24px;
  color: var(--accent-green);
}
.article-tags {
  display: flex;
  gap: 6px;
}
.article-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.article-header h2 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.article-header .subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.article-body {
  padding: 32px;
}
.article-section {
  margin-bottom: 24px;
}
.article-body h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-body p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Warnings and info boxes */
.warning-box {
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 16px;
}
.wb-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--danger);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wb-title i {
  width: 14px;
  height: 14px;
}
.warning-box p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.info-box {
  background: var(--success-light);
  border: 1px solid var(--success-border);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
  padding: 16px;
}
.ib-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--success);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ib-title i {
  width: 14px;
  height: 14px;
}
.info-box p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-list-item {
  display: flex;
  gap: 12px;
}
.step-list-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-green-light);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}
.step-list-content strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.step-list-content span {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.signs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sign-item {
  padding: 8px 12px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ===================================================
   RESOURCES DIRECTORY
   =================================================== */
.resources-container {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 24px;
}
.res-section h3 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.res-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.res-card h4 {
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--text-primary);
}
.res-card p {
  font-size: 12px;
  color: var(--text-secondary);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.tool-category h4 {
  font-family: var(--font-title);
  font-size: 13px;
  margin-bottom: 10px;
}
.tools-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tool-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.banks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.bank-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  padding: 40px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-brand p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 10px;
}
.footer-logo-svg {
  width: 16px;
  height: 16px;
  color: var(--brand-green);
}
.footer-brand .logo-main {
  color: var(--brand-green);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.footer-link {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: left;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--brand-green);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-legal, .footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================================================
   THREAT SCANNER OFFICIAL MODAL (WHITE CORPORATE LOOK)
   =================================================== */
.scanner-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scanner-hud {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hud);
  overflow: hidden;
}

.scanner-header {
  padding: 16px 24px;
  background: var(--brand-green);
  border-bottom: 1px solid var(--brand-green-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scanner-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scanner-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-logo-icon i {
  width: 16px;
  height: 16px;
  color: #fff;
}
.hud-main {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.hud-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}
.hud-close-btn {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  padding: 4px;
}
.hud-close-btn:hover {
  color: #fff;
}

.scanner-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hud-card {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.hud-card-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hud-card-value {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}
.hud-card-value.text-cyan {
  color: var(--accent-green);
}
.hud-card-value.text-green {
  color: var(--accent-green);
}

/* Diagnostic Console View */
.hud-display {
  position: relative;
  height: 180px;
  background: #fafafa;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.scan-grid-decor {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.01) 50%, rgba(255, 255, 255, 0.01) 50%),
    linear-gradient(90deg, rgba(0,0,0,0.01) 50%, rgba(255,255,255,0.01) 50%);
  background-size: 100% 4px, 4px 100%;
  pointer-events: none;
  z-index: 3;
}
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  opacity: 0.7;
  z-index: 2;
  animation: scanningSweepVertical 2.5s linear infinite;
  pointer-events: none;
}
@keyframes scanningSweepVertical {
  0% { transform: translateY(-2px); }
  100% { transform: translateY(182px); }
}

.hud-console {
  position: absolute;
  inset: 12px;
  overflow: hidden;
  z-index: 1;
}
.hud-log-container {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hud-log-container::-webkit-scrollbar {
  width: 4px;
}
.hud-log-container::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 2px;
}
.hud-log-line {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}
.log-time {
  color: var(--text-muted);
}
.log-text {
  color: var(--text-primary);
  font-weight: 550;
}

/* Progress Section */
.hud-progress-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hud-progress-bar-wrap {
  height: 5px;
  background: #f3f4f6;
  border-radius: var(--radius-full);
  overflow: hidden;
}
.hud-progress-bar {
  height: 100%;
  background: var(--accent-green);
  width: 0%;
  transition: width 0.3s ease;
}
.hud-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.hud-progress-info span:first-child {
  color: var(--accent-green);
}

/* Report View Panel */
.hud-result-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 5;
  padding: 20px;
  overflow-y: auto;
}

.result-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.result-header {
  text-align: center;
}
.result-shield-icon {
  color: var(--accent-green);
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.result-header h3 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-primary);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.res-item {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.res-item i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.res-item i.text-green {
  color: var(--accent-green);
}
.res-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}
.res-item-label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.res-item-status {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 700;
}
.result-tips {
  background: #fcfcfc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.result-tips h4 {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.result-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result-tips li {
  font-size: 12px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 14px;
}
.result-tips li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-green);
}

.ip-details-card {
  background: #f9fafb;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
}
.ip-details-card h4 {
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ip-details-card h4 i {
  color: var(--brand-green);
  width: 16px;
  height: 16px;
}
.ip-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.ip-details-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ip-details-item span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.ip-details-item strong {
  font-size: 13px;
  color: var(--text-primary);
  word-break: break-all;
}

/* ===================================================
   RESPONSIVE DESIGN ADAPTATIONS (APPLIED GLOBALLY)
   =================================================== */
  body {
    padding-top: 60px; /* Compact mobile navbar height */
  }
  .navbar-top {
    height: 60px; /* Shorter top bar */
  }
  .logo-img {
    height: 42px; /* Smaller emblem */
  }
  .hero {
    padding: 32px 16px 40px; /* Reduced vertical paddings to avoid cutoff */
  }
  .hero-slide {
    background-position: 50% 30%; /* Shift slideshow focus upward to center subjects */
  }
  .hero-title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 24px;
    line-height: 1.45;
  }
  .pulse-shield-wrapper {
    width: 140px; /* Scaled down from 240px to fit mobile screen */
    height: 140px;
    margin-bottom: 24px;
  }
  .ring-1 { width: 80px; height: 80px; }
  .ring-2 { width: 110px; height: 110px; }
  .ring-3 { width: 140px; height: 140px; }
  .pulse-center-badge {
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 12px rgba(188, 161, 102, 0.3);
  }
  .pulse-center-badge i {
    width: 28px;
    height: 28px;
  }
  .hero-cta-centered {
    margin-bottom: 28px;
    gap: 8px;
  }
  .btn-bank-protect {
    padding: 12px 24px;
    font-size: 14.5px;
    min-height: 46px;
  }
  
  html {
    scroll-margin-top: 75px;
  }
  
  .navbar-bottom,
  .navbar-separator {
    display: none; /* Hide bottom navigation bar on tablet and mobile */
  }
  
  .nav-hamburger-left {
    display: flex; /* Show menu icon drawer trigger */
  }
  
  .nav-socials {
    display: none; /* Hide top socials to make room for logo and CTA */
  }
  
  .logo-main-text {
    font-size: 16px;
  }
  
  .logo-sub-text {
    display: none; /* Hide subtext to save horizontal space */
  }
  
  .nav-right {
    gap: 10px;
  }
  
  /* Swipeable Horizontal Feature Row for mobile to prevent huge vertical height */
  .hero-feature-row {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    padding-top: 24px !important;
    margin-bottom: 16px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .hero-feature-row::-webkit-scrollbar {
    display: none;
  }
  .feature-col {
    flex: 0 0 82% !important;
    scroll-snap-align: start !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(10, 29, 55, 0.45) !important;
    padding: 16px !important;
    border-radius: var(--radius-lg);
  }
  .feature-col:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .feature-col:hover {
    transform: none;
  }
  
  .safe-strip {
    padding: 6px 12px;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }
  
  .quick-check-card {
    flex-direction: column;
    gap: 16px;
  }
  .qc-left {
    text-align: center;
    flex-direction: column;
  }
  .report-emergency {
    grid-template-columns: 1fr;
  }
  .fraud-layout {
    grid-template-columns: 1fr;
  }
  .fraud-sidebar {
    display: none;
  }
  
  /* Scanner overlay responsiveness */
body {
  padding-top: 60px; /* Compact mobile navbar height */
}
.navbar-top {
  height: 60px; /* Shorter top bar */
}
.logo-img {
  height: 42px; /* Smaller emblem */
}
.hero {
  padding: 32px 16px 40px; /* Reduced vertical paddings to avoid cutoff */
}
.hero-slide {
  background-position: 50% 30%; /* Shift slideshow focus upward to center subjects */
}
.hero-title {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 14.5px;
  margin-bottom: 24px;
  line-height: 1.45;
}
.pulse-shield-wrapper {
  width: 140px; /* Scaled down from 240px to fit mobile screen */
  height: 140px;
  margin-bottom: 24px;
}
.ring-1 { width: 80px; height: 80px; }
.ring-2 { width: 110px; height: 110px; }
.ring-3 { width: 140px; height: 140px; }
.pulse-center-badge {
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 12px rgba(188, 161, 102, 0.3);
}
.pulse-center-badge i {
  width: 28px;
  height: 28px;
}
.hero-cta-centered {
  margin-bottom: 28px;
  gap: 8px;
}
.btn-bank-protect {
  padding: 12px 24px;
  font-size: 14.5px;
  min-height: 46px;
}

html {
  scroll-margin-top: 75px;
}

.navbar-bottom,
.navbar-separator {
  display: none; /* Hide bottom navigation bar on tablet and mobile */
}

.nav-hamburger-left {
  display: flex; /* Show menu icon drawer trigger */
}

.nav-socials {
  display: none; /* Hide top socials to make room for logo and CTA */
}

.logo-main-text {
  font-size: 16px;
}

.logo-sub-text {
  display: none; /* Hide subtext to save horizontal space */
}

.nav-right {
  gap: 10px;
}

/* Swipeable Horizontal Feature Row for mobile to prevent huge vertical height */
.hero-feature-row {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  grid-template-columns: none !important;
  gap: 16px !important;
  padding-top: 24px !important;
  margin-bottom: 16px !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.hero-feature-row::-webkit-scrollbar {
  display: none;
}
.feature-col {
  flex: 0 0 82% !important;
  scroll-snap-align: start !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(10, 29, 55, 0.45) !important;
  padding: 16px !important;
  border-radius: var(--radius-lg);
}
.feature-col:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.feature-col:hover {
  transform: none;
}

.safe-strip {
  padding: 6px 12px;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.quick-check-card {
  flex-direction: column;
  gap: 16px;
}
.qc-left {
  text-align: center;
  flex-direction: column;
}
.report-emergency {
  grid-template-columns: 1fr;
}
.fraud-layout {
  grid-template-columns: 1fr;
}
.fraud-sidebar {
  display: none;
}

/* Scanner overlay responsiveness */
.scanner-overlay {
  padding: 8px;
}
.scanner-body {
  padding: 16px;
  gap: 14px;
}
.hud-card {
  padding: 8px 10px;
}

/* Mobile small adjustments (applied globally) */
.logo-main-text {
  font-size: 15px; /* compact title */
  letter-spacing: 1.2px;
}

.flag-underline {
  width: 50px;
}

.nav-emergency-red {
  font-size: 10px;
  padding: 6px 10px; /* smaller CTA button */
}

.nav-right .lang-switcher {
  display: none; /* Hide language selector in top navbar, access via drawer */
}

.flags-grid {
  grid-template-columns: 1fr;
}
.hud-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

/* ─── Resources Strip ─── */
.resources-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  margin-top: 16px;
}

/* ─── Desktop Containment ─── */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
  }
}

/* ─── Web Scanning Limitations & WHOIS Custom Styles ─── */
.scanner-warning-alert {
  display: flex;
  gap: 12px;
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 8px;
  align-items: flex-start;
}
.scanner-warning-alert i {
  color: var(--warning);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.scanner-warning-alert span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.text-warning-orange {
  color: var(--warning) !important;
}
.btn-whois-toggle:hover {
  background: rgba(0, 90, 54, 0.05);
}
.whois-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--text-primary);
}
.whois-title-text {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-whois-toggle {
  background: none;
  border: none;
  color: var(--brand-green);
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 2px 0;
  margin-left: 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.whois-card {
  margin-top: 16px;
  border: 1px solid var(--border-strong) !important;
}
.whois-raw-container {
  border: 1px solid #2d3748;
  border-radius: var(--radius-md);
  background: #1a202c;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.whois-terminal-header {
  background: #2d3748;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #1a202c;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-dot.red { background: #fc5753; }
.terminal-dot.yellow { background: #fdbc40; }
.terminal-dot.green { background: #33c748; }
.terminal-title {
  color: #a0aec0;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  margin-left: 8px;
}
.whois-raw-output {
  color: #edf2f7;
  background: #1a202c;
  padding: 16px;
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  line-height: 1.5;
  max-height: 300px;
  overflow-y: auto;
  white-space: pre-wrap;
  text-align: left;
}
.whois-raw-output::-webkit-scrollbar {
  width: 6px;
}
.whois-raw-output::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 3px;
}

/* ===================================================
   TRANSLATOR ANNOTATOR SYSTEM
   =================================================== */
.translator-panel-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 90, 54, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: var(--shadow-hud);
  transition: transform var(--transition), box-shadow var(--transition);
}
.translator-panel-root:hover {
  box-shadow: 0 15px 30px rgba(0, 90, 54, 0.15);
}
.translator-mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-green);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.translator-mode-btn i {
  width: 14px;
  height: 14px;
}
.translator-mode-btn:hover {
  background: var(--brand-green-dark);
}
.translator-mode-btn.active {
  background: var(--accent-green);
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}
.translator-mode-btn.active:hover {
  background: #00935d;
}
.translator-list-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.translator-list-btn i {
  width: 15px;
  height: 15px;
}
.translator-list-btn:hover {
  background: #e5e7eb;
}
.translator-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Correction Tooltip Button */
.translator-floating-edit-btn {
  position: absolute;
  z-index: 99999;
  background: var(--brand-green);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: scale(0.9);
  opacity: 0;
  animation: floatIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: auto;
  cursor: pointer;
  transition: var(--transition);
}
.translator-floating-edit-btn i {
  width: 14px;
  height: 14px;
}
.translator-floating-edit-btn:hover {
  background: var(--accent-green);
  transform: scale(1.05);
}
@keyframes floatIn {
  to { transform: scale(1); opacity: 1; }
}

/* Suggestion Modal Overlay */
.translator-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  animation: fadeIn 0.25s ease-out forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.translator-modal {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  margin: 16px;
  box-shadow: var(--shadow-hud);
  overflow: hidden;
  transform: translateY(20px);
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes slideUp {
  to { transform: translateY(0); }
}
.translator-modal-header {
  background: var(--brand-green);
  padding: 16px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.translator-modal-header h3 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.translator-modal-close {
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}
.translator-modal-close:hover {
  color: #fff;
}
.translator-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.translator-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.translator-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}
.translator-original-text-well {
  background: #f3f4f6;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  max-height: 120px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}
.translator-textarea {
  width: 100%;
  height: 90px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 13.5px;
  color: var(--text-primary);
  font-family: var(--font-body);
  resize: vertical;
}
.translator-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}
.translator-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: var(--font-body);
}
.translator-input:focus {
  outline: none;
  border-color: var(--accent-green);
}
.translator-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f9fafb;
}

/* Slide-over Sidebar */
.translator-sidebar-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17, 24, 39, 0.4);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.translator-sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.translator-sidebar {
  position: fixed;
  top: 0; bottom: 0; right: -420px;
  width: 400px;
  max-width: 90%;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  border-left: 1px solid var(--border);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.translator-sidebar.active {
  right: 0;
}
.translator-sidebar-header {
  background: var(--brand-green);
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.translator-sidebar-header h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.translator-sidebar-close {
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.translator-sidebar-close:hover {
  color: #fff;
}
.translator-sidebar-actions {
  display: flex;
  padding: 12px 20px;
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}
.translator-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}
.translator-action-btn i {
  width: 13px;
  height: 13px;
}
.translator-action-btn:hover {
  background: #f3f4f6;
}
.translator-action-btn.danger {
  color: var(--danger);
  border-color: var(--danger-border);
}
.translator-action-btn.danger:hover {
  background: var(--danger-light);
}
.translator-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.translator-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 200px;
  color: var(--text-muted);
  text-align: center;
}
.translator-empty-icon {
  width: 48px;
  height: 48px;
  color: var(--border-strong);
}

/* Correction Card */
.correction-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.correction-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.correction-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 6px;
  font-size: 11px;
}
.correction-card-path {
  font-weight: 700;
  color: var(--brand-green);
  text-decoration: none;
}
.correction-card-date {
  color: var(--text-muted);
}
.correction-card-text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  text-align: left;
}
.correction-label-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.correction-original {
  background: #f9fafb;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--text-secondary);
  border-left: 2px solid var(--border-strong);
  white-space: pre-wrap;
  word-break: break-word;
}
.correction-corrected {
  background: var(--accent-green-light);
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--text-primary);
  border-left: 2px solid var(--accent-green);
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
}
.correction-comment {
  font-style: italic;
  font-size: 11.5px;
  color: var(--text-secondary);
  background: #fff;
  border: 1px dashed var(--border);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: pre-wrap;
  word-break: break-word;
}
.correction-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-size: 12px;
  padding-top: 6px;
  border-top: 1px solid #f3f4f6;
}
.correction-card-action {
  background: none;
  border: none;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.correction-card-action.edit {
  color: var(--info);
}
.correction-card-action.edit:hover {
  background: var(--info-light);
}
.correction-card-action.delete {
  color: var(--danger);
}
.correction-card-action.delete:hover {
  background: var(--danger-light);
}

/* ─── Alert Banner Premium Styles ─── */
.alert-banner {
  background: var(--brand-blue-dark);
  border-top: 1px solid rgba(188, 161, 102, 0.2);
  border-bottom: 1px solid rgba(188, 161, 102, 0.2);
  padding: 16px 24px;
  width: 100%;
}

.alert-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon i {
  width: 20px;
  height: 20px;
}

.alert-content {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.alert-content strong {
  color: var(--accent-gold);
  font-weight: 700;
}

.alert-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), transform var(--transition);
}

.alert-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* ===================================================
   OFFICIAL RESOURCES STRIP DESIGN
   =================================================== */
.resources-strip {
  background: var(--brand-blue-dark);
  padding: 32px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.resources-strip-header {
  margin-bottom: 20px;
  text-align: center;
}
.resources-strip-header h3 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.resources-strip-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resource-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(10, 29, 55, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition);
}
.resource-strip-item:hover {
  background: rgba(188, 161, 102, 0.08);
  border-color: rgba(188, 161, 102, 0.2);
}
.rsi-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}
.rsi-icon i {
  width: 18px;
  height: 18px;
}
.rsi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  text-align: left;
}
.rsi-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.rsi-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.external-icon {
  color: rgba(255, 255, 255, 0.4);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.resource-strip-item.emergency {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.06);
}
.resource-strip-item.emergency .rsi-icon {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}
.resource-strip-item.emergency .rsi-name {
  color: #fca5a5;
}

/* ===================================================
   COMPACT MOBILE OPTIMIZATION OVERRIDES
   =================================================== */
.verify-container,
.report-container,
.resources-container {
  margin: 16px auto !important;
  padding: 0 16px !important;
}

.page-header {
  padding: 24px 16px !important;
}

.page-header h1 {
  font-size: 22px !important;
}

.page-header p {
  font-size: 13px !important;
}

.category-card {
  padding: 16px !important;
}

.tip-card {
  padding: 16px !important;
}

.tips-grid {
  grid-template-columns: 1fr !important; /* Force 1-column layout for tips on mobile */
  gap: 12px !important;
}

.quick-check-card {
  padding: 16px !important;
}

.alert-banner {
  padding: 12px 16px !important;
}

.alert-content {
  font-size: 12px !important;
}

/* Info tooltip box – slide in animation */
#infoTooltipBox {
  animation: tooltipSlideIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes tooltipSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   PROFESSIONAL SECURITY LEAD FORM DESIGN
   =================================================== */
.security-lead-form {
  background: #f9fafb;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin-top: 14px;
  text-align: left;
}
.lead-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.form-group input {
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(188, 161, 102, 0.15);
}
.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.form-checkbox {
  width: 15px;
  height: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  cursor: pointer;
}
.form-checkbox-group label {
  font-size: 11.5px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}
.lead-form-success {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-top: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease-out forwards;
}
.lead-form-success-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-form-success h4 {
  font-family: var(--font-title);
  font-size: 14.5px;
  color: #065f46;
  font-weight: 700;
}
.lead-form-success p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ===================================================
   MOBILE CONTAINMENT (MOBILE LOOK ON ALL DEVICES)
   =================================================== */
@media (min-width: 481px) {
  html {
    background-color: #051021 !important;
    background-image: radial-gradient(at 50% 0%, #0c2547 0px, transparent 60%),
                      radial-gradient(at 0% 100%, #020a14 0px, transparent 60%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
  }
  
  body {
    max-width: 430px !important;
    margin: 0 auto !important;
    min-height: 100vh;
    background-color: #051021 !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
  }

  .navbar {
    max-width: 430px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100%;
  }

  .drawer-overlay {
    max-width: 430px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100%;
  }

  .nav-drawer {
    left: calc(50% - 215px) !important;
    max-width: 360px !important;
    transform: translateX(-100%) !important;
  }
  .nav-drawer.active {
    transform: translateX(0) !important;
  }

  .scanner-overlay {
    max-width: 430px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100%;
  }

  .translator-panel-root {
    right: calc(50% - 200px) !important;
  }

  .translator-modal-overlay {
    max-width: 430px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100%;
  }

  .chat-launcher {
    right: calc(50% - 200px) !important;
  }
  .chat-window {
    right: calc(50% - 200px) !important;
    width: 350px !important;
    max-width: 90% !important;
  }
}


/* ===================================================
   CRO 2026 – CONVERSION OPTIMIZATION ELEMENTS
   BrókerPajzs – "Ви не лох, вас обманула система"
   =================================================== */

/* ─── Sticky Bottom CTA Bar ─── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #0a1d37 0%, #051021 100%);
  border-top: 1.5px solid rgba(188, 161, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  z-index: 9990;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.sticky-cta-text {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  flex: 1;
  min-width: 0;
}
.sticky-cta-text i { flex-shrink: 0; color: #bca166; }
.sticky-cta-text strong { color: #bca166; }
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #bca166;
  color: #0a1d37;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 15px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-title);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(188,161,102,0.35);
}
.sticky-cta-btn:hover { background: #d4b97e; transform: scale(1.04); }
body { padding-bottom: 60px !important; }

/* ─── Exit-Intent / Scroll Popup ─── */
.exit-popup-overlay {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  top: 0;
  background: rgba(5, 16, 33, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99990;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.25s ease-out;
}
.exit-popup-card {
  background: linear-gradient(160deg, #0d2244 0%, #051021 100%);
  border: 1.5px solid rgba(188, 161, 102, 0.3);
  border-radius: 20px 20px 0 0;
  padding: 28px 22px 80px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: slideUpPopup 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes slideUpPopup {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.exit-popup-close {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.1);
  border: none; color: rgba(255,255,255,0.6);
  font-size: 18px; width: 30px; height: 30px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.exit-popup-close:hover { background: rgba(255,255,255,0.2); color:#fff; }
.exit-popup-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(188,161,102,0.14);
  border: 1.5px solid rgba(188,161,102,0.3);
  color: #bca166;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.exit-popup-icon i { width: 26px; height: 26px; }
.exit-popup-card h3 {
  font-family: var(--font-title); font-size: 20px;
  font-weight: 800; color: #fff; margin: 0 0 10px;
}
.exit-popup-card p {
  font-size: 13.5px; color: rgba(255,255,255,0.75);
  line-height: 1.55; margin: 0 0 20px;
}
.exit-popup-card strong { color: #bca166; }
.exit-popup-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  background: #bca166; color: #0a1d37;
  font-size: 15px; font-weight: 800;
  padding: 14px 20px; border-radius: 50px; border: none;
  cursor: pointer; font-family: var(--font-title);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(188,161,102,0.4);
  margin-bottom: 12px;
}
.exit-popup-cta:hover { background: #d4b97e; transform: scale(1.02); }
.exit-popup-skip {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 13px; cursor: pointer; padding: 6px;
  transition: color 0.2s;
}
.exit-popup-skip:hover { color: rgba(255,255,255,0.7); }

/* ─── Hero Chat CTA Button ─── */
.btn-chat-hero {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #bca166 0%, #d4a843 100%);
  color: #0a1d37; font-size: 16px; font-weight: 800;
  padding: 16px 28px; border-radius: 50px; border: none;
  cursor: pointer; font-family: var(--font-title);
  width: 100%;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(188,161,102,0.45);
  animation: pulseCTA 2.5s ease-in-out infinite;
}
@keyframes pulseCTA {
  0%, 100% { box-shadow: 0 6px 24px rgba(188,161,102,0.45); }
  50% { box-shadow: 0 8px 32px rgba(188,161,102,0.68); }
}
.btn-chat-hero:hover { transform: scale(1.03); }

.btn-scanner-sub {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; font-family: var(--font-title);
  width: 100%; transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}
.btn-scanner-sub:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }

/* ─── Hero Trust Row ─── */
.hero-trust-row {
  display: flex; align-items: center;
  justify-content: center; gap: 12px;
  margin: 12px 0 6px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: rgba(255,255,255,0.58); font-weight: 500;
}

/* ─── Tip Card Micro-CTA ─── */
.tip-cta-micro {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px; background: none;
  border: 1px solid rgba(188,161,102,0.25);
  color: #bca166; font-size: 11.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 50px;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-title);
}
.tip-cta-micro:hover { background: rgba(188,161,102,0.1); border-color: rgba(188,161,102,0.5); }

/* ─── Alert Banner Chat Button ─── */
.alert-chat-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(188,161,102,0.15);
  border: 1px solid rgba(188,161,102,0.35);
  color: #bca166; font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 50px;
  cursor: pointer; white-space: nowrap;
  flex-shrink: 0; transition: background 0.2s;
  font-family: var(--font-title);
}
.alert-chat-btn:hover { background: rgba(188,161,102,0.25); }

/* ─── Navbar Chat CTA ─── */
.nav-chat-cta {
  background: rgba(188,161,102,0.12) !important;
  border: 1px solid rgba(188,161,102,0.3) !important;
  color: #bca166 !important; border-radius: 50px !important;
  font-weight: 700 !important; padding: 4px 10px !important;
  cursor: pointer; transition: background 0.2s !important;
}
.nav-chat-cta:hover { background: rgba(188,161,102,0.22) !important; }
.nav-chat-cta strong { color: inherit; }

/* ─── Drawer Chat Button ─── */
.drawer-chat-btn {
  width: 100%; text-align: left;
  background: rgba(188,161,102,0.08) !important;
  border: 1px solid rgba(188,161,102,0.25) !important;
  color: #bca166 !important; border-radius: var(--radius-md) !important;
  font-weight: 700 !important; cursor: pointer;
}
.drawer-chat-btn:hover { background: rgba(188,161,102,0.16) !important; }

/* ─── Report Page Chat Hero ─── */
.report-chat-hero {
  background: linear-gradient(135deg, rgba(188,161,102,0.1) 0%, rgba(188,161,102,0.03) 100%);
  border: 1.5px solid rgba(188,161,102,0.25);
  border-radius: var(--radius-lg);
  padding: 18px 16px; margin-bottom: 16px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; text-align: center;
}
.rch-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(188,161,102,0.14);
  border: 1.5px solid rgba(188,161,102,0.3);
  color: #bca166;
  display: flex; align-items: center; justify-content: center;
}
.rch-icon i { width: 22px; height: 22px; }
.rch-content h3 {
  font-family: var(--font-title); font-size: 15px;
  font-weight: 700; color: var(--text-primary); margin: 0 0 4px;
}
.rch-content p { font-size: 12.5px; color: var(--text-secondary); margin: 0; line-height: 1.45; }
.rch-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #bca166; color: #0a1d37;
  font-size: 14px; font-weight: 800;
  padding: 11px 22px; border-radius: 50px; border: none;
  cursor: pointer; font-family: var(--font-title);
  transition: background 0.2s; box-shadow: 0 3px 14px rgba(188,161,102,0.35);
  width: 100%; justify-content: center;
}
.rch-btn:hover { background: #d4b97e; }

/* ─── Channel Card Chat ─── */
.channel-card-chat { border-color: rgba(48,209,88,0.2) !important; background: rgba(48,209,88,0.03) !important; }
.cc-link-chat {
  background: none; border: none; color: #30D158;
  font-weight: 700; font-size: 13px; cursor: pointer;
  padding: 0; font-family: inherit;
  text-decoration: underline; text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.cc-link-chat:hover { opacity: 0.75; }

/* ─── Footer Chat Link ─── */
.footer-chat-link {
  color: #bca166 !important; font-weight: 700 !important;
  border: 1px solid rgba(188,161,102,0.25) !important;
  border-radius: 50px !important; padding: 4px 12px !important;
  background: rgba(188,161,102,0.06) !important;
  transition: background 0.2s !important;
}
.footer-chat-link:hover { background: rgba(188,161,102,0.14) !important; }

/* ─── Scanner Chat CTA Block ─── */
.scanner-chat-cta-block {
  background: linear-gradient(135deg, rgba(188,161,102,0.1) 0%, rgba(188,161,102,0.03) 100%);
  border: 1.5px solid rgba(188,161,102,0.28);
  border-radius: var(--radius-lg);
  padding: 16px; margin-bottom: 20px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; text-align: center;
  animation: fadeIn 0.4s ease;
}
.scanner-chat-cta-block strong {
  font-family: var(--font-title); font-size: 14.5px;
  font-weight: 700; color: var(--text-primary);
}
.scanner-chat-cta-block p { font-size: 12px; color: var(--text-secondary); margin: 0; }
.scanner-chat-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #bca166; color: #0a1d37;
  font-size: 14px; font-weight: 800;
  padding: 11px 22px; border-radius: 50px; border: none;
  cursor: pointer; font-family: var(--font-title);
  transition: background 0.2s; box-shadow: 0 3px 14px rgba(188,161,102,0.35);
  width: 100%; justify-content: center;
}
.scanner-chat-cta-btn:hover { background: #d4b97e; }

/* ─── Chat Launcher Pulse ─── */
@keyframes chatLauncherPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(220,38,38,0.6), 0 0 0 0 rgba(220,38,38,0.35); }
  50% { box-shadow: 0 4px 20px rgba(220,38,38,0.8), 0 0 0 9px rgba(220,38,38,0); }
}
.chat-launcher { animation: chatLauncherPulse 2s ease-in-out infinite !important; }
.chat-launcher.active { animation: none !important; }

/* ─── Chat Launcher Tooltip ─── */
.chat-launcher-tooltip {
  position: fixed; z-index: 10001;
  background: #0a1d37;
  border: 1px solid rgba(188,161,102,0.35);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px;
  white-space: nowrap; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  animation: tooltipSlideIn 0.3s ease;
}
.chat-launcher-tooltip::after {
  content: ''; position: absolute;
  bottom: -6px; right: 16px;
  width: 12px; height: 12px; background: #0a1d37;
  border-right: 1px solid rgba(188,161,102,0.35);
  border-bottom: 1px solid rgba(188,161,102,0.35);
  transform: rotate(45deg);
}

/* ─── Mobile containment for new elements ─── */
@media (min-width: 481px) {
  .sticky-cta-bar {
    left: 50% !important; right: auto !important;
    transform: translateX(-50%) !important; max-width: 430px !important;
  }
  .exit-popup-overlay {
    left: 50% !important; right: auto !important;
    transform: translateX(-50%) !important; max-width: 430px !important;
  }
}

/* ===================================================
   CONVERSION BANNERS – 12 Psychological Variants
   BrókerPajzs 2026 CRO
   =================================================== */

/* ─── Base Banner ─── */
.conv-banner {
  margin: 0;
  width: 100%;
  max-width: 430px;
  box-sizing: border-box;
}

/* ─── Banner #1: Shame Removal (.cb-shame) ─── */
.cb-shame { background: linear-gradient(135deg, #0d2244 0%, #1a3a6b 100%); border-top: 2px solid rgba(188,161,102,0.3); border-bottom: 2px solid rgba(188,161,102,0.3); }
.cb-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  flex-wrap: wrap;
}
.cb-emoji { font-size: 28px; flex-shrink: 0; }
.cb-text { flex: 1; min-width: 0; }
.cb-text strong { display: block; font-family: var(--font-title); font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.cb-text span { font-size: 12px; color: rgba(255,255,255,0.72); line-height: 1.45; display: block; }
.cb-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #bca166; color: #0a1d37;
  font-size: 12.5px; font-weight: 800;
  padding: 9px 16px; border-radius: 50px; border: none;
  cursor: pointer; font-family: var(--font-title);
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(188,161,102,0.3);
}
.cb-btn:hover { background: #d4b97e; transform: scale(1.03); }
.cb-btn-ghost {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: none;
}
.cb-btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.cb-btn-gold { background: linear-gradient(135deg, #bca166 0%, #d4a843 100%); font-size: 14px; padding: 12px 24px; }
.cb-btn-community { width: 100%; justify-content: center; font-size: 14px; padding: 13px; margin-top: 8px; }

/* ─── Banner #2: Form Banner (.cb-form-banner) ─── */
.cb-form-banner { background: linear-gradient(160deg, #f8f4ee 0%, #fefcf8 100%); border-top: 2px solid rgba(188,161,102,0.2); border-bottom: 2px solid rgba(188,161,102,0.2); }
.cb-form-inner { padding: 20px 16px; }
.cb-form-header {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
}
.cb-form-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.cb-form-header strong { display: block; font-family: var(--font-title); font-size: 14px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.cb-form-header p { font-size: 12px; color: var(--text-secondary); margin: 0; line-height: 1.4; }
.cb-quick-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.cb-input {
  width: 100%; box-sizing: border-box;
  background: #fff; border: 1.5px solid rgba(188,161,102,0.25);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: var(--text-primary);
  font-family: var(--font-body); outline: none;
  transition: border-color 0.2s;
}
.cb-input::placeholder { color: var(--text-muted); }
.cb-input:focus { border-color: rgba(188,161,102,0.6); }
.cb-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #0a1d37; color: #bca166;
  font-size: 13.5px; font-weight: 800;
  padding: 12px 18px; border-radius: 50px; border: none;
  cursor: pointer; font-family: var(--font-title);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 14px rgba(10,29,55,0.2);
}
.cb-submit-btn:hover { background: #1a3a6b; transform: scale(1.02); }
.cb-submit-btn.sending { opacity: 0.7; pointer-events: none; }
.cb-submit-btn.success { background: #1a7a40; color: #fff; }
.cb-trust { font-size: 10.5px; color: var(--text-muted); text-align: center; margin: 0; }

/* ─── Banner #3: Fear Normalization (.cb-fear) ─── */
.cb-fear { background: linear-gradient(135deg, #051021 0%, #0d2244 100%); border-left: 3px solid #bca166; }
.cb-inner-dark .cb-text strong { color: #bca166; }
.cb-inner-dark .cb-text span { color: rgba(255,255,255,0.68); }
.cb-fear-content { display: flex; align-items: flex-start; gap: 10px; flex: 1; }
.cb-fear-icon { font-size: 22px; flex-shrink: 0; }
.cb-inner-dark { flex-direction: column; align-items: stretch; gap: 12px; }
.cb-inner-dark .cb-btn { align-self: flex-end; }

/* ─── Banner #4: Stat Empowerment (.cb-stat-banner) ─── */
.cb-stat-banner { background: #0a1d37; border-top: 3px solid #bca166; }
.cb-stat-inner { display: flex; align-items: center; gap: 0; }
.cb-stat-left {
  background: #bca166; color: #0a1d37;
  padding: 20px 16px; text-align: center;
  flex-shrink: 0; min-width: 72px;
  display: flex; flex-direction: column; align-items: center;
  align-self: stretch; justify-content: center;
}
.cb-stat-number { font-family: var(--font-title); font-size: 30px; font-weight: 900; line-height: 1; }
.cb-stat-number span { font-size: 16px; }
.cb-stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; opacity: 0.8; }
.cb-stat-right {
  padding: 16px 14px; flex: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.cb-stat-right strong { font-family: var(--font-title); font-size: 13px; font-weight: 700; color: #bca166; display: block; }
.cb-stat-right span { font-size: 11.5px; color: rgba(255,255,255,0.65); line-height: 1.45; display: block; }
.cb-stat-right .cb-btn { margin-top: 8px; align-self: flex-start; }

/* ─── Banner #5: Community (.cb-community) ─── */
.cb-community { background: linear-gradient(135deg, #f8f4ee 0%, #fefcf8 100%); border-top: 2px solid rgba(188,161,102,0.25); border-bottom: 2px solid rgba(188,161,102,0.25); }
.cb-community-inner { padding: 20px 16px; }
.cb-community-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cb-community-icon { font-size: 24px; }
.cb-community-header strong { font-family: var(--font-title); font-size: 15px; font-weight: 800; color: var(--text-primary); }
.cb-testimonials { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cb-testimonial {
  background: rgba(188,161,102,0.08);
  border: 1px solid rgba(188,161,102,0.2);
  border-radius: 10px; padding: 12px;
}
.cb-testimonial p { font-size: 12.5px; color: var(--text-primary); font-style: italic; margin: 0 0 5px; line-height: 1.45; }
.cb-testimonial span { font-size: 10.5px; color: var(--text-muted); font-weight: 600; }

/* ─── Banner #6: Article End (.cb-article-end) ─── */
.cb-article-end { background: linear-gradient(135deg, #0d2244 0%, #051021 100%); margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; }
.cb-article-end .cb-form-header strong { color: #bca166; }
.cb-article-end .cb-form-header p { color: rgba(255,255,255,0.65); }
.cb-article-end .cb-input { background: rgba(255,255,255,0.08); border-color: rgba(188,161,102,0.25); color: #fff; }
.cb-article-end .cb-input::placeholder { color: rgba(255,255,255,0.4); }
.cb-article-end .cb-trust { color: rgba(255,255,255,0.4); }
.cb-article-end .cb-submit-btn { background: #bca166; color: #0a1d37; }
.cb-article-end .cb-submit-btn:hover { background: #d4b97e; }

/* ─── Success state for quick form ─── */
.cb-success-msg {
  text-align: center; padding: 16px;
  font-family: var(--font-title); font-size: 14px;
  color: #1a7a40; font-weight: 700;
}
.cb-success-msg span { display: block; font-size: 28px; margin-bottom: 6px; }

/* ===================================================
   ARTICLE INLINE ELEMENTS – Email CTAs, Ad Banners,
   Lead Forms (Newsletter, Callback, Story)
   =================================================== */

/* ─── Article Email CTA ─── */
.article-email-cta {
  display: flex; align-items: center; gap: 8px;
  background: rgba(188,161,102,0.1);
  border: 1px solid rgba(188,161,102,0.25);
  border-radius: 10px; padding: 10px 14px;
  margin: 16px 0; font-size: 12.5px;
  color: var(--text-secondary); line-height: 1.45;
}
.article-email-link {
  color: #bca166; font-weight: 700; text-decoration: none;
  border-bottom: 1px dashed rgba(188,161,102,0.5);
}
.article-email-link:hover { color: #d4b97e; }

.article-email-footer {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(10,29,55,0.8);
  border-radius: 10px; padding: 12px 14px;
  margin-top: 20px; font-size: 12px;
  color: rgba(255,255,255,0.6); line-height: 1.5;
  border: 1px solid rgba(188,161,102,0.2);
}

/* ─── Article Lead Forms ─── */
.art-lead-form {
  margin: 20px 0; border-radius: 14px; overflow: hidden;
}

/* Newsletter Form */
.art-lead-newsletter {
  background: linear-gradient(135deg, #f8f4ee 0%, #fefcf8 100%);
  border: 1.5px solid rgba(188,161,102,0.25);
  padding: 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.alf-icon { font-size: 26px; flex-shrink: 0; }
.alf-content { flex: 1; }
.alf-content strong { font-family: var(--font-title); font-size: 13.5px; font-weight: 800; color: var(--text-primary); display: block; margin-bottom: 4px; }
.alf-content p { font-size: 11.5px; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.4; }
.alf-form { display: flex; flex-direction: column; gap: 7px; }
.alf-form-row { flex-direction: row !important; }
.alf-form-col { flex-direction: column !important; }

/* Callback Form */
.art-lead-callback {
  background: linear-gradient(135deg, #0d2244 0%, #0a1d37 100%);
  border: 1.5px solid rgba(188,161,102,0.2);
  padding: 16px;
}
.alf-callback-left { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.alf-callback-icon { font-size: 22px; flex-shrink: 0; }
.alf-callback-left strong { font-family: var(--font-title); font-size: 13.5px; font-weight: 800; color: #fff; display: block; margin-bottom: 2px; }
.alf-callback-left span { font-size: 11.5px; color: rgba(255,255,255,0.6); }
.alf-callback-left .cb-input { background: rgba(255,255,255,0.1); border-color: rgba(188,161,102,0.3); color: #fff; }
.art-lead-callback .cb-input { background: rgba(255,255,255,0.1); border-color: rgba(188,161,102,0.3); color: #fff; }
.art-lead-callback .cb-input::placeholder { color: rgba(255,255,255,0.4); }

/* Story Form */
.art-lead-story {
  background: linear-gradient(135deg, #f8f4ee 0%, #fefcf8 100%);
  border: 1.5px solid rgba(188,161,102,0.25);
  padding: 18px;
}
.alf-story-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.alf-story-icon { font-size: 24px; flex-shrink: 0; }
.alf-story-header strong { font-family: var(--font-title); font-size: 14px; font-weight: 800; color: var(--text-primary); display: block; margin-bottom: 4px; }
.alf-story-header p { font-size: 11.5px; color: var(--text-secondary); margin: 0; line-height: 1.4; }
.cb-textarea {
  width: 100%; box-sizing: border-box;
  background: #fff; border: 1.5px solid rgba(188,161,102,0.25);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: var(--text-primary);
  font-family: var(--font-body); outline: none; resize: vertical;
  transition: border-color 0.2s;
}
.cb-textarea:focus { border-color: rgba(188,161,102,0.6); }
.alf-story-btn { width: 100% !important; justify-content: center; }

/* ─── Advertising Banners ─── */
.art-ad-banner {
  margin: 20px 0; border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  overflow: hidden; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.art-ad-banner:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.aab-badge {
  position: absolute; top: 6px; right: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.8px;
  color: rgba(0,0,0,0.4); text-transform: uppercase;
}
.aab-content {
  display: flex; align-items: center; gap: 10px; padding: 14px 12px;
}
.aab-logo {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(135deg, #0a1d37, #1a3a6b);
  color: #bca166; font-family: var(--font-title); font-weight: 900;
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.aab-text { flex: 1; min-width: 0; }
.aab-text strong { font-family: var(--font-title); font-size: 12.5px; font-weight: 800; color: var(--text-primary); display: block; margin-bottom: 2px; }
.aab-text span { font-size: 11px; color: var(--text-secondary); display: block; line-height: 1.35; }
.aab-cta {
  font-size: 11.5px; font-weight: 800; font-family: var(--font-title);
  color: #bca166; white-space: nowrap; flex-shrink: 0;
  padding: 6px 10px; border-radius: 20px;
  background: rgba(188,161,102,0.12);
  border: 1px solid rgba(188,161,102,0.3);
}

/* Ad Type Variants */
.ad-type-a { background: linear-gradient(135deg, #fafaf8, #f5f0e8); }
.ad-type-b { background: linear-gradient(135deg, #eef4ff, #f0f8ff); }
.aab-logo-b { background: linear-gradient(135deg, #1a3a6b, #0a84ff); color: #fff; font-size: 18px; }
.aab-cta-b { color: #0a84ff; background: rgba(10,132,255,0.1); border-color: rgba(10,132,255,0.3); }
.ad-type-c { background: linear-gradient(135deg, #f8f0ff, #fff5f8); }
.aab-logo-c { background: linear-gradient(135deg, #5e2d91, #a855f7); color: #fff; font-size: 18px; }
.aab-cta-c { color: #7c3aed; background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
.ad-type-d { background: linear-gradient(135deg, #f0f8f0, #f8fff0); }
.aab-logo-d { background: linear-gradient(135deg, #1a5c2a, #30d158); color: #fff; font-size: 18px; }
.aab-cta-d { color: #1a7a40; background: rgba(26,122,64,0.1); border-color: rgba(26,122,64,0.3); }

/* Error state for form fields */
.cb-input-error { border-color: #ff453a !important; animation: shake 0.3s ease; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════════════════
   МОБІЛЬНЕ ЗМІЦНЕННЯ — прибирає горизонтальне переповнення на вузьких
   екранах (320–430px: iPhone SE/mini, Pixel, більшість Android).
   Лише ≤480px; десктоп і планшет (≥481px, де все й так чисто) не зачіпає.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Футер: посилання переносяться під бренд, а не вилазять праворуч */
  .footer-top { flex-wrap: wrap; }
  .footer-links { min-width: 0; }

  /* Картки категорій: плинна ширина замість фіксованих 310px */
  .categories-grid { grid-template-columns: 1fr; }
  .category-card { width: auto; max-width: 100%; }

  /* Stat-банер: правий блок стискається, кнопка переносить довгий текст */
  .cb-stat-right { min-width: 0; }
  .cb-stat-right .cb-btn { white-space: normal; }

  /* Алерт-банер: менший падінг + текст може стискатись (вузькі екрани) */
  .alert-banner { padding-left: 12px; padding-right: 12px; }
  .alert-content { min-width: 0; }

  /* Загальна страховка: медіа ніколи не ширші за контейнер */
  img, video, iframe { max-width: 100%; height: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   ВБУДОВАНА ЛІДФОРМА (.lead-form) — звичайна форма замість чату.
   Самодостатня темна картка: читабельна і на світлих, і на темних
   секціях. Переюзає .cb-input / .cb-submit-btn.
   ═══════════════════════════════════════════════════════════════ */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  max-width: 580px;
  margin: 18px auto 0;
  padding: 24px;
  box-sizing: border-box;
  background: linear-gradient(160deg, #0d2244 0%, #1a3a6b 100%);
  border: 1px solid rgba(188, 161, 102, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(10, 29, 55, 0.25);
}
.lead-form-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 19px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2px;
}
.lead-form-row {
  display: flex;
  gap: 10px;
}
/* Більший шрифт і поля — цільова аудиторія пенсіонери (слабкий зір) */
.lead-form .cb-input {
  font-size: 16px;
  padding: 14px 16px;
}
.lead-form-row .cb-input {
  flex: 1;
  min-width: 0;
}
.lead-form .cb-submit-btn {
  width: 100%;
  background: #bca166;
  color: #0a1d37;
  font-size: 17px;
  padding: 15px;
  min-height: 54px;
}
.lead-form .cb-submit-btn:hover { background: #d4b97e; }
.lead-form .cb-submit-btn.sending { opacity: 0.7; pointer-events: none; }
.lead-form-trust {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 2px 0 0;
}
.lead-form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(26, 122, 64, 0.14);
  border: 1px solid rgba(26, 122, 64, 0.45);
  color: #d6f5e0;
  font-size: 14px;
  line-height: 1.45;
}
.lead-form-success-ico { font-size: 26px; line-height: 1; }

@media (max-width: 480px) {
  .lead-form-row { flex-direction: column; }
  .lead-form { padding: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   ЩИТ-СКАНЕР — більший + клікабельний підпис «що це робить».
   Цільова аудиторія — пенсіонери (слабкий зір), тож крупніше.
   ═══════════════════════════════════════════════════════════════ */
.pulse-shield-wrapper {
  width: 176px;
  height: 176px;
  margin-bottom: 14px;
}
.ring-1 { width: 102px; height: 102px; }
.ring-2 { width: 140px; height: 140px; }
.ring-3 { width: 176px; height: 176px; }
.pulse-center-badge {
  width: 98px;
  height: 98px;
}
.pulse-center-badge i {
  width: 50px;
  height: 50px;
}

.shield-scan-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 26px;
  padding: 13px 24px;
  background: rgba(188, 161, 102, 0.16);
  border: 1.5px solid rgba(188, 161, 102, 0.55);
  border-radius: 50px;
  color: #f1f5f9;
  font-family: var(--font-title);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  animation: shieldHintPulse 2.4s ease-in-out infinite;
}
.shield-scan-hint:hover { background: rgba(188, 161, 102, 0.3); transform: translateY(-1px); }
.shield-scan-hint strong { color: #d4b97e; }
.shield-scan-hint i { width: 20px; height: 20px; color: #d4b97e; flex-shrink: 0; }
@keyframes shieldHintPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(188, 161, 102, 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(188, 161, 102, 0); }
}
