/* ============================================
   MAGNETAR DISPLAYS — Core Design System
   Trust & Reliability Colour Palette
   ============================================ */

:root {
  /* Primary — Deep Navy (Trust) */
  --navy-950: #020617;
  --navy-900: #0a1628;
  --navy-800: #0f2035;
  --navy-700: #152d47;
  --navy-600: #1e3a5f;

  /* Accent — Steel Blue (Reliability) */
  --steel-500: #2d6a9f;
  --steel-400: #3b82c4;
  --steel-300: #5b9bd5;

  /* Signal — Confident Blue (CTA) */
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;

  /* Neutrals */
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --white: #ffffff;
  --black: #000000;

  /* Semantic */
  --bg-primary: var(--navy-950);
  --bg-secondary: var(--navy-900);
  --bg-card: var(--navy-800);
  --bg-card-hover: var(--navy-700);
  --text-primary: var(--white);
  --text-secondary: var(--slate-400);
  --text-muted: var(--slate-500);
  --accent: var(--steel-400);
  --cta: var(--blue-500);
  --cta-hover: var(--blue-400);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;
  --duration-md: 350ms;
  --duration-lg: 600ms;
}


/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

ul, ol { list-style: none; }


/* ============================================
   UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--steel-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.badge--android { border-color: rgba(61,220,132,0.3); color: #3ddc84; }
.badge--windows { border-color: rgba(0,120,212,0.3); color: #0078d4; }
.badge--linux   { border-color: rgba(255,200,50,0.3); color: #ffc832; }
.badge--monitor { border-color: rgba(148,163,184,0.3); color: var(--slate-400); }


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-lg) var(--ease),
              transform var(--duration-lg) var(--ease);
}

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

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }


/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2,6,23,0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-md) var(--ease);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--steel-500), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: white;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--duration-md) var(--ease);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  background: var(--cta);
  color: white;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.nav__cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--duration-md) var(--ease),
              opacity var(--duration-md) var(--ease);
}


/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,106,159,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(37,99,235,0.06) 0%, transparent 50%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text {
  max-width: 560px;
}

.hero__badge {
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.hero__title span {
  display: block;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--duration) var(--ease);
}

.btn--primary {
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  background: var(--cta);
  color: white;
  box-shadow: 0 0 0 0 rgba(59,130,246,0), 0 4px 16px rgba(59,130,246,0.2);
}

.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1), 0 8px 24px rgba(59,130,246,0.25);
}

.btn--ghost {
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.5));
  animation: heroFloat 6s ease-in-out infinite;
}

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

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}


/* ============================================
   TRUST STRIP
   ============================================ */

.trust-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-strip__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}


/* ============================================
   PRODUCT GRID
   ============================================ */

.products-section {
  background: var(--bg-secondary);
}

.products__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.products__header .section-subtitle {
  margin: 0 auto;
}

/* OS Filter Tabs */
.os-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.os-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.os-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.os-tab.active {
  background: var(--cta);
  border-color: var(--cta);
  color: white;
}

/* Product Cards */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-md) var(--ease),
              border-color var(--duration-md) var(--ease),
              box-shadow var(--duration-md) var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.product-card__image img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
  transition: transform var(--duration-md) var(--ease);
}

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

.product-card__badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.375rem;
}

.product-card__body {
  padding: 1.5rem;
}

.product-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-card__spec {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.product-card__spec-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.product-card__spec-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-card__footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--duration) var(--ease);
}

.product-card:hover .product-card__link {
  gap: 0.625rem;
}


/* ============================================
   FEATURES
   ============================================ */

.features-section {
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,159,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  transition: border-color var(--duration-md) var(--ease),
              background var(--duration-md) var(--ease);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.03);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45,106,159,0.15), rgba(59,130,246,0.1));
  border: 1px solid rgba(45,106,159,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   SPEC HIGHLIGHT STRIP
   ============================================ */

.spec-strip {
  padding: 4rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spec-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.spec-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.spec-strip__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--white), var(--steel-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spec-strip__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}


/* ============================================
   SOLUTIONS
   ============================================ */

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--duration-md) var(--ease),
              border-color var(--duration-md) var(--ease);
}

.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.solution-card__visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.solution-card__body {
  padding: 1.5rem;
}

.solution-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.solution-card__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ============================================
   CUSTOM SOLUTIONS / BESPOKE SECTION
   ============================================ */

.bespoke {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.bespoke__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bespoke__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.bespoke__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.bespoke__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.bespoke__capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bespoke__cap {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  transition: border-color var(--duration-md) var(--ease);
}

.bespoke__cap:hover {
  border-color: rgba(45,106,159,0.3);
}

.bespoke__cap-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.bespoke__cap-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bespoke__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bespoke__code-block {
  width: 100%;
  max-width: 480px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bespoke__code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.bespoke__code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-600);
}

.bespoke__code-dot:nth-child(1) { background: #ff5f57; }
.bespoke__code-dot:nth-child(2) { background: #ffbd2e; }
.bespoke__code-dot:nth-child(3) { background: #28c840; }

.bespoke__code-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.bespoke__code-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--slate-300);
}

.bespoke__code-body .kw { color: #c792ea; }
.bespoke__code-body .fn { color: #82aaff; }
.bespoke__code-body .str { color: #c3e88d; }
.bespoke__code-body .cm { color: var(--slate-600); }
.bespoke__code-body .num { color: #f78c6c; }
.bespoke__code-body .op { color: #89ddff; }


/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison {
  overflow-x: auto;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison__table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 10;
}

.comparison__table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison__table tr:hover td {
  background: rgba(255,255,255,0.015);
}

.comparison__table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8125rem;
}


/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .section-title {
  max-width: 640px;
  margin: 0 auto 1rem;
}

.cta-section .section-subtitle {
  margin: 0 auto 2.5rem;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--duration) var(--ease);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-hero {
  padding-top: calc(64px + 4rem);
  padding-bottom: 4rem;
}

.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-hero__gallery {
  position: sticky;
  top: 96px;
}

.product-hero__main-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.product-hero__main-image img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.product-hero__thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-hero__thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
  padding: 0.25rem;
}

.product-hero__thumb.active,
.product-hero__thumb:hover {
  border-color: var(--accent);
}

.product-hero__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-hero__info {
  padding-top: 1rem;
}

.product-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.product-hero__breadcrumb a:hover {
  color: var(--accent);
}

.product-hero__name {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.product-hero__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.product-hero__quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.quick-spec {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  text-align: center;
}

.quick-spec__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.quick-spec__label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* Full Spec Table */
.spec-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

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

.spec-table__category {
  padding: 1rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(45,106,159,0.2);
}

.spec-table tr td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.spec-table tr td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 35%;
}

.spec-table tr td:last-child {
  color: var(--text-secondary);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__text { max-width: 100%; margin: 0 auto; }
  .hero__desc { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__image { order: -1; }
  .hero__image img { max-width: 360px; }

  .bespoke__inner { grid-template-columns: 1fr; }
  .bespoke__visual { order: -1; }

  .product-hero__inner { grid-template-columns: 1fr; }
  .product-hero__gallery { position: static; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
  }

  .spec-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .bespoke__capabilities { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .product-hero__quick-specs { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
