:root {
  --bg: #050509;
  --panel: #0b1430;
  --panel-soft: #071028;
  --text: #F7F8FF;
  --muted: #B8C0E6;
  --line: rgba(255,255,255,.12);
  --accent: #00D2FF;
  --accent-soft: rgba(0,210,255,.14);
  --good: #3BE7A8;
  --warn: #FFD166;
  --bad: #FF4FA3;
  --danger: #FF4FA3;
  --radius-lg: 20px;
  --radius-md: 16px;
  --shadow-lg: 0 22px 55px rgba(0,0,0,.8);
  --shadow-md: 0 14px 32px rgba(0,0,0,.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1100px 700px at 50% 45%, rgba(255,255,255,.035), transparent 65%),
              radial-gradient(1200px 900px at 50% 120%, rgba(0,0,0,.75), transparent 55%),
              radial-gradient(1200px 900px at 50% -10%, rgba(0,0,0,.7), transparent 60%),
              var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.fl-shell {
  min-height: 100vh;
}

.wrap {
  max-width: 1120px;
  width: 100%;
  margin: 26px auto 42px;
  padding: 0 16px;
}

.card,
.fl-card {
  background: radial-gradient(circle at 0 0, rgba(0,210,255,.12), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(124,58,237,.10), transparent 60%),
              rgba(7,10,32,.96);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.card-h,
.fl-card-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-b,
.fl-card-body {
  padding: 16px;
}

.fl-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.fl-hero-mainTitle {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 3.1vw, 2.7rem);
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 10px;
}

.fl-hero-subTitle {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 34rem;
}

.fl-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btnPrimary,
.btnSecondary,
.btnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease, background .1s ease, border-color .1s ease;
}

.btnPrimary {
  background: linear-gradient(135deg, rgba(0,210,255,.9), rgba(124,58,237,.9));
  border-color: rgba(255,255,255,.22);
  color: #0b1022;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.btnPrimary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,.7);
}

.btnSecondary {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
  color: var(--text);
}

.btnGhost {
  background: transparent;
  border-color: rgba(255,255,255,.18);
  color: var(--muted);
}

.fl-section-title {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.fl-section-heading {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.fl-section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.fl-threeCol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fl-pill-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.fl-footer {
  margin-top: 24px;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.fl-footer a {
  color: var(--muted);
  border-bottom: 1px dotted rgba(255,255,255,.22);
}

/* Simple accordion for FAQ/support pages */
.fl-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fl-accordion-item {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(9,12,32,.86);
  overflow: hidden;
}
.fl-accordion-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
  width: 100%;
  text-align: left;
}
.fl-accordion-header:hover {
  background: rgba(255,255,255,.06);
}
.fl-accordion-header:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.fl-accordion-header h3 {
  margin: 0;
  font-size: 0.98rem;
}
.fl-accordion-body {
  padding: 0 14px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
}
.fl-accordion-item.open .fl-accordion-body {
  display: block;
}

/* Cookie consent banner: glass card at bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.cookie-banner-inner {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(8,12,35,.95);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}
.cookie-banner-text a {
  color: var(--accent);
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ========== Topbar: responsive header, logo only ========== */
#topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 9999 !important;
  isolation: isolate;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.topbarInner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
}

.topbarRow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbarRowMain {
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 48px;
}

#topbar .brand {
  position: relative;
  z-index: 10000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.topbarStatusWrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.topbarActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.topbarAuth {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Scan pill in header: compact */
#topbar .topPill.scan-counter-pill {
  padding: 4px 10px;
  font-size: 0.8rem;
  line-height: 1.2;
}
#topbar .topPill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

/* Mobile: single-row header = logo + hamburger only; nav in side menu */
@media (max-width: 820px) {
  .topbarDesktopOnly {
    display: none !important;
  }
  .mobileMenuToggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    border-radius: 10px;
    flex-direction: column;
    gap: 5px;
  }
  .mobileMenuToggle:hover {
    background: rgba(255,255,255,.08);
  }
  .mobileMenuToggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }
  .topbarRowMain {
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 56px;
  }
  .topbarInner {
    padding: 8px 12px;
  }
  #topbar .brand-logo {
    height: 24px;
  }
}

@media (max-width: 480px) {
  #topbar .brand-logo {
    height: 22px;
  }
  .topbarRowMain {
    min-height: 52px;
  }
}

/* Mobile side menu overlay + panel */
.mobileMenuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.mobileMenuOverlay.is-open {
  opacity: 1;
  visibility: visible;
}
.mobileMenuOverlay[hidden] {
  display: none !important;
}

.mobileSideMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(12,18,40,.98), rgba(8,12,32,.98));
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: -8px 0 32px rgba(0,0,0,.5);
  z-index: 10003;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow: hidden;
}
.mobileSideMenu.is-open {
  transform: translateX(0);
}

.mobileSideMenuHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.mobileSideMenuLogo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.mobileMenuClose {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobileMenuClose:hover {
  background: rgba(255,255,255,.14);
}

.mobileSideMenuBody {
  padding: 12px 0;
  overflow-y: auto;
  flex: 1;
}
.mobileMenuStatus {
  padding: 8px 16px 12px;
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.mobileMenuItem {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.15s ease;
}
.mobileMenuItem:hover {
  background: rgba(255,255,255,.06);
}
.mobileMenuItemPrimary {
  color: var(--muted);
}
.mobileMenuItemCta {
  font-weight: 700;
  color: var(--accent);
}
.mobileMenuBlock {
  padding: 4px 0;
}
.mobileMenuBlock .mobileMenuItem {
  padding: 10px 16px;
  font-size: 0.9rem;
}

@media (min-width: 821px) {
  .mobileMenuOverlay.is-open,
  .mobileSideMenu.is-open {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .wrap {
    padding: 14px;
  }
  .fl-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .fl-threeCol {
    grid-template-columns: 1fr;
  }
  .btnPrimary,
  .btnSecondary,
  .btnGhost {
    width: 100%;
  }
}

