:root {
  color-scheme: dark;
  --bg: #030813;
  --panel: rgba(5, 15, 34, 0.74);
  --panel-strong: rgba(7, 18, 44, 0.92);
  --panel-soft: rgba(7, 21, 48, 0.82);
  --line: rgba(44, 211, 255, 0.2);
  --line-strong: rgba(56, 231, 255, 0.46);
  --text: #f4fbff;
  --muted: #9eb8ce;
  --brand: #22d8ff;
  --brand-2: #1267ff;
  --accent: #7df3ff;
  --danger: #ff5f8f;
  --shadow: 0 30px 90px rgba(0, 6, 20, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 15% 8%, rgba(34, 216, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(18, 103, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #030813 0%, #06142c 42%, #020611 100%);
  color: var(--text);
  overflow-x: hidden;
}

.scroll-root {
  padding-bottom: 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.aurora {
  position: absolute;
  width: 70vw;
  height: 28rem;
  opacity: 0.46;
  filter: blur(32px);
  transform: rotate(-12deg);
  animation: auroraSweep 18s ease-in-out infinite;
}

.aurora-a {
  top: -9rem;
  left: -24vw;
  background: linear-gradient(90deg, transparent, rgba(34, 216, 255, 0.32), rgba(18, 103, 255, 0.22), transparent);
}

.aurora-b {
  right: -26vw;
  bottom: 5rem;
  background: linear-gradient(90deg, transparent, rgba(125, 243, 255, 0.24), rgba(18, 103, 255, 0.16), transparent);
  animation-delay: -8s;
}

.signal-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(34, 216, 255, 0.08) 47%, transparent 48% 100%),
    linear-gradient(60deg, transparent 0 58%, rgba(18, 103, 255, 0.09) 59%, transparent 60% 100%);
  background-size: 280px 220px;
  animation: gridSlide 24s linear infinite;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), transparent 75%);
}

.topbar {
  position: sticky;
  top: 45px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1220px, calc(100vw - 24px));
  margin: 45px auto 0;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(44, 211, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(8, 21, 50, 0.82), rgba(2, 8, 22, 0.72)),
    rgba(4, 13, 25, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  border-radius: 999px;
  box-shadow:
    0 24px 80px rgba(0, 6, 20, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(34, 216, 255, 0.42), rgba(18, 103, 255, 0.34), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.topbar:hover::before {
  opacity: 1;
}

.topbar.is-scrolled {
  border-color: rgba(125, 243, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(8, 21, 50, 0.94), rgba(2, 8, 22, 0.86)),
    rgba(4, 13, 25, 0.9);
  box-shadow:
    0 18px 64px rgba(0, 6, 20, 0.62),
    0 0 32px rgba(34, 216, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-full img {
  width: 76px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(34, 216, 255, 0.36));
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  padding: 5px;
  border: 1px solid rgba(44, 211, 255, 0.12);
  border-radius: 999px;
  background: rgba(2, 8, 20, 0.52);
}

.nav-link,
.nav-button {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}

.nav-link {
  padding: 10px 14px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-link::after,
.nav-button::after,
.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: transform 420ms ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(34, 216, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-button:hover::after,
.primary-button:hover::after {
  transform: translateX(120%);
}

.nav-button,
.primary-button,
.ghost-button,
.whatsapp-button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 18px;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.nav-button,
.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.primary-button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(86, 204, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(32, 171, 255, 0.92) 0%, rgba(18, 88, 211, 0.9) 58%, rgba(8, 28, 76, 0.96) 100%);
  color: #f5fbff;
  font-weight: 800;
  box-shadow:
    0 14px 34px rgba(18, 103, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 16px rgba(0, 6, 20, 0.5);
}

.ghost-button {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(44, 211, 255, 0.08);
}

.whatsapp-button {
  border: 1px solid rgba(78, 223, 143, 0.34);
  background: rgba(26, 120, 75, 0.14);
  color: #b7ffd7;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(78, 223, 143, 0.06);
}

.store-button {
  border: 1px solid rgba(125, 243, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(14, 42, 102, 0.88), rgba(3, 13, 32, 0.82));
  color: #dff8ff;
  font-weight: 800;
  box-shadow:
    0 14px 32px rgba(0, 6, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.primary-button:hover,
.ghost-button:hover,
.nav-button:hover,
.whatsapp-button:hover,
.store-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.page-shell {
  width: min(1320px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 26px 0 48px;
}

.page-shell-wide {
  width: min(1360px, calc(100vw - 24px));
}

.page-shell-legal {
  width: min(1160px, calc(100vw - 24px));
}

.hero,
.subpage-hero {
  padding: 18px 0 24px;
}

.hero-balanced {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 22px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 42px 0 28px;
  min-height: calc(100vh - 160px);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-2);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 3.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 15ch;
  text-shadow: 0 0 34px rgba(34, 216, 255, 0.14);
}

.hero-copy h1 {
  background: linear-gradient(92deg, #ffffff 0%, #b7efff 42%, #3bdcff 64%, #f4fbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  margin-top: 18px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.lead-legal {
  max-width: 72ch;
}

.meta-line {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric-row-compact {
  max-width: 760px;
}

.metric-card,
.service-card,
.timeline-card,
.gallery-card,
.product-card,
.cta-card,
.subpage-hero,
.legal-card,
.contact-card,
.stage-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.metric-card,
.service-card,
.timeline-card,
.product-card {
  position: relative;
  overflow: hidden;
}

.metric-card::before,
.service-card::before,
.timeline-card::before,
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  background: linear-gradient(180deg, transparent, rgba(34, 216, 255, 0.08));
  transition: transform 260ms ease;
  pointer-events: none;
}

.metric-card:hover::before,
.service-card:hover::before,
.timeline-card:hover::before,
.product-card:hover::before {
  transform: translateY(0);
}

.metric-card {
  padding: 18px;
  border-radius: 18px;
}

.metric-card strong {
  display: block;
  font-size: 1.85rem;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.hero-stage {
  position: relative;
  min-height: 660px;
  isolation: isolate;
}

.tech-constellation {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(44, 211, 255, 0.28);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(34, 216, 255, 0.28), transparent 18%),
    radial-gradient(circle at 18% 18%, rgba(18, 103, 255, 0.2), transparent 23%),
    radial-gradient(circle at 80% 76%, rgba(125, 243, 255, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(5, 18, 45, 0.86), rgba(1, 6, 18, 0.9));
  box-shadow:
    var(--shadow),
    inset 0 0 110px rgba(34, 216, 255, 0.09),
    0 0 80px rgba(18, 103, 255, 0.14);
}

.tech-constellation::selection {
  background: transparent;
}

.tech-constellation::before,
.tech-constellation::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(44, 211, 255, 0.16);
  border-radius: 999px;
  animation: spinSystem 28s linear infinite;
}

.tech-constellation::after {
  inset: 18%;
  border-color: rgba(18, 103, 255, 0.22);
  animation-duration: 18s;
  animation-direction: reverse;
}

.constellation-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 178px;
  height: 178px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 4;
}

.core-ring,
.core-node {
  position: absolute;
  border-radius: 50%;
}

.core-ring {
  inset: 0;
  border: 1px solid rgba(34, 216, 255, 0.58);
  animation: pulseRing 2.8s ease-in-out infinite;
}

.core-ring-b {
  inset: 20px;
  border-color: rgba(18, 103, 255, 0.62);
  animation-delay: -1s;
}

.core-node {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(34, 216, 255, 0.3), rgba(18, 103, 255, 0.28)),
    rgba(4, 10, 24, 0.96);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0 54px rgba(34, 216, 255, 0.36);
}

.connection {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(34vw, 310px);
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(34, 216, 255, 0.82), rgba(34, 216, 255, 0.2), transparent);
  z-index: 2;
  opacity: 0.74;
  filter: drop-shadow(0 0 10px rgba(34, 216, 255, 0.2));
}

.connection-a { transform: rotate(18deg); }
.connection-b { transform: rotate(104deg); }
.connection-c { transform: rotate(198deg); }
.connection-d { transform: rotate(306deg); }
.connection-e { transform: rotate(54deg); width: min(28vw, 260px); opacity: 0.42; }
.connection-f { transform: rotate(148deg); width: min(29vw, 270px); opacity: 0.42; }
.connection-g { transform: rotate(246deg); width: min(29vw, 270px); opacity: 0.42; }
.connection-h { transform: rotate(344deg); width: min(28vw, 260px); opacity: 0.42; }

.tech-token {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  min-width: 84px;
  height: 74px;
  padding: 0 14px;
  border: 1px solid rgba(44, 211, 255, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(4, 13, 32, 0.9);
  color: var(--text);
  text-align: center;
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.15;
  box-shadow: 0 18px 42px rgba(0, 8, 8, 0.42);
  will-change: transform, box-shadow;
}

.tech-token:hover {
  border-color: rgba(125, 243, 255, 0.72);
  box-shadow:
    0 24px 56px rgba(0, 8, 20, 0.54),
    0 0 30px rgba(34, 216, 255, 0.22);
}

.token-ai { left: 9%; top: 11%; color: #ffe66d; }
.token-extension { right: 7%; top: 14%; color: var(--brand); min-width: 134px; }
.token-fullstack { left: 9%; bottom: 25%; color: var(--accent); min-width: 118px; }
.token-devops { right: 10%; bottom: 17%; color: #d7f77d; }
.token-security { left: 39%; top: 6%; color: #a9ff68; }
.token-automation { left: 40%; bottom: 6%; color: var(--danger); min-width: 120px; }
.token-saas { right: 24%; top: 44%; color: #b59cff; }
.token-api { left: 23%; top: 45%; color: #ff9cc5; }
.token-data { left: 17%; top: 27%; color: #8ef9ff; }
.token-cloud { right: 27%; top: 28%; color: #80a7ff; }
.token-ux { left: 22%; bottom: 9%; color: #ffc170; min-width: 112px; }
.token-backend { right: 22%; bottom: 34%; color: #79ffbd; min-width: 112px; }

.code-stream {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  z-index: 6;
}

.code-stream span {
  overflow: hidden;
  padding: 11px 12px;
  border: 1px solid rgba(44, 211, 255, 0.28);
  border-radius: 12px;
  background: rgba(3, 12, 26, 0.82);
  color: #e4f8ff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scan-beam {
  position: absolute;
  inset: -20% auto auto 50%;
  z-index: 1;
  width: 120px;
  height: 140%;
  transform: translateX(-50%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(34, 216, 255, 0.2), transparent);
  filter: blur(2px);
  animation: scanBeam 4.8s ease-in-out infinite;
}

.orbit-dot {
  position: absolute;
  z-index: 7;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(34, 216, 255, 0.12), 0 0 30px rgba(34, 216, 255, 0.62);
  animation: signalPulse 1.6s ease-in-out infinite;
}

.orbit-dot-a { left: 22%; top: 31%; }
.orbit-dot-b { right: 24%; top: 58%; animation-delay: -0.5s; }
.orbit-dot-c { right: 42%; bottom: 25%; animation-delay: -1s; }

.hero-scroll-cue {
  display: none;
}

.hero-scroll-cue span {
  display: none;
}

.c-scrollbar,
.has-scroll-smooth .c-scrollbar,
.has-scroll-dragging .c-scrollbar {
  display: none !important;
  opacity: 0 !important;
}

.stage-panel-product img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.stage-caption {
  display: grid;
  gap: 8px;
  padding: 16px 16px 0;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(34, 216, 255, 0.12);
  color: var(--brand);
}

.badge-teal {
  background: rgba(18, 103, 255, 0.12);
  color: var(--brand-2);
}

.section {
  padding: 52px 0;
}

.product-section {
  padding-top: 88px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 68ch;
  margin-bottom: 24px;
}

.section-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.timeline-card,
.legal-card,
.contact-card {
  padding: 24px;
  border-radius: 22px;
}

.service-card p,
.timeline-card p,
.legal-card p,
.contact-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.72;
}

.service-card {
  padding: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
}

.service-card p {
  line-height: 1.64;
}

.service-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(34, 216, 255, 0.16);
  color: #dffaff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.product-stack-showcase {
  display: grid;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  padding: 22px;
  border-radius: 26px;
}

.product-card-alt {
  background:
    radial-gradient(circle at top right, rgba(84, 225, 209, 0.08), transparent 32%),
    var(--panel);
}

.product-card-copy {
  display: grid;
  align-content: start;
}

.product-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 216, 255, 0.16);
  color: #ddf8ff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-label-teal {
  background: rgba(18, 103, 255, 0.2);
  color: #e4fbff;
}

.product-card-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.feature-list {
  margin-top: 18px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.product-card-media {
  position: relative;
  min-height: 390px;
}

.product-detail-media {
  position: relative;
  min-height: 520px;
}

.floating-media {
  perspective: 1200px;
}

.gallery-card {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  min-height: 250px;
  border-color: rgba(125, 243, 255, 0.24);
  background: rgba(2, 8, 20, 0.58);
  box-shadow:
    0 26px 70px rgba(0, 6, 20, 0.52),
    0 0 34px rgba(34, 216, 255, 0.1);
  animation: imageFloat 5.8s ease-in-out infinite;
}

.product-card-media:hover .gallery-card {
  z-index: 1;
}

.product-detail-media:hover .gallery-card {
  z-index: 1;
}

.product-card-media .gallery-card:hover,
.product-detail-media .gallery-card:hover {
  z-index: 10;
  box-shadow:
    0 32px 86px rgba(0, 6, 20, 0.62),
    0 0 46px rgba(34, 216, 255, 0.2);
}

.gallery-float-a {
  left: 0;
  top: 20px;
  width: 64%;
  z-index: 2;
  transform: rotate(-4deg);
}

.gallery-float-b {
  right: 0;
  bottom: 14px;
  width: 58%;
  z-index: 3;
  transform: rotate(5deg);
  animation-delay: -2.4s;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(1, 8, 20, 0.82);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-grid,
.process-grid,
.contact-layout {
  display: grid;
  gap: 18px;
}

.seo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px 0 42px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  margin-top: 22px;
}

.seo-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.seo-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.72;
}

.price-line {
  color: var(--accent) !important;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(44, 211, 255, 0.22);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(2, 8, 20, 0.64);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(125, 243, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(34, 216, 255, 0.08);
  background: rgba(4, 13, 32, 0.88);
}

.contact-form .hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status[data-state="success"] {
  color: #7df3ff;
}

.form-status[data-state="error"] {
  color: #ff9f9f;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.cta-section {
  padding-top: 16px;
}

.cta-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 216, 255, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(10, 38, 90, 0.54), rgba(3, 11, 29, 0.92)),
    var(--panel-strong);
  box-shadow:
    0 24px 76px rgba(0, 6, 20, 0.5),
    inset 0 0 54px rgba(34, 216, 255, 0.045);
}

.cta-card > img {
  width: 148px;
  border-radius: 18px;
}

.cta-card p:last-of-type {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.subpage-hero {
  padding: 32px;
  border-radius: 28px;
}

.legal-grid,
.contact-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-list a {
  color: var(--brand-2);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1320px, calc(100vw - 24px));
  margin: 12px auto 0;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(8, 21, 50, 0.68), rgba(2, 8, 22, 0.82)),
    var(--panel);
  box-shadow: var(--shadow);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 620px;
}

.site-footer img {
  width: 58px;
  filter: drop-shadow(0 0 18px rgba(34, 216, 255, 0.3));
}

.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.tilt-card:hover {
  transform: perspective(1200px) rotateX(3deg) rotateY(-4deg) translateY(-4px);
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -28px, 0) scale(1.08); }
}

@keyframes auroraSweep {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
  50% { transform: translate3d(8vw, 4rem, 0) rotate(-6deg); }
}

@keyframes gridSlide {
  from { background-position: 0 0; }
  to { background-position: 280px 220px; }
}

@keyframes spinSystem {
  to { transform: rotate(360deg); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(0.94); opacity: 0.52; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes signalPulse {
  0%, 100% { transform: scale(0.88); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes scanBeam {
  0%, 100% { left: -10%; opacity: 0; }
  18%, 72% { opacity: 1; }
  50% { left: 112%; }
}

@keyframes scrollCue {
  0% { transform: translate(-50%, 0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, 20px); opacity: 0; }
}

@keyframes imageFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

@media (max-width: 1180px) {
  .hero-balanced,
  .product-detail-hero,
  .product-card,
  .timeline,
  .process-grid,
  .cta-card,
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-balanced,
  .product-detail-hero {
    min-height: auto;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar,
  .page-shell,
  .page-shell-wide,
  .page-shell-legal {
    width: min(100vw - 16px, 1360px);
  }

  .topbar {
    margin-top: 10px;
    padding: 12px;
    border-radius: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-full img {
    width: 76px;
  }

  .nav {
    gap: 12px;
    width: 100%;
    justify-content: center;
  }

  .metric-row,
  .card-grid,
  .product-card-media {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    min-height: auto;
  }

  .product-detail-media {
    min-height: auto;
  }

  .gallery-card {
    position: relative;
    width: 100%;
    min-height: 260px;
  }

  .gallery-float-a,
  .gallery-float-b {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .gallery-float-b {
    margin-top: 16px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .tech-constellation {
    min-height: 500px;
  }

  .code-stream {
    grid-template-columns: 1fr 1fr;
  }

  .tech-token {
    min-width: 70px;
    max-width: 124px;
    height: 62px;
    border-radius: 16px;
    font-size: 0.74rem;
    padding: 0 10px;
  }

  .hero,
  .subpage-hero {
    padding-top: 8px;
  }

  .subpage-hero,
  .service-card,
  .timeline-card,
  .legal-card,
  .contact-card,
  .product-card,
  .cta-card {
    padding: 18px;
  }

  .cta-card > img {
    width: 120px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
