:root {
  --bg-gradient:
    radial-gradient(circle at 10% -10%, rgba(129, 140, 248, 0.55), transparent 60%),
    radial-gradient(circle at 90% 120%, rgba(56, 189, 248, 0.7), transparent 65%),
    radial-gradient(circle at 50% 130%, rgba(30, 64, 175, 0.9), #020617 65%),
    linear-gradient(180deg, #020617 0, #020617 100%);
  --glass-bg: rgba(8, 12, 35, 0.75);
  --glass-border: rgba(255, 255, 255, 0.12);
  --accent: #7dd3ff;
  --accent-soft: rgba(125, 211, 255, 0.25);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --danger: #fb7185;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.6);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --blur-lg: 24px;
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  color: var(--text-main);
  background-color: #020617;
  position: relative;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background-image: var(--bg-gradient);
  background-size: 180% 180%;
  animation: bgDrift 28s ease-in-out infinite alternate;
  z-index: -3;
}

.bg-gradient::before,
.bg-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* soft glow over the horizon */
.bg-gradient::after {
  background:
    radial-gradient(circle at 50% 95%, rgba(59, 130, 246, 0.65), transparent 65%),
    radial-gradient(circle at 10% 10%, rgba(148, 163, 184, 0.4), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* scattered stars */
.bg-gradient::before {
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(148, 163, 184, 0.9), transparent 55%),
    radial-gradient(1.5px 1.5px at 30% 60%, rgba(148, 163, 184, 0.75), transparent 55%),
    radial-gradient(2px 2px at 78% 32%, rgba(226, 232, 240, 0.9), transparent 55%),
    radial-gradient(1.5px 1.5px at 65% 85%, rgba(148, 163, 184, 0.8), transparent 55%),
    radial-gradient(2px 2px at 20% 85%, rgba(226, 232, 240, 0.9), transparent 55%),
    radial-gradient(1.5px 1.5px at 90% 12%, rgba(148, 163, 184, 0.6), transparent 55%);
  opacity: 0.6;
  animation: starDrift 40s linear infinite;
}

@keyframes bgDrift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 60%;
  }
}

@keyframes starDrift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-80px);
  }
}

main {
  padding: 7rem clamp(1.5rem, 6vw, 5rem) 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.glass {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur-lg)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(1.4);
}

.nav {
  position: sticky;
  top: 0.75rem;
  z-index: 30;
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
  text-decoration: none;
  color: inherit;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--danger));
  transition: width var(--transition-med);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(125, 211, 255, 0.2), transparent),
    rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
}

.nav-toggle {
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar {
  position: relative;
  width: 1.1rem;
  height: 1px;
  background: var(--text-main);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-main);
}

.nav-toggle-bar::before {
  top: -0.25rem;
}

.nav-toggle-bar::after {
  top: 0.25rem;
}

.section {
  margin-top: 4.5rem;
}

.section.alt .glass {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-subhead {
  max-width: 720px;
  margin: 0 auto 1.9rem;
  text-align: center;
}

.section-subhead-title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.section-subhead-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.3rem;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  opacity: 0.9;
}

.section-subhead-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lead {
  font-size: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.hero-content {
  padding: 1.8rem 1.8rem 1.6rem;
}

.hero-side {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

button.primary,
button.secondary {
  font: inherit;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
}

button.primary {
  background: linear-gradient(to right, var(--accent), #38bdf8);
  color: #0b1120;
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.4);
}

button.primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 60px rgba(56, 189, 248, 0.6);
}

button.secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

button.secondary:hover {
  background: rgba(15, 23, 42, 1);
}

/* center-aligned CTA on the new landing hero */
.hero-cta-row-center {
  justify-content: center;
}

button.full-width {
  width: 100%;
}

button.small {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.metric-number {
  font-weight: 700;
  font-size: 1.1rem;
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
}

.chip-soft {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.mini-map {
  margin: 1.2rem 0 1rem;
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 10% 20%, rgba(129, 140, 248, 0.4), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(248, 113, 113, 0.4), transparent 55%),
    rgba(15, 23, 42, 0.85);
  overflow: hidden;
}

.map-orbit {
  position: absolute;
  inset: 26px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
}

.map-orbit.orbit-2 {
  inset: 50px;
  opacity: 0.7;
}

.map-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.35);
}

.node-1 {
  top: 24%;
  left: 20%;
}

.node-2 {
  top: 65%;
  left: 70%;
}

.node-3 {
  top: 40%;
  left: 52%;
}

.map-plane {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.35);
  top: 10%;
  left: 10%;
  animation: plane-orbit 12s linear infinite;
}

@keyframes plane-orbit {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(120px, 80px);
  }
  50% {
    transform: translate(220px, 30px);
  }
  75% {
    transform: translate(50px, 120px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.mini-caption {
  font-size: 0.8rem;
}

/* Home products hero section */
.home-products {
  margin-top: 4.5rem;
}

.home-products .lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: stretch;
}

.story-text {
  padding: 1.8rem 1.8rem 1.6rem;
}

.story-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.story-card {
  padding: 1.1rem 1.2rem;
}

.timeline {
  display: grid;
  gap: 1.1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  align-items: flex-start;
}

.timeline-badge {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 30% 0, rgba(125, 211, 255, 0.4), transparent),
    rgba(15, 23, 42, 0.9);
}

.timeline-content p {
  margin-top: 0.2rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card {
  padding: 1.3rem 1.4rem;
}

.service-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.service-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.8);
}

/* PRODUCTS GRID LAYOUT (base) */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 260px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45);
}

.product-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.product-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.product-pill {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
}

.product-meta-mini {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.4rem;
}


.product-card.home:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.product-card.home:hover .product-image img {
  transform: scale(1.03);
}

/* Horizontal products strip on homepage */
.products-strip-wrapper {
  position: relative;
}

.products-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.products-strip .product-card.home {
  flex: 0 0 auto;
  min-width: 230px;
  max-width: 260px;
  scroll-snap-align: start;
}

/* hide the visible scrollbar but keep touch/trackpad scroll */
.products-strip::-webkit-scrollbar {
  display: none;
}

.products-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background:
    radial-gradient(circle at 30% 0, rgba(125, 211, 255, 0.4), transparent),
    rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast);
  z-index: 2; /* keep above cards */
}

.products-arrow[data-products-arrow="prev"] {
  left: -1rem; /* pull slightly outside first card */
}

.products-arrow[data-products-arrow="next"] {
  right: -1rem; /* pull slightly outside last card */
}

.products-arrow:hover {
  transform: translateY(-52%);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 1);
}

.products-arrow::before {
  content: attr(data-icon);
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .products-arrow {
    display: none;
  }
}

/* Full products page grid: keep card width even when few items */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem; /* increased for more breathing room */
}

.products-grid .product-card {
  flex: 1 1 260px;
  max-width: 320px;
}

.products-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.product-search {
  flex: 1 1 220px;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.product-search:focus {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-chip.active {
  background: linear-gradient(to right, var(--accent), #38bdf8);
  border-color: transparent;
  color: #0b1120;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

/* === REFINED PRODUCT CARD DESIGN (home + products page) === */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med);
}

.product-card::before {
  content: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 1);
}

/* Shared image treatment for all product cards */
.product-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 0.75rem;
}

.product-image img {
  display: block;
  width: 100%;
  height: 235px; /* slightly larger visual focus */
  object-fit: cover;
  transform: scale(1);
  transition: transform var(--transition-med);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

/* Products page card body text & spacing */
.products-grid .product-card p {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.86rem;
}

.products-grid .product-meta-row {
  margin-top: 0.3rem;
}

.products-grid .product-pill-row {
  margin-top: 0.7rem;
}

/* Slightly more compact cards in the homepage strip */
.products-strip .product-card.home {
  padding: 0.7rem;
}

.products-strip .product-image img {
  height: 220px; /* larger image in homepage horizontal strip */
}

/* Card header & badge */
.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.products-grid .product-card-header h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.product-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  color: #0b1120;
  font-weight: 600;
}

/* Meta row */
.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin-top: 0.4rem;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Home page product overlay & badges */
.product-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.65rem 0.8rem 0.7rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0));
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.product-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* homepage strip: larger, bolder titles under the image */
.products-strip .home-name {
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 0.7rem;
  margin-bottom: 0.4rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* tighten spacing for badges + meta on homepage cards */
.products-strip .home-badges {
  margin-bottom: 0.35rem;
}

.products-strip .product-meta-mini {
  margin-top: 0;
}

.badge {
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
}

.badge-temp {
  border-color: rgba(56, 189, 248, 0.9);
  color: var(--accent);
}

.badge-pack {
  border-color: rgba(148, 163, 184, 0.7);
}

.badge-tag {
  border-color: rgba(248, 113, 113, 0.9);
  color: #fecaca;
}

/* Pill row */
.product-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.product-pill {
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.85rem;
  font-size: 0.76rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  transition: border-color var(--transition-fast), background var(--transition-fast),
    box-shadow var(--transition-fast);
}
/* === PRODUCT CTA BUTTON === */
.product-cta {
  margin-top: 1.1rem;
  display: flex;
  justify-content: flex-start;
}

.product-cta button {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-cta button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 55px rgba(56, 189, 248, 0.55);
}

.product-pill:hover {
  border-color: rgba(56, 189, 248, 0.9);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

/* Carousel styling */
.carousel {
  padding: 1.6rem 1.7rem 1.7rem;
}

.carousel-header {
  max-width: 520px;
  margin-bottom: 1.2rem;
}

.carousel-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.carousel-track {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 1.2rem;
}

.carousel-slide.active {
  display: grid;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.carousel-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.carousel-image img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.carousel-copy h3 {
  margin-bottom: 0.4rem;
}

.carousel-meta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.4);
  transition: background 0.2s ease-out, transform 0.2s ease-out, width 0.2s ease-out;
}

.carousel-dots button.active {
  width: 22px;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .carousel-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel-image img {
    height: 210px;
  }
}

@media (max-width: 640px) {
  .product-image img {
    height: 190px;
  }

  .carousel {
    padding-inline: 1.2rem;
  }

  .carousel-image img {
    height: 190px;
  }
}

.network-visual {
  padding: 1.7rem 1.8rem 1.6rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
}

.pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
}

.network-stats {
  display: flex;
  gap: 1.8rem;
  margin-top: 0.9rem;
}

.network-list {
  padding: 1.6rem 1.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.43rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.3);
}

.contact {
  align-items: start;
}

.contact-copy {
  padding: 1.7rem 1.8rem 1.6rem;
}

.contact-details-card {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.contact-details-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.contact-details-list li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.contact-details-list .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.contact-details-list span:last-child {
  color: var(--text-main);
}

.contact-form {
  padding: 1.7rem 1.7rem 1.5rem;
}

.field {
  margin-bottom: 0.75rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

/* Admin panel */
.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.2rem, 4vw, 2.5rem) 2.5rem;
}

.admin-shell {
  padding: 1.2rem 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 1);
}

.admin-shell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  margin-bottom: 1rem;
}

.admin-shell-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-shell-logo-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, rgba(96, 165, 250, 0.9), transparent 55%),
    rgba(15, 23, 42, 1);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.admin-shell-heading {
  font-size: 1.15rem;
  margin: 0 0 0.1rem;
}

.admin-shell-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-shell-btn {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
}

.admin-shell-btn-ghost {
  background: rgba(15, 23, 42, 0.8);
}

.admin-shell-btn-danger {
  border-color: rgba(248, 113, 113, 0.9);
  background: linear-gradient(to right, #fb7185, #f97373);
  color: #0b1120;
}

.admin-shell-metrics {
  margin-bottom: 1rem;
}

.admin-shell-main {
  margin-bottom: 1.3rem;
}

.admin-shell-settings {
  margin-top: 0.5rem;
}

.admin-settings-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

.admin-cert-card {
  margin-bottom: 1rem;
  padding: 1.1rem 1.4rem 1.1rem;
}

.admin-cert-card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.admin-contact-card {
  margin-bottom: 1.2rem;
  padding: 1.1rem 1.4rem 1.2rem;
}

.admin-contact-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
}

.admin-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.admin-root {
  padding: 0;
  margin-top: 0;
}

.admin-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.admin-summary-card {
  flex: 1 1 160px;
  min-width: 150px;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  background: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.28), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-summary-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.admin-summary-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-toolbar-left {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-search {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 0.8rem;
}

.admin-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.admin-save-status {
  font-size: 0.78rem;
  opacity: 0.85;
}

.admin-toolbar button {
  border-radius: var(--radius-pill);
  border: none;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  cursor: pointer;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  color: #0b1120;
}

/* category filter chips in admin toolbar area */
.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.admin-filter-row button {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}

.admin-filter-row button.is-active {
  background: linear-gradient(to right, var(--accent), #38bdf8);
  border-color: transparent;
  color: #0b1120;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.45);
}

.admin-filter-row button:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .admin-main {
    padding-top: 6.5rem;
  }
}

@media (max-width: 640px) {
  .admin-main {
    padding-inline: 1.1rem;
  }
}
@media (max-width: 900px) {
  .admin-main {
    padding-top: 5.8rem;
  }

  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .admin-main {
    padding-inline: 1.1rem;
  }
}

.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.4rem;
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.admin-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
}

.admin-table th.admin-sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 1.2rem;
}

.admin-table th.admin-sortable::after {
  content: "↕";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  opacity: 0.35;
}

.admin-table th.admin-sortable.is-sorted-asc::after {
  content: "▲";
  opacity: 0.9;
}

.admin-table th.admin-sortable.is-sorted-desc::after {
  content: "▼";
  opacity: 0.9;
}

.admin-table tbody tr {
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.admin-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.admin-table input,
.admin-table textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.3rem 0.45rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.admin-image-cell {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-image-thumb {
  width: 40px;
  height: 26px;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.9);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.admin-image-thumb.is-empty {
  border-style: dashed;
  opacity: 0.6;
}

.admin-table input:focus,
.admin-table textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.admin-table textarea {
  min-height: 2.4rem;
}

.admin-row-actions button {
  background: transparent;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(248, 113, 113, 0.8);
  color: #fecaca;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast);
}

.admin-row-actions button:hover {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 1);
  transform: translateY(-1px);
}

.admin-json-output {
  margin-top: 1rem;
}

.admin-help {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
}

.admin-json-output textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 0.75rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.78rem;
  padding: 0.6rem 0.75rem;
}

/* Admin login overlay */
.admin-login-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 40;
}

/* Admin confirm dialog */
.admin-confirm-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 45;
}

.admin-confirm-card {
  width: min(380px, 92vw);
  padding: 1.2rem 1.4rem 1.3rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 1);
}

.admin-confirm-card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.admin-confirm-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-confirm-actions button {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  cursor: pointer;
}

.admin-confirm-actions .admin-confirm-ok {
  border-color: rgba(248, 113, 113, 0.9);
  background: linear-gradient(to right, #fb7185, #f97373);
  color: #0b1120;
}

.admin-login-card {
  width: min(420px, 90vw);
  padding: 1.6rem 1.8rem 1.7rem;
  border-radius: 1.4rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 1);
  position: relative;
  overflow: hidden;
  animation: adminLoginIn 0.45s ease-out;
}

.admin-login-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 220deg,
    rgba(56, 189, 248, 0.18),
    transparent,
    transparent,
    rgba(248, 113, 113, 0.24),
    transparent
  );
  opacity: 0.6;
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: adminLoginGlow 8s linear infinite;
}

@keyframes adminLoginIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes adminLoginGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.admin-login-card h1 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.admin-login-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.admin-login-form .field {
  margin-bottom: 0.85rem;
}

.admin-login-error {
  font-size: 0.8rem;
  color: #fecaca;
  margin-bottom: 0.7rem;
}

.admin-login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.admin-login-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-login-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.field.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
}

.form-success {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: #bbf7d0;
}

.form-error {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: #fecaca;
}

.footer {
  margin: 0 auto 1.5rem;
  max-width: 1100px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
}

.products-strip-cta {
  margin-top: 0.2rem;
  display: flex;
  justify-content: flex-end;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, var(--accent), #38bdf8);
  color: #0b1120;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.view-all-button:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

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

.dot {
  opacity: 0.35;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.7s ease-out forwards;
}

.fade-in:nth-child(2) {
  animation-delay: 0.08s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.12s;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Certificates banner above header */
.cert-banner {
  max-width: 1100px;
  margin: 0.8rem auto 0.4rem;
  padding: 0 1.5rem;
}

.cert-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.45), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.4), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
  animation: certGlow 10s ease-in-out infinite alternate;
}

.cert-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.cert-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.78rem;
  color: var(--text-main);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.8);
  transform: translateY(0);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.cert-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.9);
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 1);
}

.cert-pill-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cert-pill-value {
  font-weight: 600;
}

@keyframes certGlow {
  0% {
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
  }
  100% {
    box-shadow: 0 20px 55px rgba(56, 189, 248, 0.7);
  }
}

@media (max-width: 700px) {
  .cert-banner {
    padding-inline: 1.1rem;
  }

  .cert-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Marquee strip just under header */
.marquee-section {
  margin-top: 1.5rem;
}

.marquee {
  padding: 0.55rem 0.8rem;
  border-radius: 18px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0.9rem;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-card {
  display: inline-flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 260px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  overflow: hidden;
}

[data-theme="light"] .marquee-card {
  background: rgba(248, 250, 252, 0.96);
}

.marquee-card-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.marquee-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-card-body {
  padding: 0.5rem 0.65rem 0.6rem;
}

.marquee-card-body h4 {
  margin: 0 0 0.15rem;
  font-size: 0.85rem;
}

.marquee-card-body p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  main {
    padding-top: 6.5rem;
  }

  .hero,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side,
  .network-list {
    order: -1;
  }

  .nav-inner {
    gap: 0.8rem;
  }

  .nav-cta,
  .nav-admin-label {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 3.75rem;
    left: 1.2rem;
    right: 1.2rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.75rem 1rem 0.9rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  main {
    padding-inline: 1.1rem;
  }

.hero-content,
  .admin-cert-card,
  .admin-contact-card,
  .hero-side,
  .story-text,
  .network-visual,
  .network-list,
  .contact-copy,
  .contact-form {
    padding-inline: 1.2rem;
  }

  .field.two-up {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-controls {
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
