/* ============================================================
   StratoCMS - premium SaaS stylesheet
   Light portal/admin + dark hero marketing accents
   Inter Variable - self-hosted (no third-party render-blocking)
   ============================================================ */

/* Self-hosted Inter variable. latin-ext only downloads when those
   glyphs are actually used (unicode-range), so English pages fetch
   one ~48KB file. font-display:swap = no invisible text, no FOIT. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'InterVariable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .12s ease;
}

a:hover {
  color: var(--brand-2);
}

button {
  font: inherit;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

code,
pre,
.mono {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
}

::selection {
  background: rgba(99, 102, 241, .2);
  color: inherit;
}

:root {
  /* Surfaces */
  --bg: #fafbfc;
  --bg-2: #f3f4f8;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --border: #e8eaf0;
  --border-2: #eff1f5;
  --ink: #0a0b14;
  /* near-black for dark sections */
  --ink-2: #14162a;
  --ink-3: #1c1f3a;

  /* Text */
  --text: #0a0b14;
  --text-2: #2a2d4a;
  --muted: #5b607f;
  --soft: #9095b3;
  --footer: #334155;

  --soft-2: #b8bcd4;

  /* Brand */
  --brand: #4f46e5;
  /* indigo-600 */
  --brand-2: #4338ca;
  /* indigo-700 */
  --brand-3: #6366f1;
  /* indigo-500 */
  --accent: #06b6d4;
  /* cyan-500 */
  --accent-2: #8b5cf6;
  /* violet-500 */
  --pink: #ec4899;
  --orange: #92400e;

  /* Semantic */
  --green: #14532d;
  --amber: #92400e;
  --red: #ef4444;
  --slate: #64748b;

  /* Tokens */
  --radius-xl: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 2px rgba(10, 11, 20, .04);
  --shadow: 0 2px 4px rgba(10, 11, 20, .03), 0 8px 24px -8px rgba(10, 11, 20, .10);
  --shadow-lg: 0 4px 12px rgba(10, 11, 20, .05), 0 24px 48px -12px rgba(10, 11, 20, .18);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, .10), 0 20px 60px -20px rgba(99, 102, 241, .45);
  --ring: 0 0 0 4px rgba(79, 70, 229, .16);
  --maxw: 1400px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  letter-spacing: -.035em;
  font-weight: 750;
}

h2 {
  font-size: 1.5em;
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -.015em;
}

p {
  margin: 0 0 1em;
  color:  var(--muted);
}

.muted {
  color: var(--muted);
}

.soft {
  color: var(--soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* One vertical rhythm for ALL page sections: ~64px on mobile scaling to
   ~110px on desktop, matching the custom sections (how-works, FAQ,
   engagement). Never hardcode section padding elsewhere — reuse these. */
.section {
  padding: clamp(4rem, 8vw, 6.875rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.center {
  text-align: center;
}

.stack>*+* {
  margin-top: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Main-content + sidebar split (e.g. ticket detail). Stacks on mobile. */
.grid--split {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .grid--split {
    grid-template-columns: 2fr 1fr;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .22s ease-out, box-shadow .22s ease-out, background-color .22s ease-out, border-color .22s ease-out, color .22s ease-out;
  white-space: nowrap;
}

/* One shared interaction for every button (and future ones):
   subtle lift on hover, press-down on click, clear keyboard ring. */
.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .45);
}

.btn--primary {
  background: linear-gradient(180deg, #5b54ee 0%, var(--brand) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 6px 14px -4px rgba(79, 70, 229, .45),
    0 2px 4px rgba(79, 70, 229, .16);
}

.btn--primary:hover {
  /* explicit: the global a:hover color must never win over button text */
  color: #fff;
  background: linear-gradient(180deg, #4d46e0 0%, var(--brand-2) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 10px 24px -8px rgba(79, 70, 229, .5),
    0 3px 6px rgba(79, 70, 229, .16);
}

/* Light-theme ghost (portal, auth chrome, contact/checkout).
   The dark marketing pages restyle this in landing-premium.css. */
.btn--ghost {
  border-color: #c3cadf;
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  background: rgba(255, 255, 255, .6);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(79, 70, 229, .07);
  box-shadow: 0 6px 14px -6px rgba(79, 70, 229, .25);
}

.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn--outline:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(79, 70, 229, .4);
}

.btn--sm {
  padding: .5rem .85rem;
  font-size: .82rem;
  border-radius: 8px;
}

.btn--lg {
  padding: .80rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.btn--danger {
  background: var(--red);
  color: #fff;
}

.btn--danger:hover {
  color: #fff;
  background: #dc2626;
  box-shadow: 0 6px 14px -6px rgba(239, 68, 68, .4);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--dark:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(10, 11, 20, .4);
}

/* Button → arrow flourish */
.btn .arr {
  display: inline-block;
  transition: transform .22s ease-out;
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* Accessibility: no movement for users who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition-property: background-color, border-color, color, box-shadow;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }

  .btn .arr {
    transition: none;
  }

  .btn:hover .arr {
    transform: none;
  }
}

/* ---------- Cards ---------- */
.card {
  /* Light surface — the portal/admin depends on this. The dark marketing
     pages restyle .card via landing-premium.css (glass). Never force a
     dark background here with !important: it made every portal card navy
     with invisible text. */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.card--pad-lg {
  padding: 2.25rem;
}

.card--hover {
  transition: border-color .18s ease, box-shadow .2s ease, transform .15s ease;
}

.card--hover:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0 0 .4rem;
  color: var(--text);
  letter-spacing: -.015em;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, .55);
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .65rem .25rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
  line-height: 1.4;
  letter-spacing: .01em;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e6eaf1;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  opacity: .85;
}

.pill--green {
  background: #ecfdf5;
  color: #047857;
  border-color: #b6f0d3;
}

.pill--amber {
  background: #fff8eb;
  color: #b45309;
  border-color: #fce4a6;
}

.pill--red {
  background: #fef2f2;
  color: #be1d1d;
  border-color: #fbcaca;
}

.pill--blue {
  background: #eef2ff;
  color: #4338ca;
  border-color: #cdd6fe;
}

.pill--slate {
  background: #f4f6fa;
  color: #5b647a;
  border-color: #e4e8f0;
}

/* ---------- Navigation (public) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -.015em;
}

.brand-logo {
  width: 100%;
  height: 50px;
  /* height: 40px;
  max-width: 100%;
  display: block;
  object-fit: contain; */
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-3) 0%, var(--accent-2) 60%, var(--accent) 100%);
  display: inline-block;
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, .55), 0 0 0 1px rgba(99, 102, 241, .15) inset;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .20);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  /* light-page default; landing-premium.css overrides to white on dark pages */
  color: var(--text-2);
  font-weight: 500;
  font-size: .93rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
}

/* Clear current-page indicator */
.nav-links a.active {
  position: relative;
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: #2563eb;
}

.nav-cta {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: none;
  border: 0;
  color: var(--text);
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle:active {
  /* translucent so it reads correctly on both light and dark headers
     (var(--bg-2) stayed near-white on dark pages — white flash on tap) */
  background: rgba(148, 163, 184, .18);
}

.nav-toggle {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: flex-end;
  }

  .card {
    display: grid;
  }
}

/* ---------- App-style mobile drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 11, 20, .45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .22s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(86vw, 360px);
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .26s cubic-bezier(.32, .72, 0, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* .drawer-head .brand-logo {
  height: 38px;
} */

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: 44px;
  border: 0;
  background: none;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}

.drawer-close:hover {
  background: var(--bg-2);
  color: var(--text);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: .75rem .75rem .25rem;
  gap: .15rem;
}

.drawer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  color: #000;
  font-weight: 550;
  font-size: 1.02rem;
  letter-spacing: -.01em;
}

.drawer-links a:hover {
  background: var(--bg-2);
}

.drawer-links a.active {
  background: linear-gradient(180deg, rgba(79, 70, 229, .06), rgba(79, 70, 229, .10));
  color: var(--brand);
  box-shadow: inset 2px 0 0 var(--brand);
}

.drawer-cta {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: auto;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* Body scroll-lock while the drawer is open. */
body.drawer-open {
  overflow: hidden;
}

/* ============================================================
   DARK HERO + MESH BG
   ============================================================ */
.hero-dark {
  position: relative;
  overflow: hidden;
  color: #e6e8f5;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(99, 102, 241, .35), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(6, 182, 212, .22), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(236, 72, 153, .16), transparent 55%),
    linear-gradient(180deg, #0a0b14 0%, #0f1124 50%, #0a0b14 100%);
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 70%);
  pointer-events: none;
}

.hero-dark .container {
  position: relative;
  z-index: 1;
}

.hero-dark h1 {
  color: #fff;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #aab2d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-dark .lede {
  color: #a3a9c8;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 60ch;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .55rem .45rem .55rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #d3d7f0;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 1.5rem;
}

.hero-pill .badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
}

.hero-pill .arr {
  color: var(--soft-2);
  transition: transform .18s ease;
}

.hero-pill:hover .arr {
  transform: translateX(3px);
}

.hero-dark .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.hero-dark .btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-dark .btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.hero-dark .hero-stat {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  color: var(--soft-2);
  font-size: .83rem;
}

.hero-dark .hero-stat strong {
  color: #fff;
  font-size: 1.65rem;
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Hero product mock (sits half-into next section) */
.hero-mock-wrap {
  position: relative;
  max-width: 1080px;
  margin: 4rem auto -8rem;
  z-index: 2;
}

.hero-mock {
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .6), rgba(6, 182, 212, .45) 60%, rgba(236, 72, 153, .4) 100%);
  box-shadow: 0 30px 80px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}

.hero-mock-inner {
  background: #0f1124;
  border-radius: 17px;
  overflow: hidden;
  position: relative;
}

.hero-mock-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 50% -10%, rgba(99, 102, 241, .18), transparent 60%);
  pointer-events: none;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .02);
}

.mock-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #3a3f5a;
}

.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: 1rem;
  font-size: .78rem;
  color: #7a809c;
  font-family: ui-monospace, monospace;
  background: rgba(255, 255, 255, .04);
  padding: .25rem .65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .05);
}

.mock-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 420px;
  color: #e6e8f5;
  position: relative;
}

@media (max-width: 720px) {
  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-side {
    display: none;
  }
}

.mock-side {
  border-right: 1px solid rgba(255, 255, 255, .06);
  padding: 1rem .75rem;
  background: rgba(255, 255, 255, .015);
}

.mock-side h6 {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7099;
  font-weight: 600;
  padding: .5rem .65rem;
  margin: 0;
}

.mock-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .15rem;
}

.mock-side li {
  padding: .5rem .65rem;
  border-radius: 8px;
  font-size: .85rem;
  color: #a8aece;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.mock-side li .d {
  width: 14px;
  height: 14px;
  opacity: .6;
}

.mock-side li.is-active {
  background: rgba(99, 102, 241, .14);
  color: #cbd0ff;
  box-shadow: inset 2px 0 0 var(--brand-3);
}

.mock-side li.is-active .d {
  opacity: 1;
  color: #cbd0ff;
}

.mock-content {
  padding: 1.5rem;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mock-head h5 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.015em;
}

.mock-head .b {
  font-size: .7rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, .15);
  color: #6ee7b7;
  font-weight: 600;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.mock-k {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: .85rem .9rem;
  position: relative;
  overflow: hidden;
}

.mock-k .lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #7a809c;
  font-weight: 600;
}

.mock-k .val {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-top: .25rem;
}

.mock-k .ch {
  font-size: .72rem;
  color: #6ee7b7;
  margin-top: .15rem;
  font-weight: 600;
}

.mock-k .ch.dn {
  color: #fca5a5;
}

.mock-chart {
  height: 160px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: .75rem;
  background: rgba(255, 255, 255, .015);
  position: relative;
}

.mock-chart-label {
  position: absolute;
  top: .65rem;
  left: .85rem;
  font-size: .72rem;
  color: #7a809c;
  font-weight: 600;
}

/* ---------- Section: stats marquee ---------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 11rem 0 4rem;
  border-radius: 0;
}

.stats-band .container {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .stats-band .container {
    grid-template-columns: repeat(3, 1fr);
  }

}

.stat-item {
  border-left: 2px solid rgba(255, 255, 255, .08);
  padding-left: 1.25rem;
}

.stat-num {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-lbl {
  font-size: .85rem;
  color: var(--soft-2);
  margin-top: .5rem;
}

/* ---------- Logo cloud ---------- */
.cloud-wrap {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cloud-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

.cloud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 720px) {
  .cloud {
    grid-template-columns: repeat(5, 1fr);
  }
}

.cloud-item {
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: 1.2rem;
  color: var(--soft);
  opacity: .85;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .18s ease, opacity .18s ease;
}

.cloud-item:hover {
  color: var(--text-2);
  opacity: 1;
}

.cloud-item .lm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-block;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
}

.b-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s ease, transform .15s ease;
}

.b-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.b-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
}

.b-card p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 0;
}

.b-tag {
  font-size: .7rem;
  color: var(--brand);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
  display: inline-block;
}

@media (min-width: 1024px) {
  .b-card--lg {
    grid-column: span 4;
  }

  .b-card--md {
    grid-column: span 3;
  }

  .b-card--sm {
    grid-column: span 2;
  }

  .b-card--3 {
    grid-column: span 3;
  }

  .b-card--full {
    grid-column: span 6;
  }
}

.b-art {
  position: relative;
  margin-top: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  border: 1px solid var(--border-2);
  padding: 1rem;
  overflow: hidden;
}

.b-art--dark {
  background: linear-gradient(135deg, #0f1124, #1c1f3a);
  border-color: rgba(255, 255, 255, .05);
  color: #dfe2f5;
}

.b-art pre {
  margin: 0;
  font-size: .78rem;
  line-height: 1.6;
  color: #cbd0ff;
}

.b-art pre .k {
  color: #fca5d7;
}

.b-art pre .s {
  color: #86efac;
}

.b-art pre .c {
  color: #6b7099;
}

.b-art pre .n {
  color: #fcd34d;
}

/* ---------- Feature splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.split--alt>div:first-child {
  order: 2;
}

@media (min-width: 900px) {
  .split--alt>div:first-child {
    order: 1;
  }
}

.split-art {
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 320px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.split-art::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .30), transparent);
  filter: blur(24px);
  pointer-events: none;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  padding: 2rem;
  background: #1a2c59;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px -6px rgba(99, 102, 241, .6);
}

.step h3 {
  margin-bottom: .5rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ==================================================
   Comparison Table
================================================== */

/*==================================
  COMPARE PLANS
==================================*/

.compare-wrap{
    margin-top:60px;
    border-radius:24px;
    overflow:auto;
    border:1px solid rgba(255,255,255,.08);
    background:linear-gradient(135deg,#0f172a,#111f36);
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.compare{
    width:100%;
    min-width:950px;
    border-collapse:collapse;
}

.compare thead{
    position:sticky;
    top:0;
    z-index:5;
}

.compare thead th{
    padding:24px;
    background:#111827;
    color:#fff;
    font-size:17px;
    font-weight:700;
    border-bottom:1px solid rgba(255,255,255,.08);
    white-space:nowrap;
}

.compare th:first-child{
    width:340px;
    text-align:left;
}

.compare td{
    padding:18px 24px;
    border-bottom:1px solid rgba(255,255,255,.06);
    color:#cbd5e1;
    text-align:center;
    font-size:15px;
    transition:.3s;
}

.compare td:first-child{
    text-align:left;
    color:#fff;
    font-weight:600;
}

.compare tbody tr:nth-child(even){
    background:rgba(255,255,255,.015);
}

.compare tbody tr:hover{
    background:rgba(91,92,255,.08);
}

/* Highlight PRO */

.compare th.us{
    position:relative;
    background:linear-gradient(135deg,#4f46e5,#3b82f6);
    color:#fff;
    padding-top: 5px;
}

.compare th.us::after{
    content:"MOST POPULAR";
    position:absolute;
    bottom:4px;
    left:50%;
    transform:translateX(-50%);
    background:#22c55e;
    color:#fff;
    font-size:10px;
    letter-spacing:.08em;
    font-weight:700;
    padding:4px 10px;
    border-radius:999px;
    margin: 5px;
}

.compare td:nth-child(3){
    background:rgba(79,70,229,.08);
}

.compare td:nth-child(3),
.compare th:nth-child(3){
    border-left:2px solid #4f46e5;
    border-right:2px solid #4f46e5;
}

/* Icons */

.yes{
    color:#22c55e;
    font-weight:700;
}

.no{
    color:#64748b;
}

.partial{
    color:#f59e0b;
    font-weight:600;
}

/* Rounded corners */

.compare thead th:first-child{
    border-top-left-radius:20px;
}

.compare thead th:last-child{
    border-top-right-radius:20px;
}

/*==============================
 Tablet
==============================*/

@media(max-width:991px){

.compare-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.compare{
    min-width:850px;
}

.compare th,
.compare td{
    padding:16px;
    font-size:14px;
}

}

/*==============================
 Mobile
==============================*/

@media(max-width:576px){

.compare{
    min-width:760px;
}

.compare th,
.compare td{
    padding:14px;
    font-size:13px;
}

.compare th.us::after{
    font-size:9px;
    padding:3px 8px;
}

}
/* ---------- Pricing tier ---------- */
.tier {
  background: #02244e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}

.tier--featured {
  border: 1.5px solid var(--brand);
  background: #02244e;
  position: relative;
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.tier--featured:hover {
  transform: scale(1.02) translateY(-3px);
}

.tier--featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .32rem .7rem;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px -6px rgba(99, 102, 241, .6);
}

.tier h3 {
  font-size: 1rem;
  color: #ffff;
  margin: 0;
  font-weight: 600;
}

.tier .price {
  font-size: 2.6rem;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tier .price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.tier .price-sub {
  font-size: .85rem;
  color: var(--muted);
  margin: -.5rem 0 0;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
  font-size: .92rem;
  color: #ffff;
}

.tier ul li::before {
  content: "✓";
  color: #00ff65;
  font-weight: 700;
  margin-right: .55rem;
  display: inline-block;
  width: 1.1em;
}

/* ---------- Testimonial ---------- */
.quote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-2);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  letter-spacing: -.015em;
  box-shadow: 0 6px 14px -4px rgba(99, 102, 241, .5);
}

.quote-author .name {
  font-weight: 650;
  font-size: .92rem;
  color: var(--text);
  letter-spacing: -.01em;
}

.quote-author .title {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .1rem;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-3);
  opacity: .18;
  display: block;
  margin-bottom: -.5rem;
}

/* ---------- FAQ ---------- */
/*==================================
  FAQ
==================================*/

.faq{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:50px;
}

.faq details{
    background:linear-gradient(135deg,#0f172a,#111f36);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    overflow:hidden;
    transition:all .35s ease;
}

.faq details:hover{
    border-color:#5b5cff;
    transform:translateY(-2px);
    box-shadow:0 15px 40px rgba(91,92,255,.12);
}

.faq details[open]{
    border-color:#5b5cff;
    box-shadow:0 18px 45px rgba(91,92,255,.16);
}

.faq summary{
    list-style:none;
    cursor:pointer;
    position:relative;

    padding:24px 70px 24px 28px;

    color:#fff;
    font-size:20px;
    font-weight:600;
    line-height:1.5;

    transition:.3s;
    user-select:none;
}

.faq summary::-webkit-details-marker{
    display:none;
}

.faq summary::after{
    content:"+";
    position:absolute;
    right:24px;
    top:50%;
    transform:translateY(-50%);

    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:rgba(91,92,255,.12);

    color:#fff;
    font-size:26px;
    font-weight:300;

    transition:.35s ease;
}

.faq details[open] summary::after{
    content:"−";
    background:#5b5cff;
    transform:translateY(-50%) rotate(180deg);
}

.faq p{
    margin:0;
    padding:0 28px 28px;

    color:#cbd5e1;
    font-size:16px;
    line-height:1.9;

    border-top:1px solid rgba(255,255,255,.06);
}

.faq a{
    color:#60a5fa;
    text-decoration:none;
    font-weight:600;
}

.faq a:hover{
    color:#93c5fd;
    text-decoration:underline;
}

.faq code{
    background:#1e293b;
    color:#60a5fa;
    padding:3px 7px;
    border-radius:6px;
    font-size:14px;
}

/*==============================
  TABLET
==============================*/

@media (max-width:991px){

    .faq summary{
        font-size:18px;
        padding:22px 65px 22px 24px;
    }

}

/*==============================
  MOBILE
==============================*/

@media (max-width:576px){

    .faq{
        gap:14px;
        margin-top:35px;
    }

    .faq summary{
        font-size:17px;
        padding:20px 60px 20px 20px;
    }

    .faq summary::after{
        width:34px;
        height:34px;
        right:18px;
        font-size:22px;
    }

    .faq p{
        padding:0 20px 22px;
        font-size:15px;
        line-height:1.8;
    }

}
/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 80% 100%, rgba(6, 182, 212, .30), transparent 60%),
    radial-gradient(700px 280px at 0% 0%, rgba(236, 72, 153, .20), transparent 60%),
    linear-gradient(135deg, #1e1b4b 0%, var(--brand-2) 55%, var(--brand) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: 0 40px 80px -20px rgba(79, 70, 229, .5), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.cta-band>* {
  position: relative;
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
}

.cta-band p {
  color: rgba(255, 255, 255, .85);
  max-width: 50ch;
  font-size: 1.05rem;
}

.cta-band .about-ctasec h2{
  color: #fff;
  max-width: 100% !important;
}

.cta-band .about-ctasec p{
 color: rgba(255, 255, 255, .85);
  max-width:100% !important;
  font-size: 1.05rem;
}
/* On the dark CTA band the primary flips to white so it stays the
   strongest element; interaction (lift/press/ring) is the global system. */
.cta-band .btn--primary {
  background: #fff;
  color: var(--brand-2);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
}

.cta-band .btn--primary:hover {
  color: var(--brand-2);
  background: #e7ebff;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .5);
}

.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

/* ==================================================
   Footer
================================================== */
/*=========================================
  PREMIUM FOOTER
=========================================*/

.footer{

    position:relative;

    overflow:hidden;

    background:#060606;

    border-top:1px solid rgba(255,255,255,.08);

    padding:90px 0 35px;

}

/* Noise */

.footer:before{

    content:"";

    position:absolute;

    inset:0;

    opacity:.05;

    pointer-events:none;

    background-image:

    radial-gradient(circle,rgba(255,255,255,.3) 1px,transparent 1px);

    background-size:4px 4px;

}

/* Grid */

.footer:after{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    opacity:.03;

    background-image:

    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),

    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);

    background-size:70px 70px;

}

/*======================*/

.footer .container{

    position:relative;

    z-index:2;

}

.footer-top{

    display:grid;

    grid-template-columns:1.2fr 2fr;

    gap:90px;

    padding-bottom:60px;

}

/*======================*/

.footer-brand img{

    height:48px;

    margin-bottom:28px;

}

.footer-desc{

    max-width:380px;

    color:#7b8596;

    line-height:1.9;

    font-size:15px;

}

/*======================*/

.footer-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:70px;

}

.footer-title{

    color:#fff;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:.18em;

    margin-bottom:24px;

    font-weight:700;

}

.footer ul{

    margin:0;

    padding:0;

    list-style:none;

}

.footer li{

    margin-bottom:14px;

}

.footer a{

    color:#7b8596;

    text-decoration:none;

    transition:.35s;

    display:inline-block;

    font-size:15px;

}

.footer a:hover{

    color:#fff;

    transform:translateX(8px);

}

/*======================*/

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:28px;

    color:#6b7280;

    font-size:14px;

}

/*======================*/

.footer-bottom span{

    opacity:.8;

}

/*======================*/

.footer .brand{

    display:inline-flex;

    align-items:center;

}

/*======================*/

.footer-brand{

    position:relative;

}

.footer-brand:after{

    content:"";

    width:90px;

    height:2px;

    background:linear-gradient(90deg,#2563eb,transparent);

    display:block;

    margin-top:30px;

}

/*======================*/

.footer-grid>div{

    position:relative;

}

.footer-grid>div:before{

    content:"";

    position:absolute;

    left:-35px;

    top:0;

    width:1px;

    height:100%;

    background:rgba(255,255,255,.05);

}

.footer-grid>div:first-child:before{

    display:none;

}

/*======================*/

@media(max-width:991px){

.footer-top{

grid-template-columns:1fr;

gap:60px;

}

.footer-grid{

grid-template-columns:repeat(2,1fr);

gap:50px;

}

}

@media(max-width:640px){

.footer{

padding:70px 0 30px;

}

.footer-grid{

grid-template-columns:1fr;

gap:35px;

}

.footer-grid>div:before{

display:none;

}

.footer-bottom{

flex-direction:column;

gap:15px;

text-align:center;

}

}

.footer-banner{

    position:relative;

    padding:120px 20px 100px;

    text-align:center;

    border-bottom:1px solid rgba(255,255,255,.08);

    margin-bottom:70px;

}

.footer-banner h2{

    margin:0;

    font-size:clamp(50px,9vw,110px);

    font-weight:900;

    letter-spacing:.08em;

    text-transform:uppercase;

    color:transparent;

    -webkit-text-stroke:2px rgba(255,255,255,.9);

    transition:.4s;

}

.footer-banner h2:hover{

    color:#2563eb;

    -webkit-text-stroke:2px #2563eb;

}
/* ==================================================
   Responsive
================================================== */

@media(max-width:991px){

    .footer-top{

        grid-template-columns:1fr;

        gap:3rem;

    }

    .footer-grid{

        grid-template-columns:repeat(2,1fr);

        gap:2rem;

    }

}

@media(max-width:640px){

    .footer{

        padding:4rem 0 2rem;

    }

    .footer-grid{

        grid-template-columns:1fr;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

        gap:.75rem;

    }

    .footer-badges{

        justify-content:center;

    }

}

/* ============================================================
   FORMS
   ============================================================ */
.form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text-2);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: .72rem .9rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  /* stronger than var(--border): fields must read as fields at a glance */
  border: 1px solid #d5dae8;
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--soft);
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: #aab4cd;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235b607f'><path d='M5.5 7.5L10 12l4.5-4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right .65rem center;
  background-size: 1.1em;
  padding-right: 2.2rem;
}

.help {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .4rem;
}

.field-error {
  color: #b91c1c;
  font-size: .78rem;
  margin-top: .35rem;
}

.flash {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid;
  font-size: .92rem;
  font-weight: 500;
}

.flash--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.flash--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.flash--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

/* ============================================================
   AUTH SCREENS
   ============================================================ */
.auth-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(700px 350px at 80% -10%, rgba(99, 102, 241, .10), transparent 60%),
    radial-gradient(500px 280px at 10% 30%, rgba(6, 182, 212, .08), transparent 60%),
    radial-gradient(600px 300px at 60% 100%, rgba(236, 72, 153, .05), transparent 60%);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}

.auth-foot {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .9rem;
}

.otp-input {
  letter-spacing: .5em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  padding: .85rem 1rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .9rem;
}

.table th,
.table td {
  padding: .9rem 1.1rem;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-2);
}

.table th {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .06em;
  background: var(--surface-2);
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background-color .12s ease;
}

.table tbody tr:hover td {
  background: #fafbfd;
}

.table a {
  font-weight: 550;
}

@media (max-width: 720px) {

  .table th,
  .table td {
    padding: .7rem .8rem;
  }
}

/* ============================================================
   PORTAL / ADMIN SHELL
   ============================================================ */
.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: var(--bg);
}

.shell-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.shell-body {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 980px) {
  .shell-body {
    grid-template-columns: 260px 1fr;
  }

  /* Pin the sidebar so it stays in view on long pages instead of scrolling
     away with the content. align-self:start stops the grid cell from
     stretching, which is what lets position:sticky take effect. */
  .sidebar {
    position: sticky;
    top: 64px;
    align-self: start;
    height: calc(100vh - 64px);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.shell-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: .25rem;
  border: 0;
  background: none;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shell-toggle:hover {
  background: var(--bg-2);
  color: var(--text);
}

.shell-backdrop {
  display: none;
}

.sidebar {
  background: linear-gradient(180deg, #181a30 0%, #0e0f1d 100%);
  border-right: 1px solid rgba(255, 255, 255, .06);
  padding: 1rem .75rem;
  min-height: calc(100vh - 64px);
  color: #c2c6e2;
}

/* On mobile the sidebar becomes an off-canvas drawer instead of a tall block
   that buries the dashboard below the fold. */
@media (max-width: 979px) {
  .shell-toggle {
    display: inline-flex;
  }

  .shell-topbar {
    padding: .65rem .9rem;
    gap: .4rem;
  }

  .shell-topbar .brand-logo {
    height: 30px;
  }

  .shell-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(10, 11, 20, .45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    /* When closed this layer is invisible but still on top; without this it
       would swallow every tap (bottom bar, content). Only capture clicks
       once the drawer is actually open. */
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .shell-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: min(82vw, 300px);
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    transition: transform .26s cubic-bezier(.32, .72, 0, 1);
    box-shadow: var(--shadow-lg);
    padding-top: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar a {
    min-height: 46px;
  }

  body.shell-nav-open {
    overflow: hidden;
  }
}

.sidebar h5 {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(194, 198, 226, .45);
  padding: 1rem .85rem .5rem;
  font-weight: 600;
  margin: 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .85rem;
  border-radius: 10px;
  color: #a7acce;
  font-weight: 500;
  font-size: .9rem;
  transition: background-color .14s ease, color .14s ease;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
}

.sidebar a.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, .26), rgba(99, 102, 241, .08));
  color: #ffffff;
  box-shadow: inset 2px 0 0 var(--brand-3);
}

.sidebar a .ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(167, 172, 206, .6);
  font-size: 1rem;
}

.sidebar a.active .ico,
.sidebar a:hover .ico {
  color: var(--brand-3);
}

.main {
  padding: 1.75rem 2rem;
  max-width: 1280px;
  /* Grid item must be allowed to shrink below its content width, otherwise a
     wide (nowrap) table forces the whole page to overflow horizontally instead
     of scrolling inside its own .table-wrap. */
  min-width: 0;
}

@media (max-width: 720px) {
  .main {
    padding: 1.25rem;
  }
}

/* Horizontal-scrolling chip/filter row — slides on mobile instead of wrapping. */
.chip-row {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: .15rem;
  margin-left: -.1rem;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip-row>* {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ---------- App-style bottom tab bar (mobile) ---------- */
.bottombar {
  display: none;
}

.bottombar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: .5rem .25rem;
  border: 0;
  background: none;
  border-radius: 14px;
  color: rgba(255, 255, 255, .72);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .005em;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s ease, background-color .15s ease, transform .12s ease;
}

.bottombar-item .ico {
  width: 24px;
  height: 24px;
  color: inherit;
  transition: transform .18s cubic-bezier(.32, .72, 0, 1);
}

.bottombar-item span {
  line-height: 1;
}

.bottombar-item:hover {
  color: #ffffff;
}

.bottombar-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

.bottombar-item.active .ico {
  color: #ffffff;
  transform: translateY(-1px) scale(1.08);
}

.bottombar-item:active {
  transform: scale(.93);
}

@media (max-width: 979px) {
  .bottombar {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
    gap: .15rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: linear-gradient(180deg, #181a30 0%, #0e0f1d 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: .4rem .4rem calc(.4rem + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -8px 28px -10px rgba(10, 11, 20, .45);
  }

  /* Keep page content clear of the fixed bar. */
  .main {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0));
  }
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.page-head h1 {
  font-size: 1.65rem;
  margin-bottom: .2rem;
  letter-spacing: -.02em;
}

.page-head .sub {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.kpi:hover {
  border-color: #dbeafe;
  box-shadow: var(--shadow);
}

.kpi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-3), var(--accent-2));
  opacity: .85;
}

.kpi-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.kpi-trend {
  font-size: .8rem;
  margin-top: .4rem;
  color: var(--muted);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.between {
  justify-content: space-between;
}

.gap-sm {
  gap: .5rem;
}

.gap {
  gap: 1rem;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: .5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: .5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2.5rem !important;
}

.text-sm {
  font-size: .85rem;
}

.text-right {
  text-align: right;
}

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface-2);
  transition: border-color .15s ease, background-color .15s ease;
}

.dropzone:hover,
.dropzone.is-hover {
  border-color: var(--brand);
  background: #eff6ff;
  color: var(--brand);
}

@media print {

  .nav,
  .footer,
  .sidebar,
  .shell-topbar,
  .bottombar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card {
    border-color: #ddd;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Billing toggle ---------- */
.billing-toggle {
  display: inline-flex;
  background: #02244e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .3rem;
  gap: .25rem;
}

.bt-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #ffff;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.bt-btn:hover {
  color: #000;
  background: var(--surface);
}

.bt-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-2);
  box-shadow: 0 2px 6px -2px rgba(79, 70, 229, .45);
}

.bt-btn.is-active:hover {
  color: #fff;
}

.save-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .15rem .4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  line-height: 1.5;
}

.bt-btn.is-active .save-badge {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #02244e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .2s ease, transform .15s ease;
}

.team-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ---------- Checkout layout ---------- */
.checkout-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 2rem auto;
}

@media (min-width: 860px) {
  .checkout-shell {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.order-summary {}

.checkout-form {}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-2);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* ---------- Developer hire grid (pricing page) ---------- */
.dev-hire-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .dev-hire-grid {
    grid-template-columns: 1fr;
  }
}

.dev-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color .18s ease, background .18s ease;
}

.dev-card:hover {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
}

/* ---------- 4-column steps (services page) ---------- */
@media (min-width: 900px) {
  .steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}




/*--------------------------about page ------------------------*/


.dashboard-showcase{
    display:grid;
    grid-template-columns:595px 1fr;
    gap:4rem;
    align-items:center;
}

.dashboard-content{
    display:flex;
    flex-direction:column;
    gap:1.5rem;
}

.feature-item{
    display:flex;
    align-items:center;
    gap:1.25rem;

    padding:1.5rem;

    background:#02244e;
    border:1px solid var(--border);
    border-radius:20px;

    transition:.3s ease;
}

.feature-item:hover{
    transform:translateX(6px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
    border-color:rgba(109,40,217,.15);
}

.feature-icon{
    width:68px;
    height:68px;
    min-width:68px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:linear-gradient(
        135deg,
        rgba(109,40,217,.08),
        rgba(109,40,217,.16)
    );
}

.feature-icon svg{
    width:30px;
    height:30px;
}

.feature-text{
    flex:1;
}

.feature-text strong{
    display:block;
    margin-bottom:.4rem;
    font-size:1.25rem;
    color:var(--text);
    line-height:1.3;
}

.feature-text p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

.dashboard-image-wrap{
    position:relative;
}

.dashboard-glow{
    position:absolute;
    inset:40px;

    background:linear-gradient(
        135deg,
        rgba(109,40,217,.25),
        rgba(59,130,246,.18)
    );

    filter:blur(80px);
    z-index:1;
    border-radius:40px;
}

.dashboard-image{
    position:relative;
    z-index:2;

    width:100%;
    display:block;

    border-radius:24px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.15);
}

@media(max-width:991px){

    .dashboard-showcase{
        grid-template-columns:1fr;
        gap:2rem;
    }

    .dashboard-content{
        order:2;
    }

    .dashboard-image-wrap{
        order:1;
    }

    .feature-item{
        padding:1.25rem;
    }

    .feature-icon{
        width:58px;
        height:58px;
        min-width:58px;
    }

    .feature-icon svg{
        width:26px;
        height:26px;
    }

    .feature-text strong{
        font-size:1.05rem;
    }

    .feature-text p{
        font-size:.95rem;
    }
}

.mission-section{
    border-bottom:1px solid var(--border);
}

.mission-grid{
    gap:2rem;
}

.mission-card{
    position:relative;
    padding:3rem;
    border-radius:24px;
    background:#02244e;
    border:1px solid var(--border);
    overflow:hidden;
    transition:.35s ease;
}

.mission-card:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 50px rgba(0,0,0,.08);
}

.mission-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(
        90deg,
        #6D28D9,
        #3B82F6
    );
}

.mission-card--vision::before{
    background:linear-gradient(
        90deg,
        #7C3AED,
        #A855F7
    );
}

.mission-icon{
    width:82px;
    height:82px;
    border-radius:24px;
    background:linear-gradient(
        135deg,
        rgba(109,40,217,.08),
        rgba(109,40,217,.16)
    );
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1.5rem;
    transition:.3s ease;
}

.mission-card:hover .mission-icon{
    transform:translateY(-2px);
}

.mission-icon svg{
    width:38px;
    height:38px;
}

.b-tag{
    display:inline-block;
    margin-bottom:1rem;
    text-transform:uppercase;
    font-size:.85rem;
    letter-spacing:.08em;
    font-weight:700;
    color:#5B5BF6;
}

.mission-card h3{
    font-size:2rem;
    line-height:1.2;
    margin-bottom:1rem;
}

.mission-card p{
    color:var(--muted);
    line-height:1.9;
    margin-bottom:1.75rem;
    font-size:1.05rem;
}

.mission-card ul{
    list-style:none;
    margin:0;
    padding:0;
}

.mission-card li{
    padding:.55rem 0;
    font-size:1.05rem;
    font-weight:500;
}

@media(max-width:768px){

    .mission-card{
        padding:2rem;
    }

    .mission-card h3{
        font-size:1.6rem;
    }

    .mission-icon{
        width:72px;
        height:72px;
    }

    .mission-icon svg{
        width:32px;
        height:32px;
    }
}


.why-layout{
    display:grid;
    grid-template-columns:460px 1fr;
    gap:5rem;
    align-items:center;
}

.why-content h2{
    font-size:clamp(2.4rem,4vw,3.5rem);
    line-height:1.05;
    margin:.75rem 0 1.25rem;
}

.why-description{
    font-size:1.1rem;
    line-height:1.8;
    max-width:540px;
}

.why-stats{
    display:flex;
    gap:1rem;
    margin-top:2.5rem;
}

.stat-box{
    flex:1;
    background:#02244e;
    border:1px solid var(--border);
    border-radius:16px;
    padding:1rem;
    text-align:center;
}

.stat-box strong{
    display:block;
    font-size:2rem;
    line-height:1;
    color:var(--brand);
    margin-bottom:.4rem;
}

.stat-box span{
    color:var(--muted);
    font-size:.85rem;
}

.why-features-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.25rem;
}

.why-box{
    background:#02244e;
    border:1px solid var(--border);
    border-radius:24px;
    padding:2rem;
    transition:all .3s ease;
}

.why-box:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
    border-color:rgba(109,40,217,.15);
}

.why-icon{
    width:72px;
    height:72px;
    border-radius:20px;
    background:linear-gradient(
        135deg,
        rgba(109,40,217,.08),
        rgba(109,40,217,.14)
    );
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1.25rem;
    transition:.3s ease;
}

.why-box:hover .why-icon{
    transform:translateY(-2px);
    background:linear-gradient(
        135deg,
        rgba(109,40,217,.12),
        rgba(109,40,217,.20)
    );
}

.why-icon svg{
    width:32px;
    height:32px;
}

.why-box h3{
    margin:0 0 .75rem;
    font-size:1.25rem;
    line-height:1.3;
}

.why-box p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
}


@media (max-width: 991px){

    .why-layout{
        grid-template-columns:1fr;
        gap:2rem;
        padding-top: 30px;
      padding-bottom: 30px;
    }

}

@media(max-width:768px){
    .why-features-grid{
        grid-template-columns:1fr;
    }

}


.contact-hero{

padding:100px 0;

/* same backdrop as .hero-dark so contact matches the other page heroes */
background:
    radial-gradient(circle at 15% 20%,rgba(37,99,235,.25),transparent 35%),
    radial-gradient(circle at 85% 5%,rgba(59,130,246,.18),transparent 40%),
    linear-gradient(180deg,#05070b,#0b1120);

min-height:100vh;

color:#fff;

}

.contact-grid{

display:grid;

grid-template-columns:1fr 520px;

gap:70px;

align-items:center;

}

.badge{

display:inline-block;

padding:10px 18px;

background:rgba(255,255,255,.08);

border-radius:50px;

margin-bottom:25px;

font-size:14px;

}

.contact-left h1{

font-size:68px;

line-height:1.1;

margin-bottom:25px;

font-weight:700;
color:#ffff;

}

.contact-left span{

font-style:italic;

font-weight:300;

}

.contact-left p{

color:#b5c0cf;

font-size:18px;

max-width:580px;

margin-bottom:45px;

}


.contact-left .left-bottomcont{
  margin-bottom:0px;
}
.contact-cards{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.info-card{

background:rgba(255,255,255,.04);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(18px);

padding:25px;

border-radius:18px;

display:flex;

gap:18px;

transition:.3s;

}

.info-card:hover{

transform:translateY(-8px);

border-color:#3b82f6;

}

.icon{

width:55px;

height:55px;

display:flex;

align-items:center;

justify-content:center;

border-radius:12px;

background:#1d4ed8;

font-size:24px;

}

.info-card h4{

margin-bottom:8px;
color:#ffff;

}

.info-card p{

margin:0;

font-size:14px;

color:#9ca8b8;

}

.trusted{

display:flex;

align-items:center;

gap:18px;

margin-top:45px;

}

.avatars{

display:flex;

}

.avatars img{

width:45px;

height:45px;

border-radius:50%;

border:3px solid #08111d;

margin-left:-10px;

}

.avatars img:first-child{

margin-left:0;

}

.glass-card{

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(25px);

padding:45px;

border-radius:25px;

}

.glass-card h2{

margin-bottom:10px;

font-size:34px;
color:#ffff;

}

.glass-card p{

margin-bottom:35px;

color:#b5c0cf;

}

.row{

display:grid;

grid-template-columns:1fr 1fr;

gap:20px;

}

/* Scoped to the contact form card: bare element selectors here previously
   leaked site-wide (e.g. stretched the login "Remember me" checkbox to
   width:100%, wrapping its label onto two lines). */
.glass-card label{

display:block;

margin-bottom:8px;

font-size:14px;

color:#cbd5e1;

}

.glass-card input,

.glass-card textarea,

.glass-card select{

width:100%;

padding:16px;

margin-bottom:22px;

background:#0f172a;

border:1px solid rgba(255,255,255,.08);

border-radius:12px;

color:#fff;

}

.glass-card button{

width:100%;

padding:18px;

background:#2563eb;

border:none;

border-radius:14px;

color:#fff;

font-size:16px;

cursor:pointer;

transition:.3s;

}

.glass-card button:hover{

background:#1d4ed8;

transform:translateY(-2px);

}

.icon{
    width:64px;
    height:64px;
    background:linear-gradient(135deg,#3b82f6,#2563eb);
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    color:#fff;
    transition:.3s ease;
}

.icon svg{
    width:28px;
    height:28px;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.info-card:hover .icon{
    transform:rotate(-8deg) scale(1.08);
    box-shadow:0 10px 30px rgba(37,99,235,.35);
}

.contact-link{
    color:#ffff;
    text-decoration:none;
    transition:.3s;
}

.contact-link:hover{
    color:#3b82f6;
}


@media(max-width:991px){

.contact-grid{

grid-template-columns:1fr;

}

.contact-left h1{

font-size:46px;
color:#ffff;

}

}

@media(max-width:768px){

.contact-cards{

grid-template-columns:1fr;

}

.row{

grid-template-columns:1fr;

}

}


.trusted{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:40px;
}

.trust-image{
    width:70px;
    height:70px;
    flex-shrink:0;
}

.trust-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}


/* Our Story */




.story-hero{

    padding:140px 0 120px;

    background: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, .25), transparent 35%), radial-gradient(circle at 85% 5%, rgba(59, 130, 246, .18), transparent 40%), linear-gradient(180deg, #05070b, #0b1120);

    text-align:center;

}

.story-hero h1{

    font-size:clamp(3rem,7vw,5.5rem);

    line-height:1.05;

    margin:25px 0;

}

.story-lead{

    max-width:760px;

    margin:auto;

    font-size:1.25rem;

    line-height:1.9;

    color:var(--muted);

}

.story-hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:45px;

}

.story-intro{

    padding:60px 0;

}

.story-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:80px;

    align-items:center;

}

.story-grid h2{

    font-size:3rem;

}

.story-grid p{

    color:var(--muted);

    line-height:2;

    margin-bottom:24px;

}

.chapter{

    padding:70px 0;

}

.chapter-grid{

    display:grid;

    grid-template-columns:1fr 520px;

    gap:80px;

    align-items:center;

}

.chapter-image{

    position:relative;

}

.chapter-image img{

    width:100%;

    border-radius:24px;

    box-shadow:0 40px 80px rgba(0,0,0,.12);

}

.chapter-badge{

    position:absolute;

    left:30px;

    top:30px;

    background:white;

    /* explicit: badge stays readable when the page runs the dark theme */
    color:#0f172a;

    padding:12px 20px;

    border-radius:50px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    font-weight:600;

}

.chapter-content h2{

    font-size:3rem;

    margin:20px 0;

}

.chapter-content p{

    color:var(--muted);

    line-height:2;

    margin-bottom:24px;

}

blockquote{

    border-left:4px solid var(--brand);

    padding-left:25px;

    margin-top:40px;

    font-size:1.35rem;

    font-style:italic;

}

@media(max-width:991px){

.story-grid,
.chapter-grid{

grid-template-columns:1fr;

gap:50px;

}

.story-hero{

padding:100px 0 80px;

}

.story-hero-buttons{

flex-direction:column;

}

.chapter-content h2,
.story-grid h2{

font-size:2.2rem;

}

}

.story-section{
    padding:60px 0;
}

.story-grid{
    display:grid;
    grid-template-columns:1fr 620px;
    gap:80px;
    align-items:center;
}

.story-image{
    position:relative;
}

.story-glow{
    position:absolute;
    inset:35px;
    background:linear-gradient(135deg,
    rgba(98,74,255,.25),
    rgba(160,120,255,.18));
    filter:blur(90px);
    border-radius:40px;
    z-index:1;
}

.story-image img{
    width:100%;
    position:relative;
    z-index:2;
    border-radius:26px;
    display:block;
    box-shadow:0 35px 70px rgba(0,0,0,.15);
}

.product-tag{
    position:absolute;
    top:22px;
    left:22px;
    z-index:3;
    background:#fff;
    padding:12px 26px;
    border-radius:40px;
    font-weight:700;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

@media(max-width:991px){

    .story-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .story-content{
        order:2;
    }

    .story-image{
        order:1;
    }

    .story-content h2{
        font-size:44px;
    }

    .story-content p{
        font-size:18px;
    }

    .story-content blockquote{
        font-size:20px;
    }
}


/*==================================
ADDON SERVICES
==================================*/

.addon-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:32px;
    margin-top:60px;
}

.addon-card{
    position:relative;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    padding:42px;

    border-radius:24px;

    background:linear-gradient(135deg,#0f172a,#111f36);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.addon-card::before{
    content:"";
    position:absolute;
    inset:1px;
    border-radius:23px;
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        transparent 45%
    );
}

.addon-card::after{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    right:-120px;
    top:-120px;
    border-radius:50%;
    background:rgba(91,92,255,.12);
    filter:blur(35px);
}

.addon-card:hover{
    transform:translateY(-8px);
    border-color:#5b5cff;
    box-shadow:
        0 25px 60px rgba(91,92,255,.15),
        0 10px 30px rgba(0,0,0,.35);
}

/* Badge */

.addon-badge{

    position:absolute;

    top:24px;
    right:24px;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(91,92,255,.12);

    border:1px solid rgba(91,92,255,.25);

    color:#60a5fa;

    text-transform:uppercase;

    font-size:12px;

    font-weight:700;

    letter-spacing:.08em;

    z-index:5;
}

/* Icon */

.addon-icon{

    width:70px;
    height:70px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:28px;

    border-radius:20px;

    background:linear-gradient(135deg,#5b5cff,#3b82f6);

    box-shadow:0 15px 35px rgba(91,92,255,.35);

    position:relative;
    z-index:2;
}

.addon-icon svg{

    width:28px;
    height:28px;
}

/* Heading */

.addon-card h3{

    color:#fff;

    font-size:28px;

    margin-bottom:14px;

    line-height:1.2;

    position:relative;
    z-index:2;
}

/* Price */

.addon-price{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:16px;

    margin-bottom:22px;

    font-size:30px;

    font-weight:800;

    color:#fff;

    line-height:1;

    position:relative;
    z-index:2;
}

.addon-price-tag{

    font-size:1.5rem;

    font-weight:600;

    color:#60a5fa;

    background:rgba(91,92,255,.12);

    border:1px solid rgba(91,92,255,.25);

    padding:8px 18px;

    border-radius:999px;

    line-height:1;
}

/* Description */

.addon-card p{

    color:#cbd5e1;

    line-height:1.8;

    margin-bottom:30px;

    position:relative;
    z-index:2;
}

/* List */

.addon-list{

    list-style:none;

    padding:0;

    margin:0 0 35px;

    display:grid;

    gap:14px;

    position:relative;
    z-index:2;
}

.addon-list li{

    display:flex;

    align-items:center;

    gap:12px;

    color:#e2e8f0;
}

.addon-list li::before{

    content:"✓";

    width:26px;
    height:26px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(91,92,255,.15);

    color:#60a5fa;

    font-size:14px;

    font-weight:700;

    flex-shrink:0;
}

/* Button */

.addon-card .btn{

    width:100%;

    justify-content:center;

    margin-top:auto;
}

/* Tablet */

@media(max-width:991px){

    .addon-grid{

        grid-template-columns:1fr;
    }

}

/* Mobile */

@media(max-width:576px){

    .addon-card{

        padding:28px;
    }

    .addon-icon{

        width:60px;
        height:60px;
    }

    .addon-card h3{

        font-size:30px;
    }

    .addon-price{

        font-size:44px;
    }

    .addon-price-tag{

        font-size:1rem;
        padding:7px 14px;
    }

}



/*=====================================================
  ENGAGEMENT TIMELINE
======================================================*/

.engagement-section{
    position:relative;
    padding:clamp(4rem, 8vw, 6.875rem) 0;
    overflow:hidden;
}

.engagement-section::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    left:-180px;
    top:-180px;
    background:rgba(91,92,255,.08);
    filter:blur(120px);
}

.engagement-section::after{
    content:"";
    position:absolute;
    width:380px;
    height:380px;
    right:-150px;
    bottom:-150px;
    background:rgba(6,182,212,.08);
    filter:blur(120px);
}

.engagement-section .container{
    position:relative;
    z-index:2;
}

/*========================
TIMELINE
========================*/

.vertical-timeline{

    position:relative;

    max-width:1100px;

    margin:80px auto;

    padding:40px 0;

}

/* Center Line */

.vertical-timeline::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    bottom:0;

    width:4px;

    transform:translateX(-50%);

    background:linear-gradient(
        to bottom,
        #5b5cff,
        #3b82f6
    );

    border-radius:10px;

}



.timeline-end{

    margin-top:20px;

}

/*========================
ROW
========================*/

.timeline-row{

    position:relative;

    width:50%;

    padding:30px 55px;

    box-sizing:border-box;

}

.timeline-row.left{

    left:0;

}

.timeline-row.right{

    left:50%;

}

/* Timeline Dot */

.timeline-row::before{

    content:"";

    position:absolute;

    top:52px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#5b5cff;

    border:4px solid #0b1220;

    box-shadow:0 0 0 8px rgba(91,92,255,.12);

    z-index:10;

}

.timeline-row.left::before{

    right:-11px;

}

.timeline-row.right::before{

    left:-11px;

}

/*========================
CONNECTOR
========================*/

.timeline-row.left::after{

    content:"";

    position:absolute;

    right:8px;

    top:60px;

    width:42px;

    height:2px;

    background:#5b5cff;

}

.timeline-row.right::after{

    content:"";

    position:absolute;

    left:8px;

    top:60px;

    width:42px;

    height:2px;

    background:#5b5cff;

}

/*========================
CARD
========================*/

.timeline-content{

    position:relative;

    overflow:hidden;

    padding:34px;

    border-radius:22px;

    background:linear-gradient(
        135deg,
        #0f172a,
        #111f36
    );

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.timeline-content::before{

    content:"";

    position:absolute;

    inset:1px;

    border-radius:21px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            transparent 45%
        );

    pointer-events:none;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:#5b5cff;

    box-shadow:
        0 20px 50px rgba(91,92,255,.18),
        0 10px 25px rgba(0,0,0,.35);

}

/*========================
STEP BADGE
========================*/

.timeline-step{

    display:inline-flex;

    padding:7px 15px;

    margin-bottom:18px;

    border-radius:999px;

    background:rgba(91,92,255,.12);

    border:1px solid rgba(91,92,255,.25);

    color:#60a5fa;

    font-size:12px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

/*========================
TYPOGRAPHY
========================*/

.timeline-content h3{

    color:#fff;

    margin-bottom:16px;

    font-size:28px;

    line-height:1.3;

}

.timeline-content p{

    color:#cbd5e1;

    line-height:1.8;

    font-size:16px;

    margin:0;

}

/*========================
MOBILE
========================*/

@media(max-width:991px){

.vertical-timeline{

padding-left:25px;

}

.vertical-timeline::before{

left:25px;

transform:none;

}

.timeline-row{

width:100%;

left:0!important;

padding:0 0 35px 70px;

}

.timeline-row::before{

left:16px!important;

right:auto;

top:42px;

}

.timeline-row.left::after,
.timeline-row.right::after{

left:24px;

width:35px;

top:50px;

}

.timeline-content{

padding:28px;

}

.timeline-content h3{

font-size:24px;

}

}

@media(max-width:576px){

.engagement-section{

padding:70px 0;

}

.timeline-content{

padding:24px;

}

.timeline-content h3{

font-size:22px;

}

.timeline-content p{

font-size:15px;

}

.timeline-step{

font-size:11px;

padding:6px 12px;

}


.timeline-row::before{

width:16px;

height:16px;

}

}



/*==================================================
  BENTO SERVICES SECTION
==================================================*/

.services-bento{
    position:relative;
    padding:120px 0;
    overflow:hidden;
}

.services-bento::before{
    content:"";
    position:absolute;
    top:-220px;
    left:-180px;
    width:450px;
    height:450px;
    background:rgba(91,92,255,.08);
    filter:blur(120px);
    pointer-events:none;
}

.services-bento::after{
    content:"";
    position:absolute;
    right:-180px;
    bottom:-180px;
    width:420px;
    height:420px;
    background:rgba(6,182,212,.08);
    filter:blur(120px);
    pointer-events:none;
}

.services-bento .container{
    position:relative;
    z-index:2;
}

/*=========================
Section Heading
=========================*/

.section-subtitle{
    max-width:720px;
    margin:18px auto 0;
    color:#94a3b8;
    font-size:18px;
    line-height:1.8;
}

/*=========================
Bento Grid
=========================*/

.bento-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    grid-auto-rows:260px;

    gap:24px;

    margin-top:70px;

}

/* Large Card */

.bento-large{

    grid-column:span 2;

    grid-row:span 2;

}

/* Wide Card */

.bento-wide{

    grid-column:span 2;

}

/*=========================
Card
=========================*/

.bento-card{

    position:relative;

    overflow:hidden;

    display:flex;

    flex-direction:column;

    padding:25px;

    border-radius:24px;

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #111f36
    );

    border:1px solid
    rgba(255,255,255,.08);

    transition:.35s ease;

}

/* Glass Highlight */

.bento-card::before{

    content:"";

    position:absolute;

    inset:1px;

    border-radius:23px;

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        transparent 45%
    );

    pointer-events:none;

}

/* Decorative Glow */

.bento-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    right:-120px;

    top:-120px;

    border-radius:50%;

    background:
    rgba(91,92,255,.12);

    filter:blur(40px);

}

/*=========================
Icon
=========================*/

.icon-box{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:18px;

    border-radius:18px;

    background:
    linear-gradient(
        135deg,
        #5b5cff,
        #3b82f6
    );

    box-shadow:
    0 15px 35px
    rgba(91,92,255,.35);

    flex-shrink:0;

}

.feature-svg{

    width:30px;

    height:30px;

    color:#fff;

}

/*=========================
Feature Tag
=========================*/

.feature-tag{

    display:inline-flex;

    align-self:flex-start;

    padding:7px 14px;

    margin-bottom:18px;

    border-radius:999px;

    background:
    rgba(91,92,255,.12);

    border:1px solid
    rgba(91,92,255,.22);

    color:#60a5fa;

    font-size:12px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

/*=========================
Titles
=========================*/

.bento-card h2{

    color:#fff;

    font-size:38px;

    line-height:1.2;

    margin-bottom:18px;

}

.bento-card h3{

    color:#fff;

    font-size:28px;

    line-height:1.3;

    margin-bottom:14px;

}

/*=========================
Paragraph
=========================*/

.bento-card p{

    color:#cbd5e1;

    font-size:16px;

    line-height:1.7;

    margin:0;

}

/*=========================
Links
=========================*/

.service-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:auto;

    padding-top:26px;

    color:#60a5fa;

    font-weight:600;

    text-decoration:none;

}

.service-link span{

    transition:.3s;

}


/*=========================================
BENTO CARD HOVER
=========================================*/

.bento-card:hover{
    transform:translateY(-10px);
    border-color:#5b5cff;
    box-shadow:
        0 25px 60px rgba(91,92,255,.18),
        0 12px 35px rgba(0,0,0,.35);
}

.bento-card:hover::after{
    transform:scale(1.2);
    transition:.4s ease;
}

.bento-card:hover .icon-box{
    transform:rotate(-8deg) scale(1.08);
    box-shadow:
        0 20px 45px rgba(91,92,255,.45);
}

.bento-card:hover .feature-svg{
    transform:scale(1.12);
}

.bento-card:hover .service-link{
    color:#fff;
}

.bento-card:hover .service-link span{
    transform:translateX(6px);
}

/*=========================================
CTA CARD
=========================================*/

.bento-wide{

    justify-content:center;
    display: none;
}

.bento-wide h2{

    font-size:42px;

    max-width:520px;

    margin-bottom:20px;

}

.bento-wide p{

    max-width:520px;

    margin-bottom:35px;

}

.bento-actions{

    display:flex;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}

/*=========================================
ICON ANIMATION
=========================================*/

.icon-box,
.feature-svg,
.service-link,
.service-link span{

    transition:.35s ease;

}

/*=========================================
DECORATIVE GRADIENT
=========================================*/

.bento-card .gradient-circle{

    position:absolute;

    width:220px;

    height:220px;

    right:-110px;

    bottom:-110px;

    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(91,92,255,.18),
        transparent 70%
    );

    pointer-events:none;

}

/*=========================================
SMALL FEATURE CARDS
=========================================*/

.bento-card:not(.bento-large):not(.bento-wide){

    justify-content:flex-start;

}

.bento-card:not(.bento-large):not(.bento-wide) h3{

    font-size:24px;

}

.bento-card:not(.bento-large):not(.bento-wide) p{

    font-size:15px;

}

/*=========================================
LARGE FEATURE CARD
=========================================*/

.bento-large{

    justify-content:center;

}

.bento-large h3{

    font-size:30px;

    margin-bottom:20px;

}

.bento-large p{

    font-size:17px;

    max-width:520px;

}

/*=========================================
TABLET
=========================================*/

@media(max-width:1200px){

.bento-grid{

grid-template-columns:repeat(2,1fr);

grid-auto-rows:auto;

}

.bento-large,
.bento-wide{

grid-column:span 2;

grid-row:auto;

}

}

@media(max-width:991px){

.bento-grid{

gap:22px;

}

.bento-card{

padding:28px;

}

.bento-large h3{

font-size:24px;

}

.bento-wide h2{

font-size:36px;

}

.bento-card h3{

font-size:24px;

}

.icon-box{

width:45px;
height:45px;

}

.feature-svg{

width:28px;
height:28px;

}

}

/*=========================================
MOBILE
=========================================*/

@media(max-width:767px){

.bento-grid{

grid-template-columns:1fr;

}

.bento-large,
.bento-wide{

grid-column:span 1;

}

.bento-card{

padding:24px;

border-radius:20px;

}

.bento-large h3{

font-size:20px;

}

.bento-wide h2{

font-size:30px;

}

.bento-card h3{

font-size:22px;

}

.bento-card p{

font-size:15px;

}

.icon-box{

width:48px;

height:48px;

border-radius:16px;

margin-bottom:20px;

}

.feature-svg{

width:24px;

height:24px;

}

.feature-tag{

font-size:11px;

padding:6px 12px;

}

.bento-actions{

flex-direction:column;

width:100%;

}

.bento-actions .btn{

width:100%;

justify-content:center;

}

}

/*=========================================
OPTIONAL FLOATING ANIMATION
=========================================*/

@keyframes floatCard{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-6px);
}

100%{
transform:translateY(0px);
}

}

.bento-large .icon-box{

animation:floatCard 5s ease-in-out infinite;

}
/* ============================================================
   AUTH SCREENS — PREMIUM DARK
   Matches the landing-premium black+blue marketing theme so the
   login/register flow feels like the same product as the site.
   (landing-premium.css does NOT load on auth pages; these styles
   are self-contained and scoped under .auth-shell / .auth-card.)
   ============================================================ */
.auth-shell {
  background: linear-gradient(135deg, #0f172a, #111f36);
}

.auth-card {
  background: #101827;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(59, 130, 246, .06);
  color: #cbd5e1;
}

.auth-card h1 { color: #fff; }
.auth-card .muted,
.auth-card .help { color: #94a3b8; }
.auth-card .label { color: #e2e8f0; }

.auth-card .input,
.auth-card .textarea,
.auth-card .select {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: none;
}

.auth-card .input::placeholder,
.auth-card .textarea::placeholder { color: #64748b; }

.auth-card .input:hover,
.auth-card .textarea:hover,
.auth-card .select:hover { border-color: rgba(255, 255, 255, .3); }

.auth-card .input:focus,
.auth-card .textarea:focus,
.auth-card .select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .22);
}

/* Chrome/Safari autofill paints a light background — keep the dark field */
.auth-card .input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #131c2e inset;
  -webkit-text-fill-color: #fff;
}

.auth-card a { color: #60a5fa; }
.auth-card a:hover { color: #93c5fd; }

.auth-card input[type="checkbox"] { accent-color: #2563eb; }

.auth-card .btn--primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: transparent;
}
.auth-card .btn--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .55);
}

.auth-card .field-error { color: #fca5a5; }

.auth-foot { color: #94a3b8; }
.auth-foot a { color: #60a5fa; }

.auth-card .otp-input {
  background: rgba(255, 255, 255, .05);
  color: #fff;
  letter-spacing: .5em;
}

/* ============================================================
   LEGAL PAGES — long-form readable typography
   (privacy-policy + terms-of-service card content)
   ============================================================ */
.legal-card {
  font-size: .95rem;
  line-height: 1.7;
}

.legal-card h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 .9rem;
}

.legal-card h4 {
  font-size: 1.02rem;
  margin: 1.5rem 0 .6rem;
}

.legal-card p {
  margin: 0 0 1rem;
}

.legal-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  display: grid;
  gap: .4rem;
}

.legal-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* legal pages always render on the dark premium theme */
.legal-card a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   BUTTON ACTIVE (PRESSED) BACKGROUNDS
   Complements the hover colors: every variant gets a clearly
   deeper shade while pressed, on top of the global
   translateY(0) scale(.98) press effect.
   ============================================================ */
.btn--primary:active {
  color: #fff;
  background: linear-gradient(180deg, #4338ca 0%, #3730a3 100%);
}

.btn--ghost:active {
  background: rgba(79, 70, 229, .14);
  border-color: var(--brand-2);
  color: var(--brand-2);
}

.btn--outline:active {
  background: var(--brand-2);
  color: #fff;
}

.btn--danger:active {
  color: #fff;
  background: #b91c1c;
}

.btn--dark:active {
  background: #000;
}

.hero-dark .btn--ghost:active {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.cta-band .btn--primary:active {
  background: #d5dcf7;
  color: var(--brand-2);
}

.cta-band .btn--ghost:active {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.auth-card .btn--primary:active {
  color: #fff;
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

/* Contact form's bare submit button */
.glass-card button:active {
  background: #1e40af;
}

/* Contact form validation messages: readable red on the dark glass card,
   tucked under the field (fields carry 22px bottom margin) so the two-column
   grid stays aligned instead of being pushed apart. */
.glass-card .field-error {
  color: #fca5a5;
}

.glass-card .js-error {
  margin: -14px 0 16px;
  font-size: .82rem;
}

/* ============================================================
   MOBILE DRAWER — DARK THEME
   Matches the premium dark chrome; overrides the light drawer
   base rules above (later cascade wins at equal specificity).
   ============================================================ */
.drawer {
  background: #080c16;
  border-left-color: rgba(255, 255, 255, .08);
  color: #e2e8f0;
}

.drawer-head {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.drawer-close {
  color: #e2e8f0;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
}

.drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.drawer-links {
  padding: 1rem;
  display: grid;
  gap: .3rem;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #cbd5e1;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

.drawer-links a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.drawer-links a:hover {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

.drawer-links a.active {
  background: rgba(37, 99, 235, .16);
  border-color: rgba(59, 130, 246, .3);
  color: #8ec5ff;
}

.drawer-promo {
  margin: auto 1rem 0;
  background: #0d1424;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 1.25rem;
}

.drawer-promo-head {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .35rem;
}

.drawer-promo-head svg {
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: .1rem;
}

.drawer-promo strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
}

.drawer-promo p {
  color: #94a3b8;
  font-size: .85rem;
  margin: .25rem 0 1rem;
}

.drawer-promo .btn--primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 12px;
}

.drawer-login {
  display: block;
  text-align: center;
  margin-top: .8rem;
  color: #94a3b8;
  font-size: .88rem;
}

.drawer-login:hover {
  color: #fff;
}

.drawer-social {
  display: flex;
  gap: .75rem;
  justify-content: center;
  padding: 1rem 1rem 1.5rem;
}

.drawer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.drawer-social a:hover {
  background: rgba(59, 130, 246, .22);
  color: #fff;
}

.drawer-social svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------- */
/* Navigation progress bar                                          */
/*                                                                  */
/* Covers the dead time between clicking an internal link and the   */
/* next document painting. Driven by assets/js/nav-loader.js, which */
/* only adds a class — the motion is pure CSS so it keeps running   */
/* while the browser is busy waiting on the server response.        */
/* A JS-timer-driven bar would stall during that wait.              */
/* ---------------------------------------------------------------- */
.nav-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2147483647;
  /* Above the drawer, which navigates while open. */
  background: linear-gradient(90deg, var(--brand, #4f46e5), #8b83f5);
  transform: scaleX(0);
  transform-origin: 0 50%;
  /* transform/opacity only — compositor-driven, no layout or paint. */
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

/* Ease-out curve: sprints to ~30% instantly so the click feels answered,
   then crawls toward 90%. It never reaches 100% on its own — only the real
   page load completes it, so the bar can't lie about being finished. */
.nav-progress.is-active {
  opacity: 1;
  animation: nav-progress-grow 12s cubic-bezier(.06, .82, .16, 1) forwards;
}

/* Snap to full, then fade. Overrides the growth animation on completion. */
.nav-progress.is-done {
  animation: none;
  transform: scaleX(1);
  opacity: 0;
  transition: transform .16s ease-out, opacity .28s ease .1s;
}

@keyframes nav-progress-grow {
  0% { transform: scaleX(0); }
  12% { transform: scaleX(.3); }
  60% { transform: scaleX(.72); }
  100% { transform: scaleX(.9); }
}

/* Reduced motion: keep the bar (it is information, not decoration) but drop
   the crawl — show a static, honest indeterminate strip instead. */
@media (prefers-reduced-motion: reduce) {
  .nav-progress.is-active {
    animation: none;
    transform: scaleX(1);
  }

  .nav-progress.is-done {
    transition: opacity .2s ease;
  }
}
