/* =========================================================
   FitSync — landing page
   Pure white + FitSync‑blue palette. No violet.
   Font: Poppins.
   ========================================================= */
:root {
  /* Neutrals */
  --ink: #0b1020;
  --ink-2: #131a36;
  --ink-3: #1a224a;
  --ink-soft: #25305c;
  --text: #0b1020;
  --muted: #5b6478;
  --muted-2: #8a92a8;
  --line: #e5e8f0;
  --line-2: #eff1f7;
  --bg: #ffffff;
  --bg-soft: #f6f8ff;
  --bg-soft-2: #eef1fb;

  /* Brand — FitSync blue (#007bff) used on dashboard, filters, links & KPIs */
  --brand: #007bff;
  --brand-hover: #0069d9;
  --brand-deep: #0056b3;
  --brand-light: #4da3ff;
  --brand-muted: #66b3ff;
  --brand-2: #0069d9;
  --brand-3: #4da3ff;
  --accent: #0056b3;

  --success: #16a34a;
  --warn: #f59e0b;
  --danger: #ef4444;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 16, 32, 0.04), 0 1px 3px rgba(11, 16, 32, 0.06);
  --shadow-md: 0 6px 20px -8px rgba(11, 16, 32, 0.18), 0 2px 6px rgba(11, 16, 32, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(0, 123, 255, 0.18), 0 18px 36px -18px rgba(11, 16, 32, 0.14);
  --shadow-brand: 0 18px 40px -16px rgba(0, 123, 255, 0.4);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #ffffff;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
  margin: 0;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  user-select: none;
  font-family: var(--font);
}
.btn-lg { height: 54px; padding: 0 26px; font-size: 15.5px; border-radius: 999px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--brand-hover);
  box-shadow: 0 22px 44px -16px rgba(0, 123, 255, 0.45);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #c8cee0; transform: translateY(-1px); color: var(--brand); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--brand); }

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.18); }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
/* Solid bar over dark sections / after scroll — stops dark bleed & logo matte clash */
.nav.scrolled,
.nav.nav-on-dark {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11, 16, 32, 0.05);
}
.nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(18px, 2.5vw, 36px);
  height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--text);
  justify-self: start;
  flex-shrink: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  /* Logo PNG has a white matte; multiply blends it into the nav background */
  mix-blend-mode: multiply;
  border-radius: 10px;
}
.brand.light { color: #fff; }
.brand.light img { filter: invert(1) brightness(1.1); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.2vw, 42px);
  justify-self: center;
}
.nav-links > a,
.nav-dd-trigger {
  font-size: 15px;
  color: #475569;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-dd-trigger:hover { color: var(--brand); }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -24px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-links > a:hover::after { transform: scaleX(1); }

.nav-dropdown-wrap { position: relative; }
.nav-dropdown-wrap.open .nav-dd-trigger { color: var(--brand); }
.nav-dropdown-wrap.open .nav-dd-trigger svg { transform: rotate(180deg); }
.nav-dd-trigger svg { transition: transform 0.2s ease; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: var(--bg-soft);
  color: var(--brand);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-shrink: 0;
}

.mobile-menu-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 8px 6px 4px;
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.hamburger span {
  width: 18px; height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu a {
  padding: 12px 6px;
  border-radius: 10px;
  font-weight: 500;
  color: #334155;
}
.mobile-menu a:hover { background: var(--bg-soft); color: var(--brand); }
.mobile-menu .btn { margin-top: 10px; }
.mobile-menu.open { display: flex; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 123, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #f8f9fa 0%, #ffffff 60%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.22), transparent 60%);
  top: -140px; left: -140px;
}
.blob-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle at 70% 70%, rgba(0, 123, 255, 0.14), transparent 60%);
  top: -80px; right: -180px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 16, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 16, 32, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.7;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-lead {
  display: block;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.4;
}
.hero-lead em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.2);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2); }

.hero-title {
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.08;
}
.hero-title--dark {
  color: var(--text);
}
.grad {
  color: var(--brand);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-sub {
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  max-width: 560px;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-bullets li {
  font-size: 14.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

/* Hero mock */
.hero-mock {
  position: relative;
  perspective: 1600px;
}
.mock-frame {
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotateX(2deg) rotateY(-6deg);
  transform-origin: center;
  transition: transform 0.6s var(--ease);
}
.hero-mock:hover .mock-frame { transform: rotateX(0deg) rotateY(0deg); }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f6f7fb;
  border-bottom: 1px solid var(--line);
}
.mock-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e5e7eb;
}
.mock-bar span:nth-child(1) { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-url {
  margin-left: 14px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #8a92a8;
  font-size: 11.5px;
  font-family: var(--font);
}

.mock-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 320px;
}
.mock-side {
  background: var(--ink);
  padding: 16px 10px;
  color: #c1c5e0;
}
.mock-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-logo img { width: 18px; height: 18px; filter: invert(1) brightness(1.1); }
.mock-logo strong { color: #fff; font-size: 13px; font-weight: 600; }
.mock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 7px;
  color: #b9bdd8;
}
.mock-item .ico {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
.mock-item.active {
  background: var(--brand);
  color: #fff;
}
.mock-item.active .ico { background: rgba(255, 255, 255, 0.55); }

.mock-main { padding: 18px; background: #fafbff; }
.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mock-stat {
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-stat-label { font-size: 10.5px; color: #8a92a8; font-weight: 500; }
.mock-stat-value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mock-stat-trend { font-size: 10.5px; font-weight: 600; }
.mock-stat-trend.up { color: #16a34a; }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 86px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}
.mock-chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--brand);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}
.mock-li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 6px 4px;
}
.mock-li .avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.mock-li .pill {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
}
.mock-li .pill.ok { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.mock-li .pill.warn { background: rgba(245, 158, 11, 0.14); color: #b45309; }

/* Anchor scroll offset for sticky nav */
#why,
#features,
.feature[id^="feat-"] {
  scroll-margin-top: 92px;
}

/* Floating cards near mock */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13px; font-weight: 600; }
.float-card small { color: var(--muted); font-size: 11.5px; }
.float-card .ic {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ic-face::before { content: "👤"; font-size: 16px; }
.ic-wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.ic-wa::before { content: "💬"; font-size: 16px; }

.card-1 { top: 32px; left: -34px; animation-delay: 0s; }
.card-2 { bottom: 28px; right: -22px; animation-delay: 1.5s; }

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

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  padding: 36px 0 12px;
  border-top: 1px solid var(--line-2);
}
.trust-eyebrow {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-stat {
  text-align: center;
  padding: 22px 14px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.trust-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 123, 255, 0.2);
}
.trust-stat strong {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.trust-stat span { font-size: 13px; color: var(--muted); }

/* =========================================================
   Section base
   ========================================================= */
.section { padding: 100px 0; }
.section.dark {
  background: linear-gradient(180deg, var(--ink) 0%, #0a1530 100%);
  color: #d8dcec;
  position: relative;
  overflow: hidden;
}
.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(600px 300px at 20% 0%, rgba(0, 123, 255, 0.14), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(0, 123, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .kicker {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}
.kicker.light { color: var(--brand-3); }
.section-head h2 { margin-bottom: 14px; }
.section-head.light h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.light p { color: #b6bcd8; }

/* =========================================================
   Why FitSync
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  padding: 32px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
  border: 1px solid var(--line-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 123, 255, 0.18);
}
.why-card:hover::before { transform: scaleX(1); }
.why-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(0, 123, 255, 0.22));
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.97rem; }

/* =========================================================
   Features alternating
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 50px 0;
}
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-mock { order: 1; }

.feature-copy .badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.12);
  color: var(--brand-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 123, 255, 0.22);
}
.section.dark .feature-copy h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 16px;
}
.section.dark .feature-copy .feature-points { margin-top: 0; }
.feature-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-points li {
  font-size: 0.97rem;
  color: #b6bcd8;
  position: relative;
  padding-left: 28px;
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}
.feature-points li::after {
  content: "";
  position: absolute;
  left: 5px; top: 12px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Feature mocks */
.ui-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  color: var(--text);
  transition: transform 0.4s var(--ease);
}
.feature:hover .ui-card { transform: translateY(-6px); }

.ui-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.ui-card-head strong { font-size: 1rem; font-weight: 600; }
.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.ui-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}
.ui-search {
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}
.ui-table {
  display: flex; flex-direction: column; gap: 4px;
}
.ui-tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 8px;
  align-items: center;
  padding: 10px 8px;
  font-size: 13px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.ui-tr.head { background: var(--bg-soft); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.ui-tr .av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 11px; font-weight: 700;
  margin-right: 8px;
  font-style: normal;
}
.ui-tr:not(.head) > span:first-child {
  color: var(--brand);
  font-weight: 600;
}
.ui-tr .badge { font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600; border: 0; }
.ui-tr .badge.ok { background: rgba(22, 163, 74, 0.12); color: #16a34a; }
.ui-tr .badge.warn { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.ui-tr .badge.danger { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

/* Gate face card */
.ui-card.gate {
  background: linear-gradient(180deg, var(--ink) 0%, #131a3e 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 32px;
  text-align: center;
}
.gate-cam {
  width: 170px; height: 170px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a3160, var(--ink));
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(0, 123, 255, 0.55);
  box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.18), 0 20px 40px -10px rgba(0,0,0,0.45);
}
/* Gate dual mock (member + staff) */
.ui-card.gate-dual {
  padding: 20px;
  background: linear-gradient(180deg, var(--ink) 0%, #131a3e 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.gate-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gate-mini {
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.gate-mini-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 12px;
}
.gate-cam--sm {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a3160, var(--ink));
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 123, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}
.gate-cam--sm.staff-tone { border-color: rgba(15, 118, 110, 0.55); box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12); }
.gate-avatar-svg {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: auto;
  animation: avatarBob 3s ease-in-out infinite;
}
@keyframes avatarBob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 4px)); }
}
.gate-mini strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: 600;
}
.gate-mini > span {
  display: block;
  font-size: 11px;
  color: #b6bcd8;
  margin-bottom: 10px;
  line-height: 1.4;
}
.gate-status.staff {
  background: rgba(15, 118, 110, 0.2);
  color: #5eead4;
  border-color: rgba(15, 118, 110, 0.35);
}
.gate-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand-3), var(--brand), var(--brand-3), transparent);
  box-shadow: 0 0 14px var(--brand-3), 0 0 6px rgba(0, 123, 255, 0.45);
  animation: gate-scan-sweep 2.4s ease-in-out infinite;
  will-change: top, opacity;
  pointer-events: none;
  z-index: 2;
}
@keyframes gate-scan-sweep {
  0%, 100% { top: 5%; opacity: 0.85; }
  50% { top: 92%; opacity: 1; }
}
.gate-info strong { display: block; font-size: 1.15rem; margin-bottom: 6px; font-weight: 600; }
.gate-info span { font-size: 13px; color: #b6bcd8; display: block; margin-bottom: 14px; }
.gate-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Chat mock */
.ui-card.chat { padding: 0; overflow: hidden; }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #075e54;
  color: #fff;
}
.chat-head img {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}
.chat-head strong { display: block; font-size: 14px; font-weight: 600; }
.chat-head small { color: rgba(255,255,255,0.75); font-size: 11.5px; }
.chat-body {
  padding: 18px;
  background: #ece5dd;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  position: relative;
}
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 4px; color: #052e16; }
.bubble.invoice {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px dashed #cdd2e6;
  padding: 10px 12px;
}
.bubble.invoice .inv-ic {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(0, 123, 255, 0.18));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.bubble.invoice strong { display: block; font-size: 12.5px; color: var(--text); font-weight: 600; }
.bubble.invoice small { font-size: 11px; color: var(--muted); }
.bubble.report-bubble {
  max-width: 100%;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
}
.report-bubble .report-title {
  display: block;
  font-size: 12.5px;
  margin-bottom: 8px;
  color: var(--text);
}
.report-bubble p {
  margin: 0 0 4px;
  color: #334155;
}
.report-bubble b { font-weight: 600; color: var(--text); }

/* Finance mock */
.ui-card.finance { padding: 22px; }
.fin-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.fin-card {
  background: linear-gradient(180deg, #fafbff 0%, #f1f4ff 100%);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
}
.fin-card span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.fin-card strong {
  display: block;
  font-family: var(--font);
  font-size: 1.4rem;
  margin: 4px 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.fin-card em { font-size: 11px; font-style: normal; font-weight: 600; }
.fin-card .up { color: #16a34a; }
.fin-card .down { color: #ef4444; }
.fin-card--profit {
  background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
  border-color: rgba(0, 123, 255, 0.28);
}
.fin-card--profit strong { color: var(--brand-deep); }
.fin-card--profit .up { color: var(--brand-deep); font-size: 10.5px; }
.fin-chart {
  height: 110px;
  background: #fafbff;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  margin-bottom: 12px;
}
.fin-chart svg { width: 100%; height: 100%; }
.fin-legend {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.fin-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fin-legend .dot {
  width: 9px; height: 9px; border-radius: 50%;
}
.fin-legend .dot.blue { background: var(--brand); }
.fin-legend .dot.light { background: var(--brand-3); }
.fin-legend .dot.dark { background: var(--brand-deep); }

/* Leaderboard mock — table (matches FitSync staff tracker) */
#feat-staff .feature-mock {
  min-width: 0;
  flex: 1.15;
  max-width: 580px;
}
#feat-staff .ui-card.lb-table-card {
  padding: 0;
  overflow: hidden;
  min-width: 440px;
  width: 100%;
}
#feat-staff .ui-card-head {
  padding: 16px 20px;
}
.lb-table td strong {
  font-weight: 700;
  color: var(--text);
}
.lb-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-2);
}
.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.lb-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #374151;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.lb-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  vertical-align: middle;
  font-size: 12.5px;
}
.lb-table tbody tr:last-child td { border-bottom: none; }
.lb-table tbody tr:hover { background: #f9fafb; }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: #e5e7eb;
  color: #4b5563;
}
.rank-badge.r1 { background: #fef3c7; color: #d97706; }
.rank-badge.r2 { background: #e5e7eb; color: #4b5563; }
.rank-badge.r3 { background: #fed7aa; color: #ea580c; }
.ach-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
}
.ach-bar {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.ach-bar span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
}
.ach-cell em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  min-width: 34px;
  text-align: right;
}

/* Legacy card leaderboard (unused) */
.ui-card.leaderboard { padding: 18px; }
.lb-row {
  display: grid;
  grid-template-columns: 28px 32px 1fr auto 100px;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  margin-bottom: 6px;
  position: relative;
}
.lb-row .rank {
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted-2);
  text-align: center;
}
.lb-row.gold {
  background: linear-gradient(180deg, #fffaf0 0%, #fff5e0 100%);
  border-color: rgba(245, 158, 11, 0.35);
}
.lb-row.silver {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-color: rgba(148, 163, 184, 0.4);
}
.lb-row.bronze {
  background: linear-gradient(180deg, #fff6f0 0%, #ffe7d3 100%);
  border-color: rgba(234, 88, 12, 0.3);
}
.lb-row.gold .rank { color: #b45309; }
.lb-row.silver .rank { color: #475569; }
.lb-row.bronze .rank { color: #c2410c; }
.lb-row .av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 12px; font-weight: 700;
  font-style: normal;
}
.lb-meta strong { display: block; font-size: 13px; color: var(--text); font-weight: 600; }
.lb-meta small { display: block; font-size: 11px; color: var(--muted); }
.lb-stat { text-align: right; }
.lb-stat strong { display: block; font-size: 13.5px; color: var(--text); font-weight: 700; }
.lb-stat small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.lb-bar {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.lb-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
}

/* =========================================================
   Coming Soon — AI Chatbot
   ========================================================= */
.coming-soon {
  padding: 60px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.cs-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 50px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cs-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.12), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.2);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.cs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.cs-left h2 { margin-bottom: 12px; }
.cs-left p { color: var(--muted); margin-bottom: 22px; max-width: 480px; }

.cs-chat {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(11, 16, 32, 0.02);
}
.cs-bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}
.cs-chat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.cs-chat-label img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}
.cs-from {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.cs-from img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #fff;
  padding: 1px;
}
.cs-from strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.cs-msg {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.cs-bubble.in {
  background: #fff;
  border: 1px solid var(--line-2);
  align-self: flex-start;
  border-top-left-radius: 4px;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text);
}
.cs-bubble.out {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.cs-bubble .cs-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.cs-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  align-self: flex-start;
  width: fit-content;
}
.cs-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.4;
  animation: typing 1.4s ease-in-out infinite;
}
.cs-typing span:nth-child(2) { animation-delay: 0.15s; }
.cs-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Capability cards (Rakt-style, one platform section) */
#all-features {
  background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}
.capability-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cap-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cap-row .cap-card {
  min-width: 0;
}
.cap-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cap-card:hover {
  border-color: rgba(0, 123, 255, 0.2);
  box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.1);
}
.cap-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.cap-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cap-ic--blue { background: #eef5ff; color: #007bff; }
.cap-ic--teal { background: #ecfdf5; color: #0d9488; }
.cap-ic--green { background: #f0fdf4; color: #16a34a; }
.cap-ic--amber { background: #fffbeb; color: #d97706; }
.cap-ic--purple { background: #f5f3ff; color: #7c3aed; }
.cap-ic--pink { background: #fdf2f8; color: #db2777; }
.cap-ic--slate { background: #f1f5f9; color: #475569; }

/* Multi-branch feature mock */
.ui-card.branch-mock {
  padding: 20px;
  background: #fff;
}
.branch-mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.branch-gym-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.branch-dropdown-mock {
  position: relative;
  min-width: 200px;
}
.branch-selected-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.branch-selected-mock em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.branch-options-mock {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.branch-options-mock li {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  cursor: default;
}
.branch-options-mock li.active {
  background: rgba(0, 123, 255, 0.08);
  color: var(--brand);
  font-weight: 600;
}
.branch-options-mock li:hover {
  background: rgba(0, 123, 255, 0.06);
}
.branch-cards-mock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.branch-card-mock {
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fafbff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.branch-card-mock:first-child {
  border-color: rgba(0, 123, 255, 0.35);
  box-shadow: 0 4px 14px -6px rgba(0, 123, 255, 0.2);
}
.bc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}
.bc-stat {
  font-size: 11.5px;
  color: var(--muted);
}
.bc-stat b {
  color: var(--text);
  font-weight: 700;
}
.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.section-head--left h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Legacy feature grid */
.grid-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gf {
  padding: 24px 22px;
  min-height: 148px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.gf:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 123, 255, 0.2);
}
.gf-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.18));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.gf strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
}
.gf p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.gf.soon {
  background: linear-gradient(180deg, #f6f8ff 0%, #fff 100%);
  border-color: rgba(0, 123, 255, 0.25);
}
.soon-pill {
  display: inline-block;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}
.review p {
  color: #2c3653;
  font-size: 1rem;
  line-height: 1.65;
}
.reviewer {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.rv-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.reviewer strong { display: block; font-size: 14.5px; color: var(--text); font-weight: 600; }
.reviewer small { color: var(--muted); font-size: 12.5px; }

/* =========================================================
   CTA card
   ========================================================= */
.cta-section { padding: 60px 0 100px; }
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 70px 50px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 35%, var(--brand-2) 75%, var(--brand-3) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(0, 123, 255, 0.55);
}
.cta-card:not(.cta-card--light) .kicker.light { color: rgba(255, 255, 255, 0.85); }
.cta-card:not(.cta-card--light) h2 { color: #fff; margin-bottom: 16px; }
.cta-card:not(.cta-card--light) p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}
.cta-card--light {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -24px rgba(11, 16, 32, 0.15);
  color: var(--text);
  padding: 0;
}
.cta-card--light .cta-inner {
  padding: 56px 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-card--light .cta-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}
.cta-card--light .cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.15;
}
.cta-card--light .cta-highlight {
  color: var(--brand);
}
.cta-card--light .cta-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 32px;
  max-width: 520px;
}
.btn-outline {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  font-weight: 600;
}
.btn-outline:hover {
  background: rgba(0, 123, 255, 0.06);
  transform: translateY(-1px);
}
.cta-card--light .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-card--light .btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.cta-card--light .btn-primary:hover,
.cta-card--light .btn-primary.btn-lg:hover,
#pricing .cta-card--light .btn-primary:hover {
  background: var(--brand-hover) !important;
  color: #fff !important;
  box-shadow: 0 22px 44px -16px rgba(0, 123, 255, 0.45) !important;
}
.cta-glow {
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.45), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.text-brand { color: var(--brand); }
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-card .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}
.cta-card:not(.cta-card--light) .btn-primary:hover { background: #fafbff; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.faq-item:hover { border-color: rgba(0, 123, 255, 0.22); }
.faq-item[open] {
  background: var(--bg-soft);
  border-color: rgba(0, 123, 255, 0.28);
  box-shadow: 0 4px 16px -8px rgba(0, 123, 255, 0.18);
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: #b6bcd8;
  padding: 70px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-brand p { color: #8a92ac; font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font);
  font-weight: 700;
}
.foot-col a, .foot-col span {
  display: block;
  font-size: 14px;
  color: #b6bcd8;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-bottom small { color: #6c739a; font-size: 12.5px; }

/* =========================================================
   Blogs teaser (home page)
   ========================================================= */
.blogs-teaser { background: #fff; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-grid.full { gap: 24px; }

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 123, 255, 0.22);
}

.blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 50%, var(--brand-2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
}
.blog-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(180px 90px at 20% 30%, rgba(255,255,255,0.22), transparent 70%),
    radial-gradient(220px 110px at 80% 80%, rgba(255,255,255,0.18), transparent 70%);
}
.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}
/* Category background tints */
.blog-thumb[data-cat="tech"] { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-2) 100%); }
.blog-thumb[data-cat="marketing"] { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, var(--brand-3) 100%); }
.blog-thumb[data-cat="operations"] { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 60%, var(--brand-2) 100%); }
.blog-thumb[data-cat="finance"] { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand-3) 100%); }
.blog-thumb[data-cat="product"] { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-2) 100%); }
.blog-thumb[data-cat="growth"] { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand-3) 100%); }

.blog-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-tag.inline {
  display: inline-flex;
  margin-bottom: 18px;
  background: rgba(0, 123, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.22);
}

.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-body h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}
.blog-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-weight: 500;
}

.blog-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Simple blog cards (rakt-style) */
.blog-card--simple {
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.blog-card--simple:hover {
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
}
.blog-card--simple .blog-body {
  padding: 28px 26px 26px;
  gap: 12px;
}
.blog-card--simple .blog-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}
.blog-card--simple .blog-body p {
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 4px;
}
.blog-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.blog-card--simple:hover .blog-more {
  text-decoration: underline;
}
.blog-grid--simple {
  gap: 24px;
}

/* =========================================================
   Blogs listing page
   ========================================================= */
.page-hero {
  position: relative;
  padding: 80px 0 50px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero--left {
  text-align: left;
}
.page-hero--blog {
  padding: 100px 0 12px;
}
.page-hero--blog .page-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.featured-blog--tight {
  padding: 16px 0 28px;
  margin-top: 0;
}
.page-hero--left .page-sub {
  margin-left: 0;
  margin-right: 0;
}
.page-hero--left .blog-filters {
  justify-content: flex-start;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(0, 123, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #f8faff 0%, #ffffff 70%);
}
.page-hero .blob-1 { top: -160px; left: -160px; }
.page-hero .blob-2 { top: -120px; right: -200px; }
.page-title {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  margin: 16px 0;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.page-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 30px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.chip {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font);
}
.chip:hover { color: var(--brand); background: var(--bg-soft); }
.chip.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0, 123, 255, 0.5);
}

/* Featured */
.featured-blog {
  padding: 40px 0 20px;
}
.featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 70px -25px rgba(0, 123, 255, 0.4);
}
.featured-thumb {
  position: relative;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 40%, var(--brand-2) 80%, var(--brand-3) 100%);
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.featured-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 110px at 25% 30%, rgba(255,255,255,0.22), transparent 70%),
    radial-gradient(260px 140px at 80% 80%, rgba(255,255,255,0.18), transparent 70%);
}
.featured-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
}
.featured-art {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  margin-top: 30px;
  align-self: flex-start;
  width: 100%;
}
.featured-art .art-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.55));
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -10px 30px -10px rgba(255,255,255,0.4);
}

.featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.featured-pin {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0, 123, 255, 0.1);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}
.featured-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}
.featured-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.read-more {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
}

.blog-list-section { padding-top: 60px; }
.section-head.simple { margin-bottom: 36px; }

/* =========================================================
   Single article page
   ========================================================= */
.article {
  padding: 48px 0 100px;
  background: #fff;
}
.container.article-wide {
  max-width: 1180px;
  text-align: left;
}
.article-wide .article-title,
.article-wide .article-lede,
.article-wide .article-body {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.article-wide .article-body {
  max-width: 900px;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.crumbs a { color: var(--brand); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .current { color: var(--text); }
.article-title {
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  line-height: 1.12;
  font-weight: 700;
}
.article-lede {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 30px;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 14px;
}
.meta-author { display: flex; align-items: center; gap: 12px; }
.meta-author strong { display: block; font-size: 14.5px; font-weight: 600; }
.meta-author small { display: block; color: var(--muted); font-size: 12.5px; }
.meta-share { display: flex; gap: 8px; }
.meta-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line-2);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.meta-share a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

.article-cover {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.cover-gradient {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 40%, var(--brand-2) 80%, var(--brand-3) 100%);
  padding: 32px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.cover-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 150px at 20% 20%, rgba(255,255,255,0.22), transparent 70%),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  opacity: 0.65;
}
.cover-bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 220px;
  width: 100%;
}
.cover-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.55));
  border-radius: 8px 8px 0 0;
}
.cover-card {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.25);
  z-index: 3;
}
.cover-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.cover-card small { font-size: 11.5px; color: var(--muted); }

.article-body {
  font-size: 1.07rem;
  line-height: 1.85;
  color: #1f2a44;
}
.article-body p { margin-bottom: 1.2em; }
.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 2.2em 0 0.7em;
  letter-spacing: -0.02em;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}
.article-body li { margin-bottom: 0.55em; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--brand); font-style: normal; font-weight: 500; }

.article-body blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-left: 4px solid var(--brand);
  background: var(--bg-soft);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.6;
}
.article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.article-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 50px 0 60px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 45%, var(--brand-2) 100%);
  color: #fff;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -20px rgba(0, 123, 255, 0.45);
}
.article-cta > div { flex: 1; min-width: 240px; }
.article-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.article-cta p { color: rgba(255, 255, 255, 0.88); font-size: 14.5px; }
.article-cta .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}
.article-cta .btn-primary:hover { background: #fafbff; }

.related h3 { margin-bottom: 22px; font-size: 1.35rem; }
.related .blog-grid h3 { font-size: 1.05rem; }

/* =========================================================
   Newsletter (blogs page)
   ========================================================= */
.newsletter { padding: 70px 0 110px; }
.news-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 45%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 123, 255, 0.45);
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.45), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.news-card .kicker { color: var(--brand-3); position: relative; }
.news-card h3 { color: #fff; font-size: 1.6rem; letter-spacing: -0.02em; margin: 10px 0 8px; position: relative; }
.news-card p { color: rgba(255, 255, 255, 0.88); position: relative; }
.news-form {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  position: relative;
  flex-wrap: wrap;
}
.news-form input {
  flex: 1;
  min-width: 160px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: transparent;
}
.news-form .btn { flex-shrink: 0; }
.news-msg {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #4ade80;
  font-weight: 600;
  padding: 6px 0 2px;
}

/* =========================================================
   Auth pages
   ========================================================= */
.auth-body { background: #fff; min-height: 100vh; }
.auth { min-height: 100vh; }
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-left {
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  position: relative;
}
.auth-brand {
  position: absolute;
  top: 32px;
  left: 56px;
}
.auth-card {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}
.auth-card .kicker { color: var(--brand); margin-bottom: 10px; display: inline-block; }
.auth-card h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.auth-sub {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 0.97rem;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  font-family: var(--font);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.social-btn:hover { border-color: var(--brand); background: var(--bg-soft); transform: translateY(-1px); }
.auth-or {
  position: relative;
  text-align: center;
  margin: 22px 0 18px;
}
.auth-or::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.auth-or span {
  position: relative;
  padding: 0 12px;
  background: #fff;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field > span {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.link-muted {
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 500;
}
.link-muted:hover { text-decoration: underline; }
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="tel"],
.auth-field input[type="password"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-field input::placeholder { color: var(--muted-2); }
.auth-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.pw-toggle:hover { opacity: 1; background: var(--bg-soft); }

.phone-wrap {
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phone-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}
.phone-prefix {
  padding: 0 12px;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-soft);
  height: 46px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  font-weight: 500;
}
.phone-wrap input { border: 0 !important; box-shadow: none !important; height: 44px; }

.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.seg input[type="radio"] { display: none; }
.seg label {
  text-align: center;
  padding: 9px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg input:checked + label {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 2px 6px rgba(11, 16, 32, 0.08);
}

.pw-strength {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.pw-strength span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line-2);
}
.pw-strength span.weak { background: #ef4444; }
.pw-strength span.fair { background: #f59e0b; }
.pw-strength span.good { background: var(--brand); }
.pw-strength span.strong { background: #16a34a; }
.pw-hint { font-size: 12px; color: var(--muted); }

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}
.auth-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.auth-check input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.auth-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.auth-check a { color: var(--brand); font-weight: 500; }
.auth-check a:hover { text-decoration: underline; }

.auth-foot {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.auth-foot a { color: var(--brand); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

.auth-alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.auth-alert--error,
.auth-alert--danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.auth-alert--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.pw-toggle svg {
  display: block;
  color: #64748b;
}
.pw-toggle:hover svg { color: var(--brand); }

.auth-right--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.auth-hero-text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 32px;
  max-width: 420px;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  animation: authHeroIn 0.85s var(--ease) 0.08s forwards;
}
@keyframes authHeroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.auth-card h1:only-of-type {
  margin-bottom: 22px;
}

.auth-legal {
  position: absolute;
  bottom: 24px;
  left: 56px;
  color: var(--muted-2);
  font-size: 12px;
}
.auth-legal a { color: var(--muted); text-decoration: underline; }

/* spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Right brand visual */
.auth-right {
  position: relative;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 40%, var(--brand-2) 80%, var(--brand-3) 100%);
  color: #fff;
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.auth-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
}
.auth-glow {
  position: absolute;
  top: -160px; right: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.55), transparent 65%);
  filter: blur(40px);
}
.auth-visual {
  position: relative;
  max-width: 460px;
  z-index: 1;
}
.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.28);
  animation: pulse 1.6s ease-in-out infinite;
}
.auth-visual h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 12px;
}
.auth-visual > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}
.visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}
.visual-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.visual-bar::after {
  content: "";
  position: absolute;
  inset: 0 30% 0 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.5));
  border-radius: 999px;
}
.visual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.vstat { display: block; }
.vstat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.vstat small { font-size: 11.5px; color: rgba(255,255,255,0.7); }
.visual-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}
.visual-chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.4));
  border-radius: 4px 4px 0 0;
}

.visual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.visual-list li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
}
.visual-list.big li {
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}

.testimonial-mini {
  margin-top: 28px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.testimonial-mini .stars { color: #fbbf24; font-size: 13px; letter-spacing: 1.5px; margin-bottom: 8px; }
.testimonial-mini p { color: rgba(255,255,255,0.95); font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.testimonial-mini span { color: rgba(255,255,255,0.7); font-size: 12.5px; }

/* Active nav link */
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { transform: scaleX(1); }

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 16px 40px -6px rgba(37, 211, 102, 0.7);
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  animation: wapulse 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes wapulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
[data-stagger] .reveal.in {
  transition-duration: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  /* Keep .gate-scan animated — product demo; phones often have reduce-motion off */
  .float-card, .wa-pulse, .cs-dot, .cs-typing span { animation: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-mock { max-width: 560px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-features { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature.reverse .feature-mock { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-card { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
  .lb-row { grid-template-columns: 24px 28px 1fr auto; }
  .lb-bar { display: none; }

  /* Blogs + auth */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 240px; }
  .news-card { grid-template-columns: 1fr; padding: 30px; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-right { padding: 50px 32px; min-height: 380px; }
  .auth-left { padding: 110px 32px 60px; }
  .auth-brand { left: 32px; top: 28px; }
  .auth-legal { position: static; margin-top: 30px; text-align: center; }
}

@media (max-width: 900px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding: 0 18px;
  }
  .nav-links,
  .nav-cta { display: none; }
  .hamburger {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }
  .brand img { width: 36px; height: 36px; }
}

@media (max-width: 720px) {

  .section { padding: 72px 0; }
  .hero { padding: 50px 0 70px; }
  .hero-title { font-size: 2.2rem; }
  .gate-dual-grid { grid-template-columns: 1fr; }
  #feat-staff .ui-card.lb-table-card { min-width: 0; }
  .hero-actions .btn { flex: 1; }

  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-row { grid-template-columns: 1fr 1fr; }

  .float-card { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .cap-row { grid-template-columns: 1fr; }
  .cap-card strong { font-size: 13.5px; }
  .branch-cards-mock { grid-template-columns: repeat(2, 1fr); }
  .page-hero--blog { padding: 88px 0 8px; }
  .featured-blog--tight { padding: 12px 0 24px; }
  .cta-card--light .cta-inner { padding: 40px 24px; }
  .grid-features { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gf { padding: 18px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }

  .cta-card { padding: 50px 24px; border-radius: 22px; }
  .cs-card { padding: 28px 22px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }

  /* Blogs + auth */
  .blog-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 50px 0 30px; }
  .article-cta { padding: 24px; }
  .article-cover { display: none; }
  .article-body { font-size: 1rem; }
  .auth-grid-2 { grid-template-columns: 1fr; }
  .auth-right { padding: 40px 24px; }
  .auth-left { padding: 100px 24px 50px; }
  .auth-brand { left: 24px; top: 22px; }
  .auth-hero-text {
    font-size: clamp(1.55rem, 6vw, 2rem);
    padding: 0 16px;
  }
  .auth-card { max-width: 100%; }
  .auth-field input { font-size: 16px; min-height: 48px; }
  .auth-form .btn-lg { min-height: 48px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; }
  .seg { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .seg label { padding: 9px 4px; }
}

@media (max-width: 420px) {
  .grid-features { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.85rem; }
  .page-title { font-size: 1.65rem; }
  .brand span { font-size: 1.2rem; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13px; }
}

/* Selection */
::selection { background: rgba(0, 123, 255, 0.22); color: var(--text); }

/* =========================================================
   App — All branches overview
   ========================================================= */
.bo-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 42%, #ffffff 100%);
  font-family: var(--font);
  color: var(--text);
}
.bo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.bo-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.bo-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bo-user {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}
.bo-user strong { color: var(--text); font-weight: 600; }
.bo-signout {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.bo-signout:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-soft);
}
.bo-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 32px 56px;
}
.bo-hero {
  margin-bottom: 28px;
}
.bo-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.bo-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.bo-sub {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 560px;
}
.bo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.bo-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.bo-pill:hover {
  border-color: var(--brand-muted);
  color: var(--brand);
  background: var(--bg-soft);
}
.bo-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.bo-date-input {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font);
  font-size: 0.8125rem;
  color: var(--text);
  min-width: 200px;
}
.bo-date-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}
.bo-toolbar-spacer { flex: 1; min-width: 8px; }
.bo-export {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.bo-export:hover {
  background: var(--brand);
  color: #fff;
}
.bo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.bo-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  overflow: hidden;
}
.bo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 123, 255, 0.28);
  box-shadow: var(--shadow-md);
}
.bo-card:hover::before { opacity: 1; }
.bo-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bo-card-head {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}
.bo-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.bo-card-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.bo-card-open {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.bo-card:hover .bo-card-open { opacity: 1; }
.bo-kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bo-kpi-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.bo-kpi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bo-kpi-link:hover .bo-kpi {
  background: #fff;
  border-color: rgba(0, 123, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -10px rgba(0, 123, 255, 0.35);
}
.bo-kpi i {
  font-size: 0.9rem;
  color: var(--brand);
}
.bo-kpi-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.bo-kpi-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.bo-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  color: var(--muted);
  background: #fff;
}

@media (max-width: 900px) {
  .bo-grid { grid-template-columns: 1fr; }
  .bo-topbar { padding: 16px 20px; }
  .bo-wrap { padding: 28px 20px 40px; }
  .bo-user { display: none; }
}
@media (max-height: 820px), (max-width: 1440px) and (max-height: 900px) {
  .bo-wrap { padding-top: 24px; }
  .bo-hero { margin-bottom: 18px; }
  .bo-title { font-size: 1.5rem; }
  .bo-toolbar { margin-bottom: 18px; }
  .bo-card { padding: 14px 14px 12px; }
  .bo-kpi { padding: 8px 10px; }
  .bo-kpi-value { font-size: 0.95rem; }
}
