/* ═══════════════════════════════════════════════════
   Bugtri Landing Page — Full-width, spacious layout
   ═══════════════════════════════════════════════════ */

/* ─── Base ────────────────────────────────────────── */
body.landing {
  background: #101724;
  display: block;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
}

/* ── Noise texture overlay (appended to page as a real element) ── */
.ln-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.ln-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Header / Nav ────────────────────────────────── */
.ln-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,18,32,.88);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ln-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ln-header__brand {
  text-decoration: none;
  margin-right: 12px;
}
.ln-header__brand .app-logo { font-size: 22px; }
.ln-nav {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.ln-nav__link {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.ln-nav__link:hover {
  color: #e6eef6;
  background: rgba(255,255,255,.04);
}
/* ── Header auth buttons (logged out) ── */
.ln-header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}
.ln-btn-login {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #e6eef6;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  transition: all .2s;
}
.ln-btn-login:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); color: #fff; }
.ln-btn-register {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #06b6d4;
  border: 1px solid #06b6d4;
  transition: all .2s;
}
.ln-btn-register:hover { background: #08c8e6; border-color: #08c8e6; box-shadow: 0 4px 16px rgba(6,182,212,.25); transform: translateY(-1px); }

/* ── User menu (logged in) ── */
.ln-user-menu { position: relative; }
.ln-user-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.ln-user-toggle:hover { border-color: rgba(6,182,212,.4); background: rgba(6,182,212,.08); }
.ln-user-avatar { color: rgba(255,255,255,.6); font-size: 15px; }
.ln-user-toggle:hover .ln-user-avatar { color: #06b6d4; }
.ln-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: #17233b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  z-index: 1002;
  animation: dropIn .15s ease;
}
.ln-user-dropdown.is-open { display: block; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.ln-user-dropdown__info { padding: 10px 12px; }
.ln-user-dropdown__name { display: block; font-size: 14px; font-weight: 700; color: #e6eef6; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln-user-dropdown__email { display: block; font-size: 12px; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ln-user-dropdown__divider { height: 1px; background: rgba(255,255,255,.06); margin: 4px 0; }
.ln-user-dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #b0bec5;
  text-decoration: none;
  border-radius: 8px;
  transition: all .15s;
}
.ln-user-dropdown__link:hover { background: rgba(255,255,255,.05); color: #e6eef6; }
.ln-user-dropdown__link i { width: 16px; text-align: center; font-size: 13px; }
.ln-user-dropdown__link--danger { color: #ef4444; }
.ln-user-dropdown__link--danger:hover { background: rgba(239,68,68,.08); color: #ef4444; }

/* ── Animated burger ── */
.ln-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  transition: border-color .2s;
}
.ln-burger:hover { border-color: rgba(255,255,255,.2); }
.ln-burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #e6eef6;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.ln-burger.is-open .ln-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ln-burger.is-open .ln-burger__line:nth-child(2) { opacity: 0; }
.ln-burger.is-open .ln-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav: auth links inside menu ── */
.ln-nav__mobile-auth { display: none; }

/* ── Mobile nav overlay ── */
.ln-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.ln-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .ln-container { padding: 0 24px; }
  .ln-header__inner { padding: 0 24px; height: 64px; }
  .ln-nav {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: #17233b;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 14px;
    flex-direction: column;
    gap: 2px;
    z-index: 1001;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .ln-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .ln-nav__link { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .ln-nav__mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 6px;
    padding-top: 8px;
  }
  .ln-nav__link--login { color: #e6eef6; }
  .ln-nav__link--register { color: #06b6d4; }
  .ln-header__actions { display: none; }
  .ln-burger { display: flex; }
}

/* ─── Hero ────────────────────────────────────────── */
.ln-hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ln-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(6,182,212,.07) 0%, transparent 65%);
  pointer-events: none;
}
.ln-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #06b6d4;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 999px;
  margin-bottom: 28px;
  position: relative;
}
.ln-hero__title {
  font-size: 56px;
  font-weight: 900;
  color: #e6eef6;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 22px;
  position: relative;
}
.ln-hero__desc {
  font-size: 20px;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
  position: relative;
}
.ln-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
}
.ln-hero__actions .btn {
  font-size: 16px !important;
  padding: 16px 32px !important;
}
.ln-hero__trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: rgba(148,163,184,.7);
  position: relative;
}
.ln-hero__trust span { display: flex; align-items: center; gap: 8px; }
.ln-hero__trust i { color: rgba(6,182,212,.6); font-size: 15px; }

@media (max-width: 768px) {
  .ln-hero { padding: 60px 0 50px; }
  .ln-hero__title { font-size: 36px; letter-spacing: -.8px; }
  .ln-hero__desc { font-size: 17px; }
  .ln-hero__actions .btn { font-size: 15px !important; padding: 14px 24px !important; }
  .ln-hero__trust { flex-direction: column; align-items: center; gap: 12px; font-size: 13px; }
}
@media (max-width: 480px) {
  .ln-hero__title { font-size: 28px; }
  .ln-hero__desc { font-size: 15px; }
}

/* ─── Sections ────────────────────────────────────── */
.ln-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Alternating section backgrounds for visual rhythm */
.ln-section--alt {
  background: rgba(255,255,255,.02);
}

/* Subtle gradient divider between sections */
.ln-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,.15) 30%, rgba(6,182,212,.25) 50%, rgba(6,182,212,.15) 70%, transparent);
  z-index: 1;
}

/* First section after hero — no top divider */
.ln-hero + .ln-section::before { display: none; }

/* ── Floating gradient orbs (injected as real elements via JS) ── */
.ln-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.ln-orb--cyan {
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(6,182,212,.05) 0%, transparent 70%);
  animation: orbDriftRight 18s ease-in-out infinite;
}
.ln-orb--purple {
  bottom: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(139,92,246,.045) 0%, transparent 70%);
  animation: orbDriftLeft 22s ease-in-out infinite;
}

/* Alt sections get an ambient top glow */
.ln-section--alt {
  box-shadow: inset 0 80px 120px -60px rgba(6,182,212,.015);
}

@keyframes orbDriftRight {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-40px, 20px); }
  66% { transform: translate(-20px, -15px); }
}
@keyframes orbDriftLeft {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(15px, 25px); }
}

.ln-section__header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

/* Glowing Bugtri icon above section title */
.ln-section__header::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 18px;
  background: url('/assets/images/logos/bugtri-bug-icon-blue.svg') center/contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(6,182,212,.5)) drop-shadow(0 0 28px rgba(6,182,212,.25));
  animation: accentPulse 3s ease-in-out infinite;
}
@keyframes accentPulse {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(6,182,212,.5)) drop-shadow(0 0 28px rgba(6,182,212,.25)); }
  50% { filter: drop-shadow(0 0 20px rgba(6,182,212,.65)) drop-shadow(0 0 40px rgba(6,182,212,.35)); }
}

.ln-section__title {
  font-size: 36px;
  font-weight: 900;
  color: #e6eef6;
  margin: 0 0 12px;
  letter-spacing: -.5px;
}
.ln-section__desc {
  font-size: 18px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ln-section { padding: 52px 0; }
  .ln-section::before { max-width: 90%; }
  .ln-orb { width: 200px; height: 200px; filter: blur(60px); }
  .ln-section__header::before { width: 20px; height: 20px; margin-bottom: 14px; }
  .ln-section__title { font-size: 26px; }
  .ln-section__desc { font-size: 16px; }
  .ln-section__header { margin-bottom: 36px; }
}

/* ─── How It Works ────────────────────────────────── */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hiw-step {
  text-align: center;
  padding: 36px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  position: relative;
  transition: border-color .15s, transform .1s;
}
.hiw-step:hover { border-color: rgba(255,255,255,.12); transform: translateY(-2px); }
.hiw-step__num {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #06b6d4;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 50%;
}
.hiw-step__icon {
  font-size: 34px;
  color: #06b6d4;
  margin-bottom: 18px;
}
.hiw-step h3 {
  font-size: 19px;
  font-weight: 800;
  color: #e6eef6;
  margin: 0 0 10px;
}
.hiw-step p {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .hiw-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 16px; }
}

/* ─── Sanitisation Flow Diagram ────────────────────── */
.sf-diagram {
  max-width: 1280px;
  margin: 0 auto;
}
.sf-diagram--wide {
  max-width: 100%;
  width: 100%;
  padding: 0 48px;
}
.sf-viewport {
  width: 100%;
  aspect-ratio: 1060 / 280;
  overflow: hidden;
}
.sf-viewport .sf-svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .sf-diagram--wide { display: none; }
}
.sf-diagram--wide .sf-badges {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.sf-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Nodes are controlled by JS — start hidden */

/* Scan line animation inside Bugtri nodes */
.sf-scanline--cyan {
  animation: sfScanCyan 1.8s ease-in-out infinite;
}
@keyframes sfScanCyan {
  0%   { opacity: .5; transform: translateX(0); }
  50%  { opacity: 1; transform: translateX(94px); }
  100% { opacity: .5; transform: translateX(0); }
}

/* Checkmark ring draw-in animation */
.sf-check-ring {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  transition: stroke-dashoffset .6s ease;
}
.sf-check-ring.is-drawn {
  stroke-dashoffset: 0;
}

/* Bug crawling animation — only legs move */
.sf-bug-legs-l, .sf-bug-legs-r {
  transform-origin: 28.43px 25.04px;
}
#sfBug.is-moving .sf-bug-legs-l {
  animation: bugLegL .1s ease-in-out infinite alternate;
}
#sfBug.is-moving .sf-bug-legs-r {
  animation: bugLegR .1s ease-in-out infinite alternate;
}
@keyframes bugLegL {
  0% { transform: rotate(-10deg) translateY(-2px); }
  100% { transform: rotate(10deg) translateY(2px); }
}
@keyframes bugLegR {
  0% { transform: rotate(10deg) translateY(2px); }
  100% { transform: rotate(-10deg) translateY(-2px); }
}

/* ── Vertical flow bug ── */
.vf-bug {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 17px;
  z-index: 1;
  opacity: 0;
  transition: opacity .3s ease;
  filter: drop-shadow(0 0 6px rgba(6,182,212,.4));
  pointer-events: none;
  will-change: transform;
}
.vf-bug.is-visible { opacity: 1; }
.vf-bug svg { display: block; }
.vf-bug .vf-legs-l, .vf-bug .vf-legs-r {
  transform-origin: 28.43px 25.04px;
}
.vf-bug.is-moving .vf-legs-l {
  animation: bugLegL .1s ease-in-out infinite alternate;
}
.vf-bug.is-moving .vf-legs-r {
  animation: bugLegR .1s ease-in-out infinite alternate;
}
/* vf-bug position handled entirely by JS */

/* Info badges below diagram */
.sf-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.sf-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  color: #94a3b8;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
}
.sf-badge strong { color: #e6eef6; }
.sf-badge i { font-size: 15px; flex-shrink: 0; }

@media (max-width: 768px) {
  .sf-badges { flex-direction: column; align-items: center; }
  .sf-badge { font-size: 12px; padding: 8px 14px; }
}

/* ─── Vertical Flow Timeline ──────────────────────── */
.vf-timeline { position: relative; padding: 0 0 20px; }

.vf-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 0;
  z-index: 2;
}
.vf-step[data-vf="5"] { z-index: 0; }

/* Vertical connecting line */
.vf-line {
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: -1px;
  width: 2px;
  background: rgba(148,163,184,.1);
}
.vf-line__fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #06b6d4, rgba(6,182,212,.2));
  border-radius: 1px;
  transition: height .6s ease;
}
.vf-step[data-vf="5"] .vf-line { display: none; }

/* Dot */
.vf-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0e1628;
  border: 2px solid var(--dot-color, #94a3b8);
  color: var(--dot-color, #94a3b8);
  z-index: 12;
  font-size: 16px;
  z-index: 2;
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
  flex-shrink: 0;
}
.vf-dot--bugtri {
  border-color: #06b6d4;
  background: #0e1628;
}
.vf-dot--bugtri img { display: block; }
.vf-step[data-vf="5"] .vf-dot { z-index: 0; }
.vf-step.is-active .vf-dot {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(6,182,212,.1), 0 0 20px rgba(6,182,212,.15);
}

/* Card */
.vf-card {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease, border-color .3s ease;
}
.vf-step.is-visible .vf-card {
  opacity: 1;
  transform: translateY(0);
}
.vf-step.is-active .vf-card {
  border-color: rgba(6,182,212,.2);
}
.vf-card--accent {
  border-color: rgba(6,182,212,.15);
  background: rgba(6,182,212,.03);
}
.vf-card--success {
  border-color: rgba(34,197,94,.15);
  background: rgba(34,197,94,.03);
}

.vf-card__step {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #06b6d4;
  margin-bottom: 6px;
}
.vf-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #e6eef6;
  margin: 0 0 8px;
  line-height: 1.3;
}
.vf-card__desc {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 14px;
}
.vf-card__desc strong { color: #e6eef6; font-weight: 600; }
.vf-card__desc code {
  background: rgba(6,182,212,.08);
  color: #06b6d4;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}

.vf-card__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.vf-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tag-color, #94a3b8);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
}
.vf-card__tag i { font-size: 11px; }

.vf-card__highlight {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(6,182,212,.05);
  border: 1px solid rgba(6,182,212,.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #06b6d4;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.vf-card__highlight i { font-size: 14px; flex-shrink: 0; }

@media (max-width: 640px) {
  .vf-step { grid-template-columns: 36px 1fr; gap: 14px; }
  .vf-dot { width: 36px; height: 36px; font-size: 14px; }
  .vf-line { left: 17px; }
  .vf-card { padding: 18px 20px; }
  .vf-card__title { font-size: 16px; }
  .vf-card__desc { font-size: 14px; }
}

/* ─── Features ────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  padding: 30px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  transition: border-color .15s, transform .1s;
}
.feat-card:hover {
  border-color: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.feat-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #06b6d4;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.15);
  border-radius: 12px;
  margin-bottom: 18px;
}
.feat-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #e6eef6;
  margin: 0 0 8px;
}
.feat-card p {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ─── Calculator ──────────────────────────────────── */
.calc-wrapper {
  background: linear-gradient(170deg, rgba(6,182,212,.04) 0%, #17233b 40%, rgba(14,165,161,.03) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 48px 44px 44px;
  box-shadow: 0 10px 50px rgba(0,0,0,.3);
  position: relative;
  overflow: hidden;
}
.calc-wrapper::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(6,182,212,.06) 0%, transparent 70%);
  pointer-events: none;
}

.calc-header { text-align: center; margin-bottom: 40px; position: relative; }
.calc-header__title {
  font-size: 30px; font-weight: 900; color: #e6eef6; margin: 0 0 10px; letter-spacing: -.4px;
}
.calc-header__desc { font-size: 16px; color: #94a3b8; margin: 0; line-height: 1.6; }

.calc-slider-area { margin-bottom: 36px; position: relative; }
.calc-slider-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.calc-slider-label__text { font-size: 15px; font-weight: 600; color: #e6eef6; }
.calc-slider-label__value {
  font-size: 44px; font-weight: 900; color: #06b6d4; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums;
}

.calc-range {
  -webkit-appearance: none; width: 100%; height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, rgba(6,182,212,.15), rgba(6,182,212,.25));
  outline: none; cursor: pointer; border: 1px solid rgba(6,182,212,.12);
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0ea5a1); cursor: grab;
  box-shadow: 0 2px 14px rgba(6,182,212,.4), 0 0 0 5px rgba(6,182,212,.1);
  border: 3px solid rgba(255,255,255,.25); transition: box-shadow .15s;
}
.calc-range::-webkit-slider-thumb:hover { box-shadow: 0 2px 18px rgba(6,182,212,.5), 0 0 0 7px rgba(6,182,212,.12); }
.calc-range::-webkit-slider-thumb:active { cursor: grabbing; }
.calc-range::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0ea5a1); cursor: grab;
  border: 3px solid rgba(255,255,255,.25); box-shadow: 0 2px 14px rgba(6,182,212,.4);
}

.calc-slider-ticks {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 12px; font-weight: 600; color: rgba(148,163,184,.5);
}

/* Hero stat row */
.calc-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.calc-result-card--hero,
.calc-result-card--fte {
  text-align: center;
  padding: 22px 18px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* Hours saved card */
.calc-result-card--hero {
  background: linear-gradient(135deg, rgba(6,182,212,.08), rgba(14,165,161,.06));
  border: 1px solid rgba(6,182,212,.15);
}

/* FTE card */
.calc-result-card--fte {
  background: linear-gradient(135deg, rgba(139,92,246,.06), rgba(167,139,250,.04));
  border: 1px solid rgba(139,92,246,.15);
}
.calc-fte-value { margin-bottom: 4px; position: relative; }
.calc-fte-prefix {
  display: block; font-size: 14px; font-weight: 600; color: #94a3b8; margin-bottom: 2px;
}
.calc-fte-num {
  font-size: 42px; font-weight: 900; color: #e6eef6; letter-spacing: -1.5px;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.calc-fte-suffix {
  display: block; font-size: 14px; font-weight: 700; color: #a78bfa; margin-top: 4px;
}
.calc-fte-basis {
  font-size: 12px; color: rgba(148,163,184,.5); margin-top: 8px; position: relative;
}

/* FTE people icons */
.calc-fte-people {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.fte-person {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #a78bfa;
  filter: drop-shadow(0 0 10px rgba(167,139,250,.25));
  transition: transform .15s ease, opacity .15s ease;
}
.fte-person--pop {
  animation: ftePop .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes ftePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.fte-person--partial {
  position: relative;
  overflow: hidden;
}
.fte-person--partial i {
  clip-path: inset(0 calc(100% - var(--clip, 50%)) 0 0);
}
.fte-person-overflow {
  font-size: 11px;
  font-weight: 700;
  color: rgba(167,139,250,.6);
  margin-left: 2px;
}

/* Always-on card */
.calc-result-card--always-on {
  background: linear-gradient(135deg, rgba(34,197,94,.06), rgba(16,185,129,.04));
  border: 1px solid rgba(34,197,94,.15);
}
.calc-always-on-detail {
  font-size: 13px; color: #94a3b8; margin-top: 10px; line-height: 1.55; position: relative;
}
.calc-always-on-detail strong { color: #22c55e; }
.calc-result-card--hero::after {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(6,182,212,.08) 0%, transparent 70%); pointer-events: none;
}
.calc-result-card--fte::after {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(139,92,246,.08) 0%, transparent 70%); pointer-events: none;
}
.calc-result__icon { font-size: 26px; color: #06b6d4; margin-bottom: 8px; filter: drop-shadow(0 0 14px rgba(6,182,212,.3)); position: relative; }
.calc-result__value { font-size: 48px; font-weight: 900; color: #e6eef6; line-height: 1; letter-spacing: -2px; position: relative; font-variant-numeric: tabular-nums; }
.calc-result__unit { font-size: 15px; font-weight: 600; color: #06b6d4; margin-top: 6px; position: relative; }
.calc-result__unit-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px; position: relative;
}
.calc-result__unit-row > span:first-child { font-size: 15px; font-weight: 600; color: #06b6d4; }
.calc-result__sub { font-size: 13px; color: #94a3b8; margin-top: 6px; position: relative; }
.calc-reduction-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2);
  color: #22c55e; font-size: 12px; font-weight: 700;
  position: relative; white-space: nowrap;
}
.calc-reduction-badge i { font-size: 10px; }

/* Grid stats */
.calc-results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.calc-result-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 16px 14px; text-align: center;
  transition: border-color .15s, transform .1s;
}
.calc-result-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-1px); }
.calc-result__icon-sm { font-size: 18px; margin-bottom: 6px; }
.calc-result__value-sm { font-size: 26px; font-weight: 900; color: #e6eef6; line-height: 1; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.calc-result__label { font-size: 11px; font-weight: 600; color: #94a3b8; margin-top: 4px; text-transform: uppercase; letter-spacing: .3px; }
.calc-result__detail { font-size: 12px; color: rgba(148,163,184,.6); margin-top: 6px; line-height: 1.4; }

/* Comparison bars */
.calc-comparison { margin-top: 16px; padding: 16px 20px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
.calc-comparison__header { margin-bottom: 10px; }
.calc-comparison__header .small { font-size: 13px; }
.calc-bar-pair { display: flex; flex-direction: column; gap: 12px; }
.calc-bar-row { display: grid; grid-template-columns: 120px 1fr 56px; gap: 14px; align-items: center; }
.calc-bar-label { font-size: 14px; font-weight: 600; color: #94a3b8; }
.calc-bar-track { height: 28px; background: rgba(255,255,255,.04); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.04); }
.calc-bar-fill { height: 100%; border-radius: 8px; transition: width .4s cubic-bezier(.2,.8,.2,1); min-width: 4px; }
.calc-bar-fill--without { background: linear-gradient(90deg, #ef4444, #f87171); }
.calc-bar-fill--with { background: linear-gradient(90deg, #06b6d4, #22c55e); }
.calc-bar-value { font-size: 16px; font-weight: 800; color: #e6eef6; text-align: right; font-variant-numeric: tabular-nums; }

/* Sources */
.calc-sources { margin-top: 16px; padding: 14px 18px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 10px; }
.calc-sources p { font-size: 12px; color: rgba(148,163,184,.6); line-height: 1.7; margin: 0; }
.calc-sources strong { color: rgba(148,163,184,.8); }

@media (max-width: 900px) {
  .calc-wrapper { padding: 32px 24px 28px; border-radius: 18px; }
  .calc-header__title { font-size: 24px; }
  .calc-hero-row { grid-template-columns: 1fr; gap: 10px; }
  .calc-results-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .calc-result__value { font-size: 38px; }
  .calc-fte-num { font-size: 38px; }
  .calc-slider-label__value { font-size: 32px; }
  .calc-bar-row { grid-template-columns: 100px 1fr 46px; gap: 10px; }
}
@media (max-width: 480px) {
  .calc-results-grid { grid-template-columns: 1fr; gap: 8px; }
  .calc-result__value { font-size: 32px; }
  .calc-fte-num { font-size: 32px; }
  .calc-bar-row { grid-template-columns: 88px 1fr 40px; }
}

/* ─── Get Started / Provider Picker ───────────────── */
.gs-wrapper {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.gs-header h2 {
  font-size: 32px;
  font-weight: 900;
  color: #e6eef6;
  margin: 0 0 12px;
  letter-spacing: -.4px;
}
.gs-header p {
  font-size: 16px;
  color: #94a3b8;
  margin: 0 0 32px;
  line-height: 1.6;
}
.gs-providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gs-provider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .1s;
}
.gs-provider:hover {
  border-color: rgba(6,182,212,.3);
  background: rgba(6,182,212,.04);
  transform: translateY(-1px);
}
.gs-provider__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #06b6d4;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 12px;
  flex-shrink: 0;
}
.gs-provider__info {
  flex: 1;
  text-align: left;
}
.gs-provider__info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #e6eef6;
  margin-bottom: 2px;
}
.gs-provider__info span {
  font-size: 13px;
  color: #94a3b8;
}
.gs-provider__arrow {
  font-size: 14px;
  color: rgba(148,163,184,.4);
  transition: color .15s, transform .15s;
  flex-shrink: 0;
}
.gs-provider:hover .gs-provider__arrow {
  color: #06b6d4;
  transform: translateX(3px);
}
.gs-footer {
  margin-top: 20px;
}
.gs-footer p {
  font-size: 14px;
  color: rgba(148,163,184,.6);
  margin: 0;
}
.gs-footer a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
}
.gs-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .gs-header h2 { font-size: 24px; }
  .gs-provider { padding: 16px 18px; }
}

/* ─── Footer ──────────────────────────────────────── */
.ln-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: #080d18;
  padding: 56px 0 0;
}
.ln-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.ln-footer__grid {
  display: grid;
  grid-template-columns: 2fr .8fr .8fr .8fr .8fr;
  gap: 48px;
  padding-bottom: 44px;
}
.ln-footer__col--brand .app-logo { font-size: 24px; margin-bottom: 14px; }
.ln-footer__col--brand p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
  max-width: 360px;
}
.ln-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #e6eef6;
  margin: 0 0 18px;
}
.ln-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ln-footer__col ul a {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: none;
  transition: color .15s;
}
.ln-footer__col ul a:hover { color: #e6eef6; }

.ln-footer__social {
  display: flex;
  gap: 10px;
}
.ln-footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #94a3b8;
  font-size: 17px;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.ln-footer__social a:hover {
  color: #06b6d4;
  border-color: rgba(6,182,212,.3);
  background: rgba(6,182,212,.08);
}

.ln-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(148,163,184,.5);
}

@media (max-width: 900px) {
  .ln-footer__inner { padding: 0 24px; }
  .ln-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; text-align: center; }
  .ln-footer__col--brand { grid-column: 1 / -1; }
  .ln-footer__col--brand p { max-width: 480px; margin-left: auto; margin-right: auto; }
  .ln-footer__social { justify-content: center; }
  .ln-footer { padding: 44px 0 0; }
}
@media (max-width: 480px) {
  .ln-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; text-align: center; }
  .ln-footer__social { justify-content: center; }
  .ln-footer__col--brand img[alt=""] { display:none !important; }
  .ln-footer__col img[alt="Cyse"] { margin-left:auto !important; margin-right:auto !important; }
}
