:root {
  --teal: #00d4aa;
  --blue: #0066ff;
  --ink: #0d1117;
  --mid: #4b5563;
  --soft: #6b7280;
  --muted: #9ca3af;
  --line: #e5e7eb;
  --page: #f7f9fc;
  --dark: #040810;
  --dark-2: #080c14;
  --grad: linear-gradient(135deg, #00d4aa, #0066ff);
  --shadow: 0 18px 50px rgba(13, 17, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar__inner,
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__inner {
  min-height: 34px;
  font-size: 12px;
}

.language {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language__button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
}

.topbar__login {
  transition: color 0.18s ease;
}

.topbar__login:hover {
  color: var(--teal);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__inner {
  min-height: 64px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
}

.brand__text {
  font-size: 18px;
  white-space: nowrap;
}

.brand__text strong {
  color: var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.68);
}

.nav__item {
  position: relative;
}

.nav__link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 20px 0;
}

.nav__link:hover {
  color: #fff;
}

.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: -18px;
  min-width: 280px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.dropdown--compact {
  min-width: 250px;
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown p {
  margin: 4px 8px 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.dropdown__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
}

.dropdown__row:hover {
  background: var(--page);
}

.dropdown__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d6f5ef, #aaeade);
  flex: 0 0 auto;
}

.dropdown__icon--blue { background: linear-gradient(135deg, #e4effd, #bdd8fb); }
.dropdown__icon--lavender { background: linear-gradient(135deg, #ede8fd, #d8ccfb); }
.dropdown__icon--amber { background: linear-gradient(135deg, #fef0e4, #fdd9b5); }
.dropdown__icon--green { background: linear-gradient(135deg, #e0f7ee, #b8edd8); }
.dropdown__icon--pink { background: linear-gradient(135deg, #fde6f1, #fbb8d8); }
.dropdown__icon--orange { background: linear-gradient(135deg, #ffe5d1, #ffc58f); }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 102, 255, 0.18);
}

.button--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
}

.button--white {
  background: #fff;
  color: var(--ink);
}

.nav__cta {
  min-height: 40px;
  padding: 9px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.messages {
  padding-top: 18px;
}

.message {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.message--success {
  background: #ecfdf5;
  color: #047857;
}

.message--error {
  background: #fef2f2;
  color: #b91c1c;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #040810, #080f1e, #0c1a30);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  right: -120px;
  top: 70px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.14), transparent 68%);
}

.hero::after {
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12), transparent 70%);
}

.hero--dbs { background: linear-gradient(135deg, #5526a6, #a82ed4, #ff8c42); }
.hero--purple { background: linear-gradient(135deg, #2d165f, #6d28d9, #4c1d95); }
.hero--blue { background: linear-gradient(135deg, #083e66, #0284c7, #0ea5e9); }
.hero--pos { background: linear-gradient(135deg, #040810, #062b2b, #083838); }
.hero--orange { background: linear-gradient(135deg, #7c2d12, #c2410c, #d97706); }
.hero--pink { background: linear-gradient(135deg, #831843, #db2777, #7e22ce); }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 70px;
  padding: 76px 0;
}

.hero--product .hero__grid {
  min-height: 560px;
}

.hero__copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 800;
}

.hero__copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #00d4aa, #4d9eff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__copy p {
  max-width: 570px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.hero__copy em {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
}

.pill,
.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.pill {
  border: 1px solid rgba(0, 212, 170, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0, 212, 170, 0.1);
}

.eyebrow {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.stats strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.stats span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.section {
  padding: 88px 0;
  background: #fff;
}

.section--muted {
  background: var(--page);
}

.section--compact {
  padding: 72px 0;
}

.section-heading {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.16;
  font-weight: 800;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--soft);
}

.section-heading i,
.contact-info i,
.form-card i {
  display: block;
  width: 44px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.feature-list {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: 70px;
  align-items: center;
  margin-bottom: 92px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--reverse .feature__copy {
  order: 2;
}

.feature__copy h3 {
  max-width: 560px;
  margin: 10px 0 12px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.18;
  font-weight: 800;
}

.feature__copy p {
  margin: 0;
  color: var(--mid);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 800;
}

.visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.visual::before {
  content: "";
  position: absolute;
  width: min(340px, 85%);
  aspect-ratio: 1 / 0.82;
  border-radius: 40% 60% 55% 45% / 48% 52% 60% 40%;
  background: linear-gradient(135deg, #d6f5ef, #aaeade);
}

.visual--blue::before { background: linear-gradient(135deg, #e4effd, #bdd8fb); }
.visual--lavender::before { background: linear-gradient(135deg, #ede8fd, #d8ccfb); }
.visual--amber::before { background: linear-gradient(135deg, #fef0e4, #fdd9b5); }
.visual--pink::before { background: linear-gradient(135deg, #fde6f1, #fbb8d8); }
.visual--orange::before { background: linear-gradient(135deg, #ffe5d1, #ffc58f); }

.mock-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  min-height: 250px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero .mock-card,
.dark-band .mock-card {
  background: #131e30;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.09);
}

.mock-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
}

.mock-dots span:nth-child(2) { background: #facc15; }
.mock-dots span:nth-child(3) { background: #22c55e; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 212, 170, 0.1);
}

.metric strong {
  display: block;
  color: var(--teal);
  font-size: 18px;
}

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

.hero .metric small,
.dark-band .metric small {
  color: rgba(255, 255, 255, 0.45);
}

.metric--red { background: rgba(255, 107, 107, 0.1); }
.metric--red strong { color: #ff6b6b; }
.metric--blue { background: rgba(77, 158, 255, 0.1); }
.metric--blue strong { color: #4d9eff; }
.metric--wide {
  margin-bottom: 18px;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 120px;
  margin-top: 28px;
  padding: 0 4px;
}

.bar-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.status-row,
.table-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: #f8fafc;
}

.hero .status-row,
.hero .table-line,
.dark-band .status-row,
.dark-band .table-line {
  background: rgba(255, 255, 255, 0.08);
}

.status-row strong { color: var(--soft); }
.status-row.ok strong { color: var(--teal); }
.status-row.danger strong { color: #ff6b6b; }

.gauge {
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.gauge span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}

.mock-split,
.legend {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--soft);
  font-size: 12px;
}

.donut {
  width: 150px;
  height: 150px;
  margin: 16px auto;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 42%, #4d9eff 42% 72%, #ff6b6b 72% 87%, #e5e7eb 87%);
  box-shadow: inset 0 0 0 34px #fff;
}

.hero .donut,
.dark-band .donut {
  box-shadow: inset 0 0 0 34px #131e30;
}

.pay-card,
.input-line,
.input-row span,
.product-mini {
  border-radius: 10px;
  background: #f1f5f9;
}

.pay-card {
  padding: 18px;
  margin-bottom: 14px;
  color: #334155;
  font-weight: 800;
}

.input-line {
  height: 42px;
  margin-bottom: 12px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-row span {
  height: 42px;
}

.mock-button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
}

.credit-card {
  min-height: 130px;
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #0d1117, #1e293b);
  color: #fff;
}

.credit-card span {
  display: block;
  width: 38px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  margin-bottom: 24px;
}

.credit-card small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.credit-card--dark {
  background: linear-gradient(135deg, #7c2d12, #db2777);
}

.lock-badge,
.success-box,
.match-box {
  margin-top: 14px;
  border-radius: 12px;
  padding: 14px;
  background: #d1fae5;
  color: #047857;
  font-weight: 800;
}

.calendar-grid,
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.calendar-grid span,
.qr-grid span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 102, 255, 0.24));
}

.storefront {
  height: 130px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 212, 170, 0.9), rgba(0, 102, 255, 0.9)) top / 100% 42px no-repeat,
    #f8fafc;
}

.network {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
}

.network span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
}

.network i {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eef2ff;
}

.network i:nth-child(2) { top: 18px; left: 70px; }
.network i:nth-child(3) { top: 28px; right: 70px; }
.network i:nth-child(4) { bottom: 24px; left: 84px; }
.network i:nth-child(5) { bottom: 34px; right: 92px; }

.dark-band {
  padding: 88px 0;
  color: #fff;
  background: linear-gradient(135deg, #040810, #091425, #0d1e38);
}

.dark-band__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.dark-band h2 {
  margin: 8px 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.16;
}

.dark-band p {
  color: rgba(255, 255, 255, 0.58);
}

.tag--dark {
  color: var(--teal);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.store-row span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 13px;
}

.store-row--dark span {
  background: rgba(255, 255, 255, 0.1);
}

.cards-3 {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.info-card__icon {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad);
}

.info-card h3,
.pricing h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.info-card p,
.pricing p {
  color: var(--mid);
  margin: 0;
}

.accordion-layout {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.accordion details {
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.accordion details[open] {
  border-left-color: var(--teal);
  background: #f0fdf8;
}

.accordion summary {
  cursor: pointer;
  font-weight: 800;
}

.accordion p {
  margin: 10px 0 0;
  color: var(--mid);
}

.pricing {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pricing article {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.pricing .featured {
  background: #131e30;
  color: #fff;
  transform: scale(1.04);
}

.pricing .featured p {
  color: rgba(255, 255, 255, 0.62);
}

.logo-strip {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.logo-strip div {
  display: grid;
  height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  color: var(--soft);
  font-weight: 800;
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 58px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
}

.brand--footer {
  margin-bottom: 14px;
}

.footer h3 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

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

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

.form-page {
  min-height: calc(100vh - 98px);
  background: var(--page);
  padding: 64px 0 90px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-info {
  color: var(--mid);
}

.contact-info h2,
.form-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.contact-info i,
.form-card i {
  margin: 10px 0 24px;
}

.contact-info h3 {
  margin: 26px 0 4px;
  color: var(--ink);
  font-size: 14px;
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.contact-row span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #e4effd, #bdd8fb);
  color: var(--blue);
  font-weight: 800;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 12px 34px rgba(13, 17, 23, 0.08);
}

.form-card--purple {
  border: 0;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.25);
}

.form-card--purple h2,
.form-card--purple .field span {
  color: #fff;
}

.field {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.field span {
  padding-top: 10px;
  color: var(--mid);
  font-weight: 800;
  font-size: 13px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
  padding: 11px 14px;
  color: var(--ink);
  outline: none;
}

.form-card--purple .field input,
.form-card--purple .field textarea,
.form-card--purple .field select {
  border: 0;
  background: #fff;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
}

.captcha-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 10px;
}

.captcha-row strong {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--ink);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 2px;
}

.field-error {
  grid-column: 2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.login-page {
  min-height: calc(100vh - 98px);
  display: grid;
  place-items: center;
  padding: 54px 24px;
  background: linear-gradient(135deg, #040810, #091425, #0d1e38);
}

.login-card {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.login-card .brand {
  color: var(--ink);
}

.login-card h1 {
  margin: 28px 0 20px;
  font-size: 32px;
}

.login-card .field {
  grid-template-columns: 1fr;
  gap: 6px;
}

.login-card .field-error {
  grid-column: 1;
}

.login-card .button {
  width: 100%;
  margin-top: 8px;
}

.login-card--wide {
  width: min(620px, 100%);
}

@media (max-width: 920px) {
  .shell {
    width: min(100% - 32px, 720px);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #080c14;
    padding: 14px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item:focus-within .dropdown,
  .nav__item:hover .dropdown {
    display: block;
  }

  .nav__cta {
    width: 100%;
  }

  .hero__grid,
  .feature,
  .dark-band__grid,
  .accordion-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
    gap: 34px;
    padding: 62px 0;
  }

  .feature {
    gap: 26px;
    margin-bottom: 64px;
  }

  .feature--reverse .feature__copy {
    order: 0;
  }

  .cards-3,
  .pricing,
  .logo-strip,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .field span {
    padding-top: 0;
  }

  .field-error {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .topbar__inner {
    justify-content: center;
    gap: 20px;
  }

  .hero__copy h1 {
    font-size: 38px;
  }

  .stats {
    gap: 18px;
  }

  .section,
  .dark-band {
    padding: 64px 0;
  }

  .cards-3,
  .pricing,
  .logo-strip,
  .footer__grid,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    display: grid;
  }

  .pricing .featured {
    transform: none;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.auth-body {
  min-height: 100vh;
  background: #0a1628;
}

.auth-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 42px 20px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, #0a1628, #0d4b6b);
}

.auth-brand {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
}

.auth-card {
  width: min(420px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 48px 40px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.auth-card h1 {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.auth-card > i {
  display: block;
  width: 44px;
  height: 3px;
  margin: 16px auto 30px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.auth-field {
  position: relative;
  display: block;
  margin-bottom: 14px;
}

.auth-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: 0;
  padding: 13px 20px 13px 48px;
}

.auth-field input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.auth-field input:focus {
  border-color: rgba(0, 212, 170, 0.9);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.12);
}

.auth-field__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.auth-options a {
  color: var(--teal);
  font-weight: 700;
}

.auth-options a:hover {
  text-decoration: underline;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-error {
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.15);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4aa, #7c3aed);
  color: #fff;
  cursor: pointer;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
}

.auth-submit:hover {
  filter: brightness(1.06);
}

.panel-body {
  min-height: 100vh;
  background: var(--page);
}

.panel-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.panel-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 18px 0;
}

.panel-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px 22px;
  color: var(--ink);
  font-weight: 800;
}

.panel-logo strong {
  color: var(--teal);
}

.panel-nav {
  display: grid;
  gap: 4px;
}

.panel-nav__item {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  border-left: 3px solid transparent;
  padding: 10px 18px 10px 17px;
  color: var(--mid);
  font-weight: 700;
}

.panel-nav__item span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #f3f6fb;
  color: var(--soft);
  font-style: normal;
}

.panel-nav__item em {
  font-style: normal;
}

.panel-nav__item:hover,
.panel-nav__item.is-active {
  border-left-color: var(--teal);
  background: #f0fdf8;
  color: var(--ink);
}

.panel-nav__item.is-active span {
  background: rgba(0, 212, 170, 0.14);
  color: #009f81;
}

.panel-main {
  min-width: 0;
}

.panel-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  padding: 0 24px;
}

.panel-topbar__left,
.panel-user,
.panel-tools,
.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-icon-button,
.panel-home {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.panel-lang,
.panel-logout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--mid);
  cursor: pointer;
  padding: 7px 10px;
  font-weight: 800;
}

.panel-company,
.panel-username {
  color: var(--mid);
  font-size: 13px;
  font-weight: 700;
}

.panel-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
}

.panel-content {
  padding: 24px;
}

.panel-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-page-head h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.panel-page-head p,
.breadcrumb {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.panel-chip {
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.panel-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.panel-filters--wide {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.panel-filters label,
.panel-form-field,
.bulk-form label {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.panel-filters input,
.panel-filters select,
.panel-form-field input,
.panel-form-field select,
.panel-form-field textarea,
.bulk-form input,
.bulk-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 9px 11px;
}

.metric-cards,
.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.panel-metric {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  padding: 22px 24px;
}

.panel-metric--teal { background: linear-gradient(135deg, #00d4aa, #0099ff); }
.panel-metric--red { background: linear-gradient(135deg, #ff6b6b, #ff8c42); }
.panel-metric--purple { background: linear-gradient(135deg, #a78bfa, #ec4899); }

.panel-metric__icon {
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 42px;
  line-height: 1;
}

.panel-metric small,
.panel-metric em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.panel-metric strong {
  display: block;
  margin: 8px 0 2px;
  font-size: 32px;
  line-height: 1;
}

.panel-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(13, 17, 23, 0.06);
}

.panel-card__head,
.table-card__head,
.module-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.panel-card h2,
.module-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.panel-card__head button {
  border: 0;
  border-radius: 8px;
  background: var(--page);
  color: var(--soft);
  padding: 6px 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.balance-card p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.balance-card > strong {
  display: block;
  margin: 8px 0 4px;
  color: #d97706;
  font-size: 24px;
}

.balance-card small {
  color: var(--mid);
}

.balance-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 12px;
}

.mini-area {
  display: flex;
  height: 96px;
  align-items: end;
  gap: 9px;
  margin-top: 20px;
}

.mini-area span {
  flex: 1;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.55), rgba(236, 72, 153, 0.18));
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel-bars {
  display: flex;
  height: 180px;
  align-items: end;
  gap: 12px;
}

.panel-bars span {
  flex: 1;
  min-width: 20px;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, #60a5fa, #7c3aed);
}

.panel-bars--pink span { background: linear-gradient(180deg, #a78bfa, #ec4899); }
.panel-bars--red span { background: linear-gradient(180deg, #fb7185, #ef4444); }

.donut {
  width: 180px;
  height: 90px;
  margin: 8px auto 18px;
  border-radius: 180px 180px 0 0;
  background: conic-gradient(from 270deg, #00d4aa 0 32%, #0066ff 32% 56%, #7c3aed 56% 75%, #f59e0b 75% 100%);
}

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

.legend-list li {
  display: flex;
  justify-content: space-between;
  color: var(--mid);
  font-size: 13px;
}

.module-section {
  margin-bottom: 28px;
}

.module-section__head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.module-tile {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(13, 17, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 17, 23, 0.1);
}

.module-tile span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 16px;
  background: #e4effd;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
}

.module-tile strong {
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.module-tile--teal span { background: #d6f5ef; color: #009f81; }
.module-tile--purple span { background: #ede8fd; color: #7c3aed; }
.module-tile--green span { background: #e0f7ee; color: #0f9f6e; }
.module-tile--amber span { background: #fef0e4; color: #d97706; }
.module-tile--pink span { background: #fde6f1; color: #db2777; }
.module-tile--orange span { background: #ffe5d1; color: #c2410c; }

.panel-notice,
.panel-warning,
.empty-state {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.panel-notice {
  margin-bottom: 16px;
  background: #eff6ff;
  color: #1d4ed8;
}

.panel-warning {
  background: #fffbeb;
  color: #92400e;
}

.empty-state {
  margin: 0;
  background: var(--page);
  color: var(--soft);
}

.panel-primary,
.panel-secondary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
}

.panel-primary {
  background: var(--grad);
  color: #fff;
}

.panel-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.panel-form-card {
  max-width: 680px;
}

.panel-form-card form,
.bulk-form {
  display: grid;
  gap: 14px;
}

.panel-form-field {
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
}

.panel-form-field--check {
  grid-template-columns: 190px auto;
  justify-content: start;
}

.is-required {
  color: #ef4444;
}

.table-card {
  margin-top: 16px;
}

.table-wrap {
  overflow-x: auto;
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.panel-table th,
.panel-table td {
  border-bottom: 1px solid #f3f4f6;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.panel-table th {
  background: var(--page);
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.panel-table td {
  color: var(--mid);
  font-size: 13px;
}

.panel-table tbody tr:nth-child(odd) td:first-child {
  border-left: 3px solid #10b981;
}

.panel-table tbody tr:nth-child(even) td:first-child {
  border-left: 3px solid #ef4444;
}

.pagination-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--soft);
  font-size: 12px;
}

.pagination-line span,
.pagination-line a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
}

.pagination-line span {
  background: var(--teal);
  color: #fff;
}

.pagination-line a {
  border: 1px solid var(--line);
  background: #fff;
}

.pagination-line em {
  margin-left: auto;
  font-style: normal;
}

.panel-layout.is-collapsed {
  grid-template-columns: 76px minmax(0, 1fr);
}

.panel-layout.is-collapsed .panel-logo span:not(.brand__mark),
.panel-layout.is-collapsed .panel-nav__item em {
  display: none;
}

.panel-layout.is-collapsed .panel-logo {
  justify-content: center;
  margin-inline: 0;
}

.panel-layout.is-collapsed .panel-nav__item {
  justify-content: center;
  padding-inline: 0;
}

@media (max-width: 1100px) {
  .panel-layout,
  .panel-layout.is-collapsed {
    grid-template-columns: 1fr;
  }

  .panel-sidebar {
    position: fixed;
    z-index: 60;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .panel-layout.is-collapsed .panel-sidebar,
  .panel-layout.is-mobile-open .panel-sidebar {
    transform: translateX(0);
  }

  .panel-layout.is-collapsed .panel-logo span:not(.brand__mark),
  .panel-layout.is-collapsed .panel-nav__item em {
    display: inline;
  }

  .panel-layout.is-collapsed .panel-nav__item {
    justify-content: flex-start;
    padding: 10px 18px 10px 17px;
  }

  .metric-cards,
  .balance-grid,
  .report-grid,
  .panel-filters,
  .panel-filters--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .auth-card {
    padding: 34px 24px;
  }

  .auth-options,
  .panel-topbar,
  .panel-page-head,
  .panel-user {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-content {
    padding: 18px;
  }

  .metric-cards,
  .balance-grid,
  .report-grid,
  .panel-filters,
  .panel-filters--wide,
  .panel-form-field,
  .panel-form-field--check {
    grid-template-columns: 1fr;
  }

  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-primary,
  .panel-secondary {
    width: 100%;
  }
}
