/* =====================================================================
   MIZQARA - main.css  (single stylesheet for every page)

   1. Base & header ............ (was style.css)
   2. Home page sections ....... (was hero.css)
   3. Shared sections .......... (was sections.css)
   4. Footer ................... (was footer.css)
   5. Inner pages .............. (was page.css)
   6. Login / register ......... (was auth.css)  - scoped to <body class="auth-page">
   7. Customer dashboard ....... (was dashboard.css) - scoped to <body class="dash-page">
   ===================================================================== */

/* #####################################################################
   1. BASE & HEADER
   ##################################################################### */

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

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #161616;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.masthead__inner {
  max-width: 1584px;
  height: 48px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.masthead__logo {
  display: flex;
  align-items: center;
  height: 48px;
  flex-shrink: 0;
}

.masthead__logo img {
  display: block;
  height: 30px;
  width: auto;
}

.masthead__divider {
  width: 1px;
  height: 28px;
  background: #e0e0e0;
  margin: 0 30px 0 40px;
}

/* ---------- Nav ---------- */
.masthead__nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.masthead__nav li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  color: #393939;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.has-dropdown.open > .nav-link {
  color: #161616;
  background: #f4f4f4;
}

.has-dropdown.open > .nav-link {
  border-bottom-color: #0a6ce8;
}

.chevron {
  transition: transform 0.2s;
}

.has-dropdown.open .chevron {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e5e8ef;
}

.has-dropdown.open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #393939;
  text-decoration: none;
}

.dropdown a:hover {
  background: #f4f4f4;
  color: #161616;
}

/* ---------- Right icons ---------- */
.masthead__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #0b2357;
}

.icon-btn:hover {
  background: #f4f4f4;
}

.login-link {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #0b2357;
  text-decoration: none;
}

.login-link:hover {
  color: #0a6ce8;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  margin-left: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #0a6ce8;
  border-radius: 4px;
  transition: background 0.15s;
}

.cta-btn:hover {
  background: #0b2357;
}

.cta-btn:focus-visible {
  outline: 2px solid #0b2357;
  outline-offset: 2px;
}

.nav-link:focus-visible,
.icon-btn:focus-visible,
.masthead__menu-btn:focus-visible {
  outline: 2px solid #0a6ce8;
  outline-offset: -2px;
}

/* ---------- Hamburger (mobile) ---------- */
.masthead__menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-right: 8px;
}

@media (max-width: 1400px) {
  .masthead__inner {
    padding: 0 32px;
  }
}

@media (max-width: 1056px) {
  .masthead__inner {
    padding: 0 0 0 0;
  }
  .masthead__menu-btn {
    display: grid;
  }
  .masthead__divider {
    display: none;
  }
  .masthead__nav {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .masthead.menu-open .masthead__nav {
    display: block;
  }
  .masthead__nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0 16px;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    background: #f4f4f4;
  }
  .cta-btn {
    height: 32px;
    padding: 0 12px;
    margin-right: 12px;
    font-size: 13px;
  }
  /* long menus scroll inside the panel instead of running off-screen */
  .masthead.menu-open .masthead__nav {
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .dropdown {
    min-width: 0;
    border: 0;
  }
  .dropdown a {
    padding-left: 28px;
  }
}

/* phones: keep logo + search + login + quote on one line without overflow */
@media (max-width: 560px) {
  .masthead__menu-btn {
    margin-right: 0;
  }
  .masthead__logo img {
    height: 26px;
  }
  .masthead__actions {
    gap: 0;
    min-width: 0;
  }
  .icon-btn {
    width: 40px;
  }
  .login-link {
    padding: 0 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  .cta-btn {
    margin-left: 4px;
    margin-right: 8px;
    white-space: nowrap;
  }
  .cta-btn svg {
    display: none;
  }
}

@media (max-width: 360px) {
  .masthead__actions .icon-btn {
    display: none;
  }
  .masthead__logo img {
    height: 24px;
  }
}

/* #####################################################################
   2. HOME PAGE SECTIONS
   ##################################################################### */

/* ================= HERO ================= */
:root {
  --navy: #0b2357;
  --blue: #0a6ce8;
  --blue-dark: #0750b3;
  --ink: #161616;
  --heading: #1f2a3d;
  --muted: #555e6e;
  --line: #e5e8ef;
  --soft: #f6f7fa;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(10, 108, 232, 0.04), transparent 70%),
    #fbfcfe;
}

/* ---- soft capsule shapes ---- */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(10, 108, 232, 0.07) 0%,
    rgba(11, 35, 87, 0.09) 45%,
    rgba(255, 255, 255, 0.6) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 30px 60px -20px rgba(11, 35, 87, 0.12),
    inset 0 2px 6px rgba(255, 255, 255, 0.9);
  filter: blur(0.3px);
}

.shape--1 {
  width: 620px;
  height: 150px;
  top: 16%;
  left: -120px;
  transform: rotate(15deg);
}

.shape--2 {
  width: 300px;
  height: 90px;
  bottom: 9%;
  left: 10%;
  transform: rotate(-9deg);
  opacity: 0.8;
}

.shape--3 {
  width: 520px;
  height: 140px;
  bottom: 8%;
  right: -40px;
  transform: rotate(-16deg);
}

/* ---- content ---- */
.hero__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 14px;
  color: #3a4252;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__title {
  margin: 44px 0 36px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--heading);
}

.hero__title-line {
  display: block;
  background: linear-gradient(90deg, var(--heading) 0%, var(--navy) 30%, var(--blue) 60%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- buttons ---- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.hero .btn {
  height: 62px;
  padding: 0 32px;
  font-size: 18px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  box-shadow: 0 8px 20px -8px rgba(10, 108, 232, 0.55);
}

.btn--primary:hover {
  background: var(--navy);
}

.btn--outline,
.btn--ghost {
  color: var(--heading);
  background: #fff;
  border-color: var(--line);
}

.btn--outline:hover,
.btn--ghost:hover {
  border-color: #b9c2d3;
}

.btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* ================= TRUSTED WORLDWIDE ================= */
.trusted {
  padding: 72px 24px 96px;
  background: #fff;
}

.trusted__inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.trusted__title {
  margin: 0 0 12px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #5aa2f5 0%, var(--blue) 40%, var(--blue-dark) 60%, #5aa2f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trusted__sub {
  margin: 0;
  font-size: 19px;
  color: #8a93a6;
}

.trusted__line {
  display: block;
  width: 96px;
  height: 3px;
  margin: 26px auto 64px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.trusted__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s;
}

.tstat:hover {
  border-color: rgba(10, 108, 232, 0.35);
}

.tstat__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 12px;
}

.tstat__num {
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(38px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #5aa2f5, var(--blue) 50%, #5aa2f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tstat__label {
  margin-top: 8px;
  font-size: 16px;
  color: #8a93a6;
}

/* ================= CORE OFFERINGS ================= */
.offerings {
  padding: 104px 24px 112px;
  background: linear-gradient(180deg, #f3f7fe 0%, #fbfcff 45%, #f3f7fe 100%);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  text-align: left;
}

.offer {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s;
}

.offer:hover {
  border-color: rgba(10, 108, 232, 0.35);
}

.offer__flag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 3px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 4px;
}

.offer__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 12px;
}

.offer h3 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 700;
  color: var(--heading);
}

.offer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

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

@media (max-width: 560px) {
  .offerings {
    padding: 64px 16px 72px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .offer {
    padding: 24px;
  }
}

/* ================= PERFORMANCE METRICS ================= */
.metrics {
  position: relative;
  overflow: hidden;
  padding: 112px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.metrics__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* particles behind every section: keep content above the canvas */
main > section {
  position: relative;
  overflow: hidden;
}

main > section > *:not(canvas):not(.hero__shapes) {
  position: relative;
  z-index: 1;
}

.metrics__inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.metrics__title {
  margin: 0 0 24px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.metrics__title span {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metrics__text {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: #3a4252;
}

.metrics__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.metrics__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16.5px;
  color: #3a4252;
}

.metrics__list svg {
  flex-shrink: 0;
  color: var(--blue);
}

/* KPI card */
.kpi {
  padding: 36px 32px 40px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.kpi h3 {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
}

.kpi__item + .kpi__item {
  margin-top: 24px;
}

.kpi__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14.5px;
}

.kpi__row span {
  color: #8a93a6;
}

.kpi__row strong {
  font-weight: 700;
  color: var(--blue);
}

.kpi__bar {
  height: 12px;
  background: var(--heading);
  border-radius: 999px;
  overflow: hidden;
}

.kpi__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue) 60%, #5aa2f5);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.kpi.is-visible .kpi__bar span {
  width: var(--w);
}

.kpi__item:nth-child(3) .kpi__bar span { transition-delay: 0.1s; }
.kpi__item:nth-child(4) .kpi__bar span { transition-delay: 0.2s; }
.kpi__item:nth-child(5) .kpi__bar span { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .kpi__bar span {
    width: var(--w);
    transition: none;
  }
}

@media (max-width: 900px) {
  .metrics {
    padding: 80px 24px;
  }
  .metrics__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .metrics {
    padding: 64px 16px;
  }
  .metrics__text {
    font-size: 16px;
  }
  .kpi {
    padding: 28px 20px;
  }
}

/* ================= OUR PROCESS (timeline) ================= */
.steps {
  padding: 104px 24px 112px;
  background: linear-gradient(180deg, #f3f7fe 0%, #fbfcff 50%, #f3f7fe 100%);
}

.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

/* center line */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--blue) 0%, rgba(10, 108, 232, 0.35) 70%, rgba(10, 108, 232, 0) 100%);
}

.tl-item {
  position: relative;
  width: 50%;
}

.tl-item--left {
  padding-right: 64px;
}

.tl-item--right {
  margin-left: 50%;
  padding-left: 64px;
}

/* dot on the line */
.tl-item::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--heading);
  box-shadow: 0 0 0 4px rgba(10, 108, 232, 0.15);
  transform: translateY(-50%);
}

.tl-item--left::after {
  right: -7px;
}

.tl-item--right::after {
  left: -7px;
}

.tl-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.tl-card:hover {
  border-color: rgba(10, 108, 232, 0.35);
}

.tl-item--left .tl-card {
  align-items: flex-end;
  text-align: right;
}

.tl-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 10px;
}

.tl-card__step {
  margin-bottom: 10px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 4px;
}

.tl-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
}

.tl-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* timeline on small screens: line on the left, all cards on the right */
@media (max-width: 760px) {
  .steps {
    padding: 72px 16px 80px;
  }
  .timeline::before {
    left: 7px;
    transform: none;
  }
  .tl-item,
  .tl-item--right {
    width: 100%;
    margin-left: 0;
    padding: 0 0 0 36px;
  }
  .tl-item + .tl-item {
    margin-top: 20px;
  }
  .tl-item::after,
  .tl-item--left::after,
  .tl-item--right::after {
    left: 0;
    right: auto;
  }
  .tl-item--left .tl-card {
    align-items: flex-start;
    text-align: left;
  }
  .tl-card {
    padding: 22px;
  }
}

/* ================= WHY MIZQARA ================= */
.why-us {
  padding: 104px 24px 112px;
  background: #fbfcfe;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.why-card {
  padding: 26px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.why-card:hover {
  border-color: rgba(10, 108, 232, 0.35);
}

.why-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.why-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 8px;
}

.why-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}

.why-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

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

@media (max-width: 600px) {
  .why-us {
    padding: 64px 16px 72px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ================= SYSTEM RELIABILITY ================= */
.reliability {
  padding: 104px 24px 112px;
  background: #fff;
}

.rings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.ring {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ring__chart {
  position: relative;
  width: 148px;
  height: 148px;
}

.ring__chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring__track,
.ring__fill {
  fill: none;
  stroke-width: 9;
}

.ring__track {
  stroke: #e8f1fe;
}

.ring__fill {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rings.is-visible .ring__fill {
  stroke-dashoffset: calc(100 - var(--val));
}

.ring:nth-child(2) .ring__fill { transition-delay: 0.12s; }
.ring:nth-child(3) .ring__fill { transition-delay: 0.24s; }
.ring:nth-child(4) .ring__fill { transition-delay: 0.36s; }

.ring__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.ring__label {
  margin-top: 16px;
  font-size: 15.5px;
  color: #8a93a6;
}

@media (prefers-reduced-motion: reduce) {
  .ring__fill {
    stroke-dashoffset: calc(100 - var(--val));
    transition: none;
  }
}

@media (max-width: 800px) {
  .rings {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 600px) {
  .reliability {
    padding: 64px 16px 72px;
  }
  .ring__chart {
    width: 124px;
    height: 124px;
  }
  .ring__value {
    font-size: 24px;
  }
  .ring__label {
    font-size: 14px;
  }
}

/* ================= CTA ================= */
.cta {
  position: relative;
  overflow: hidden;
  padding: 112px 24px;
  background: #fbfcfe;
}

.cta__card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 30%, rgba(10, 108, 232, 0.1), rgba(10, 108, 232, 0) 70%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cta__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: var(--blue);
  background: #d6e6fd;
  border-radius: 50%;
}

.cta__title {
  margin: 0 0 18px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.cta__title span {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue) 50%, #6fb0f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta__text {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta__actions .btn {
  min-width: 170px;
}

@media (max-width: 600px) {
  .cta {
    padding: 72px 16px;
  }
  .cta__card {
    padding: 40px 22px;
  }
  .cta__actions .btn {
    width: 100%;
  }
}

/* ================= TESTIMONIALS (3D wall) ================= */
.reviews {
  padding: 96px 24px 112px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f7fe 100%);
}

.reviews__title {
  margin: 0 0 40px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.reviews__title span {
  color: var(--blue);
}

.wall {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  perspective: 1100px;
}

/* soft fade on all four edges */
.wall::before,
.wall::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.wall::before {
  inset: 0;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 78%, #fff 100%);
}

.wall::after {
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 78%, #fff 100%);
}

.wall__stage {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 980px;
  height: 160%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  transform: translateX(-50%) rotateX(32deg) rotateZ(12deg);
  transform-style: preserve-3d;
}

.wall__col {
  overflow: hidden;
}

.wall__track {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: wall-up 38s linear infinite;
}

.wall__col--down .wall__track {
  animation-name: wall-down;
  animation-duration: 44s;
}

.wall:hover .wall__track {
  animation-play-state: paused;
}

@keyframes wall-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 11px)); }
}

@keyframes wall-down {
  from { transform: translateY(calc(-50% - 11px)); }
  to { transform: translateY(0); }
}

.tcard {
  margin: 0;
  padding: 22px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px -16px rgba(11, 35, 87, 0.25);
}

.tcard__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: #f5a623;
}

.tcard blockquote {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #3a4252;
}

.tcard figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tcard__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 50%;
}

.tcard strong {
  display: block;
  font-size: 14.5px;
  color: var(--heading);
}

.tcard small {
  font-size: 13px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .wall__track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .wall__stage {
    width: 760px;
  }
}

@media (max-width: 600px) {
  .reviews {
    padding: 64px 16px 72px;
  }
  .wall {
    height: 460px;
  }
  .wall__stage {
    width: 560px;
    grid-template-columns: repeat(2, 1fr);
    transform: translateX(-50%) rotateX(24deg) rotateZ(8deg);
  }
  .wall__col:nth-child(3) {
    display: none;
  }
}

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

@media (max-width: 480px) {
  .trusted {
    padding: 56px 16px 72px;
  }
  .trusted__sub {
    font-size: 16px;
  }
  .trusted__line {
    margin-bottom: 40px;
  }
  .tstat {
    padding: 24px 12px;
  }
  .tstat__label {
    font-size: 14px;
  }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .shape--1 { width: 420px; height: 110px; left: -200px; }
  .shape--3 { width: 360px; height: 100px; right: -160px; }
  .shape--2 { display: none; }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 80px 16px 96px;
  }
  .hero__badge {
    font-size: 13px;
  }
  .hero__title {
    margin: 28px 0 24px;
  }
  .hero__text {
    font-size: 16px;
    margin-bottom: 36px;
  }
  .hero__actions .btn {
    width: 100%;
    height: 54px;
    font-size: 16px;
  }
}

/* #####################################################################
   3. SHARED SECTIONS
   ##################################################################### */

/* ================= SHARED (simple) ================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tint,
.section--navy {
  background: var(--soft);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.section__head--row .section__title {
  margin-bottom: 0;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.section__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

.section__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.link-arrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* simple card base */
.service-card,
.why__stat,
.project,
.industry,
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px;
}

.service-card:hover {
  border-color: var(--blue);
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--blue);
  background: #eaf1fd;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--navy);
}

.service-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ================= WHY US ================= */
.why {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.why__list li {
  display: flex;
  gap: 14px;
}

.check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
}

.check svg {
  width: 14px;
  height: 14px;
}

.why__list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--navy);
}

.why__list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.why__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why__stat {
  padding: 24px;
}

.why__stat--big {
  grid-column: 1 / -1;
}

.why__stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.why__stat--big strong {
  color: var(--blue);
}

.why__stat span {
  font-size: 14px;
  color: var(--muted);
}

/* ================= PROCESS ================= */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process__step {
  text-align: center;
}

.process__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
}

.process__step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.process__step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ================= PORTFOLIO ================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project {
  overflow: hidden;
}

.project:hover {
  border-color: var(--blue);
}

/* plain placeholder — replace with real screenshots */
.project__thumb {
  display: grid;
  place-items: center;
  height: 190px;
  background: #e9eef6;
  border-bottom: 1px solid var(--line);
}

.project__thumb span {
  font-size: 15px;
  font-weight: 600;
  color: #8a93a6;
}

.project__body {
  padding: 24px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.project__tags span {
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #eaf1fd;
  border-radius: 4px;
}

.project h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.project p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ================= INDUSTRIES ================= */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.industry:hover {
  border-color: var(--blue);
}

.industry__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--blue);
  background: #eaf1fd;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  margin: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: #f5a623;
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

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

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
}

.testimonial strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}

.testimonial small {
  font-size: 13px;
  color: var(--muted);
}

/* ================= CTA ================= */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
}

.cta-banner p {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.btn--white {
  color: var(--navy);
  background: #fff;
}

.btn--white:hover {
  background: #eaf1fd;
}

.btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  border-color: #fff;
}

/* ================= FOOTER ================= */
.footer {
  padding-top: 64px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--navy);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__logo {
  height: 32px;
  width: auto;
  padding: 6px 10px;
  background: #fff;
  border-radius: 4px;
}

.footer__brand p {
  max-width: 320px;
  margin: 18px 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.footer__social a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer__col h4 {
  margin: 0 0 16px;
  font-size: 16px;
  color: #fff;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__col a,
.footer__contact li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__col a:hover {
  color: #fff;
}

.footer__newsletter {
  margin-top: 22px;
}

.footer__newsletter label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer__newsletter div {
  display: flex;
  gap: 6px;
}

.footer__newsletter input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 4px;
}

.footer__newsletter button {
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
}

.footer__newsletter button:hover {
  background: #0958c0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom div {
  display: flex;
  gap: 20px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1056px) {
  .section {
    padding: 72px 0;
  }
  .services-grid,
  .portfolio-grid,
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }
  .industries {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
  }
  .cta-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }
  .container {
    padding: 0 16px;
  }
  .section__head {
    margin-bottom: 36px;
  }
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .section__lead {
    font-size: 16px;
  }
  .services-grid,
  .portfolio-grid,
  .testimonials,
  .industries,
  .process {
    grid-template-columns: 1fr;
  }
  .process__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    text-align: left;
  }
  .process__num {
    grid-row: span 2;
    margin: 0;
  }
  .cta-banner {
    padding: 32px 20px;
  }
  .cta-banner__actions,
  .cta-banner__actions .btn {
    width: 100%;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* #####################################################################
   4. FOOTER
   ##################################################################### */

/* ================= FOOTER ================= */
.sf {
  background: #fff;
  border-top: 1px solid var(--line, #e5e8ef);
}

.sf__inner {
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 40px;
}

.sf__top {
  display: grid;
  grid-template-columns: 1.15fr repeat(5, 1fr);
  gap: 32px;
  padding: 44px 0 28px;
}

.sf__logo {
  display: block;
  height: 32px;
  width: auto;
}

.sf__brand p {
  max-width: 290px;
  margin: 18px 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: #3a4252;
}

.sf__social {
  display: flex;
  gap: 8px;
}

.sf__social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--navy, #0b2357);
  border-radius: 4px;
  transition: background 0.15s;
}

.sf__social a:hover {
  background: var(--blue, #0a6ce8);
}

.sf__col h4 {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading, #1f2a3d);
}

.sf__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sf__col a {
  font-size: 15px;
  color: #4a5262;
  text-decoration: none;
  transition: color 0.15s;
}

.sf__col a:hover {
  color: var(--blue, #0a6ce8);
}

.sf__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 0 22px;
  font-size: 15px;
  color: #3a4252;
  border-top: 1px solid var(--line, #e5e8ef);
}

/* responsive */
@media (max-width: 1200px) {
  .sf__top {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .sf__brand {
    grid-column: 1 / -1;
  }
  .sf__brand p {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .sf__inner {
    padding: 0 16px;
  }
  .sf__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .sf__col h4 {
    margin-bottom: 14px;
  }
  .sf__bottom {
    flex-direction: column;
    font-size: 14px;
  }
}

/* #####################################################################
   5. INNER PAGES
   ##################################################################### */

/* ================= INNER PAGES ================= */

/* ---- page banner ---- */
.page-hero {
  padding: 88px 24px 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(10, 108, 232, 0.06), transparent 70%),
    linear-gradient(180deg, #f3f7fe 0%, #fbfcfe 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  max-width: 820px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  font-size: 13.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.page-hero h1 span {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- generic page section ---- */
.pg {
  padding: 88px 24px;
  background: #fff;
}

.pg--tint {
  background: linear-gradient(180deg, #f3f7fe 0%, #fbfcfe 100%);
}

.pg__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.pg__inner--narrow {
  max-width: 820px;
}

.pg__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.pg__head .trusted__line {
  margin-bottom: 0;
}

.pg__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.pg__title {
  margin: 0 0 16px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.pg__text {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: #3a4252;
}

/* ---- two columns: text + panel ---- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.panel {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.panel--blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border: 0;
}

.panel.panel--blue h3 {
  color: #fff;
}

.panel.panel--blue p {
  color: rgba(255, 255, 255, 0.85);
}

.panel.panel--blue .quote {
  color: #fff;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--heading);
}

.panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.quote {
  margin: 0;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ---- check list ---- */
.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: #3a4252;
}

.checks li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--blue);
}

/* ---- numbered goals ---- */
.goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.goal {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.goal__num {
  display: block;
  margin-bottom: 14px;
  font-family: "Inter", "IBM Plex Sans", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, var(--blue), #6fb0f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.goal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--heading);
}

.goal p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

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

/* ---- product: app preview mock-up (pure CSS) ---- */
.mock {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(11, 35, 87, 0.35);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #f6f8fc;
  border-bottom: 1px solid var(--line);
}

.mock__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.mock__bar i:nth-child(2) { background: #febc2e; }
.mock__bar i:nth-child(3) { background: #28c840; }

.mock__bar span {
  margin-left: 12px;
  font-size: 13px;
  color: var(--muted);
}

.mock__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 320px;
}

.mock__side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 16px;
  background: var(--navy);
}

.mock__side b {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.mock__side b:first-child {
  width: 70%;
  height: 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.mock__side b:nth-child(3) {
  background: var(--blue);
}

.mock__main {
  padding: 22px;
  background: #fbfcfe;
}

.mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.mock__stat {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mock__stat small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.mock__stat strong {
  font-size: 20px;
  color: var(--heading);
}

.mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mock__chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #5aa2f5, var(--blue));
}

/* ---- product: plans ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.plan--featured {
  border: 2px solid var(--blue);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 30px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
}

.plan h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--heading);
}

.plan > p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--muted);
}

.plan__price {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}

.plan .checks {
  margin: 0 0 24px;
  gap: 10px;
}

.plan .checks li {
  font-size: 14.5px;
}

.plan .btn {
  width: 100%;
}

@media (max-width: 1000px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .mock__body {
    grid-template-columns: 1fr;
  }
  .mock__side {
    display: none;
  }
  .mock__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock__stat:nth-child(3) {
    display: none;
  }
}

/* ---- tech stack ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tech__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tech__head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--heading);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: #f3f7fe;
  border: 1px solid #dbe6f8;
  border-radius: 6px;
}

/* ---- careers ---- */
.jobs {
  display: grid;
  gap: 16px;
}

.job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.job:hover {
  border-color: rgba(10, 108, 232, 0.35);
}

.job h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--heading);
}

.job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job__meta span {
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 999px;
}

.job .btn {
  flex-shrink: 0;
}

/* ---- legal pages ---- */
.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 72px;
  padding: 20px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--heading);
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.toc a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
}

.prose {
  font-size: 16px;
  line-height: 1.75;
  color: #3a4252;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  color: var(--heading);
  scroll-margin-top: 72px;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--blue);
}

.legal-note {
  margin-bottom: 32px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
}

.updated {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

/* ---- FAQ ---- */
.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  height: 52px;
  margin: 32px auto 0;
  padding: 0 18px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.faq-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 108, 232, 0.12);
}

.faq-search input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: none;
  border: 0;
  outline: none;
}

.faq-group + .faq-group {
  margin-top: 48px;
}

.faq-group h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--heading);
  scroll-margin-top: 72px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.faq[open] {
  border-color: rgba(10, 108, 232, 0.4);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6ce8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat,
    #e8f1fe;
  transition: transform 0.2s;
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  border-radius: 10px;
}

.faq__body {
  padding: 0 20px 20px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a4252;
}

.faq__body p {
  margin: 0;
}

.faq__body a {
  color: var(--blue);
}

.faq-empty {
  display: none;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.toc a.is-active {
  font-weight: 600;
  color: var(--blue);
}

/* ---- generic card grid (downloads, blog, case studies) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.rcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.rcard:hover {
  border-color: rgba(10, 108, 232, 0.35);
}

.rcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

.rcard__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rcard h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  color: var(--heading);
}

.rcard__top h3 {
  margin: 0;
}

.rcard p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.rcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.rcard__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.rcard__thumb {
  display: grid;
  place-items: center;
  height: 170px;
  color: var(--blue);
  background: linear-gradient(135deg, #e8f1fe, #f6f9ff);
  border-bottom: 1px solid var(--line);
}

.rcard__thumb--2 { background: linear-gradient(135deg, #e4ecfb, #f3f7fe); color: var(--navy); }
.rcard__thumb--3 { background: linear-gradient(135deg, #eaf4ff, #f9fbff); }

.pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f1fe;
  border-radius: 999px;
}

.btn--sm {
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results strong {
  display: block;
  font-size: 20px;
  color: var(--blue);
}

.results span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---- filter tabs (blog) ---- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.tabs button {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.tabs button.is-active,
.tabs button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

/* ---- code blocks (docs / API) ---- */
.code {
  margin: 0 0 20px;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #d6e2ff;
  background: #0b1a3a;
  border-radius: 10px;
}

.prose code:not(.code code) {
  padding: 2px 6px;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.9em;
  color: var(--navy);
  background: #eef3fb;
  border-radius: 4px;
}

.endpoint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  padding: 12px 14px;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 14px;
  color: var(--heading);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.endpoint em {
  margin-left: auto;
  font-family: "IBM Plex Sans", sans-serif;
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}

.method {
  min-width: 58px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: 4px;
}

.method--get { color: #17804f; background: #e6f6ee; }
.method--post { color: var(--blue); background: #e8f1fe; }
.method--put { color: #b45309; background: #fef3e2; }
.method--delete { color: #b42318; background: #fef3f2; }

.table-simple {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.table-simple th,
.table-simple td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table-simple th {
  font-size: 13px;
  color: var(--muted);
  background: #fbfcfe;
}

/* ---- forms (demo / contact) ---- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.form-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--heading);
}

.form-card > p {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fgrid .full {
  grid-column: 1 / -1;
}

.f label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}

.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd5e1;
  border-radius: 8px;
  outline: none;
}

.f input,
.f select {
  height: 46px;
}

.f textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.f input:focus,
.f select:focus,
.f textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 108, 232, 0.15);
}

.f.has-error input,
.f.has-error select,
.f.has-error textarea {
  border-color: #d92d20;
}

.f__error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #d92d20;
}

.f.has-error .f__error {
  display: block;
}

.form-card .btn {
  width: 100%;
  margin-top: 8px;
  height: 50px;
}

.form-success {
  display: none;
  padding: 32px 8px;
  text-align: center;
}

.form-success svg {
  color: #17804f;
}

.form-success h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  color: var(--heading);
}

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

.form-card.is-sent form {
  display: none;
}

.form-card.is-sent .form-success {
  display: block;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.info {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.info strong {
  display: block;
  font-size: 15px;
  color: var(--heading);
}

.info span,
.info a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.info a:hover {
  color: var(--blue);
}

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .card-grid--2,
  .fgrid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .endpoint em {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .goals,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .split,
  .legal {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .toc {
    position: static;
  }
}

/* grid/flex children must be allowed to shrink below their content
   (code blocks, tables, long words) or they push the page wider */
.split > *,
.legal > *,
.form-wrap > *,
.why > *,
.metrics__inner > *,
.card-grid > *,
.goals > *,
.tech-grid > *,
.plans > *,
.fgrid > * {
  min-width: 0;
}

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

.prose,
.pg__text,
.faq__body,
.rcard p {
  overflow-wrap: break-word;
}

@media (max-width: 860px) {
  .table-simple {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-simple th,
  .table-simple td {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 64px 16px 52px;
  }
  .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
  .code {
    padding: 14px 16px;
    font-size: 12.5px;
  }
  .endpoint {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .pg__head {
    margin-bottom: 36px;
  }
  .job .btn {
    width: 100%;
  }
  .results strong {
    font-size: 18px;
  }
  .mock__main {
    padding: 14px;
  }
  .mock__chart {
    height: 110px;
    gap: 6px;
  }
  .page-hero p {
    font-size: 16px;
  }
  .pg {
    padding: 64px 16px;
  }
  .goals,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .job {
    flex-direction: column;
    align-items: flex-start;
  }
  .panel {
    padding: 26px;
  }
}

/* #####################################################################
   6. LOGIN / REGISTER  (scoped: body.auth-page)
   ##################################################################### */

body.auth-page {
  --navy: #0b2357;
  --blue: #0a6ce8;
  --blue-dark: #0750b3;
  --heading: #1f2a3d;
  --ink: #161616;
  --muted: #555e6e;
  --line: #e5e8ef;
  --soft: #f6f7fa;
  --danger: #d92d20;
}

body.auth-page *,
body.auth-page *::before,
body.auth-page *::after {
  box-sizing: border-box;
}

body.auth-page {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

body.auth-page .auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

body.auth-page .auth__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: #fff;
  background: var(--navy);
}

body.auth-page .auth__side-logo img {
  height: 34px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 4px;
}

body.auth-page .auth__side h2 {
  max-width: 440px;
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.2;
}

body.auth-page .auth__side p {
  max-width: 440px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

body.auth-page .auth__points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

body.auth-page .auth__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

body.auth-page .auth__points svg {
  flex-shrink: 0;
  color: #5fa8ff;
}

body.auth-page .auth__side small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

body.auth-page .auth__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #fff;
}

body.auth-page .auth__box {
  width: 100%;
  max-width: 420px;
}

body.auth-page .auth__mobile-logo {
  display: none;
  margin-bottom: 32px;
}

body.auth-page .auth__mobile-logo img {
  height: 30px;
}

body.auth-page .auth__box h1 {
  margin: 0 0 8px;
  font-size: 30px;
  color: var(--heading);
}

body.auth-page .auth__sub {
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--muted);
}

body.auth-page .social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body.auth-page .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

body.auth-page .social-btn:hover {
  border-color: #b9c2d3;
}

body.auth-page .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

body.auth-page .divider::before,
body.auth-page .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

body.auth-page .form {
  display: grid;
  gap: 18px;
}

body.auth-page .form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

body.auth-page .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}

body.auth-page .field__wrap {
  position: relative;
}

body.auth-page .field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd5e1;
  border-radius: 6px;
  outline: none;
}

body.auth-page .field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 108, 232, 0.15);
}

body.auth-page .field.has-error input {
  border-color: var(--danger);
}

body.auth-page .field__error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--danger);
}

body.auth-page .field.has-error .field__error {
  display: block;
}

body.auth-page .toggle-pass {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
}

body.auth-page .field__wrap input[type="password"],
body.auth-page .field__wrap input[data-pass] {
  padding-right: 46px;
}

body.auth-page .form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

body.auth-page .check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

body.auth-page .check-label input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

body.auth-page .link {
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

body.auth-page .link:hover {
  text-decoration: underline;
}

body.auth-page .strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

body.auth-page .strength span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

body.auth-page .strength[data-level="1"] span:nth-child(-n+1) { background: var(--danger); }
body.auth-page .strength[data-level="2"] span:nth-child(-n+2) { background: #f59e0b; }
body.auth-page .strength[data-level="3"] span:nth-child(-n+3) { background: #22a06b; }
body.auth-page .strength[data-level="4"] span:nth-child(-n+4) { background: #22a06b; }

body.auth-page .btn-submit {
  height: 48px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

body.auth-page .btn-submit:hover {
  background: var(--navy);
}

body.auth-page .btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

body.auth-page .auth__switch {
  margin: 28px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

body.auth-page .form-alert {
  display: none;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--danger);
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 6px;
}

body.auth-page .form-alert.show {
  display: block;
}

body.auth-page .back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

body.auth-page .back-home:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  body.auth-page .auth {
    grid-template-columns: 1fr;
  }
  body.auth-page .auth__side {
    display: none;
  }
  body.auth-page .auth__mobile-logo {
    display: block;
  }
}

@media (max-width: 480px) {
  body.auth-page .auth__main {
    padding: 32px 16px;
    align-items: flex-start;
  }
  body.auth-page .form__row,
  body.auth-page .social-login {
    grid-template-columns: 1fr;
  }
}

/* #####################################################################
   7. CUSTOMER DASHBOARD  (scoped: body.dash-page)
   ##################################################################### */

body.dash-page {
  --navy: #0b2357;
  --blue: #0a6ce8;
  --heading: #1f2a3d;
  --ink: #161616;
  --muted: #5d6676;
  --line: #e5e8ef;
  --soft: #f5f7fa;
  --sidebar-w: 250px;
}

body.dash-page *,
body.dash-page *::before,
body.dash-page *::after {
  box-sizing: border-box;
}

body.dash-page {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

body.dash-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

body.dash-page .link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

body.dash-page .link:hover {
  text-decoration: underline;
}

body.dash-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
}

body.dash-page .btn--primary {
  color: #fff;
  background: var(--blue);
}

body.dash-page .btn--primary:hover {
  background: var(--navy);
}

body.dash-page .btn--outline {
  color: var(--heading);
  background: #fff;
  border-color: var(--line);
}

body.dash-page .btn--outline:hover {
  border-color: #b9c2d3;
}

body.dash-page .btn--sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}

body.dash-page .dash {
  display: flex;
  min-height: 100vh;
}

body.dash-page .sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  background: #fff;
  border-right: 1px solid var(--line);
}

body.dash-page .sidebar__logo {
  display: block;
  padding: 4px 8px 24px;
}

body.dash-page .sidebar__logo img {
  height: 28px;
}

body.dash-page .sidebar__nav {
  display: grid;
  gap: 4px;
}

body.dash-page .sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
}

body.dash-page .sidebar__nav a:hover {
  color: var(--heading);
  background: var(--soft);
}

body.dash-page .sidebar__nav a.active {
  font-weight: 600;
  color: var(--blue);
  background: #eaf1fd;
}

body.dash-page .badge {
  margin-left: auto;
  min-width: 22px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
}

body.dash-page .sidebar__help {
  margin-top: auto;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

body.dash-page .sidebar__help strong {
  display: block;
  font-size: 15px;
  color: var(--heading);
}

body.dash-page .sidebar__help p {
  margin: 6px 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

body.dash-page .sidebar__help .btn {
  width: 100%;
}

body.dash-page .sidebar__logout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 6px;
}

body.dash-page .sidebar__logout:hover {
  color: #d92d20;
  background: #fef3f2;
}

body.dash-page .overlay {
  display: none;
}

body.dash-page .main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
}

body.dash-page .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

body.dash-page .topbar__menu {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
}

body.dash-page .topbar__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

body.dash-page .topbar__search input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 14px;
  background: none;
  border: 0;
  outline: none;
}

body.dash-page .topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

body.dash-page .icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--heading);
  border-radius: 6px;
}

body.dash-page .icon-btn:hover {
  background: var(--soft);
}

body.dash-page .icon-btn .dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d92d20;
  border: 2px solid #fff;
}

body.dash-page .user {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.dash-page .user__info strong {
  display: block;
  font-size: 14px;
  color: var(--heading);
}

body.dash-page .user__info small {
  font-size: 12.5px;
  color: var(--muted);
}

body.dash-page .avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  text-transform: uppercase;
}

body.dash-page .avatar--sm {
  width: 36px;
  height: 36px;
  font-size: 12.5px;
  background: var(--blue);
}

body.dash-page .content {
  padding: 28px;
  max-width: 1400px;
}

body.dash-page .page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

body.dash-page .page-head h1 {
  margin: 0 0 4px;
  font-size: 26px;
  color: var(--heading);
}

body.dash-page .page-head p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

body.dash-page .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

body.dash-page .stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

body.dash-page .stat__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--blue);
  background: #eaf1fd;
  border-radius: 8px;
}

body.dash-page .stat__icon--green { color: #17804f; background: #e6f6ee; }
body.dash-page .stat__icon--amber { color: #b45309; background: #fef3e2; }
body.dash-page .stat__icon--purple { color: #6941c6; background: #f1edfc; }

body.dash-page .stat small {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

body.dash-page .stat strong {
  font-size: 24px;
  color: var(--heading);
}

body.dash-page .grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

body.dash-page .card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

body.dash-page .card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

body.dash-page .card__head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--heading);
}

body.dash-page .table-wrap {
  overflow-x: auto;
}

body.dash-page .table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

body.dash-page .table th {
  padding: 12px 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}

body.dash-page .table td {
  padding: 14px 20px;
  vertical-align: middle;
  color: var(--heading);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

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

body.dash-page .table td strong {
  display: block;
  font-weight: 600;
}

body.dash-page .table td small {
  font-size: 12.5px;
  color: var(--muted);
}

body.dash-page .table .right {
  text-align: right;
}

body.dash-page .tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
}

body.dash-page .tag--blue { color: var(--blue); background: #eaf1fd; }
body.dash-page .tag--green { color: #17804f; background: #e6f6ee; }
body.dash-page .tag--amber { color: #b45309; background: #fef3e2; }

body.dash-page .progress {
  display: inline-block;
  width: 110px;
  height: 6px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}

body.dash-page .progress span {
  display: block;
  height: 100%;
  background: var(--blue);
}

body.dash-page .progress--done span {
  background: #22a06b;
}

body.dash-page .activity,
body.dash-page .team {
  list-style: none;
  margin: 0;
  padding: 8px 20px 16px;
}

body.dash-page .activity li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

body.dash-page .activity li:last-child {
  border-bottom: 0;
}

body.dash-page .activity__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--blue);
}

body.dash-page .activity__dot--green { background: #22a06b; }
body.dash-page .activity__dot--amber { background: #f59e0b; }

body.dash-page .activity p {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--heading);
}

body.dash-page .activity small {
  font-size: 12.5px;
  color: var(--muted);
}

body.dash-page .team li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

body.dash-page .team li:last-child {
  border-bottom: 0;
}

body.dash-page .team li > div {
  flex: 1;
}

body.dash-page .team strong {
  display: block;
  font-size: 14.5px;
  color: var(--heading);
}

body.dash-page .team small {
  font-size: 12.5px;
  color: var(--muted);
}

html:has(body.dash-page) {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body.dash-page .sidebar__label {
  padding: 0 12px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #98a1b1;
}

body.dash-page .topbar__shop {
  white-space: nowrap;
}

body.dash-page .notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 18px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
}

body.dash-page .notice svg {
  flex-shrink: 0;
}

body.dash-page .notice p {
  flex: 1;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

body.dash-page .block {
  margin-bottom: 20px;
}

body.dash-page .products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
}

body.dash-page .product {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

body.dash-page .product__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

body.dash-page .product__top > div {
  flex: 1;
  min-width: 0;
}

body.dash-page .product__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: #eaf1fd;
  border-radius: 8px;
}

body.dash-page .product h3 {
  margin: 0 0 2px;
  font-size: 16px;
  color: var(--heading);
}

body.dash-page .product small {
  font-size: 13px;
  color: var(--muted);
}

body.dash-page .product__label {
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

body.dash-page .licence {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  background: var(--soft);
  border: 1px dashed #cfd5e1;
  border-radius: 6px;
}

body.dash-page .licence code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 13px;
  color: var(--heading);
}

body.dash-page .copy-btn {
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

body.dash-page .copy-btn:hover {
  border-color: var(--blue);
}

body.dash-page .product__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 16px;
  font-size: 13.5px;
  color: var(--muted);
}

body.dash-page .product__meta strong {
  color: var(--heading);
}

body.dash-page .product__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

body.dash-page .product__actions .btn {
  flex: 1;
}

body.dash-page .tag--gray {
  color: #4b5563;
  background: #eef0f3;
}

body.dash-page .grid {
  grid-template-columns: 1.6fr 1fr;
}

body.dash-page .tickets {
  list-style: none;
  margin: 0;
  padding: 4px 20px 12px;
}

body.dash-page .tickets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

body.dash-page .tickets li:last-child {
  border-bottom: 0;
}

body.dash-page .tickets strong {
  display: block;
  font-size: 14.5px;
  color: var(--heading);
}

body.dash-page .tickets small {
  font-size: 12.5px;
  color: var(--muted);
}

body.dash-page .billing {
  padding: 4px 20px 12px;
}

body.dash-page .billing__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}

body.dash-page .billing__row:last-child {
  border-bottom: 0;
}

body.dash-page .billing__row > span {
  color: var(--muted);
}

body.dash-page .billing__row strong {
  font-weight: 600;
  color: var(--heading);
  text-align: right;
  overflow-wrap: anywhere;
}

body.dash-page .pay-method {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.dash-page .card-chip {
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  background: #1a1f71;
  border-radius: 3px;
}

body.dash-page .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
}

body.dash-page .switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

body.dash-page .switch span {
  position: absolute;
  inset: 0;
  background: #cfd5e1;
  border-radius: 999px;
  transition: background 0.15s;
}

body.dash-page .switch span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}

body.dash-page .switch input:checked + span {
  background: var(--blue);
}

body.dash-page .switch input:checked + span::before {
  transform: translateX(18px);
}

body.dash-page .switch input:focus-visible + span {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

body.dash-page .profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 8px;
}

body.dash-page .profile strong {
  display: block;
  font-size: 16px;
  color: var(--heading);
}

body.dash-page .profile small {
  font-size: 13.5px;
  color: var(--muted);
}

body.dash-page .avatar--lg {
  width: 52px;
  height: 52px;
  font-size: 18px;
}

@media (max-width: 1200px) {
  body.dash-page .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  body.dash-page .products {
    grid-template-columns: 1fr;
  }
  body.dash-page .notice {
    flex-wrap: wrap;
  }
  body.dash-page .topbar__shop {
    display: none;
  }
}

@media (max-width: 1200px) {
  body.dash-page .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  body.dash-page .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.dash-page .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  body.dash-page .dash.menu-open .sidebar {
    transform: none;
  }
  body.dash-page .dash.menu-open .overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(11, 35, 87, 0.35);
  }
  body.dash-page .main {
    margin-left: 0;
  }
  body.dash-page .topbar {
    padding: 0 16px;
  }
  body.dash-page .topbar__menu {
    display: grid;
  }
  body.dash-page .user__info {
    display: none;
  }
}

@media (max-width: 600px) {
  body.dash-page .content {
    padding: 20px 16px;
  }
  body.dash-page .topbar__search {
    display: none;
  }
  body.dash-page .page-head {
    flex-direction: column;
    align-items: flex-start;
  }
  body.dash-page .page-head h1 {
    font-size: 22px;
  }
  body.dash-page .stats {
    grid-template-columns: 1fr;
  }
}

body.dash-page .btn { box-shadow: none; }
