:root {
  --navy-950: #07162c;
  --navy-900: #0d1f3b;
  --navy-800: #17345d;
  --blue-700: #145ea8;
  --blue-600: #1672c4;
  --blue-100: #eaf4ff;
  --turquoise-600: #079f9a;
  --turquoise-100: #e5f9f6;
  --ink: #12233d;
  --muted: #60718a;
  --line: #dce4ee;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --success: #167c53;
  --warning: #9a6410;
  --danger: #b42335;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 14px 38px rgba(13, 31, 59, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0 0 .7em;
  color: var(--navy-900);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.45rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { color: #d9e8f8; background: var(--navy-950); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-heading p { color: #a9bfd8; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: #52d6ce; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 720;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--blue-700); }
.btn-primary:hover { color: #fff; background: var(--blue-600); }
.btn-secondary { color: var(--navy-900); background: var(--turquoise-100); border-color: #bfece7; }
.btn-secondary:hover { color: var(--navy-900); background: #d4f5f1; }
.btn-ghost { color: var(--navy-900); background: transparent; border-color: var(--line); }
.btn-ghost:hover { color: var(--navy-900); background: var(--surface-alt); border-color: #c4d0df; }
.btn-danger { color: #fff; background: var(--danger); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(220, 228, 238, .9);
}
.nav-wrap { display: flex; min-height: 76px; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 158px; height: auto; }
.main-nav { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.main-nav a { color: var(--ink); font-size: .94rem; font-weight: 650; }
.main-nav a:hover { color: var(--blue-700); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions form, .topbar-user form { margin: 0; }
.nav-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy-900); }
.hero { position: relative; overflow: hidden; padding: 90px 0 86px; }
.hero::before {
  position: absolute;
  width: 580px;
  height: 580px;
  right: -230px;
  top: -280px;
  content: "";
  background: #e9f7ff;
  border-radius: 50%;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 54px; }
.hero h1 { max-width: 820px; }
.hero .lead { max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }
.hero-proof span::before { margin-right: 7px; color: var(--turquoise-600); content: "●"; }
.hero-visual { position: relative; min-height: 470px; }
.hero-panel {
  position: absolute;
  inset: 20px 20px 20px 55px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: 42px;
  box-shadow: var(--shadow);
}
.hero-panel::before, .hero-panel::after {
  position: absolute;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(89, 217, 209, .28);
  border-radius: 50%;
}
.hero-panel::after { width: 470px; height: 470px; border-color: rgba(85, 157, 224, .18); }
.hero-panel img { position: relative; z-index: 2; width: 255px; }
.orbit-card {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  font-weight: 750;
}
.orbit-card small { display: block; color: var(--muted); font-weight: 500; }
.orbit-one { top: 8px; right: 0; }
.orbit-two { right: -5px; bottom: 44px; }
.orbit-three { left: 0; bottom: 8px; }
.trust-strip { border-block: 1px solid var(--line); background: var(--surface-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; }
.trust-item { padding: 22px 14px; text-align: center; background: var(--surface-alt); }
.trust-item strong { display: block; color: var(--navy-900); }
.trust-item span { color: var(--muted); font-size: .84rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card:hover { border-color: #bfd0e3; }
.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 12px;
  font-weight: 800;
}
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.check-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; left: 0; color: var(--turquoise-600); font-weight: 900; content: "✓"; }
.module-stack { display: grid; gap: 12px; }
.module-row { display: flex; align-items: center; gap: 16px; padding: 17px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.module-row strong { flex: 1; }
.module-row span { color: var(--muted); font-size: .88rem; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform-card { position: relative; padding: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.platform-card::after { position: absolute; width: 90px; height: 90px; right: -25px; bottom: -30px; content: ""; background: var(--turquoise-100); border-radius: 50%; }
.platform-code { color: var(--blue-700); font-size: 2rem; font-weight: 800; }
.database-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.database-pill { padding: 11px 15px; color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.featured { border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.price-card .price { margin: 8px 0 20px; color: var(--navy-900); font-size: 2rem; font-weight: 800; }
.price-card .price small { color: var(--muted); font-size: .85rem; font-weight: 500; }
.price-card .btn { margin-top: auto; }
.price-options { display: grid; gap: 9px; margin: 18px 0 24px; }
.price-option { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 46px;
  color: #dce9f8;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}
.cta h2 { color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.news-card time { color: var(--muted); font-size: .85rem; }
.page-hero { padding: 78px 0 60px; background: var(--surface-alt); text-align: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.page-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.1em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .55rem; }
.article-meta { margin-bottom: 24px; color: var(--muted); }
.auth-shell { display: grid; min-height: calc(100vh - 76px); grid-template-columns: 1fr 1fr; }
.auth-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 8vw, 120px); color: #d9e8f8; background: var(--navy-900); }
.auth-copy h1 { color: #fff; font-size: clamp(2.3rem, 4vw, 4rem); }
.auth-copy .eyebrow { color: #55d5cd; }
.auth-form-wrap { display: grid; padding: 48px 24px; place-items: center; }
.auth-form { width: min(100%, 520px); }
.auth-form h2 { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: grid; gap: 7px; margin-bottom: 18px; }
.form-group label { color: var(--navy-900); font-size: .9rem; font-weight: 720; }
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d5e3;
  border-radius: 10px;
  outline: none;
}
textarea.form-control { min-height: 125px; resize: vertical; }
.form-control:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 114, 196, .12); }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 76px; }
.password-toggle { position: absolute; right: 8px; top: 7px; padding: 7px 9px; color: var(--blue-700); background: transparent; border: 0; font-size: .82rem; font-weight: 700; }
.flash-stack { display: grid; gap: 8px; margin-block: 16px; }
.flash { padding: 13px 16px; border: 1px solid; border-radius: 10px; }
.flash-success { color: #0f6746; background: #ebfaf3; border-color: #aee3ca; }
.flash-warning { color: #7d510d; background: #fff8e8; border-color: #eed28d; }
.flash-error { color: #8f1b2b; background: #fff0f2; border-color: #efb5be; }
.app-body { min-height: 100vh; background: var(--surface-alt); }
.app-topbar {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto 0;
  display: flex;
  height: 70px;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.app-topbar .brand img { width: 145px; }
.topbar-user { display: flex; margin-left: auto; align-items: center; gap: 16px; }
.app-nav-toggle { display: none; padding: 8px 12px; color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.app-sidebar {
  position: fixed;
  z-index: 80;
  inset: 70px auto 0 0;
  width: 250px;
  overflow-y: auto;
  padding: 24px 16px 32px;
  color: #c6d7e9;
  background: var(--navy-950);
}
.sidebar-kicker { padding: 0 12px; color: #6edbd4; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-sidebar a { display: block; padding: 9px 12px; color: #cfdeed; border-radius: 8px; font-size: .92rem; }
.app-sidebar a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.admin-sidebar { background: #111d2d; }
.app-main { min-height: 100vh; margin-left: 250px; padding: 102px 34px 48px; }
.app-main > * { width: min(100%, 1350px); margin-inline: auto; }
.app-heading { display: flex; margin-bottom: 26px; align-items: end; justify-content: space-between; gap: 18px; }
.app-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.stat-card span { color: var(--muted); font-size: .86rem; }
.stat-card strong { display: block; color: var(--navy-900); font-size: 2rem; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.panel-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.panel-card h2 { font-size: 1.22rem; }
.panel-card-full { grid-column: 1 / -1; }
.table-wrap { max-width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--muted); background: #f9fbfd; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.badge { display: inline-flex; padding: 4px 9px; color: var(--navy-800); background: var(--blue-100); border-radius: 999px; font-size: .75rem; font-weight: 760; }
.badge-active, .badge-paid, .badge-processed { color: var(--success); background: #e6f7ef; }
.badge-failed, .badge-revoked, .badge-cancelled { color: var(--danger); background: #ffedf0; }
.badge-pending, .badge-queued { color: var(--warning); background: #fff6df; }
.inline-form { display: inline-flex; align-items: center; gap: 7px; }
.inline-form .form-control { width: auto; min-height: 38px; padding: 6px 9px; }
.empty-state { padding: 30px; color: var(--muted); text-align: center; border: 1px dashed #c6d2e0; border-radius: 12px; }
.site-footer { padding: 64px 0; color: #aec0d3; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; }
.footer-logo { width: 190px; margin-bottom: 20px; }
.site-footer h2 { color: #fff; font-size: .95rem; letter-spacing: .04em; }
.site-footer a, .site-footer span { display: block; margin-bottom: 8px; color: #aec0d3; font-size: .9rem; }
.site-footer a:hover { color: #fff; }

@media (max-width: 1000px) {
  .main-nav { gap: 14px; }
  .nav-actions .btn-ghost { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { width: min(100%, 620px); margin: 0 auto; }
  .card-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .nav-wrap { flex-wrap: wrap; min-height: 68px; padding-block: 10px; }
  .nav-toggle { display: block; }
  .main-nav, .nav-actions {
    display: none;
    width: 100%;
    margin: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
  }
  .main-nav.is-open, .nav-actions.is-open { display: flex; }
  .main-nav a { padding: 10px 3px; }
  .nav-actions .btn-ghost { display: inline-flex; }
  .nav-actions { padding-bottom: 8px; }
  .hero { padding: 64px 0; }
  .hero-visual { min-height: 390px; }
  .hero-panel { inset: 20px; }
  .hero-panel img { width: 190px; }
  .orbit-card { min-width: 130px; padding: 10px 12px; font-size: .86rem; }
  .card-grid, .platform-grid, .pricing-grid, .news-grid, .panel-grid, .footer-grid { grid-template-columns: 1fr; }
  .panel-card-full { grid-column: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 30px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-copy { padding: 58px 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .app-topbar { height: 66px; padding: 0 16px; }
  .app-nav-toggle { display: inline-flex; margin-left: auto; }
  .topbar-user > span, .topbar-user > a { display: none; }
  .app-sidebar { inset: 66px auto 0 -270px; transition: left .2s ease; }
  .app-sidebar.is-open { left: 0; }
  .app-main { margin-left: 0; padding: 92px 18px 40px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .app-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero h1 { font-size: 2.4rem; }
  .hero-visual { min-height: 330px; }
  .hero-panel img { width: 145px; }
  .orbit-two { bottom: 24px; }
  .trust-grid, .stat-grid { grid-template-columns: 1fr; }
  .card, .price-card, .panel-card { padding: 21px; }
  .topbar-user { gap: 4px; }
}
