/* Design tokens */
:root {
  --navy: #10233F;
  --blue: #2563EB;
  --cyan: #06B6D4;
  --bg: #05070c;
  --surface: #0d1320;
  --surface-2: #121b2d;
  --ink: #c3cee2;
  --head: #fff;
  --muted: #8d9bb5;
  --line: rgba(255,255,255,.09);
  --grad: linear-gradient(135deg,#2563EB,#06B6D4);
  --r: 20px;
  --shadow: 0 14px 36px rgba(0,0,0,.45);
  --font: 'Poppins','Segoe UI',system-ui,sans-serif;
}

/* Base */
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.75;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size: 46px 46px;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 {
  font-weight: 600;
  color: var(--head);
  letter-spacing: -.01em;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.2rem,5vw,3.6rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.7rem,3.4vw,2.4rem);
}
a {
  color: var(--cyan);
}
img,svg {
  max-width: 100%;
  height: auto;
}
.text-muted {
  color: var(--muted) !important;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* Buttons and links */
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 8px;
}
.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: .65rem 1.5rem;
  transition: transform .2s,box-shadow .2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 24px rgba(37,99,235,.4);
}
.btn-grad:hover {
  color: #fff;
  box-shadow: 0 12px 30px rgba(6,182,212,.45);
}
.btn-outline-navy {
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
}
.btn-outline-navy:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(5,7,12,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .navbar-brand img {
  height: 58px;
  width: auto;
}
.site-header .nav-link {
  font-weight: 700;
  color: #dbe4f5;
}
.site-header .nav-link:hover {
  color: var(--cyan);
}
.dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: .5rem;
}
.dropdown-item {
  border-radius: 10px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: radial-gradient(800px 320px at 85%0,rgba(37,99,235,.18),transparent),#02040a;
  border-top: 1px solid var(--line);
  color: #9aa8c2;
  padding: 4.5rem 0 1.5rem;
  position: relative;
}
.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  position: relative;
  padding-bottom: .8rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.site-footer a {
  color: #9aa8c2;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--cyan);
}
.site-footer img {
  height: 76px;
  width: auto;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: .6rem;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: .9rem;
}

/* Sections and hero */
.section {
  padding: 5rem 0;
}
.section-white {
  background: rgba(255,255,255,.025);
  border-block: 1px solid var(--line);
}
.section-dark {
  background: radial-gradient(700px 300px at 80%0,rgba(37,99,235,.2),transparent),#02040a;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.lead-muted {
  color: var(--muted);
  font-size: 1.1rem;
}
.hero,.page-hero {
  position: relative;
  overflow: hidden;
}
.hero .container,.page-hero .container {
  position: relative;
  z-index: 1;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .6;
  pointer-events: none;
}
.hero {
  padding: 5.5rem 0 4.5rem;
  background: radial-gradient(900px 420px at 85%0,rgba(6,182,212,.22),transparent),radial-gradient(700px 400px at 0 30%,rgba(37,99,235,.2),transparent);
}
.hero-visual {
  border-radius: 28px;
  border: 1px solid rgba(6,182,212,.35);
  box-shadow: 0 0 70px rgba(37,99,235,.35);
  animation: float 6s ease-in-out infinite;
}
.page-hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(600px 260px at 90%0,rgba(6,182,212,.18),transparent),linear-gradient(135deg,#0a1426,#05070c);
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb a {
  color: var(--cyan);
}
.page-hero .lead {
  color: var(--muted);
}
.cta-band {
  background: var(--grad);
  color: #fff;
  border-radius: 28px;
  padding: 3.2rem;
  text-align: center;
  box-shadow: 0 0 80px rgba(37,99,235,.35);
}
.cta-band h2 {
  color: #fff;
}
.demo-note {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1rem 0;
  background: rgba(255,255,255,.02);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scroll 32s linear infinite;
  font-weight: 700;
  color: #6f7f9c;
  white-space: nowrap;
}

/* Cards */
.card-ui {
  position: relative;
  background: linear-gradient(180deg,var(--surface-2),var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.7rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform .25s,border-color .25s;
}
.card-ui::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(6,182,212,.16),transparent 62%);
}
.card-ui:hover {
  border-color: rgba(6,182,212,.45);
}
.card-ui:hover::after {
  opacity: 1;
}
a.card-ui {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.card-ui:hover {
  transform: translateY(-5px);
}
.ico {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 0 24px rgba(6,182,212,.4);
}
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: .45rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  width: .9rem;
  height: .5rem;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg) scale(.8);
}
.step-no {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.blog-card img {
  border-radius: 14px;
  margin-bottom: 1rem;
  width: 100%;
}
.blog-card a {
  color: #fff;
}
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px !important;
  margin-bottom: .8rem;
  overflow: hidden;
}
.accordion-button {
  font-weight: 700;
  background: var(--surface);
}
.accordion-button:not(.collapsed) {
  background: var(--surface-2);
  color: #fff;
}
.article {
  max-width: 760px;
}
.article h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s,transform .5s;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Package cards */
.price-card {
  display: flex;
  flex-direction: column;
  --a: #2563EB;
  --b: #06B6D4;
  border-color: color-mix(in srgb,var(--a) 45%,transparent);
  background: linear-gradient(180deg,color-mix(in srgb,var(--a) 20%,var(--surface-2)),var(--surface));
  padding-top: 2rem;
}
.price-card.featured {
  border: 1px solid transparent;
  background: linear-gradient(color-mix(in srgb,var(--a) 20%,var(--surface-2)),var(--surface)) padding-box,linear-gradient(135deg,var(--a),var(--b)) border-box;
}
.price-card .badge-feat {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg,var(--a),var(--b));
  color: #fff;
  border-radius: 999px;
  padding: .2rem .8rem;
  font-size: .8rem;
  font-weight: 700;
}
.price {
  font-size: 2.3rem;
  font-weight: 700;
  color: #fff;
}
.price small {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;
}
.type-pill {
  display: inline-block;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  padding: .15rem .7rem;
  background: rgba(37,99,235,.2);
  color: #8db4ff;
}
.type-pill.fixed {
  background: rgba(6,182,212,.18);
  color: #67e8f9;
}

/* Forms and auth */
.form-control,.form-select {
  border-radius: 12px;
  padding: .7rem 1rem;
  background-color: #0a101c;
  border-color: rgba(255,255,255,.14);
}
.form-label {
  font-weight: 700;
  font-size: .92rem;
}
.pw-field {
  position: relative;
}
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  font-weight: 700;
  color: var(--cyan);
  font-size: .85rem;
}
.form-feedback[hidden] {
  display: none;
}

/* Account pages */
.acct-nav {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.acct-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
}
.acct-nav a.active,.acct-nav a:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.stat {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.badge-status {
  border-radius: 999px;
  font-weight: 700;
  padding: .35rem .8rem;
  font-size: .78rem;
  display: inline-block;
}
.st-active {
  background: rgba(34,197,94,.15);
  color: #4ade80;
}
.st-pending {
  background: rgba(245,158,11,.15);
  color: #fbbf24;
}
.st-prov {
  background: rgba(59,130,246,.18);
  color: #93c5fd;
}
.st-expired {
  background: rgba(148,163,184,.18);
  color: #cbd5e1;
}
.st-failed {
  background: rgba(239,68,68,.16);
  color: #f87171;
}
.st-cancelled {
  background: rgba(168,85,247,.18);
  color: #d8b4fe;
}
.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem;
  overflow-x: auto;
}
.empty-state {
  text-align: center;
  padding: 2.5rem;
  color: var(--muted);
}

/* Invoice and print */
.invoice {
  background: #fff;
  color: #1d2d47;
  border-radius: var(--r);
  padding: 2.5rem;
  max-width: 860px;
}
.invoice-logo {
  height: 58px;
  width: auto;
}

/* Effects and responsive */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 2000;
}
.svc-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
}
.chip {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  background: var(--surface);
  margin: .3rem;
  font-weight: 700;
  color: #dbe4f5;
}
.logo-tile {
  background: #eef2fb;
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  place-items: center;
  height: 92px;
  transition: transform .2s;
}
.logo-tile:hover {
  transform: translateY(-3px);
}
.logo-tile img {
  width: 100%;
  max-width: 210px;
  height: auto;
}
.stars {
  color: #fbbf24;
  letter-spacing: 2px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: none;
}
.testi blockquote {
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.info-card {
  text-align: center;
}
.info-card .ico {
  margin-inline: auto;
}
.info-card address {
  margin: 0;
  font-style: normal;
}
.info-card a {
  word-break: break-word;
}

/* Contact page */
.contact-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-side {
  height: 100%;
  padding: 2.5rem;
  background: radial-gradient(420px 260px at 80%0,rgba(6,182,212,.22),transparent),linear-gradient(160deg,#0f1c36,#0a1224);
}
.contact-form {
  padding: 2.5rem;
}

/* Service pages */
.spec-card {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg,var(--surface-2),var(--surface));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  overflow: hidden;
}
.spec-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
}
.spec-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: .5rem;
}
.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.feat {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feat .step-no {
  margin: 0;
  flex: none;
}
.section.auth-section {
  padding: 4rem 0 5rem;
  background: radial-gradient(700px 320px at 50%0,rgba(37,99,235,.22),transparent);
}
.auth-box {
  background: linear-gradient(180deg,var(--surface-2),var(--surface));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 0 60px rgba(37,99,235,.2),var(--shadow);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--grad);
  border-radius: 26px;
  padding: 2.2rem 2.5rem;
  color: #fff;
  margin-bottom: 3.5rem;
  box-shadow: 0 0 70px rgba(37,99,235,.3);
}
.footer-cta h2 {
  color: #fff;
}
.site-footer .footer-cta .btn-light {
  color: #10233F;
}
.site-footer .footer-cta .btn-outline-light {
  color: #fff;
}
.site-footer .footer-cta .btn-outline-light:hover {
  color: #10233F;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.social-row {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
}
.site-footer a.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: .8rem;
  color: #fff;
  background: rgba(255,255,255,.04);
}
.site-footer a.social:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.footer-contact svg {
  flex: none;
  margin-top: .3rem;
  color: var(--cyan);
}

/* Currency toggle and package tabs */
.cur-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--surface);
}
.cur-toggle button {
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  padding: .4rem 1.1rem;
  border-radius: 999px;
}
.cur-toggle button.active {
  background: var(--grad);
  color: #fff;
}
.pkg-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: .5rem;
  padding-bottom: .5rem;
}
.pkg-tabs .nav-link {
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--line);
}
.pkg-tabs .nav-link.active {
  background: var(--grad);
  border-color: transparent;
}
.price-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg,var(--a),var(--b));
}
.row>:nth-child(3n+2) .price-card {
  --a: #8b5cf6;
  --b: #ec4899;
}
.row>:nth-child(3n) .price-card {
  --a: #10b981;
  --b: #22d3ee;
}
.price-card .btn-grad {
  background: linear-gradient(135deg,var(--a),var(--b));
  box-shadow: 0 8px 24px color-mix(in srgb,var(--a) 45%,transparent);
}
.price-card .btn-outline-navy {
  border-color: var(--a);
}
.price-card .btn-outline-navy:hover {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
}
.price-card .type-pill {
  background: color-mix(in srgb,var(--a) 28%,transparent);
  color: #fff;
}
.price-card .check-list li::before {
  border-color: var(--b);
}
.footer-contact a,.footer-contact span,.info-card a {
  overflow-wrap: anywhere;
}

/* Responsive */
@keyframes float {
  50% { transform: translateY(-12px); }
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
@media (max-width:991px) {
  .section {
    padding: 3.5rem 0;
  }
  .toc {
    position: static;
  }
  .auth-panel {
    display: none !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width:575px) {
  .site-header .navbar-brand img {
    height: 46px;
  }
  .contact-side,.contact-form {
    padding: 1.5rem;
  }
}
@media (min-width:992px) {
  .pkg-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
}
@media (max-width:767px) {
  .g-5,.gx-5 {
    --bs-gutter-x: 1.5rem;
  }
  .g-5,.gy-5 {
    --bs-gutter-y: 2rem;
  }
  .cta-band,.footer-cta {
    padding: 2rem 1.25rem;
  }
  .auth-box {
    padding: 1.75rem 1.25rem;
  }
}

/* Print */
@media print {
  .site-header,.site-footer,.page-hero,.acct-nav,.no-print,.scroll-progress {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .section {
    padding: 0;
  }
  .invoice {
    padding: 0;
  }
}
