:root {
  --sb-track: rgba(255, 255, 255, 0.06);
  --sb-thumb: linear-gradient(180deg, #4fd1ff, #8b5cf6, #ec4899);
  --sb-thumb-border: rgba(255, 255, 255, 0.1);
  --sb-glow: rgba(139, 92, 246, 0.35);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.85) rgba(255, 255, 255, 0.06);
}

/* Webkit (Chrome/Edge/Safari) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--sb-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border-radius: 999px;
  border: 1px solid var(--sb-thumb-border);
  box-shadow: 0 0 18px var(--sb-glow);
}

::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 26px rgba(79, 209, 255, 0.28),
    0 0 34px rgba(236, 72, 153, 0.18);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* =========================
   NEON SCROLL PROGRESS BAR
========================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4fd1ff, #8b5cf6, #ec4899);
  box-shadow: 0 0 18px rgba(79, 209, 255, 0.25),
    0 0 26px rgba(139, 92, 246, 0.22);
  transform-origin: left center;
}

/* Kicker hint with preview */
.hero-bg-hint {
  gap: 10px;
}

/* The mini preview uses the SAME image var */
.hero-bg-preview {
  width: 44px;
  height: 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 18px rgba(79, 209, 255, 0.18),
    0 0 26px rgba(236, 72, 153, 0.1);
  position: relative;
  overflow: hidden;
}

/* Gradient overlay to keep it neon/glass */
.hero-bg-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(79, 209, 255, 0.18),
    rgba(139, 92, 246, 0.14),
    rgba(236, 72, 153, 0.12)
  );
  mix-blend-mode: screen;
}

:root {
  --bg: #0b0f1a;
  --bg-alt: #11162a;
  --neon-blue: #4fd1ff;
  --neon-purple: #8b5cf6;
  --neon-pink: #ec4899;
  --neon-green: #22c55e;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --maxw: 1200px;

  --hero-bg-image: url("../images/hero.webp");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(
      1200px 600px at 10% -10%,
      #1a1f4d 0%,
      transparent 60%
    ),
    radial-gradient(900px 600px at 95% 5%, #3b0764 0%, transparent 55%),
    radial-gradient(
      900px 600px at 80% 90%,
      rgba(79, 209, 255, 0.18) 0%,
      transparent 55%
    ),
    var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* Ambient blobs */
.blob {
  position: fixed;
  filter: blur(50px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}
.blob.one {
  width: 520px;
  height: 520px;
  left: -140px;
  top: 120px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(79, 209, 255, 0.75),
    transparent 55%
  );
}
.blob.two {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 220px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(139, 92, 246, 0.75),
    transparent 55%
  );
}
.blob.three {
  width: 560px;
  height: 560px;
  left: 40%;
  bottom: -220px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(236, 72, 153, 0.65),
    transparent 55%
  );
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 26, 0.86),
    rgba(11, 15, 26, 0.55)
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-left: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 0 18px rgba(79, 209, 255, 0.55);
}

main {
  position: relative;
  z-index: 1;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 70px;
  position: relative;
  isolation: isolate;
}

/* Optional neon image layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.2) contrast(1.05);
  z-index: -2;
}

/* Subtle overlay to keep text readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      800px 420px at 20% 30%,
      rgba(79, 209, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      820px 520px at 80% 20%,
      rgba(236, 72, 153, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(11, 15, 26, 0.25), rgba(11, 15, 26, 0.75));
  z-index: -1;
}

.hero-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  line-height: 1.06;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(
    90deg,
    var(--neon-blue),
    var(--neon-purple),
    var(--neon-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: #0b0f1a;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
  background: var(--glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(79, 209, 255, 0.35);
  color: var(--text-main);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 209, 255, 0.6);
  box-shadow: 0 12px 30px rgba(79, 209, 255, 0.12);
}

.hero-visual {
  position: relative;
  height: 440px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(79, 209, 255, 0.16),
    rgba(139, 92, 246, 0.16)
  );
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(139, 92, 246, 0.38),
    transparent 30%
  );
  animation: spin 14s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 26, 0.78),
    rgba(11, 15, 26, 0.95)
  );
  border-radius: calc(var(--radius-xl) - 2px);
}

.hero-visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.visual-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--neon-green);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.5);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}

.metric {
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 16px;
}

.metric strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

section {
  padding: 110px 0;
}

.section-head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  padding: 0 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(79, 209, 255, 0.25);
  background: rgba(79, 209, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.25rem;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 820px;
  font-size: 1.02rem;
}

.grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 28px;
}

.services {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.features {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.partners {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.pricing {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.cases {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonials {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 255, 255, 0.18);
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: linear-gradient(
    135deg,
    rgba(79, 209, 255, 0.22),
    rgba(139, 92, 246, 0.22)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--text-main);
  box-shadow: 0 14px 30px rgba(79, 209, 255, 0.1);
  user-select: none;
}

/* Partners */

/* TECH LOGOS (no overlap version) */
.tech-logos .logo-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;

  color: rgba(229, 231, 235, 0.62);
  filter: grayscale(1);
  opacity: 0.92;

  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease,
    filter 0.25s ease;
}

/* Tag badge */
.tech-logos .logo-tag {
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.75rem;

  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 231, 235, 0.68);

  flex: 0 0 auto;
}

/* Tech name */
.tech-logos .logo-text {
  white-space: nowrap;
}

/* Neon sheen overlay */
.tech-logos .logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(79, 209, 255, 0),
    rgba(79, 209, 255, 0.1),
    rgba(139, 92, 246, 0.12),
    rgba(236, 72, 153, 0.1),
    rgba(236, 72, 153, 0)
  );
  transform: translateX(-45%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.25s ease;
  pointer-events: none;
}

.tech-logos .logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 255, 0.22);
  color: rgba(229, 231, 235, 0.92);
  filter: grayscale(0);
  opacity: 1;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35), 0 0 26px rgba(79, 209, 255, 0.1);
}

.tech-logos .logo-card:hover::after {
  opacity: 1;
  transform: translateX(45%);
}

/* About */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(14px);
  padding: 30px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.panel h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.panel p {
  color: var(--text-muted);
}

.list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.25);
  flex: 0 0 auto;
  margin-top: 1px;
}

.li span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Case Studies */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 12px;
  width: fit-content;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mini {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.mini strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.mini span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Testimonials */
.quote {
  font-size: 1.02rem;
  color: rgba(229, 231, 235, 0.92);
  line-height: 1.65;
  margin-bottom: 14px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--text-muted);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(79, 209, 255, 0.22),
    rgba(236, 72, 153, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(79, 209, 255, 0.22),
    rgba(236, 72, 153, 0.18)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  flex: 0 0 auto;
  position: relative;
  box-shadow: 0 0 18px rgba(79, 209, 255, 0.12);
}

/* Фото */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* Неонове кільце поверх фото */
.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(139, 92, 246, 0.18);
  pointer-events: none;
}

/* Якщо src битий/нема фото — залишиться градієнтний фон (ок) */

.person strong {
  color: var(--text-main);
  font-weight: 600;
  display: block;
}
.person span {
  font-size: 0.9rem;
}

/* Pricing */
.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
}

.muted {
  color: var(--text-muted);
}

.ul {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.ul li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  flex: 0 0 auto;
  margin-top: 2px;
  box-shadow: 0 0 16px rgba(79, 209, 255, 0.18);
}

.featured {
  border-color: rgba(79, 209, 255, 0.22);
  box-shadow: 0 26px 80px rgba(79, 209, 255, 0.1);
}

.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(79, 209, 255, 0.5),
    rgba(139, 92, 246, 0.5),
    rgba(236, 72, 153, 0.4)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* FAQ */
.faq {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--border-glass);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 18px;
  padding: 18px 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

summary {
  cursor: pointer;
  list-style: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

.chev {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  flex: 0 0 auto;
}

details[open] .chev {
  color: var(--text-main);
}

details p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Contact */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

input,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: "Inter", sans-serif;
}

input:focus,
textarea:focus {
  border-color: rgba(79, 209, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(79, 209, 255, 0.1);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-meta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.meta-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.meta-item strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Footer */
footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(
    to top,
    rgba(11, 15, 26, 0.85),
    rgba(11, 15, 26, 1)
  );
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.footer-inner span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 22, 42, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  padding: 16px;
  display: none;
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.cookie p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.cookie p a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}
.cookie p a:hover {
  border-bottom-color: rgba(79, 209, 255, 0.5);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Sticky CTA */
.sticky {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 92px;
  z-index: 190;
  max-width: 980px;
  margin: 0 auto;
  display: none;
  pointer-events: none;
}

.sticky-inner {
  pointer-events: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 22, 42, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.sticky strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 2px;
}

.sticky span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: auto;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .case-metrics {
    grid-template-columns: 1fr;
  }
  .cookie-inner {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    justify-content: flex-start;
  }
  .sticky-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-visual::before {
    animation: none;
  }
}

/* =========================
   BURGER / MOBILE NAV
========================= */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--neon-blue),
    var(--neon-purple),
    var(--neon-pink)
  );
  box-shadow: 0 0 16px rgba(79, 209, 255, 0.12);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.burger span:nth-child(1) {
  top: 14px;
}
.burger span:nth-child(2) {
  top: 21px;
}
.burger span:nth-child(3) {
  top: 28px;
}

/* Overlay behind the menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 95; /* header is 100 */
}

/* Mobile styles */
@media (max-width: 980px) {
  .burger {
    display: inline-block;
    z-index: 110;
  }

  /* Turn nav into a dropdown panel */
  .nav-links {
    position: fixed;
    top: 74px; /* below header */
    right: 16px;
    left: 16px;
    z-index: 105;

    display: grid;
    gap: 8px;

    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(17, 22, 42, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links a {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-links .chip {
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
  }

  /* Open state */
  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-overlay {
    display: block;
  }

  /* Burger -> X */
  body.nav-open .burger span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  body.nav-open .burger span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .burger span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }
}
