:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-2: #090d17;
  --surface: #101522;
  --surface-2: #151b2b;
  --blue: #159cff;
  --cyan: #45beff;
  --pink: #ff2d9a;
  --magenta: #c80068;
  --silver: #dce5ee;
  --text: #f7f9fc;
  --muted: #aab5c5;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(69, 190, 255, 0.32);
  --shadow-blue: 0 0 36px rgba(21, 156, 255, 0.24);
  --shadow-pink: 0 0 36px rgba(255, 45, 154, 0.22);
  --radius: 8px;
  --max: 1180px;
  --font-heading: Sora, "Space Grotesk", Inter, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(21, 156, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 84% 6%, rgba(255, 45, 154, 0.12), transparent 34rem),
    linear-gradient(180deg, #05060a 0%, #080b14 42%, #05060a 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--cyan);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.45rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
  color: var(--muted);
}

strong {
  color: var(--silver);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(850px, calc(100% - 40px));
}

.section {
  padding: 92px 0;
  position: relative;
}

.surface-band {
  background:
    linear-gradient(90deg, rgba(21, 156, 255, 0.07), transparent 30%, rgba(255, 45, 154, 0.07)),
    rgba(9, 13, 23, 0.7);
  border-block: 1px solid var(--border);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--text);
  color: #05060a;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 700;
  overflow: visible;
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(69, 190, 255, 0.22);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--pink), transparent);
  opacity: 0.74;
}

.header-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}

.brand {
  width: clamp(185px, 15vw, 200px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
  mix-blend-mode: lighten;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(21, 156, 255, 0.25));
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  overflow: visible;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  color: var(--silver);
  font-size: 0.92rem;
  border-radius: var(--radius);
}

.nav-chevron {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
  color: currentColor;
}

.nav-link.active,
.nav-link:hover,
.nav-dropdown:focus-within .nav-link {
  background: rgba(69, 190, 255, 0.08);
  color: var(--text);
}

.nav-dropdown {
  position: relative;
  z-index: 750;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  display: grid;
  gap: 2px;
  padding: 12px;
  background: rgba(10, 14, 24, 0.97);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-blue), 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: none;
  pointer-events: none;
  z-index: 900;
  transition: opacity 160ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown > .nav-link:focus + .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-panel a,
.mobile-nav a,
.mobile-submenu-toggle {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
}

.dropdown-panel a {
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-panel a,
.nav-dropdown:focus-within .dropdown-panel a,
.nav-dropdown > .nav-link:focus + .dropdown-panel a,
.nav-dropdown.open .dropdown-panel a {
  pointer-events: auto;
}

.site-header.dropdown-suppressed .nav-dropdown:hover .dropdown-panel,
.site-header.dropdown-suppressed .nav-dropdown:focus-within .dropdown-panel,
.site-header.dropdown-suppressed .nav-dropdown > .nav-link:focus + .dropdown-panel,
.site-header.dropdown-suppressed .nav-dropdown.open .dropdown-panel {
  opacity: 0;
  pointer-events: none;
}

.site-header.dropdown-suppressed .nav-dropdown:hover .dropdown-panel a,
.site-header.dropdown-suppressed .nav-dropdown:focus-within .dropdown-panel a,
.site-header.dropdown-suppressed .nav-dropdown > .nav-link:focus + .dropdown-panel a,
.site-header.dropdown-suppressed .nav-dropdown.open .dropdown-panel a {
  pointer-events: none;
}

.dropdown-panel a:hover,
.mobile-nav a:hover,
.mobile-submenu-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--silver);
  border-radius: 10px;
}

.mobile-nav {
  display: none;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 750;
  letter-spacing: 0;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 0 22px rgba(21, 156, 255, 0.22), 0 0 26px rgba(255, 45, 154, 0.14);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(21, 156, 255, 0.32), 0 0 40px rgba(255, 45, 154, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(220, 229, 238, 0.32);
  color: var(--silver);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-blue);
}

.btn-small {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.cta-row,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-hero {
  min-height: min(860px, calc(100vh - 118px));
  display: flex;
  align-items: center;
  padding: 80px 0 56px;
}

.page-hero,
.product-hero,
.article-hero {
  padding: 84px 0 80px;
}

.circuit-surface::before,
.circuit-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.circuit-surface::before {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(69, 190, 255, 0.13) 10% 10.2%, transparent 10.2% 100%),
    linear-gradient(0deg, transparent 0 72%, rgba(255, 45, 154, 0.1) 72% 72.2%, transparent 72.2% 100%),
    radial-gradient(circle at 18% 40%, rgba(21, 156, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 84% 45%, rgba(255, 45, 154, 0.13), transparent 28rem);
  background-size: 320px 220px, 420px 260px, auto, auto;
  opacity: 0.9;
}

.circuit-surface::after {
  background:
    radial-gradient(circle, rgba(69, 190, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 45, 154, 0.6) 0 2px, transparent 3px);
  background-size: 210px 180px, 280px 220px;
  animation: drift 18s linear infinite;
  opacity: 0.35;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.home-hero .hero-grid {
  align-items: start;
}

.home-hero .hero-visual {
  align-self: start;
  margin-top: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy p,
.page-hero p,
.article-hero p,
.product-info > p {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-chips {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span,
.tag-row span,
.product-meta span,
.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.logo-stage {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
  border: 1px solid rgba(69, 190, 255, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 21, 34, 0.8), rgba(5, 6, 10, 0.2)),
    radial-gradient(circle at 24% 24%, rgba(21, 156, 255, 0.22), transparent 40%),
    radial-gradient(circle at 78% 48%, rgba(255, 45, 154, 0.2), transparent 42%);
  box-shadow: var(--shadow-blue), var(--shadow-pink), inset 0 0 45px rgba(255, 255, 255, 0.04);
}

.logo-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 45, 154, 0.18));
}

.system-lines {
  position: absolute;
  inset: 8% -4%;
  z-index: -1;
  pointer-events: none;
}

.system-lines span {
  position: absolute;
  height: 2px;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  box-shadow: 0 0 18px rgba(69, 190, 255, 0.7);
  animation: pulseLine 4s ease-in-out infinite;
}

.system-lines span:nth-child(1) {
  top: 22%;
  left: 0;
}

.system-lines span:nth-child(2) {
  top: 52%;
  right: 0;
  animation-delay: 800ms;
}

.system-lines span:nth-child(3) {
  bottom: 20%;
  left: 18%;
  animation-delay: 1400ms;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-head p {
  margin-top: 14px;
}

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

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

.feature-card,
.product-card,
.project-card,
.blog-card,
.industry-card,
.mini-card,
.panel,
.process-step,
.outcome-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 21, 34, 0.94), rgba(7, 9, 16, 0.88)),
    radial-gradient(circle at 22% 0, rgba(21, 156, 255, 0.12), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card,
.product-card,
.project-card,
.blog-card,
.industry-card,
.mini-card,
.panel,
.process-step {
  padding: 24px;
}

.feature-card:hover,
.product-card:hover,
.project-card:hover,
.blog-card:hover,
.industry-card:hover,
.mini-card:hover {
  border-color: rgba(69, 190, 255, 0.34);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.feature-card,
.product-card,
.project-card,
.blog-card,
.industry-card,
.mini-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(69, 190, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(21, 156, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(21, 156, 255, 0.1);
}

.icon-svg {
  width: 27px;
  height: 27px;
}

.feature-card h3,
.product-card h3,
.project-card h3,
.blog-card h3,
.industry-card h3,
.mini-card h3,
.panel h2,
.panel h3,
.process-step h3 {
  margin-bottom: 10px;
}

.feature-card p,
.product-card p,
.project-card p,
.blog-card p,
.industry-card p,
.mini-card p {
  margin-bottom: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--cyan);
  font-weight: 800;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
  color: var(--pink);
}

.mini-label {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.outcome-card {
  min-height: 116px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.outcome-card span {
  width: 12px;
  height: 44px;
  flex: 0 0 12px;
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--pink));
  box-shadow: 0 0 18px rgba(255, 45, 154, 0.32);
}

.outcome-card p {
  color: var(--silver);
  font-weight: 700;
}

.solution-showcase {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
}

.solution-tabs {
  display: grid;
  gap: 8px;
}

.solution-tab,
.filter-btn {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
  text-align: left;
  padding: 10px 12px;
}

.solution-tab.active,
.filter-btn.active {
  border-color: rgba(255, 45, 154, 0.44);
  background: linear-gradient(135deg, rgba(21, 156, 255, 0.14), rgba(255, 45, 154, 0.12));
  color: var(--text);
}

.solution-panel {
  display: none;
  min-height: 380px;
  padding: 34px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 21, 34, 0.95), rgba(5, 6, 10, 0.94)),
    radial-gradient(circle at 78% 24%, rgba(255, 45, 154, 0.16), transparent 34%);
}

.solution-panel.active {
  display: block;
}

.solution-panel > span {
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.solution-panel h3 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.solution-panel p {
  max-width: 620px;
  margin-top: 14px;
}

.mock-interface,
.product-preview,
.project-art,
.blog-art {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(69, 190, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21, 156, 255, 0.18), rgba(255, 45, 154, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.mock-interface {
  margin-top: 28px;
  min-height: 150px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 18px;
}

.mock-interface span {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.mock-interface span:first-child {
  grid-row: span 2;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(69, 190, 255, 0.34);
}

.animated-list li:nth-child(even)::before {
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 45, 154, 0.28);
}

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

.process-step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--pink);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 21, 34, 0.84);
  padding: 0;
}

.faq-item summary {
  min-height: 54px;
  padding: 16px 18px;
  color: var(--silver);
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  padding: 0 18px 18px;
}

.final-cta {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
}

.final-cta-inner {
  max-width: 920px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.final-cta p {
  max-width: 760px;
  margin: 18px auto 0;
}

.final-cta .cta-row {
  justify-content: center;
}

.breadcrumbs {
  background: rgba(5, 6, 10, 0.76);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs ol {
  width: min(var(--max), calc(100% - 40px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  font-size: 0.86rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 9px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--cyan);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(230px, 360px) 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.filter-bar input,
label input,
label select,
label textarea,
.newsletter-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 12px 14px;
}

label textarea {
  resize: vertical;
}

label select {
  appearance: none;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-grid,
.portfolio-grid,
.blog-grid {
  align-items: stretch;
}

.product-card,
.project-card,
.blog-card {
  display: flex;
  flex-direction: column;
}

.product-card .card-actions,
.project-card .text-link,
.blog-card .text-link {
  margin-top: auto;
}

.product-art,
.project-art,
.blog-art {
  min-height: 164px;
  margin-bottom: 18px;
  display: grid;
  place-items: end start;
  padding: 16px;
}

.project-art.large {
  min-height: 380px;
  margin: 0;
}

.product-art span,
.project-art span,
.blog-art span {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 900;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-details,
.product-specs {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.product-details div,
.product-specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

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

dd {
  margin: 0;
  color: var(--silver);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.product-preview {
  min-height: 460px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 34px;
}

.product-preview strong {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.preview-row span {
  min-height: 84px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.industry-card h4 {
  margin: 18px 0 8px;
  color: var(--silver);
}

.industry-card ul {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  padding-left: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.featured-article {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 24px;
  align-items: center;
}

.article-page {
  background: var(--bg);
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 760px);
  gap: 42px;
  align-items: start;
  padding-block: 72px;
}

.toc {
  position: sticky;
  top: 120px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 21, 34, 0.86);
  padding: 18px;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.toc ol {
  display: grid;
  gap: 10px;
  list-style-position: inside;
}

.article-content {
  display: grid;
  gap: 34px;
}

.article-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.callout {
  border: 1px solid rgba(255, 45, 154, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 45, 154, 0.08);
  color: var(--silver);
  padding: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--silver);
  font-weight: 700;
}

.span-2 {
  grid-column: span 2;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.privacy-note {
  margin: 18px 0;
  font-size: 0.9rem;
}

.form-message {
  margin-top: 14px;
  min-height: 24px;
  color: var(--cyan);
  font-weight: 700;
}

.form-message.error {
  color: #ff7abf;
}

.newsletter-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.newsletter-form > div {
  display: flex;
  gap: 8px;
}

.newsletter-form.large {
  max-width: 620px;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 21, 34, 0.74);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

[data-cart-page],
[data-cart-summary] {
  display: grid;
  gap: 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

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

.site-footer {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 12%, rgba(21, 156, 255, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(255, 45, 154, 0.1), transparent 24rem),
    #070910;
  padding: 72px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(140px, 1fr));
  gap: 28px;
}

.footer-brand img {
  width: min(260px, 100%);
  margin-bottom: 18px;
}

.footer-grid h2 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--silver);
}

.footer-grid a {
  display: block;
  width: fit-content;
  min-height: 32px;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--cyan);
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--silver);
  text-transform: uppercase;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.is-hidden {
  display: none !important;
}

@keyframes drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 210px 180px, -280px 220px;
  }
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-8px);
  }
  50% {
    opacity: 0.9;
    transform: translateX(8px);
  }
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 96px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

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

  .mobile-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    max-height: calc(100vh - 120px);
    overflow: auto;
    display: none;
    padding: 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: rgba(5, 6, 10, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  }

  .mobile-nav.open {
    display: grid;
    gap: 6px;
  }

  .mobile-submenu-group {
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
  }

  .mobile-submenu-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: var(--silver);
    font-weight: 800;
    text-align: left;
  }

  .mobile-submenu {
    display: none;
    padding: 4px 0 8px 10px;
  }

  .mobile-submenu.open {
    display: grid;
  }

  .mobile-submenu a,
  .mobile-nav > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-grid,
  .two-column,
  .product-layout,
  .contact-grid,
  .checkout-grid,
  .featured-article,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
  }

  .home-hero .hero-grid {
    align-items: stretch;
  }

  .home-hero .hero-visual {
    margin-top: 18px;
  }

  .card-grid,
  .services-grid,
  .outcome-grid,
  .process-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-showcase,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc {
    position: static;
  }

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

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .section,
  .final-cta {
    padding: 64px 0;
  }

  .home-hero,
  .page-hero,
  .product-hero,
  .article-hero {
    min-height: auto;
    padding: 54px 0;
  }

  .header-inner {
    min-height: 86px;
  }

  .brand {
    width: min(42vw, 150px);
  }

  .hero-copy p,
  .page-hero p,
  .article-hero p,
  .product-info > p {
    font-size: 1rem;
  }

  .card-grid,
  .services-grid,
  .outcome-grid,
  .process-grid,
  .legal-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .cta-row,
  .card-actions,
  .newsletter-form > div {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .solution-tabs {
    grid-template-columns: 1fr;
  }

  .solution-panel {
    min-height: 300px;
    padding: 22px;
  }

  .product-details div,
  .product-specs div,
  .cart-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .breadcrumbs ol {
    width: min(100% - 28px, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
