:root {
  --bg: #040713;
  --bg-top: #0a1020;
  --panel: rgba(10, 15, 29, 0.86);
  --panel-strong: rgba(12, 18, 34, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(148, 166, 255, 0.12);
  --line-strong: rgba(148, 166, 255, 0.2);
  --text: #eef2ff;
  --text-soft: #c8d1ea;
  --text-dim: #9ba7c9;
  --cyan: #68cfff;
  --blue: #5c83ff;
  --violet: #7b8dff;
  --gold: #8bb8ff;
  --green: #7bc8ff;
  --danger: #ff8ba7;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.2);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --maxw: 980px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(114, 147, 255, 0.58) #0a0d19;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 16%, rgba(104, 207, 255, 0.14), transparent 0 22%),
    radial-gradient(circle at 86% 10%, rgba(92, 131, 255, 0.14), transparent 0 24%),
    radial-gradient(circle at 50% 0%, rgba(123, 141, 255, 0.08), transparent 0 30%),
    linear-gradient(180deg, #0d1328 0%, #070d1b 28%, #050914 62%, #03060f 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 20% 26%, rgba(104, 207, 255, 0.14), transparent 0 18%),
    radial-gradient(circle at 74% 18%, rgba(92, 131, 255, 0.12), transparent 0 18%),
    radial-gradient(circle at 82% 70%, rgba(139, 184, 255, 0.08), transparent 0 15%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), transparent 24%, transparent 80%, rgba(160, 190, 255, 0.018));
  filter: blur(96px);
  opacity: 0.62;
  transform: translate3d(0, 0, 0);
}

body::after {
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.035), transparent 52%),
    radial-gradient(ellipse at 50% 40%, rgba(92, 131, 255, 0.06), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24%, transparent 76%, rgba(150, 172, 255, 0.012));
  opacity: 0.72;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #070c18;
}

body::-webkit-scrollbar-thumb {
  border: 2px solid #070c18;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(104, 207, 255, 0.38), rgba(92, 131, 255, 0.42), rgba(123, 141, 255, 0.34));
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(104, 207, 255, 0.54), rgba(92, 131, 255, 0.58), rgba(123, 141, 255, 0.46));
}

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

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 42px;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
}

.site-shell::before {
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  top: 12%;
  left: -8%;
  background: radial-gradient(circle, rgba(104, 207, 255, 0.14) 0%, rgba(104, 207, 255, 0.07) 34%, transparent 72%);
  opacity: 0.54;
}

.site-shell::after {
  width: 42vw;
  height: 42vw;
  min-width: 320px;
  min-height: 320px;
  top: 6%;
  right: -14%;
  background: radial-gradient(circle, rgba(92, 131, 255, 0.14) 0%, rgba(123, 141, 255, 0.07) 42%, transparent 76%);
  opacity: 0.5;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.92), rgba(6, 10, 22, 0.74));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.topbar-inner,
.hero,
.section,
.footer-inner {
  width: min(var(--maxw), calc(100% - 24px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 248px;
  min-width: 248px;
}

.brand-copy {
  width: 100%;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 0.92rem;
  line-height: 1.1;
}

.brand-copy span {
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topnav a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 20, 40, 0.52);
  color: var(--text-soft);
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.topnav a::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, #58d2ff 0%, #6f8fff 25%, #a06cff 50%, #ff7ab6 75%, #58d2ff 100%);
  background-size: 260% 100%;
  opacity: 0.68;
  filter: saturate(1.15);
  animation: rgb-pill-flow 4.2s linear infinite;
  z-index: -2;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease, animation-duration 0.2s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(14, 18, 36, 0.9);
  z-index: -1;
}

.topnav a:hover,
.topnav a.active {
  color: var(--text);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 28px rgba(111, 143, 255, 0.28);
  filter: saturate(1.08);
}

.topnav a:hover::before,
.topnav a.active::before {
  opacity: 1;
  filter: saturate(1.45) brightness(1.22) blur(0.4px);
  transform: scale(1.04);
  animation-duration: 0.95s;
}

.topnav .cta-link {
  box-shadow: 0 0 26px rgba(159, 118, 255, 0.2);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(114, 147, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 14px 0 6px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 18px 20px 18px;
  background:
    linear-gradient(180deg, rgba(9, 14, 28, 0.84), rgba(6, 10, 20, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(26px);
}

.hero-panel::before {
  display: none;
}

.hero-panel::after {
  display: none;
}

.eyebrow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 18, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe3ff;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.eyebrow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, #58d2ff 0%, #6f8fff 25%, #a06cff 50%, #ff7ab6 75%, #58d2ff 100%);
  background-size: 260% 100%;
  opacity: 0.78;
  z-index: -2;
  animation: rgb-pill-flow 4.4s linear infinite;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease, animation-duration 0.2s ease;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(90, 208, 255, 0.5);
}

.eyebrow:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 24px rgba(111, 143, 255, 0.22);
  filter: saturate(1.08);
}

.eyebrow:hover::after {
  opacity: 1;
  filter: saturate(1.48) brightness(1.24) blur(0.4px);
  transform: scale(1.04);
  animation-duration: 0.9s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 320px);
  gap: 14px;
  align-items: start;
  margin-top: 10px;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0 0 10px;
  max-width: 13ch;
  font-size: clamp(1.5rem, 2.6vw, 2.45rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.services-overview-page .hero-copy h1 {
  max-width: 10ch;
}

.hero-copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.44;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  color: #08111f;
  background: linear-gradient(135deg, rgba(90, 208, 255, 0.95), rgba(114, 147, 255, 0.92) 45%, rgba(159, 118, 255, 0.9));
  box-shadow: 0 14px 34px rgba(114, 147, 255, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.82), rgba(8, 12, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.hero-card::before {
  display: none;
}

.hero-stats {
  display: grid;
  gap: 7px;
}

.hero-stat {
  padding: 10px 11px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  margin-bottom: 4px;
  font-size: 0.86rem;
  line-height: 1.2;
}

.hero-stat span {
  color: var(--text-dim);
  font-size: 0.74rem;
  line-height: 1.34;
}

.section {
  position: relative;
  padding: 8px 0 2px;
}

.section::before {
  display: none;
}

.section-head {
  margin-bottom: 10px;
}

.package-showcase {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(104, 207, 255, 0.06), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(92, 131, 255, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(10, 16, 31, 0.96), rgba(6, 10, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.package-showcase.section::before {
  display: none;
}

.package-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(104, 207, 255, 0.78), rgba(92, 131, 255, 0.76), rgba(123, 141, 255, 0.7), rgba(104, 207, 255, 0.74), rgba(92, 131, 255, 0.78));
  background-size: 240% 240%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
  animation: rgb-frame-flow 9s linear infinite;
}

.package-showcase::after {
  content: "";
  position: absolute;
  inset: -28% -12%;
  background:
    conic-gradient(from 90deg at 50% 50%, transparent 0deg, rgba(104, 207, 255, 0.14) 46deg, transparent 92deg, transparent 178deg, rgba(92, 131, 255, 0.14) 224deg, transparent 272deg, rgba(123, 141, 255, 0.1) 320deg, transparent 360deg);
  opacity: 0.34;
  filter: blur(52px);
  pointer-events: none;
  animation: rgb-aurora-spin 16s linear infinite;
}

.package-showcase .section-head,
.package-showcase .cards-grid {
  position: relative;
  z-index: 1;
}

.section-kicker {
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-head h2 {
  margin: 0 0 8px;
  max-width: 760px;
  font-size: clamp(1.18rem, 1.9vw, 1.64rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.services-overview-page .section-head {
  text-align: left !important;
}

.services-overview-page .section-head .section-kicker,
.services-overview-page .section-head h2,
.services-overview-page .section-head p {
  width: 100%;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.services-overview-page .overview-section-centered .section-head {
  text-align: center !important;
}

.services-overview-page .overview-section-centered .section-head .section-kicker,
.services-overview-page .overview-section-centered .section-head h2,
.services-overview-page .overview-section-centered .section-head p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cards-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 8px;
}

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.84), rgba(6, 10, 20, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--glow), 0.28), rgba(255, 255, 255, 0.04) 30%, rgba(var(--glow), 0.08) 72%, rgba(255, 255, 255, 0.02));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.card:hover,
.card.in-view {
  border-color: rgba(var(--glow), 0.22);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(var(--glow), 0.08);
}

.card:hover {
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 0;
}

.hero-parallax-card {
  transform: none !important;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(11, 16, 34, 0.94), rgba(11, 16, 34, 0.94)) padding-box,
    linear-gradient(90deg, #58d2ff 0%, #6f8fff 25%, #a06cff 50%, #ff7ab6 75%, #58d2ff 100%) border-box;
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 0 50%;
  color: #dbe7ff;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px rgba(var(--glow), 0.12);
  animation: rgb-pill-flow 3.8s linear infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.card-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--glow));
  box-shadow: 0 0 14px rgba(var(--glow), 0.4);
}

.card:hover .card-badge,
.card.in-view .card-badge {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 24px rgba(var(--glow), 0.2);
  filter: saturate(1.08);
}

.card-badge {
  white-space: nowrap;
}

.card-badge::before {
  flex: 0 0 auto;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.34;
}

.price {
  display: inline-flex;
  margin: 7px 0 5px;
  padding: 5px 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(var(--glow), 0.28);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 16px rgba(var(--glow), 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.price:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(var(--glow), 0.16);
  border-color: rgba(var(--glow), 0.4);
}

@keyframes rgb-pill-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes rgb-frame-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes rgb-aurora-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.06);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.feature-list,
.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li,
.mini-list li {
  position: relative;
  padding: 4px 0 4px 15px;
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.28;
}

.feature-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--glow));
  box-shadow: 0 0 10px rgba(var(--glow), 0.42);
}

.tech-card .tech-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(var(--glow), 0.14);
  color: rgb(var(--glow));
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.tech-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.security-overview-section {
  overflow: hidden;
}

.security-stack-grid {
  position: relative;
}

.security-stack-grid::before {
  content: "";
  position: absolute;
  inset: 14px 8%;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 8% 20%, rgba(104, 207, 255, 0.66) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 56%, rgba(92, 131, 255, 0.58) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 28%, rgba(123, 141, 255, 0.54) 0 2px, transparent 3px),
    linear-gradient(118deg, transparent 9%, rgba(104, 207, 255, 0.08) 10%, transparent 11%),
    linear-gradient(28deg, transparent 50%, rgba(92, 131, 255, 0.07) 51%, transparent 52%);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  margin: 6px 0 12px;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 15, 29, 0.86), rgba(6, 10, 20, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(104, 207, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 26%, rgba(92, 131, 255, 0.11), transparent 24%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.38;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  margin-top: 0;
  padding: 8px 0 10px;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.72), rgba(6, 10, 22, 0.9));
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.2em;
  color: var(--text-dim);
  font-size: 0.76rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.services-overview-page .hero-copy h1,
.services-overview-page .hero-copy p,
.services-overview-page .hero-actions {
  opacity: 1;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card,
  .btn,
  .topnav a {
    transition: none;
  }

  .package-showcase::before,
  .package-showcase::after {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-grid,
  .stack-grid,
  .contact-inner,
  .cards-grid,
  .cards-grid.two-col {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    display: grid;
  }

  .hero-copy,
  .hero-copy h1 {
    max-width: none;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 760px) {
  .package-showcase {
    padding: 16px 14px;
    border-radius: 24px;
  }

  html,
  body,
  .site-shell,
  .hero,
  .hero-panel,
  .section,
  .contact-panel,
  .page-footer {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  body::before,
  body::after {
    position: absolute;
    inset: 0;
  }

  body::before {
    opacity: 0.4;
  }

  body::after {
    opacity: 0.62;
  }

  .site-shell::before,
  .site-shell::after {
    filter: blur(72px);
    opacity: 0.5;
  }

  body.menu-open {
    overflow: hidden;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .topbar-inner,
  .hero,
  .section,
  .footer-inner {
    width: min(var(--maxw), calc(100% - 16px));
  }

  .topbar-inner {
    min-height: 58px;
    padding: 10px 0;
    position: relative;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-copy strong,
  .brand-copy span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .topnav {
    position: fixed;
    left: 8px;
    right: 8px;
    top: 66px;
    z-index: 80;
    width: auto;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(114, 147, 255, 0.14);
    background: rgba(7, 11, 22, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .topnav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .topnav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 13px 14px;
    border-radius: 12px;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .topnav .cta-link {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left-color: rgba(159, 118, 255, 0.24);
    border-right-color: rgba(159, 118, 255, 0.24);
    border-bottom-color: rgba(159, 118, 255, 0.24);
    border-color: rgba(159, 118, 255, 0.24);
    background: linear-gradient(135deg, rgba(104, 207, 255, 0.14), rgba(92, 131, 255, 0.18));
    justify-content: center;
  }

  .hero {
    padding: 8px 0 4px;
  }

  .hero-panel,
  .contact-panel {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .hero-copy h1,
  .services-overview-page .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.34rem, 8vw, 1.9rem);
  }

  .hero-copy p,
  .section-head p,
  .contact-copy p {
    font-size: 0.78rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .section {
    padding: 10px 0 6px;
  }

  .security-stack-grid::before {
    display: none;
  }

  .cards-grid,
  .cards-grid.two-col,
  .stack-grid {
    gap: 10px;
  }

  .card {
    margin: 0;
  }

  .site-shell {
    padding-bottom: 48px;
  }
}

@media (max-width: 560px) {
  .tech-grid {
    grid-template-columns: 1fr !important;
  }

  .btn {
    width: 100%;
  }

  .brand {
    gap: 0;
  }
}
