/* ============================================================
   Netpixl Tech LLC — style.css
   Aesthetic: luminous digital "pixel" — violet on near-black
   Theme: violet #7C3AED · lavender #A78BFA · dark #0F172A · white
   Fonts: Bricolage Grotesque (display) · Plus Jakarta Sans (body) · Space Mono (labels)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --violet:     #7C3AED;
  --violet-600: #6D28D9;
  --violet-700: #5B21B6;
  --lavender:   #A78BFA;
  --lavender-2: #C4B5FD;

  --ink-900: #070A16;   /* deepest — footer */
  --ink-850: #0B1020;   /* page background */
  --ink-800: #0F172A;   /* spec dark — base surface */
  --ink-750: #131B30;   /* raised surface */

  --glass:        rgba(255, 255, 255, .045);
  --glass-2:      rgba(255, 255, 255, .07);
  --line:         rgba(255, 255, 255, .09);
  --line-strong:  rgba(255, 255, 255, .16);

  --text:    #EEF1FA;
  --muted:   rgba(223, 229, 245, .66);
  --muted-2: rgba(223, 229, 245, .46);

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body:    "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1280px;
  --radius:    20px;
  --radius-sm: 13px;
  --header-h:  82px;

  --glow-violet: 0 0 0 1px rgba(124, 58, 237, .35), 0 18px 50px -16px rgba(124, 58, 237, .55);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, .8);

  --ease: cubic-bezier(.22, .68, .26, .99);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}
/* Larger, more comfortable scale on desktop monitors */
@media (min-width: 1100px) { html { font-size: 17px; } }
@media (min-width: 1500px) { html { font-size: 18px; } }
@media (min-width: 1850px) { html { font-size: 19px; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink-850);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* page-wide atmospheric glow + faint pixel texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(124, 58, 237, .18), transparent 60%),
    radial-gradient(720px 520px at -5% 12%, rgba(167, 139, 250, .12), transparent 55%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
address { font-style: normal; }
svg { width: 100%; height: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--text);
}

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .55);
  border-radius: 8px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: clamp(74px, 9vw, 132px); position: relative; }

.skip-link {
  position: fixed;
  top: -120px; left: 16px;
  z-index: 999;
  background: var(--violet);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Eyebrows / section heads ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lavender);
  margin: 0;
}
.kicker--center { justify-content: center; }
.kicker--accent { color: var(--lavender-2); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(42px, 5vw, 66px);
}

.section-title {
  font-size: clamp(1.95rem, 1rem + 3vw, 3.2rem);
  margin-top: 16px;
  font-weight: 800;
}
.section-desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.grad {
  background: linear-gradient(110deg, var(--lavender) 0%, var(--violet) 50%, var(--lavender-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn--lg { padding: 15px 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--accent {
  background: linear-gradient(120deg, var(--violet) 0%, var(--lavender) 100%);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(124, 58, 237, .8);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -12px rgba(124, 58, 237, .95);
}
.btn--ghost {
  background: var(--glass-2);
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--lavender-2);
  border-color: rgba(167, 139, 250, .5);
}
.btn--outline:hover { background: rgba(167, 139, 250, .12); border-color: var(--lavender); transform: translateY(-2px); }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar {
  background: rgba(7, 10, 22, .8);
  color: var(--muted);
  font-size: .85rem;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
}
.topbar__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.topbar__contacts li { display: inline-flex; align-items: center; gap: 8px; }
.topbar__contacts svg { width: 15px; height: 15px; stroke: var(--lavender); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.topbar__contacts a { transition: color .25s var(--ease); }
.topbar__contacts a:hover { color: #fff; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, .72);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(8, 11, 24, .9);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .85);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: rgba(226, 232, 240, .8);
  border-radius: 10px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--lavender));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 11px 22px; }
.nav__close { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: #E7EEFC;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--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); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 8, 20, .6);
  backdrop-filter: blur(3px);
  opacity: 0;
  z-index: 110;
  transition: opacity .3s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(48px, 7vw, 86px);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(167, 139, 250, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, .06) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 75% at 50% 0%, #000 28%, transparent 76%);
          mask-image: radial-gradient(120% 75% at 50% 0%, #000 28%, transparent 76%);
}
.hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero__orb--1 { top: -10%; right: 4%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(124, 58, 237, .45), transparent 62%); }
.hero__orb--2 { top: 36%; left: -8%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(167, 139, 250, .3), transparent 64%); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
  padding-block: clamp(40px, 6vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(167, 139, 250, .28);
  background: rgba(124, 58, 237, .12);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--lavender-2);
}
.eyebrow__pixels { display: inline-grid; grid-template-columns: repeat(2, 5px); gap: 2px; }
.eyebrow__pixels i { width: 5px; height: 5px; border-radius: 1px; background: var(--lavender); }
.eyebrow__pixels i:nth-child(2) { background: var(--violet); }
.eyebrow__pixels i:nth-child(3) { background: rgba(167, 139, 250, .5); }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.4rem, 1rem + 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.04;
  color: #fff;
}
.hero__sub {
  margin-top: 22px;
  max-width: 540px;
  color: var(--muted);
  font-size: 1.13rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 34px 0 0; padding: 0;
}
.hero__chips li {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
}

/* ----- Glass product window ----- */
.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 540px; }

.window {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(20, 27, 48, .92), rgba(11, 16, 32, .92));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.window::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 80% -10%, rgba(124, 58, 237, .22), transparent 60%);
  pointer-events: none;
}
.window__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.window__dots { display: inline-flex; gap: 6px; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.window__dots i:nth-child(1) { background: #f87171; }
.window__dots i:nth-child(2) { background: #fbbf24; }
.window__dots i:nth-child(3) { background: #34d399; }
.window__title { font-family: var(--font-mono); font-size: .82rem; color: var(--muted-2); }
.window__body { padding: 20px; display: grid; gap: 18px; position: relative; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  padding: 14px 13px;
  display: grid;
  gap: 3px;
}
.metric__label { font-size: .72rem; color: var(--muted-2); font-family: var(--font-mono); }
.metric__value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.metric__value small { font-size: .9rem; color: var(--muted); }
.metric__trend { font-size: .7rem; color: var(--muted-2); font-family: var(--font-mono); }
.metric__trend.up { color: #34d399; }

.chart {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  padding: 14px 14px 16px;
}
.chart__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.chart__legend { display: inline-flex; align-items: center; gap: 6px; }
.chart__legend i { width: 9px; height: 9px; border-radius: 2px; background: var(--lavender); display: inline-block; }
.chart__bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 12px; }
.chart__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, var(--lavender), var(--violet));
  transform-origin: bottom;
}
.js .chart__bars span { transform: scaleY(0); transition: transform .8s var(--ease); }
.js .chart__bars.is-animated span { transform: scaleY(1); }

.window__status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
}
.window__status code { color: var(--lavender-2); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; flex: none; }

/* floating cards */
.floatcard {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(15, 20, 38, .9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
.floatcard--ship { top: -22px; left: -18px; color: #fff; }
.floatcard__dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.floatcard--rating { bottom: -22px; right: -14px; gap: 6px; animation-delay: 1.6s; }
.floatcard--rating strong { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.floatcard--rating .stars { color: #fbbf24; letter-spacing: 1px; font-size: .8rem; }
.floatcard__sub { color: var(--muted-2); font-weight: 500; font-size: .75rem; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* tech strip */
.techstrip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px;
  margin-top: clamp(20px, 4vw, 40px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.techstrip__label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.techstrip ul { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; margin: 0; padding: 0; }
.techstrip li { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: .95rem; transition: color .25s var(--ease); }
.techstrip li:hover { color: var(--lavender); }

/* ============================================================
   VISION
   ============================================================ */
.vision__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.vision__intro .section-title { max-width: 12ch; }
.vision__lead { color: var(--muted); font-size: 1.18rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .35); background: var(--glass-2); }
.pillar__pix {
  position: absolute; top: 16px; right: 16px;
  width: 22px; height: 22px;
  background-image: radial-gradient(rgba(167, 139, 250, .5) 1.4px, transparent 1.4px);
  background-size: 6px 6px;
  opacity: .8;
}
.pillar__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .35), rgba(167, 139, 250, .2));
  border: 1px solid rgba(167, 139, 250, .3);
  margin-bottom: 18px;
}
.pillar__icon svg { width: 25px; height: 25px; stroke: var(--lavender-2); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.22rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px 160px at 50% -20%, rgba(124, 58, 237, .25), transparent 65%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, .4);
  background: var(--glass-2);
  box-shadow: 0 26px 60px -28px rgba(124, 58, 237, .6);
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .32), rgba(167, 139, 250, .16));
  border: 1px solid rgba(167, 139, 250, .28);
  margin-bottom: 18px;
  position: relative;
}
.card__icon svg { width: 25px; height: 25px; stroke: var(--lavender-2); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.12rem; margin-bottom: 9px; position: relative; }
.card p { color: var(--muted); font-size: .96rem; margin: 0 0 16px; position: relative; }
.card__line {
  display: block;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--violet), var(--lavender));
  position: relative;
  transition: width .35s var(--ease);
}
.card:hover .card__line { width: 56px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.why__desc { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 460px; }

.reasons { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.reason { display: flex; gap: 16px; align-items: flex-start; }
.reason__check {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--violet), var(--lavender));
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .8);
}
.reason__check svg { width: 17px; height: 17px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reason h4 { font-size: 1.08rem; margin-bottom: 3px; }
.reason p { color: var(--muted); font-size: .96rem; margin: 0; }

.stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  isolation: isolate;
}
.stats__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(360px 200px at 80% -10%, rgba(124, 58, 237, .5), transparent 60%),
    linear-gradient(160deg, rgba(20, 27, 48, .96), rgba(11, 16, 32, .96));
}
.stat {
  padding: clamp(24px, 3.5vw, 38px) clamp(20px, 3vw, 32px);
  background: rgba(11, 16, 32, .5);
  backdrop-filter: blur(4px);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 1rem + 2.6vw, 3rem);
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--lavender-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__num--text { background: linear-gradient(120deg, var(--lavender), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { overflow: hidden; }
.contact__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 20% 110%, rgba(124, 58, 237, .28), transparent 60%),
    radial-gradient(560px 360px at 95% -10%, rgba(167, 139, 250, .2), transparent 60%);
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.contact__lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; max-width: 460px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.contact__details { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__details li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--glass);
}
.contact__ico svg { width: 18px; height: 18px; stroke: var(--lavender-2); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact__k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); font-family: var(--font-mono); }
.contact__details a:hover { color: var(--lavender); }
.contact__details address { color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* form */
.cform {
  background: linear-gradient(165deg, rgba(20, 27, 48, .85), rgba(11, 16, 32, .9));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 16px;
  backdrop-filter: blur(8px);
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); font-family: var(--font-display); }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, .6);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .22);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error textarea { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }
.cform__note { margin: 2px 0 0; font-size: .92rem; color: var(--lavender-2); min-height: 1.2em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 86px);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer__blurb { font-size: .96rem; max-width: 340px; line-height: 1.6; color: var(--muted); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--glass);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.footer__social svg { width: 18px; height: 18px; fill: var(--muted); transition: fill .25s var(--ease); }
.footer__social a:hover { transform: translateY(-3px); border-color: rgba(167, 139, 250, .5); background: rgba(167, 139, 250, .12); }
.footer__social a:hover svg { fill: var(--lavender-2); }

.footer__col h4 {
  font-size: .95rem;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: .95rem; color: var(--muted); transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer__col a:hover { color: var(--lavender); padding-left: 4px; }
.footer__contact address { font-size: .95rem; line-height: 1.55; margin-top: 14px; color: var(--muted); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-block: 26px;
  color: var(--muted-2);
  font-size: .9rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { transition: color .25s var(--ease); }
.footer__legal a:hover { color: var(--lavender); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--lavender));
  box-shadow: 0 16px 34px -14px rgba(124, 58, 237, .8);
  opacity: 0;
  transform: translateY(14px) scale(.96);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-top svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* ============================================================
   SCROLL REVEAL  (gated behind .js so content shows without JS)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-top: 8px; }
  .vision__inner { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .vision__intro .section-title { max-width: none; }
  .why__inner { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; max-width: 560px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; }
  .topbar__loc { display: none; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 120;
    height: 100dvh;
    width: min(86vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 84px 26px 32px;
    background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .7);
    transform: translateX(105%);
    transition: transform .38s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link {
    display: block;
    padding: 14px 12px;
    font-size: 1.05rem;
    color: #E7EEFC;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.is-active { color: var(--lavender); background: transparent; }
  .nav__cta { margin-top: 22px; width: 100%; }
  .nav__close {
    display: grid; place-items: center;
    position: absolute; top: 20px; right: 20px;
    width: 42px; height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: rgba(255, 255, 255, .05);
  }
  .nav__close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics .metric:last-child { grid-column: 1 / -1; }
  .cform__row { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .contact__actions .btn { flex: 1 1 auto; }
  .floatcard--ship { left: -6px; top: -16px; }
  .floatcard--rating { right: -2px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .chart__bars span { transform: scaleY(1); }
}
