/* ============================================================
   FD Alerts — design system
   Premium B2B travel API platform. Blue-dominant, orange as
   accent only (CTAs / highlights). 12-16px radii, thin borders,
   soft shadows, minimal gradients.
   ============================================================ */

:root {
  --navy: #061a4f;
  --navy-deep: #031338;
  --blue: #0875c9;
  --blue-hover: #065fa3;
  --blue-bg: #eaf5ff;
  --gold: #f9ae16;
  --gold-hover: #e0980a;

  --ink-900: #101828;
  --ink-700: #344054;
  --ink-500: #667085;
  --surface-0: #ffffff;
  --surface-50: #f7fafe;
  --border-soft: #e4eaf2;

  /* legacy aliases so existing admin-shell rules keep working */
  --brand-navy: var(--navy);
  --brand-navy-soft: var(--navy-deep);
  --brand-blue: var(--blue);
  --brand-blue-dark: var(--navy);
  --brand-blue-light: var(--blue-hover);
  --brand-gold: var(--gold);
  --brand-orange: var(--gold);
  --brand-teal: var(--blue);
  --surface-100: var(--blue-bg);

  --radius-lg: 16px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 32px -14px rgba(6, 26, 79, 0.18);
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 20px -10px rgba(16, 24, 40, 0.1);

  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--surface-50);
  -webkit-font-smoothing: antialiased;
  perspective: 1600px;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink-900); font-weight: 700; letter-spacing: -0.02em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
.text-muted-soft { color: var(--ink-500); }
.container { max-width: 1240px; }

/* ---------- Buttons ---------- */

.btn-brand {
  background: linear-gradient(180deg, var(--blue-hover) 0%, var(--blue) 55%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.7rem;
  font-weight: 600;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 3px 0 var(--navy), 0 10px 22px -8px rgba(8,117,201,0.55);
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 5px 0 var(--navy), 0 16px 28px -8px rgba(8,117,201,0.6); }
.btn-brand:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 0 var(--navy), 0 6px 14px -8px rgba(8,117,201,0.5); }

.btn-gold {
  background: linear-gradient(180deg, #ffc548 0%, var(--gold) 55%);
  color: var(--navy-deep);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.7rem;
  font-weight: 700;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 3px 0 #b3760c, 0 10px 22px -8px rgba(249,174,22,0.55);
}
.btn-gold:hover { color: var(--navy-deep); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 5px 0 #b3760c, 0 16px 28px -8px rgba(249,174,22,0.6); }
.btn-gold:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 0 #b3760c, 0 6px 14px -8px rgba(249,174,22,0.5); }

.btn-outline-brand {
  border: 1.5px solid var(--border-soft);
  color: var(--ink-900);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  background: #fff;
  transition: border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 2px 8px -4px rgba(16,24,40,0.08);
}
.btn-outline-brand:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(8,117,201,0.35); }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline-white:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.08); }

.icon-circle-sm {
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.65), inset 0 -3px 4px rgba(6,26,79,0.08), 0 6px 14px -8px rgba(6,26,79,0.4);
}

/* ---------- Public navbar ---------- */

.public-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .2s ease, padding .2s ease, background-color .2s ease;
}
.public-navbar.is-scrolled {
  box-shadow: 0 4px 20px -8px rgba(6,26,79,0.15);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
}
.public-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.public-navbar .navbar-brand .brand-fd { color: var(--navy); }
.public-navbar .navbar-brand .brand-alerts { color: var(--gold); }
.public-navbar .nav-link {
  color: var(--ink-700);
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
}
.public-navbar .nav-link.active,
.public-navbar .nav-link:hover { color: var(--blue); }
.public-navbar .dropdown-menu { border: 1px solid var(--border-soft); box-shadow: var(--shadow-card); border-radius: var(--radius-sm); }
.public-navbar .dropdown-item:hover { background: var(--blue-bg); color: var(--blue); }

/* ---------- Hero ---------- */

.hero-section {
  background: linear-gradient(180deg, var(--blue-bg) 0%, var(--surface-50) 70%);
  padding: 4.5rem 0 4.5rem;
  overflow: hidden;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8,117,201,0.1);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.14;
  margin: 1.1rem 0 0.6rem;
  color: var(--ink-900);
}
.hero-title .accent { color: var(--gold); }
.hero-subheadline { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.85rem; }
.hero-lede { color: var(--ink-500); font-size: 1.02rem; max-width: 540px; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat { display: flex; align-items: center; gap: 0.65rem; }
.hero-stat .icon-circle-sm { background: var(--blue-bg); color: var(--blue); }
.hero-stat .stat-value { font-weight: 800; color: var(--ink-900); font-size: 0.98rem; line-height: 1.1; }
.hero-stat .stat-label { color: var(--ink-500); font-size: 0.76rem; }

/* Hero visual: globe + floating cards + laptop mockup */
.hero-visual { position: relative; min-height: 460px; max-width: 560px; margin-left: auto; }
.hero-globe {
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 380px;
  border-radius: 46%;
  background: radial-gradient(ellipse at 50% 35%, rgba(8,117,201,0.14), rgba(8,117,201,0.05) 60%, transparent 75%);
}
.hero-globe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(8,117,201,0.28) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 42%, #000 55%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 42%, #000 55%, transparent 75%);
}
.hero-flight-path { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.hero-flight-path path { stroke-dasharray: 4 6; animation: dashFlow 30s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -200; } }

.hero-float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 8px -4px rgba(6,26,79,0.12), 0 20px 34px -16px rgba(6,26,79,0.28);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 160px;
  --tilt: 0deg;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-float-card > div:last-child { flex: 1; min-width: 0; }
.hero-float-card .fc-title { font-weight: 700; font-size: 0.82rem; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-float-card .fc-sub { font-size: 0.7rem; color: var(--ink-500); line-height: 1.25; }
.hero-float-card .fc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  background: linear-gradient(150deg, #fff, var(--blue-bg));
  color: var(--blue);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), inset 0 -2px 3px rgba(8,117,201,0.12), 0 4px 10px -4px rgba(8,117,201,0.35);
}
.hfc-flights { top: 4px; left: 4px; animation-delay: 0s; --tilt: -3deg; }
.hfc-hotels { top: 4px; right: 4px; animation-delay: 1.1s; --tilt: 2deg; }
.hfc-transfers { bottom: 60px; left: 4px; animation-delay: 0.5s; --tilt: 2deg; }
.hfc-activities { bottom: 100px; right: 4px; animation-delay: 1.7s; --tilt: -2deg; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  50% { transform: translateY(-8px) rotate(var(--tilt)); }
}

.laptop-frame {
  position: relative;
  max-width: 460px;
  margin: 6.5rem auto 0;
  z-index: 2;
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.laptop-frame:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) scale(1.015); }
.laptop-frame::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%; bottom: -22px; height: 26px;
  background: radial-gradient(ellipse, rgba(6,26,79,0.4), transparent 72%);
  filter: blur(4px);
  z-index: -1;
  transform: translateZ(-40px);
}
.laptop-screen {
  background: linear-gradient(160deg, #eef1f7, #c9d1e0);
  border-radius: 14px 14px 4px 4px;
  padding: 8px 8px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 0 1px rgba(6,26,79,0.08), 0 40px 70px -24px rgba(6,26,79,0.5);
}
.laptop-chrome { display: flex; align-items: center; gap: 4px; padding: 0 2px 6px; }
.laptop-chrome span { width: 6px; height: 6px; border-radius: 50%; background: #b9c1d1; }
.laptop-chrome span:nth-child(1) { background: #f87171; }
.laptop-chrome span:nth-child(2) { background: #fbbf24; }
.laptop-chrome span:nth-child(3) { background: #34d399; }
.laptop-screen-inner {
  background: var(--surface-50);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: flex;
  min-height: 220px;
  font-size: 0.65rem;
}
.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #dfe4ee, #b9c1d1);
  border-radius: 0 0 10px 10px;
  margin: 0 -14px;
  box-shadow: 0 6px 14px -6px rgba(6,26,79,0.3);
}
.mock-sidebar { width: 34%; background: var(--navy); padding: 10px 7px; display: flex; flex-direction: column; gap: 5px; }
.mock-sidebar .mock-brand { color: #fff; font-weight: 800; font-size: 0.66rem; margin-bottom: 6px; }
.mock-sidebar .mock-nav-item {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 5px; border-radius: 4px;
  color: rgba(255,255,255,0.55); font-size: 0.5rem; font-weight: 600;
}
.mock-sidebar .mock-nav-item i { font-size: 0.58rem; }
.mock-sidebar .mock-nav-item.active { background: var(--blue); color: #fff; }
.mock-main { flex: 1; padding: 9px; min-width: 0; }
.mock-stat-row { display: flex; gap: 5px; margin-bottom: 7px; }
.mock-stat { flex: 1; background: #fff; border-radius: 6px; padding: 5px 6px; box-shadow: 0 1px 3px rgba(16,24,40,0.08); min-width: 0; }
.mock-stat .mock-num { font-weight: 800; color: var(--ink-900); font-size: 0.62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-stat .mock-lbl { color: var(--ink-500); font-size: 0.48rem; }
.mock-panel-row { display: flex; gap: 6px; }
.mock-panel { flex: 1; background: #fff; border-radius: 6px; padding: 7px; box-shadow: 0 1px 3px rgba(16,24,40,0.08); min-width: 0; }
.mock-panel .mock-panel-title { font-size: 0.54rem; font-weight: 700; color: var(--ink-700); margin-bottom: 5px; }
.mock-dest-row { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.mock-dest-row .mock-dest-label { font-size: 0.48rem; color: var(--ink-700); width: 34px; min-width: 34px; }
.mock-bar { flex: 1; height: 5px; border-radius: 3px; background: var(--blue-bg); overflow: hidden; }
.mock-bar span { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.mock-axis { display: flex; justify-content: space-between; margin-top: 3px; }
.mock-axis span { font-size: 0.42rem; color: var(--ink-500); }

/* ---------- Trust / partner strip ---------- */

.trust-strip { background: var(--surface-0); border-bottom: 1px solid var(--border-soft); }
.trust-strip .strip-label { color: var(--ink-500); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-chip {
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--ink-500);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.7rem 0.5rem;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.75;
}

/* ---------- Section shells ---------- */

.section-eyebrow { color: var(--blue); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 0.5rem 0 0.75rem; }
.section-lede { color: var(--ink-500); font-size: 1.02rem; max-width: 560px; }

.feature-card {
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .18s ease;
}
.feature-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 24px 46px -18px rgba(6,26,79,0.32), 0 4px 10px -4px rgba(6,26,79,0.1);
  border-color: rgba(8,117,201,0.3);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem;
  background: linear-gradient(150deg, #fff, var(--blue-bg));
  color: var(--blue);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), inset 0 -3px 5px rgba(8,117,201,0.1), 0 8px 16px -8px rgba(8,117,201,0.4);
}
.feature-card h5 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--ink-500); font-size: 0.88rem; margin-bottom: 0.75rem; }
.feature-card .learn-more { font-size: 0.85rem; font-weight: 600; }

/* Benefits — full-bleed navy band, 5 columns */
.benefits-band-dark { background: var(--navy); padding: 3.5rem 0; }
.benefits-band-dark .section-eyebrow { color: var(--gold); }
.benefits-band-dark .section-title { color: #fff; }
.benefits-band-dark .section-lede { color: rgba(255,255,255,0.65); }
.benefit-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .2s ease, background .2s ease;
}
.benefit-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(3deg);
  border-color: rgba(249,174,22,0.4);
  background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
}
.benefit-card .icon-circle-sm {
  width: 42px; height: 42px; font-size: 1.05rem; border-radius: var(--radius-sm); margin-bottom: 0.85rem;
  background: linear-gradient(150deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06)); color: var(--gold);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), inset 0 -3px 4px rgba(0,0,0,0.2), 0 8px 16px -8px rgba(0,0,0,0.4);
}
.benefit-card h6 { font-size: 0.92rem; margin-bottom: 0.35rem; color: #fff; }
.benefit-card p { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin: 0; }

/* Business value / architecture diagram */
.arch-card {
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 20px 44px -20px rgba(6,26,79,0.25);
  padding: 1.75rem;
}
.arch-node {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-50);
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-900);
  text-align: center;
  box-shadow: 0 1px 2px rgba(16,24,40,0.03);
  transition: transform .2s ease, box-shadow .2s ease;
}
.arch-node:hover { transform: translateY(-2px); }
.arch-node.arch-hub {
  background: linear-gradient(155deg, #0d3a8f, var(--navy) 70%);
  color: #fff; border-color: var(--navy); font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 26px -10px rgba(6,26,79,0.55);
}
.arch-node.arch-product {
  background: linear-gradient(150deg, #fff, var(--blue-bg));
  color: var(--blue); border-color: transparent; font-size: 0.8rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 8px 16px -8px rgba(8,117,201,0.3);
}
.arch-node.arch-supplier { background: var(--surface-0); color: var(--ink-500); font-size: 0.78rem; }
.arch-arrow { text-align: center; color: var(--blue); font-size: 1.1rem; margin: 0.35rem 0; }
.arch-arrow.pulse i { display: inline-block; animation: archPulse 1.8s ease-in-out infinite; }
@keyframes archPulse { 0%, 100% { opacity: .4; transform: translateY(0); } 50% { opacity: 1; transform: translateY(3px); } }

/* Stats — full-bleed dark navy band */
.stats-band-full { background: var(--navy-deep); padding: 2.6rem 0; }
.stats-band-full .stat-item { display: flex; align-items: center; gap: 0.7rem; color: #fff; }
.stats-band-full .icon-circle-sm { background: rgba(255,255,255,0.1); color: var(--gold); width: 40px; height: 40px; font-size: 1.05rem; }
.stats-band-full .stat-value { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.stats-band-full .stat-label { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

/* Steps */
.steps-row { position: relative; }
.step-node { text-align: center; position: relative; }
.step-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #3fa3ea, var(--blue) 65%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 0.85rem; position: relative; z-index: 2;
  box-shadow: inset 0 2px 2px rgba(255,255,255,0.45), inset 0 -4px 6px rgba(3,19,56,0.25), 0 10px 20px -8px rgba(8,117,201,0.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-node:hover .step-circle { transform: translateY(-3px) scale(1.05); box-shadow: inset 0 2px 2px rgba(255,255,255,0.5), inset 0 -4px 6px rgba(3,19,56,0.25), 0 14px 26px -8px rgba(8,117,201,0.6); }
.step-node h6 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.step-node p { color: var(--ink-500); font-size: 0.78rem; }

/* Connector: one segment per step, spanning from this circle's edge to the
   next circle's edge — scales to any column count, never overflows the row. */
.step-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 23px);
  width: calc(100% - 46px);
  height: 2px;
  z-index: 1;
  display: none;
  background-image: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  animation: dashSlide 3s linear infinite;
}
@media (min-width: 768px) {
  .step-node:not(:last-child)::after { display: block; }
}
@keyframes dashSlide { to { background-position: 24px 0; } }

.mini-feature-card {
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.1rem;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .18s ease;
}
.mini-feature-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 20px 38px -16px rgba(6,26,79,0.3);
  border-color: rgba(8,117,201,0.3);
}
.mini-feature-card .icon-circle-sm { width: 42px; height: 42px; font-size: 1.05rem; background: var(--blue-bg); color: var(--blue); margin-bottom: 0.65rem; }
.mini-feature-card h6 { font-size: 0.88rem; margin-bottom: 0.3rem; }
.mini-feature-card p { color: var(--ink-500); font-size: 0.78rem; margin: 0; }

/* ---------- Differentiator comparison ---------- */

.diff-panel {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}
.diff-panel.diff-messy {
  background: var(--surface-0);
  border: 1px dashed #cbd5e1;
}
.diff-panel.diff-clean {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
}
.diff-panel h6 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 1.1rem; }
.diff-panel.diff-messy h6 { color: #94a3b8; }
.diff-panel.diff-clean h6 { color: var(--gold); }
.diff-pair { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.diff-pair .diff-tag {
  background: var(--surface-50);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-700);
}
.diff-pair .diff-arrow-mini { color: #cbd5e1; }
.diff-clean-flow { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.diff-clean-flow .arch-node { width: 100%; }
.diff-clean-flow .arch-node.arch-hub { background: linear-gradient(150deg, #3fa3ea, var(--blue) 70%); border-color: var(--blue); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 14px 26px -10px rgba(8,117,201,0.5); }
.diff-clean-flow .arch-arrow { color: var(--gold); }
.diff-product-row { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.diff-product-row .arch-node { flex: 1; min-width: 70px; background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.14); font-size: 0.72rem; padding: 0.5rem; }

/* ---------- Security / reliability ---------- */

.security-band { background: var(--blue-bg); padding: 4.5rem 0; }
.security-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.security-item .icon-circle-sm { width: 44px; height: 44px; min-width: 44px; background: #fff; color: var(--blue); font-size: 1.1rem; box-shadow: var(--shadow-card); }
.security-item h6 { font-size: 0.92rem; margin-bottom: 0.25rem; }
.security-item p { color: var(--ink-500); font-size: 0.84rem; margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(165deg, #0a2a6e 0%, var(--navy) 55%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 3.25rem 2.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 60px -24px rgba(3,19,56,0.6);
}
.cta-swoosh {
  position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd479, var(--gold) 55%, var(--gold-hover) 100%);
  box-shadow: 0 0 60px 10px rgba(249,174,22,0.25);
  opacity: 0.95; z-index: 0;
}
.cta-cloud { position: absolute; background: rgba(255,255,255,0.14); border-radius: 50%; filter: blur(1px); z-index: 0; }
.cta-cloud.c1 { width: 90px; height: 34px; top: 18%; right: 26%; }
.cta-cloud.c2 { width: 60px; height: 24px; top: 40%; right: 12%; }
.cta-cloud.c3 { width: 50px; height: 20px; bottom: 22%; right: 30%; }
.cta-trail { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.cta-trail path { stroke-dasharray: 3 8; animation: dashFlow 20s linear infinite; }
.cta-plane { position: absolute; right: 8%; top: 20%; font-size: 3.4rem; color: #fff; transform: rotate(38deg); z-index: 1; }
.cta-band .row { position: relative; z-index: 2; }

/* ---------- Footer ---------- */

.public-footer { background: var(--navy-deep); color: rgba(255,255,255,0.62); }
.public-footer a { color: rgba(255,255,255,0.72); }
.public-footer a:hover { color: #fff; }
.public-footer h6 { color: #fff; font-size: 0.88rem; margin-bottom: 1rem; }
.public-footer .navbar-brand { font-size: 1.3rem; }
.public-footer .brand-fd { color: #fff; }
.footer-social { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9rem; }
.footer-social:hover { background: var(--blue); color: #fff; }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; margin-bottom: 0.75rem; }
.whatsapp-float { width: 40px; height: 40px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Environment toggle (Test / Prod) ---------- */

.env-toggle {
  display: inline-flex; border: 1px solid var(--border-soft); border-radius: 999px;
  padding: 4px; background: var(--surface-50); gap: 4px;
}
.env-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.env-toggle label {
  padding: 0.55rem 1.1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--ink-500); cursor: pointer; transition: all .15s ease;
  display: flex; align-items: center; gap: 0.4rem; margin: 0;
}
.env-toggle input.env-test:checked + label { background: var(--blue); color: #fff; box-shadow: 0 4px 10px -4px rgba(8,117,201,0.5); }
.env-toggle input.env-prod:checked + label { background: #b91c1c; color: #fff; box-shadow: 0 4px 10px -4px rgba(185,28,28,0.5); }

.env-toggle-sm { display: inline-flex; border: 1px solid var(--border-soft); border-radius: 999px; padding: 3px; background: var(--surface-50); gap: 3px; }
.env-toggle-sm button {
  border: none; background: transparent; padding: 0.35rem 0.8rem; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; color: var(--ink-500); transition: all .15s ease;
}
.env-toggle-sm button:hover { color: var(--ink-900); }
.env-toggle-sm button.active.env-test { background: var(--blue); color: #fff; }
.env-toggle-sm button.active.env-prod { background: #b91c1c; color: #fff; }

.cred-status { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; }
.cred-status.set { color: #15803d; }
.cred-status.unset { color: var(--ink-500); }

/* ---------- Registration page ---------- */

.register-topbar { background: #fff; border-bottom: 1px solid var(--border-soft); padding: 1rem 0; }
.register-topbar a.navbar-brand { font-size: 1.3rem; }

.register-hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue-hover) 140%);
  padding: 3rem 0 8rem;
  position: relative;
  overflow: hidden;
}
.register-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: var(--gold); border-radius: 999px; padding: 0.4rem 1rem;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.register-title { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 1rem 0 0.75rem; }
.register-title .accent { color: var(--gold); }
.register-lede { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 1rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 500;
}
.trust-pill i { color: var(--gold); }
.register-plane { position: absolute; z-index: 1; }
.register-plane .plane-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); position: absolute; }
.register-plane .plane-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd479, var(--gold) 70%);
  display: flex; align-items: center; justify-content: center; color: var(--navy-deep);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 10px 20px -6px rgba(249,174,22,0.6);
  position: absolute;
}

.register-card-wrap { margin-top: -6rem; position: relative; z-index: 2; padding-bottom: 4rem; }

.form-card {
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 24px 48px -24px rgba(6,26,79,0.3);
  padding: 1.85rem 1.85rem 1.6rem;
  margin-bottom: 1.25rem;
}
.form-section-header {
  display: flex; gap: 0.85rem; align-items: flex-start;
  margin-bottom: 1.35rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border-soft);
}
.form-section-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #fff, var(--blue-bg));
  color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), inset 0 -3px 5px rgba(8,117,201,0.1), 0 6px 14px -8px rgba(8,117,201,0.35);
}
.form-section-header h5 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.form-section-header p { color: var(--ink-500); font-size: 0.84rem; margin: 0; }

.field-label { font-size: 0.84rem; font-weight: 600; color: var(--ink-900); margin-bottom: 0.4rem; display: block; }
.field-label .req { color: #e11d48; margin-left: 2px; }

.field-group { position: relative; }
.field-group > i.field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-500); font-size: 0.92rem; pointer-events: none; z-index: 2;
}
.field-group .form-control, .field-group .form-select {
  padding-left: 2.5rem; background: var(--surface-50); border: 1px solid var(--border-soft);
  border-radius: 10px; padding-top: 0.65rem; padding-bottom: 0.65rem; font-size: 0.9rem;
}
.field-group .form-control:focus, .field-group .form-select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,117,201,0.12); background: #fff;
}
.field-group .toggle-visibility {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--ink-500); z-index: 2; padding: 0;
}

.file-upload {
  border: 1.5px dashed var(--border-soft); border-radius: 10px; padding: 0.6rem 0.9rem;
  display: flex; align-items: center; gap: 0.65rem; background: var(--surface-50);
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.file-upload:hover { border-color: var(--blue); background: var(--blue-bg); }
.file-upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-upload .file-icon {
  width: 34px; height: 34px; min-width: 34px; border-radius: 8px; background: var(--blue-bg); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.file-upload .file-text strong { display: block; font-size: 0.82rem; color: var(--ink-900); }
.file-upload .file-text span { font-size: 0.72rem; color: var(--ink-500); }

.pwd-checklist {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
  background: var(--surface-50); border: 1px solid var(--border-soft); border-radius: 10px;
  padding: 0.8rem 1rem; margin-top: 0.85rem;
}
.pwd-check-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--ink-500); transition: color .15s ease; }
.pwd-check-item i { color: #cbd5e1; transition: color .15s ease; }
.pwd-check-item.met { color: #15803d; }
.pwd-check-item.met i { color: #22c55e; }

.register-submit-bar {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-soft);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; box-shadow: var(--shadow-card);
}

/* ---------- Auth pages ---------- */

.auth-shell { min-height: 100vh; display: flex; }
.auth-visual {
  flex: 1.1;
  background: radial-gradient(900px 500px at 20% 0%, rgba(8,117,201,0.35), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #fff; padding: 3.5rem; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-form-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem; background: var(--surface-0); }
.auth-card { width: 100%; max-width: 400px; }
.auth-visual .quote-block { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.5rem; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ---------- Admin dashboard shell ---------- */

.admin-shell { display: flex; min-height: 100vh; background: var(--surface-50); }
.admin-sidebar { width: 260px; min-width: 260px; background: var(--navy); color: rgba(255,255,255,0.85); display: flex; flex-direction: column; padding: 1.5rem 1rem; }
.admin-sidebar .brand { color: #fff; font-weight: 800; font-size: 1.15rem; padding: 0 0.6rem 1.5rem; }
.admin-sidebar .brand .brand-dot { color: var(--gold); }
.admin-nav-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm); color: rgba(255,255,255,0.72); font-weight: 500; font-size: 0.92rem; margin-bottom: 0.15rem; }
.admin-nav-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.admin-nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-nav-link.active { background: var(--blue); color: #fff; }
.admin-nav-section { color: rgba(255,255,255,0.4); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 1.3rem 0.85rem 0.5rem; }

.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar { height: 68px; background: var(--surface-0); border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: space-between; padding: 0 1.75rem; }
.admin-content { padding: 1.75rem; flex: 1; }
.user-chip { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.stat-card {
  background: var(--surface-0); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}
.stat-card:hover { transform: translateY(-5px) rotateX(2deg) rotateY(-2deg); box-shadow: 0 20px 40px -18px rgba(6,26,79,0.28); }
.stat-card .stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -3px 4px rgba(6,26,79,0.08), 0 6px 14px -8px rgba(6,26,79,0.35);
}
.stat-card .stat-num { font-size: 1.7rem; font-weight: 800; color: var(--ink-900); }
.stat-card .stat-label { color: var(--ink-500); font-size: 0.85rem; }

.panel-card { background: var(--surface-0); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.badge-status-active { background: rgba(8,117,201,0.12); color: var(--blue-hover); font-weight: 600; }
.badge-status-pending { background: rgba(249,174,22,0.16); color: #92400e; font-weight: 600; }
.badge-status-rejected { background: rgba(220,38,38,0.12); color: #b91c1c; font-weight: 600; }
.badge-status-deactivated { background: rgba(100,116,139,0.14); color: #475569; font-weight: 600; }

@media (max-width: 991px) {
  .hero-visual { display: none; }
  .diff-panel { margin-bottom: 1rem; }
}
@media (max-width: 900px) {
  .auth-visual { display: none; }
  .admin-sidebar { position: fixed; z-index: 1040; height: 100%; transform: translateX(-100%); transition: transform .2s ease; }
  .admin-sidebar.open { transform: translateX(0); }
}
@media (max-width: 767px) {
  .step-connector { display: none; }
}
