:root {
  --bg: #eef5ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(249, 252, 255, 0.96);
  --surface-dark: #081737;
  --text: #071633;
  --muted: #46607f;
  --line: rgba(31, 95, 191, 0.14);
  --primary: #0a4fd3;
  --primary-dark: #041d67;
  --secondary: #1791ff;
  --accent: #6dbbff;
  --shadow: 0 30px 90px rgba(16, 64, 145, 0.14);
  --shadow-soft: 0 14px 36px rgba(20, 76, 164, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(23, 145, 255, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(10, 79, 211, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eaf3ff 46%, #f3f8ff 100%);
}

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

img,
svg,
video,
canvas {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(71, 131, 220, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 131, 220, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 78%);
  pointer-events: none;
  opacity: 0.7;
}

.grid-radiance {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 145, 255, 0.15), transparent 0 28%),
    radial-gradient(circle at 85% 18%, rgba(10, 79, 211, 0.12), transparent 0 24%),
    radial-gradient(circle at 70% 72%, rgba(109, 187, 255, 0.16), transparent 0 22%);
  pointer-events: none;
  animation: driftGlow 14s ease-in-out infinite alternate;
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: floatField 14s ease-in-out infinite;
}

.ambient-one {
  top: -10rem;
  left: -8rem;
  background: rgba(6, 69, 190, 0.22);
}

.ambient-two {
  right: -10rem;
  top: 18rem;
  background: rgba(23, 145, 255, 0.18);
  animation-delay: -5s;
}

.ambient-three {
  left: 24%;
  bottom: -12rem;
  background: rgba(109, 187, 255, 0.2);
  animation-delay: -9s;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.nav {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 6px 6px;
  border-radius: 18px;
  min-width: 0;
}

.brand div,
.hero-brandtext {
  min-width: 0;
}

.brand-logo,
.hero-logo {
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
  filter: drop-shadow(0 16px 28px rgba(10, 79, 211, 0.2));
}

.brand-logo {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(23, 145, 255, 0.14);
  background: #fff;
}

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  border: 1px solid rgba(23, 145, 255, 0.14);
  background: #fff;
}

.brand p,
.brand span,
.eyebrow,
.hero-card,
.service-card p,
.value-card p,
.contact-card p {
  margin: 0;
}

.brand p {
  font-weight: 800;
  font-size: 1.06rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle,
.menu-close,
.mobile-menu-head,
.nav-overlay {
  display: none;
}

.menu-toggle,
.menu-close {
  font: inherit;
  cursor: pointer;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--primary-dark);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  align-items: center;
  flex: 1;
}

.eyebrow {
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.cta-banner h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  margin: 12px 0;
}

.hero-brandline {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  padding: 14px 18px 14px 14px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 145, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.hero-brandtext {
  display: grid;
  gap: 6px;
}

.hero-brandtext strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-brandtext span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span,
.cta-detail span,
.value-tag,
.service-index,
.signal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-trust span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 145, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  box-shadow: 0 20px 42px rgba(10, 79, 211, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.hero-stats div,
.hero-card,
.service-card,
.value-card,
.contact-card,
.cta-banner {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 249, 255, 0.78));
}

.hero-stats strong,
.service-card h3,
.value-card h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero-stats span,
.service-card p,
.value-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.96), rgba(255, 255, 255, 0.92)),
    #fff;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(23, 145, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(10, 79, 211, 0.14), transparent 32%);
  pointer-events: none;
}

.hero-card-top,
.hero-metrics,
.capability-list {
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hero-card-top h3 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.hero-pixels {
  position: absolute;
  top: 32px;
  right: 26px;
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 8px;
  z-index: 1;
}

.hero-pixels span {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  animation: pixelPulse 2.8s ease-in-out infinite;
}

.hero-pixels span:nth-child(2) { animation-delay: 0.25s; }
.hero-pixels span:nth-child(3) { animation-delay: 0.5s; }
.hero-pixels span:nth-child(4) { animation-delay: 0.75s; }
.hero-pixels span:nth-child(5) { animation-delay: 1s; }
.hero-pixels span:nth-child(6) { animation-delay: 1.25s; }

.card-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.signal-badge {
  padding: 10px 14px;
  background: rgba(4, 29, 103, 0.94);
  color: #eff6ff;
}

.hero-orbit {
  position: relative;
  z-index: 1;
  height: 240px;
  margin: 22px 0 12px;
  border-radius: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(237, 246, 255, 0.74) 46%, transparent 47%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 246, 255, 0.5));
  border: 1px solid rgba(23, 145, 255, 0.12);
  overflow: hidden;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(23, 145, 255, 0.16);
}

.hero-orbit::before {
  inset: 38px;
}

.hero-orbit::after {
  inset: 74px;
}

.orbit-core,
.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.orbit-core {
  inset: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  box-shadow: 0 16px 36px rgba(10, 79, 211, 0.28);
}

.orbit-node {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  animation: bob 5.6s ease-in-out infinite;
}

.orbit-node-one {
  top: 30px;
  left: 50%;
  margin-left: -29px;
}

.orbit-node-two {
  bottom: 44px;
  left: 46px;
}

.orbit-node-three {
  bottom: 44px;
  right: 46px;
}

.orbit-node-two {
  animation-delay: -1.8s;
}

.orbit-node-three {
  animation-delay: -3s;
}

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

.hero-metrics div,
.capability-list article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 145, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.hero-metrics span,
.capability-list span {
  color: var(--muted);
  line-height: 1.6;
}

.capability-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.capability-list strong {
  display: block;
  margin-bottom: 8px;
}

.card-pulse {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef6ff;
}

.card-pulse span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f6ff0;
  box-shadow: 0 0 0 10px rgba(15, 111, 240, 0.14);
}

.card-pulse p {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 52px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.value-card,
.contact-card,
.cta-banner {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.service-card,
.value-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(34, 24, 17, 0.14);
}

.service-card:hover::before,
.value-card:hover::before {
  transform: scaleX(1);
}

.service-index,
.value-tag {
  margin: 0 0 18px;
  padding: 8px 12px;
  width: fit-content;
  color: var(--primary-dark);
  background: rgba(10, 79, 211, 0.08);
  border: 1px solid rgba(10, 79, 211, 0.14);
}

.value-tag {
  color: var(--secondary);
  background: rgba(23, 145, 255, 0.08);
  border-color: rgba(23, 145, 255, 0.14);
}

.section-accent .value-card {
  background: rgba(247, 251, 255, 0.9);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 145, 255, 0.14), rgba(10, 79, 211, 0.08));
  border: 1px solid rgba(23, 145, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

.code-icon::before {
  inset: 18px 14px;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg);
}

.code-icon::after {
  inset: 18px 14px;
  border-right: 3px solid var(--secondary);
  border-top: 3px solid var(--secondary);
  transform: rotate(45deg);
}

.ai-icon::before {
  width: 12px;
  height: 12px;
  top: 12px;
  left: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    -10px 16px 0 -1px rgba(10, 79, 211, 0.9),
    10px 16px 0 -1px rgba(23, 145, 255, 0.9),
    0 26px 0 -1px rgba(4, 29, 103, 0.9);
}

.ai-icon::after {
  inset: 17px;
  border: 2px solid rgba(23, 145, 255, 0.5);
  border-radius: 50%;
}

.cloud-icon::before {
  left: 11px;
  top: 22px;
  width: 30px;
  height: 14px;
  border: 3px solid var(--secondary);
  border-top: none;
  border-radius: 0 0 14px 14px;
}

.cloud-icon::after {
  left: 13px;
  top: 12px;
  width: 26px;
  height: 18px;
  border: 3px solid var(--primary);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
}

.shield-icon::before {
  left: 15px;
  top: 10px;
  width: 22px;
  height: 28px;
  border: 3px solid var(--primary-dark);
  border-radius: 14px 14px 10px 10px;
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}

.shield-icon::after {
  left: 24px;
  top: 22px;
  width: 5px;
  height: 11px;
  background: var(--secondary);
  border-radius: 999px;
  box-shadow: 0 -8px 0 0 var(--secondary);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(10, 79, 211, 0.12), rgba(23, 145, 255, 0.16)),
    var(--surface-strong);
}

.cta-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-detail span {
  padding: 10px 14px;
  color: #eef6ff;
  background: rgba(4, 29, 103, 0.92);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(160deg, rgba(249, 252, 255, 0.92), rgba(255, 255, 255, 0.74)),
    var(--surface);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
}

.contact-address {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.contact-form {
  min-width: min(100%, 440px);
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 145, 255, 0.12);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(23, 145, 255, 0.18);
  border-color: rgba(23, 145, 255, 0.5);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--secondary);
  font-weight: 700;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 1200;
  min-width: 86px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(10, 79, 211, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.menu-open .scroll-top {
  opacity: 0;
  pointer-events: none;
}

.admin-page {
  background:
    radial-gradient(circle at top left, rgba(23, 145, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(10, 79, 211, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 48%, #f5f9ff 100%);
}

.admin-shell {
  width: min(1500px, calc(100% - 24px));
  padding-top: 22px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.admin-brand {
  display: grid;
  gap: 18px;
}

.admin-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.admin-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.admin-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.kpi-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.kpi-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kpi-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.admin-toolbar {
  margin-top: 18px;
}

.admin-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.admin-table-panel,
.admin-detail-panel,
.tool-form-card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
}

.admin-table-panel {
  padding: 28px 30px;
  border: 1px solid rgba(31, 95, 191, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.admin-table-panel .panel-head {
  align-items: center;
  margin-bottom: 18px;
}

.admin-table-panel .panel-head .pill {
  white-space: nowrap;
}

.panel-head h2,
.tool-form-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.panel-head h2 {
  font-size: 1.5rem;
}

.table-wrap {
  overflow: auto;
  margin-top: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(31, 95, 191, 0.12);
  text-align: left;
  vertical-align: top;
}

.admin-table td {
  color: var(--text);
}

.admin-table th {
  position: sticky;
  top: 0;
  background: rgba(240, 246, 255, 0.96);
  color: var(--primary-dark);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}

.admin-table tr.selected-row {
  background: rgba(23, 145, 255, 0.08);
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(247, 251, 255, 0.72);
}

.admin-table tbody tr:hover {
  background: rgba(10, 79, 211, 0.06);
}

.admin-table td:last-child {
  white-space: nowrap;
}

.admin-table .open-user,
.admin-table form button[type="submit"] {
  min-width: 78px;
}

.admin-table .button,
.admin-table button,
.admin-detail-panel .button,
.admin-detail-panel button,
.tool-form-card .button,
.tool-form-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.admin-table .button,
.admin-detail-panel .button,
.tool-form-card .button {
  min-height: 40px;
}

.admin-table button:hover,
.admin-table .button:hover,
.admin-detail-panel button:hover,
.admin-detail-panel .button:hover,
.tool-form-card button:hover,
.tool-form-card .button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.admin-table .secondary,
.admin-detail-panel .secondary,
.tool-form-card .secondary {
  background: rgba(10, 79, 211, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(10, 79, 211, 0.18);
}

.admin-table .secondary:hover,
.admin-detail-panel .secondary:hover,
.tool-form-card .secondary:hover {
  background: rgba(10, 79, 211, 0.14);
  color: var(--primary-dark);
}

.admin-detail-panel {
  display: grid;
  gap: 16px;
}

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

.pill-row .pill {
  background: rgba(10, 79, 211, 0.08);
  color: var(--primary-dark);
  border-color: rgba(10, 79, 211, 0.12);
}

.admin-detail-panel form,
.tool-form {
  display: grid;
  gap: 12px;
}

.admin-detail-panel label,
.tool-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-detail-panel input,
.admin-detail-panel select,
.tool-form input,
.tool-form select,
.tool-form textarea,
.admin-search input {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(31, 95, 191, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
}

.tool-form textarea {
  resize: vertical;
}

.admin-detail-panel input:focus,
.admin-detail-panel select:focus,
.tool-form input:focus,
.tool-form select:focus,
.tool-form textarea:focus,
.admin-search input:focus {
  outline: 2px solid rgba(23, 145, 255, 0.2);
  border-color: rgba(23, 145, 255, 0.5);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.tool-form-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.tool-form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.tool-form-head p {
  margin: 0;
}

.tool-state {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 145, 255, 0.1);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 95, 191, 0.12);
  border-radius: 14px;
  background: rgba(245, 250, 255, 0.92);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.switch input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

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

.detail-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(4, 29, 103, 0.48);
  backdrop-filter: blur(4px);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1310;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal-card {
  width: min(980px, 100%);
  max-height: min(88vh, 940px);
  overflow: auto;
  border-radius: 28px;
  padding: 26px 28px;
  box-shadow: 0 40px 120px rgba(4, 29, 103, 0.28);
  background: rgba(255, 255, 255, 0.96);
}

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

.admin-modal-body,
.admin-detail-panel {
  padding-top: 4px;
}

.admin-modal-body {
  display: grid;
  gap: 16px;
}

.admin-modal-body > * {
  margin: 0;
}

.admin-detail-panel > * + * {
  margin-top: 16px;
}

.admin-detail-panel h2,
.admin-detail-panel h3,
.admin-detail-panel p {
  margin-top: 0;
  margin-bottom: 0;
}

.admin-detail-panel h2 {
  font-size: 1.8rem;
}

.admin-detail-panel h3 {
  font-size: 1.15rem;
}

.admin-detail-panel p {
  line-height: 1.65;
}

.admin-detail-panel table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.admin-detail-panel table th,
.admin-detail-panel table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(31, 95, 191, 0.12);
  vertical-align: top;
  text-align: left;
}

.admin-detail-panel table th {
  background: rgba(240, 246, 255, 0.92);
  color: var(--primary-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-detail-panel form {
  padding: 20px;
  border: 1px solid rgba(31, 95, 191, 0.12);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.9);
}

.admin-modal-head h2 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  font-size: 1.4rem;
  line-height: 1.1;
}

.detail-hero h2 {
  font-size: 1.9rem;
  line-height: 1.08;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.detail-hero .muted {
  font-size: 0.98rem;
}

.modal-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 95, 191, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-modal[hidden],
.modal-backdrop[hidden] {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -1.5%, 0) scale(1.04);
  }
}

@keyframes floatField {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-22px) translateX(12px);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pixelPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-4px) scale(1.12);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-content,
  .grid-four,
  .grid-three,
  .contact-card,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .contact-card,
  .cta-banner {
    justify-content: stretch;
  }

  .hero-card-top {
    flex-direction: column;
  }

  .admin-header,
  .admin-layout,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .admin-header {
    display: grid;
    align-items: start;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .detail-hero {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body::before,
  .grid-radiance,
  .ambient {
    max-width: 100vw;
    overflow: hidden;
  }

  .page-shell {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    padding: 10px 0 36px;
    overflow-x: hidden;
  }

  .nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
    overflow: hidden;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .brand p {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .brand span {
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: grid;
    flex: 0 0 auto;
    position: relative;
    z-index: 1004;
  }

  .menu-close {
    display: inline-grid;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #eef6ff;
    color: var(--primary-dark);
    font-weight: 800;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 6px;
  }

  .mobile-menu-head strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.4rem;
    color: var(--primary-dark);
  }

  .menu-close span {
    grid-area: 1 / 1;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-dark);
  }

  .menu-close span:first-child {
    transform: rotate(45deg);
  }

  .menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1003;
    width: min(82vw, 320px);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 20px;
    transform: translateX(105%);
    transition: transform 220ms ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(16, 64, 145, 0.18);
    backdrop-filter: blur(18px);
  }

  .nav-links a {
    display: grid;
    place-items: center start;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .admin-shell {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    padding-top: 8px;
  }

  .admin-header,
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-search,
  .switch-grid,
  .admin-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-modal {
    padding: 10px;
  }

  .admin-modal-card {
    max-height: 92vh;
    border-radius: 22px;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1002;
    background: rgba(4, 29, 103, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.menu-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  body.menu-open .nav-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 22px;
    align-items: stretch;
  }

  .hero-copy,
  .hero-card,
  .section,
  .grid,
  .service-card,
  .value-card,
  .contact-card,
  .cta-banner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.1rem, 13vw, 3.6rem);
    line-height: 1;
    margin: 10px 0;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .hero-trust {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-trust span,
  .cta-detail span,
  .value-tag,
  .service-index,
  .signal-badge {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .hero-trust span,
  .cta-detail span {
    padding: 8px 10px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-stats div,
  .service-card,
  .value-card,
  .contact-card,
  .cta-banner {
    border-radius: 18px;
    padding: 18px;
  }

  .hero-brandline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 10px;
    border-radius: 22px;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .hero-brandtext strong {
    font-size: 1.2rem;
  }

  .hero-brandtext span {
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }

  .hero-card {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-card-top {
    gap: 12px;
  }

  .hero-card-top h3 {
    font-size: 1.3rem;
  }

  .hero-pixels {
    top: 20px;
    right: 18px;
    grid-template-columns: repeat(3, 9px);
    gap: 6px;
  }

  .hero-pixels span {
    width: 9px;
    height: 9px;
  }

  .hero-orbit {
    height: 180px;
    margin: 16px 0 10px;
    border-radius: 20px;
  }

  .hero-orbit::before {
    inset: 28px;
  }

  .hero-orbit::after {
    inset: 58px;
  }

  .orbit-core {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    font-size: 0.9rem;
  }

  .orbit-node {
    width: 46px;
    height: 46px;
    font-size: 0.8rem;
  }

  .orbit-node-one {
    top: 22px;
    margin-left: -23px;
  }

  .orbit-node-two {
    bottom: 30px;
    left: 30px;
  }

  .orbit-node-three {
    bottom: 30px;
    right: 30px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-metrics div,
  .capability-list article {
    padding: 14px;
    border-radius: 16px;
  }

  .hero-metrics strong {
    font-size: 1.45rem;
  }

  .card-pulse {
    align-items: flex-start;
    margin-top: 18px;
    padding: 14px;
    border-radius: 16px;
  }

  .section {
    padding: 34px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2,
  .cta-banner h2 {
    font-size: clamp(1.7rem, 10vw, 2.5rem);
    line-height: 1.1;
  }

  .grid {
    gap: 14px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .cta-banner {
    align-items: stretch;
  }

  .contact-card {
    gap: 18px;
  }

  .contact-copy {
    gap: 14px;
  }

  .contact-form {
    min-width: 0;
    width: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 46px;
    border-radius: 12px;
    padding: 12px 13px;
    font-size: 16px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .contact-address {
    max-width: none;
  }

  .scroll-top {
    right: 12px;
    bottom: 12px;
    z-index: 950;
    min-width: 54px;
    min-height: 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
  }

  .nav-links {
    width: min(88vw, 300px);
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 12vw, 2.8rem);
  }

  .hero-brandline {
    align-items: flex-start;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .hero-trust span {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card,
  .hero-stats div,
  .service-card,
  .value-card,
  .contact-card,
  .cta-banner {
    padding: 16px;
  }

  .hero-orbit {
    height: 160px;
  }

  .orbit-node-two {
    left: 18px;
  }

  .orbit-node-three {
    right: 18px;
  }

  .scroll-top {
    right: 10px;
    bottom: 10px;
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
    padding: 0;
  }
}
