:root {
  --bg-0: #050c1d;
  --bg-1: #081226;
  --bg-2: #0b1a3a;
  --ink: #eef3fc;
  --ink-dim: #93a5c4;
  --accent: #2e6bff;
  --accent-bright: #5b8dff;
  --nav-h: 76px;
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-chain: "Orbitron", "Poppins", sans-serif;
}

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

html { scroll-behavior: smooth; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 78% 30%, rgba(46, 107, 255, 0.14), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(38, 84, 199, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(5, 12, 29, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(147, 165, 196, 0.12);
  z-index: 50;
}

.home .site-nav { padding-inline: max(clamp(20px, 5vw, 64px), calc((100% - 1240px) / 2)); }

.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}

.nav-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active { color: var(--ink); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) clamp(20px, 5vw, 64px) 0;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

.hero-copy {
  font-family: var(--font-display);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  background: linear-gradient(155deg,
    #ffffff 0%,
    #dfe8f7 28%,
    #9fb4d8 46%,
    #ffffff 62%,
    #aebfdd 80%,
    #e8f0fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter:
    drop-shadow(0 0 8px rgba(150, 185, 255, 0.22))
    drop-shadow(0 0 26px rgba(46, 107, 255, 0.12));
  animation: title-breathe 5.5s ease-in-out infinite;
}
.hero-copy h1 span { display: block; }

@keyframes title-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(150, 185, 255, 0.18))
            drop-shadow(0 0 22px rgba(46, 107, 255, 0.10));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(170, 198, 255, 0.30))
            drop-shadow(0 0 32px rgba(46, 107, 255, 0.17));
  }
}

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-weight: 300;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------- Hero round widgets ---------- */
.hero-widgets {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  margin-top: 40px;
}
.hwidget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 92px;
}
.hwidget-disc {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 30%, rgba(160, 190, 255, 0.14), transparent 65%),
    rgba(11, 26, 58, 0.72);
  border: 1px solid rgba(170, 196, 255, 0.7);
  box-shadow:
    0 0 30px rgba(91, 141, 255, 0.55),
    0 0 70px rgba(46, 107, 255, 0.28),
    inset 0 0 24px rgba(160, 190, 255, 0.18);
  text-shadow: 0 0 10px rgba(220, 231, 255, 0.9), 0 0 22px rgba(91, 141, 255, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.hwidget-disc svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 14px rgba(140, 175, 255, 0.8)); }
.hwidget:hover .hwidget-disc {
  transform: translateY(-4px);
  color: #fff;
  box-shadow:
    0 0 44px rgba(91, 141, 255, 0.8),
    0 0 100px rgba(46, 107, 255, 0.4),
    inset 0 0 30px rgba(200, 220, 255, 0.4);
}
.hwidget-label {
  font-family: var(--font-chain);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bfd0f2;
  text-shadow: 0 0 8px rgba(91, 141, 255, 0.35);
  text-align: center;
  line-height: 1.5;
  transition: color 0.22s ease;
}
.hwidget:hover .hwidget-label { color: #fff; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(46, 107, 255, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(46, 107, 255, 0.5);
}
.hero-cta svg { transition: transform 0.2s ease; }
.hero-cta:hover svg { transform: translateX(3px); }
.product-hero .hero-cta {
  margin-top: 34px;
  background: #fff;
  color: var(--bg-1);
  box-shadow: 0 10px 30px rgba(238, 243, 252, 0.16);
}
.product-hero .hero-cta:hover {
  box-shadow: 0 14px 40px rgba(238, 243, 252, 0.26);
}
.hero-cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(91, 141, 255, 0.55);
  box-shadow: 0 0 18px rgba(91, 141, 255, 0.18), inset 0 0 14px rgba(91, 141, 255, 0.08);
}
.hero-cta-ghost:hover {
  box-shadow: 0 0 26px rgba(91, 141, 255, 0.35), inset 0 0 18px rgba(91, 141, 255, 0.12);
}

/* ---------- Illuminated A ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.a-mark {
  position: relative;
  z-index: 2;
  width: clamp(240px, 30vw, 430px);
  aspect-ratio: 1170 / 1302;
  background: linear-gradient(155deg,
    #ffffff 0%,
    #dfe8f7 28%,
    #9fb4d8 46%,
    #ffffff 62%,
    #aebfdd 80%,
    #e8f0fd 100%);
  -webkit-mask-image: url("../assets/logo/a-mark.png");
  mask-image: url("../assets/logo/a-mark.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter:
    drop-shadow(0 0 26px rgba(91, 141, 255, 0.55))
    drop-shadow(0 0 80px rgba(46, 107, 255, 0.30));
  animation: a-breathe 5.5s ease-in-out infinite;
}

@keyframes a-breathe {
  0%, 100% {
    filter: drop-shadow(0 0 22px rgba(91, 141, 255, 0.45))
            drop-shadow(0 0 70px rgba(46, 107, 255, 0.25));
  }
  50% {
    filter: drop-shadow(0 0 34px rgba(120, 162, 255, 0.70))
            drop-shadow(0 0 110px rgba(46, 107, 255, 0.42));
  }
}

.a-glow {
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(91, 141, 255, 0.34) 0%,
    rgba(46, 107, 255, 0.14) 38%,
    transparent 68%);
  filter: blur(6px);
  animation: glow-breathe 5.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.75; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}

.a-flare {
  position: absolute;
  z-index: 3;
  width: 26px;
  height: 26px;
  left: 34%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #bcd4ff 28%, rgba(91,141,255,0.55) 55%, transparent 75%);
  box-shadow:
    0 0 18px 6px rgba(160, 196, 255, 0.9),
    0 0 60px 22px rgba(46, 107, 255, 0.55),
    0 0 140px 60px rgba(46, 107, 255, 0.28);
  animation: flare-pulse 4s ease-in-out infinite;
}

.a-flare::before,
.a-flare::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(200, 222, 255, 0.95), transparent);
}
.a-flare::before { /* horizontal streak */
  left: -160px;
  right: -160px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}
.a-flare::after { /* vertical streak */
  top: -70px;
  bottom: -70px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(200, 222, 255, 0.9), transparent);
}

@keyframes flare-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ---------- Features strip ---------- */
.hero-features {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 96px);
  padding: 28px 0 36px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--accent-bright);
  background: rgba(46, 107, 255, 0.12);
  border: 1px solid rgba(91, 141, 255, 0.28);
}

/* ---------- Products page ---------- */
.product-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-chain);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-shadow: 0 0 14px rgba(91, 141, 255, 0.45);
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
}

.product-eyebrow::before {
  content: ""; width: 7px; height: 7px; flex: none; background: var(--accent-bright);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 10px rgba(91, 141, 255, 0.8);
}

.product-hero .product-badge {
  display: inline-block;
  margin-top: 18px;
}

.product-badge {
  font-family: var(--font-chain);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(46, 107, 255, 0.14);
  border: 1px solid rgba(91, 141, 255, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

.product-features {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 30px;
  flex-wrap: wrap;
}

.product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.product-visual-glow {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(192, 108, 232, 0.20) 0%,
    rgba(46, 107, 255, 0.10) 45%,
    transparent 70%);
  filter: blur(8px);
  z-index: 1;
}

.product-logo-card {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  height: auto;
  border-radius: 20px;
  border: 1.5px solid rgba(200, 218, 255, 0.85);
  box-shadow:
    0 0 0 1px rgba(140, 178, 255, 0.55),
    0 0 26px rgba(160, 192, 255, 0.75),
    0 0 70px rgba(70, 125, 255, 0.50),
    0 0 120px rgba(46, 107, 255, 0.30),
    0 24px 70px rgba(2, 6, 18, 0.55);
  animation: card-breathe 5.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.product-logo-card:hover { transform: translateY(-4px) scale(1.01); }

@keyframes card-breathe {
  0%, 100% {
    border-color: rgba(190, 212, 255, 0.75);
    box-shadow:
      0 0 0 1px rgba(140, 178, 255, 0.45),
      0 0 22px rgba(160, 192, 255, 0.60),
      0 0 60px rgba(70, 125, 255, 0.40),
      0 0 100px rgba(46, 107, 255, 0.24),
      0 24px 70px rgba(2, 6, 18, 0.55);
  }
  50% {
    border-color: rgba(230, 240, 255, 1);
    box-shadow:
      0 0 0 1px rgba(170, 200, 255, 0.70),
      0 0 34px rgba(180, 206, 255, 0.95),
      0 0 90px rgba(90, 140, 255, 0.60),
      0 0 150px rgba(46, 107, 255, 0.40),
      0 24px 70px rgba(2, 6, 18, 0.55);
  }
}

@media (max-width: 900px) {
  .product-features { justify-content: center; }
  .product-visual { min-height: 0; margin-top: 16px; }
  .product-logo-card { width: min(88vw, 420px); }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(147, 165, 196, 0.12);
  background: rgba(4, 9, 22, 0.6);
  padding: 44px clamp(20px, 5vw, 64px);
  text-align: left;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo { height: 40px; width: auto; opacity: 0.95; }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(147, 165, 196, 0.25);
  color: var(--ink-dim);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(46, 107, 255, 0.12);
}

.footer-tagline {
  margin-top: 16px;
  color: var(--ink-dim);
  font-family: var(--font-chain);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.footer-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-dim);
}
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent-bright); }

.footer-copy {
  margin-top: 40px;
  font-size: 12.5px;
  color: rgba(147, 165, 196, 0.6);
}

/* white footer variant */
.footer-white {
  background: #ffffff;
  border-top: 1px solid rgba(11, 26, 58, 0.08);
  color: var(--bg-2);
}
.footer-white .footer-logo { opacity: 1; }
.footer-white .footer-social a { border-color: rgba(11, 26, 58, 0.18); color: #586683; }
.footer-white .footer-social a:hover { color: var(--accent); border-color: var(--accent); background: rgba(46, 107, 255, 0.08); }
.footer-white .footer-tagline,
.footer-white .footer-col { color: #586683; }
.footer-white .footer-col a { color: var(--bg-2); }
.footer-white .footer-col a:hover { color: var(--accent); }
.footer-white .footer-copy { color: rgba(11, 26, 58, 0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 12, 29, 0.97);
    border-bottom: 1px solid rgba(147, 165, 196, 0.15);
    padding: 8px 0 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links .nav-link { padding: 14px clamp(20px, 5vw, 64px); font-size: 16px; }
  .nav-links .nav-link::after { display: none; }

  .hero-inner {
    display: block;
    position: relative;
    text-align: center;
  }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.1; }
  .hero-copy h1 span { display: inline; }
  .hero-copy {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 26px rgba(5, 12, 29, 0.9), 0 0 8px rgba(5, 12, 29, 0.7);
  }
  .hero-visual {
    position: absolute;
    inset: -8% 0 0;
    z-index: 1;
    min-height: 0;
    align-items: center;
  }
  /* voile sombre centré sur le texte pour garder le A lisible derrière */
  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 46% at 50% 38%, rgba(5, 12, 29, 0.78), transparent 78%);
  }
  .a-mark { width: min(80vw, 360px); opacity: 0.75; }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    color: #d3def2;
    font-weight: 400;
  }
  .a-flare { left: 27%; bottom: 30%; }
  .hero-cta-group { gap: 10px; margin-top: 26px; }
  .hero-cta {
    display: inline-flex;
    padding: 11px 18px;
    font-size: 13.5px;
    border-radius: 9px;
  }
  .hero-cta svg { width: 16px; height: 16px; }
  .hero-widgets {
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
  }
  .hwidget { min-width: 74px; gap: 9px; }
  .hwidget-disc { width: 58px; height: 58px; }
  .hwidget-disc svg { width: 21px; height: 21px; }
  .hwidget-label { font-size: 9px; letter-spacing: 0.1em; }
  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-bottom: 28px;
  }
  .feature {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 12px;
  }
  .feature-icon { width: 40px; height: 40px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ---------- Inner nav wrapper (Solutions page) ---------- */
.nav-inner {
  max-width: 1240px;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Solutions page ---------- */
.solutions-hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) clamp(20px, 5vw, 64px) 96px;
  max-width: 1240px;
  margin: 0 auto;
  overflow: visible;
}
.solutions-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(46, 107, 255, 0.12) 0%, transparent 70%);
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}
.solutions-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 19ch;
}
.solutions-title .accent { color: var(--accent); }
.solutions-sub {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--ink-dim);
}
.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 88px;
  margin-top: 64px;
}
.solution-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.solution-row-media { order: 2; }
.solution-row-text { order: 1; }
.solution-row:nth-child(even) .solution-row-media { order: 1; }
.solution-row:nth-child(even) .solution-row-text { order: 2; }
.solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(46, 107, 255, 0.08);
  color: var(--accent);
  font-family: var(--font-chain);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.solution-row-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}
.solution-row-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 46ch;
}
.solution-row-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 26, 58, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-row-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(11, 26, 58, 0.18);
}
.solution-row-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.solutions-cta {
  border-radius: 999px;
  padding: 16px 34px;
  margin-top: 72px;
}
@media (max-width: 860px) {
  .solution-row { grid-template-columns: 1fr; gap: 28px; }
  .solution-row-media,
  .solution-row-text,
  .solution-row:nth-child(even) .solution-row-media,
  .solution-row:nth-child(even) .solution-row-text { order: 0; }
  .solutions-list { gap: 56px; }
  .solutions-hero::before { display: none; }
}

/* ---------- Light page variant (Solutions) ---------- */
body.page-light { background: #ffffff; }
body.page-light .hero-wave { display: none; }
body.page-light .site-nav {
  background: #050c1d;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.page-light .site-footer { background: #050c1d; }
body.page-light .solutions-title { color: #0b1a3a; }
body.page-light .solutions-sub { color: #4a5568; }
body.page-light .solution-tag { color: var(--accent); }
body.page-light .solution-row-text h2 { color: #0b1a3a; }
body.page-light .solution-row-text p { color: #52607a; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Contact modal ---------- */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 8, 20, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.contact-modal.open { opacity: 1; pointer-events: auto; }

.contact-panel {
  position: relative;
  width: min(560px, 100%);
  background:
    linear-gradient(rgba(46, 107, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 107, 255, 0.05) 1px, transparent 1px),
    linear-gradient(160deg, #0b1a3a, #081226 60%, #050c1d);
  background-size: 40px 40px, 40px 40px, cover;
  border: 1px solid rgba(91, 141, 255, 0.28);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 30px 80px rgba(2, 6, 16, 0.8), 0 0 60px rgba(46, 107, 255, 0.12);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-modal.open .contact-panel { transform: translateY(0) scale(1); }

.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 141, 255, 0.08);
  border: 1px solid rgba(91, 141, 255, 0.25);
  border-radius: 9px;
  color: #93a5c4;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.contact-close:hover { color: #eef3fc; border-color: rgba(91, 141, 255, 0.6); }

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5b8dff;
  border: 1px solid rgba(91, 141, 255, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.contact-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b8dff;
  box-shadow: 0 0 8px #5b8dff;
}

.contact-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  color: #eef3fc;
  margin: 0 0 6px;
}
.contact-sub {
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 14px;
  color: #93a5c4;
  margin: 0 0 24px;
}

.contact-field { margin-bottom: 16px; }
.contact-field label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93a5c4;
  margin-bottom: 8px;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(5, 12, 29, 0.6);
  border: 1px solid rgba(91, 141, 255, 0.22);
  border-radius: 10px;
  padding: 13px 16px;
  color: #eef3fc;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(147, 165, 196, 0.55); }
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #5b8dff;
  box-shadow: 0 0 0 3px rgba(91, 141, 255, 0.15);
}
.contact-field textarea { min-height: 120px; resize: vertical; }

.contact-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #5b8dff, #2e6bff);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(46, 107, 255, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(46, 107, 255, 0.5); }

.contact-note {
  margin: 14px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: rgba(147, 165, 196, 0.75);
  text-align: center;
}
.contact-note a { color: #5b8dff; text-decoration: none; }

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 26px 10px 18px;
  color: #5b8dff;
}
.contact-success p {
  font-family: "Poppins", sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #eef3fc;
  margin: 10px 0 0;
}
.contact-success span {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #93a5c4;
}
.contact-success b { color: #5b8dff; font-weight: 500; }
.contact-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
