/* =========================================================
   Cansly — corporate site
   ========================================================= */

:root {
  --purple: #7C3AED;
  --purple-dark: #6D28D9;
  --purple-soft: #EDE5FD;
  --tint: #F8F6FD;
  --ink: #1A1626;
  --muted: #55506B;
  --line: #E7E3F1;
  --white: #FFFFFF;
  --plum: #1F1447;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(26, 22, 38, .04), 0 8px 24px rgba(26, 22, 38, .06);
  --shadow-hover: 0 2px 4px rgba(26, 22, 38, .05), 0 14px 32px rgba(124, 58, 237, .12);

  --container: 1160px;
  --gutter: 24px;
  --section-y: 96px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shared ---------- */

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--tint); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; }
.section__lead { margin-top: 14px; font-size: 1.0625rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
}

.accent { color: var(--purple); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--sm { padding: 10px 18px; font-size: .875rem; }

.btn--primary { background: var(--purple); color: var(--white); box-shadow: 0 6px 16px rgba(124, 58, 237, .25); }
.btn--primary:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(124, 58, 237, .3); }

.btn--glow {
  color: var(--white);
  background: linear-gradient(135deg, #9F67FF 0%, #7C3AED 55%, #6D28D9 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 8px 24px rgba(124, 58, 237, .45);
}
.btn--glow:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 10px 30px rgba(139, 92, 246, .6); }
.btn--white { background: var(--white); color: var(--purple-dark); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn--ghost { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); }
.btn svg:not([width]) { width: 18px; height: 18px; }

.btn--outline { background: var(--white); color: var(--purple); border-color: var(--purple); }
.btn--outline:hover { background: var(--purple-soft); transform: translateY(-1px); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #D9CCF8; }

.grid { display: grid; gap: 24px; }

/* Missing-image fallback: shows initials / letter on a purple tint */
.is-missing { position: relative; }
.is-missing img { visibility: hidden; }
.is-missing::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-soft);
}

/* ---------- 1. Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(min(92vh, 820px) + 96px); /* previous height + ~1 inch */
  padding: calc(var(--nav-h) + 72px) 0 96px;
  color: #D9D2F0;
  background:
    linear-gradient(rgba(15, 10, 40, .25), rgba(15, 10, 40, .25)),
    url("assets/hero-bg-waves.webp") center / cover no-repeat,
    var(--plum);
}

/* Navbar: fixed, see-through plum glass that stays on screen.
   Tightens up and turns more solid once the page scrolls (.is-scrolled). */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: linear-gradient(90deg, rgba(24, 15, 58, .78), rgba(46, 24, 104, .72) 60%, rgba(31, 20, 71, .78));
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  transition: height .3s ease, background-color .3s ease, box-shadow .3s ease;
}
/* Glowing gradient line along the bottom edge */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .9) 30%, rgba(236, 72, 153, .7) 55%, rgba(124, 58, 237, .9) 75%, transparent);
  opacity: .7;
}
.nav.is-scrolled {
  height: 64px;
  background: linear-gradient(90deg, rgba(24, 15, 58, .92), rgba(46, 24, 104, .9) 60%, rgba(31, 20, 71, .92));
  box-shadow: 0 10px 30px rgba(15, 8, 40, .35);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 34px; width: auto; transition: transform .25s; }
.nav__logo:hover img { transform: scale(1.04); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #A78BFA, #EC4899);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav__links a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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 { isolation: isolate; overflow: hidden; }
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* Soft blur hides the low video resolution; slight scale keeps blurred edges off-screen */
  filter: blur(4.5px) saturate(1.1);
  transform: scale(1.06);
}
/* Same light darkening as the image fallback, on top of the video */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 10, 40, .25);
  pointer-events: none;
}
.hero__content { position: relative; width: 100%; text-align: center; }
.hero .eyebrow { color: #C4B5FD; }
.hero__title {
  max-width: 880px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero__title .accent { color: #C4B5FD; }
.hero__sub { max-width: 560px; margin: 22px auto 0; font-size: 1.1875rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero .btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.hero .btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

/* ---------- 2. Solutions ---------- */

.solutions {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 380px at 0% 10%, rgba(124, 58, 237, .10), transparent 70%),
    radial-gradient(700px 420px at 100% 90%, rgba(124, 58, 237, .10), transparent 70%),
    radial-gradient(rgba(124, 58, 237, .12) 1px, transparent 1.4px) 0 0 / 24px 24px,
    var(--white);
}

.grid--4 { grid-template-columns: repeat(4, 1fr); }

.solution { overflow: hidden; display: flex; flex-direction: column; }
.solution__media { aspect-ratio: 1 / 1; overflow: hidden; background: #0E0A24; }
.solution__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.solution:hover .solution__media img { transform: scale(1.05); }
.solution__body { padding: 20px 22px 24px; }
.solution h3 { font-size: 1.0625rem; font-weight: 500; margin-bottom: 8px; }
.solution h3 strong { font-weight: 800; }
.solution p { font-size: .9375rem; }

/* ---------- 3. Find Us Everywhere ---------- */

.everywhere__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 64px;
}

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  min-width: 180px;
  background: #1A1626;
  color: var(--white);
  border-radius: 10px;
  opacity: .45;
  filter: grayscale(1);
  cursor: not-allowed;
  user-select: none;
}
.store-badge__icon { width: 24px; height: 24px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__text small { font-size: .6875rem; opacity: .85; }
.store-badge__text strong { font-size: 1.0625rem; font-weight: 600; }

.devices { position: relative; padding: 0 0 8px 0; }
/* Soft purple glow so the devices stand out from the pale section */
.devices::before {
  content: "";
  position: absolute;
  inset: 8% 4% 12% 0;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .28), rgba(124, 58, 237, .08) 60%, transparent);
  filter: blur(20px);
  pointer-events: none;
}
.device { position: relative; z-index: 1; margin: 0; transition: transform .35s ease, filter .35s ease; }
.device img { display: block; transition: object-position 4s ease-in-out; }
/* Hovering pans a tall full-page screenshot from top to bottom */
.device:hover img { object-position: bottom; }

/* Desktop monitor: dark bezel, camera dot, neck and base */
.device--desktop { width: 86%; filter: drop-shadow(0 30px 40px rgba(26, 22, 38, .22)); }
.device--desktop:hover { transform: translateY(-8px); filter: drop-shadow(0 40px 50px rgba(76, 29, 149, .3)); }
.monitor__frame {
  position: relative;
  padding: 14px 14px 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, #3A3452, #1A1626 45%, #0F0C18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.monitor__cam {
  position: absolute;
  top: 5px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #2E2842;
  box-shadow: 0 0 0 1px #3F3858;
}
.monitor__screen { overflow: hidden; border-radius: 6px; background: #0E0A24; }
.monitor__screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #221A3F;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.device__bar i:nth-child(2) { background: #FEBC2E; }
.device__bar i:nth-child(3) { background: #28C840; }
.device__bar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
  padding: 3px 14px;
  font-size: .6875rem;
  color: #CFC7EA;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
}
.device__bar svg { width: 10px; height: 10px; }
.monitor__neck {
  width: 16%;
  height: 44px;
  margin: 0 auto;
  background: linear-gradient(90deg, #C9C5D6, #F1EFF6 45%, #B8B3C8);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}
.monitor__base {
  width: 36%;
  height: 10px;
  margin: 0 auto;
  border-radius: 6px 6px 12px 12px;
  background: linear-gradient(180deg, #F4F2F8, #BDB8CC);
  box-shadow: 0 8px 14px rgba(26, 22, 38, .25);
}

/* Phone: metal edge, side buttons, dynamic island */
.device--mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(145deg, #4A4460, #16121F 40%, #0B0912);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    0 0 0 1px rgba(26, 22, 38, .4),
    0 30px 50px rgba(26, 22, 38, .35);
}
.device--mobile::before,
.device--mobile::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2A2438;
}
.device--mobile::before { left: -3px; top: 20%; height: 12%; box-shadow: 0 30px 0 #2A2438; }
.device--mobile::after { right: -3px; top: 26%; height: 16%; }
.phone__island {
  position: absolute;
  top: 15px; left: 50%;
  z-index: 2;
  width: 30%; height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #07060B;
}
.device--mobile img { width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 23px; background: #0E0A24; }
.device--mobile:hover { transform: translateY(-12px) rotate(-2deg); }

/* ---------- 4. Partners ---------- */

.partners__split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 48px;
}
.partners__divider { align-self: stretch; background: #D9D6E0; }
.partners__label {
  text-align: center;
  margin-bottom: 20px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.partner figcaption { font-size: .9375rem; font-weight: 700; color: var(--ink); text-align: center; }
.partner figcaption { display: inline-flex; align-items: center; gap: 6px; }
.partner__ig { width: 14px; height: 14px; color: var(--purple); opacity: .7; transition: opacity .2s; }
.partner-link { display: block; border-radius: var(--radius); }
.partner-link:hover .logo-tile { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(76, 29, 149, .2); }
.partner-link:hover figcaption { color: var(--purple); }
.partner-link:hover .partner__ig { opacity: 1; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-tile {
  width: 140px;
  height: 140px;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.logo-tile:hover { transform: translateY(-3px); border-color: #D9CCF8; box-shadow: var(--shadow); }
.logo-tile img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
/* Logos that come on their own coloured square fill the whole tile */
.logo-tile--fill { padding: 0; border: 0; }
.logo-tile--fill img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
/* White-background logos keep a thin border so the tile edge stays visible */
.logo-tile--fill.logo-tile--bordered { border: 1px solid var(--line); }

/* ---------- 5. Team ---------- */

.team__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.team__arrows { display: flex; gap: 10px; }
.arrow {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  color: var(--purple);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.arrow:hover:not(:disabled) { background: var(--purple); color: var(--white); border-color: var(--purple); }
.arrow:disabled { opacity: .4; cursor: default; }

.team__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  padding: 6px 4px 20px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: #CFC2F2 transparent;
}
.team__track::-webkit-scrollbar { height: 6px; }
.team__track::-webkit-scrollbar-thumb { background: #CFC2F2; border-radius: 999px; }
.member {
  flex: 0 0 240px;
  padding: 14px 14px 22px;
  text-align: center;
}
.member__photo {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--purple-soft);
  margin-bottom: 16px;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member__photo.is-missing::after { font-size: 2rem; }
.logo-tile.is-missing::after { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: #A99FC4; background: var(--tint); }
.member__name { font-size: 1.0625rem; font-weight: 700; }
.member__role { margin-top: 4px; font-size: .9375rem; }

/* ---------- 6. Anywhere ---------- */

.anywhere {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 380px at 78% 50%, rgba(124, 58, 237, .08), transparent 70%),
    var(--white);
}
.anywhere__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.anywhere .section__lead { font-size: 1.125rem; max-width: 480px; }
.anywhere__highlight {
  background: linear-gradient(90deg, #A78BFA, #7C3AED, #C084FC, #A78BFA);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
.anywhere__points { display: grid; gap: 14px; margin-top: 30px; max-width: 460px; }
.anywhere__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.anywhere__points li:hover { transform: translateX(4px); border-color: #D9CCF8; box-shadow: var(--shadow-hover); }
.anywhere__points strong { display: block; color: var(--ink); font-size: .9375rem; }
.anywhere__points span:not(.anywhere__icon) { display: block; font-size: .875rem; }
.anywhere__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  box-shadow: 0 6px 14px rgba(124, 58, 237, .3);
}
.anywhere__icon svg { width: 20px; height: 20px; }

.anywhere__visual { position: relative; display: grid; place-items: center; }
.anywhere__badge {
  position: absolute;
  right: 4%; bottom: 6%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  font-size: .8125rem;
  line-height: 1.3;
}
.anywhere__badge strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.orbit-svg { width: 100%; max-width: 470px; height: auto; overflow: visible; }

/* Faint globe lines behind the orbits */
.globe { fill: none; stroke: rgba(124, 58, 237, .1); stroke-width: 1; }

.orbit { transform-origin: 210px 210px; animation: spin 40s linear infinite; }
.orbit--2 { animation-duration: 60s; animation-direction: reverse; }
.orbit--3 { animation-duration: 80s; }
.orbit__ring { fill: none; stroke: rgba(124, 58, 237, .28); stroke-width: 1; stroke-dasharray: 2 6; }
.orbit__ring--glow { stroke: url(#ring-grad); stroke-width: 1.5; stroke-dasharray: none; opacity: .55; }
.orbit__sat { fill: #A78BFA; filter: drop-shadow(0 0 4px rgba(167, 139, 250, .9)); }

/* Dashed "data" lines flowing from the core out to each person */
.beam {
  stroke: rgba(124, 58, 237, .35);
  stroke-width: 1.2;
  stroke-dasharray: 3 7;
  animation: flow 1.6s linear infinite;
}

/* Photos counter-rotate so faces always stay upright */
.node { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite reverse; }
.orbit--2 .node { animation-duration: 60s; animation-direction: normal; }
.orbit--3 .node { animation-duration: 80s; }
.node__ring { stroke: var(--white); stroke-width: 2.5; filter: drop-shadow(0 5px 9px rgba(124, 58, 237, .3)); }
.node__head, .node__body { fill: var(--white); opacity: .95; }
.node__status { fill: #22C55E; stroke: var(--white); stroke-width: 1.5; }

.core { fill: var(--white); stroke: url(#node-grad); stroke-width: 3; filter: drop-shadow(0 10px 24px rgba(124, 58, 237, .45)); }

.pulse {
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.5;
  transform-origin: 210px 210px;
  animation: ripple 4s ease-out infinite;
}
.pulse--late { animation-delay: 2s; }

@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(4.2); opacity: 0; }
}
@keyframes shimmer { to { background-position: 300% 0; } }
/* ---------- 8. Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding: 0 0 32px;
  color: #B9B3CC;
  font-size: .9375rem;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(124, 58, 237, .35), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(124, 58, 237, .18), transparent 70%),
    var(--plum);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .8), rgba(236, 72, 153, .6), transparent);
}
.footer .container { position: relative; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--white); }

.footer__watermark {
  position: absolute;
  right: -60px; bottom: -80px;
  width: 420px;
  opacity: .06;
  pointer-events: none;
}

.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin: 64px 0 56px;
  padding: 36px 40px;
  border-radius: 20px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(236, 72, 153, .35), transparent 70%),
    linear-gradient(120deg, #7C3AED, #5B21B6);
  box-shadow: 0 20px 50px rgba(15, 8, 40, .4);
}
.footer__cta h3 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.625rem); font-weight: 800; }
.footer__cta p { margin-top: 6px; color: rgba(255, 255, 255, .82); }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand img { height: 34px; width: auto; }
.footer__tagline { margin-top: 16px; color: var(--white); font-weight: 600; }
.footer__about { margin-top: 6px; max-width: 300px; font-size: .875rem; }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--purple); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

.footer__col h4 { margin-bottom: 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.footer__col li + li { margin-top: 10px; }
.footer__col a { display: inline-block; transition: color .2s, transform .2s; }
.footer__col a:hover { transform: translateX(3px); }

.footer__info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.footer__info li { display: flex; align-items: flex-start; gap: 12px; }
.footer__info-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: #C4B5FD;
  background: rgba(167, 139, 250, .12);
}
.footer__info-icon svg { width: 18px; height: 18px; }
.footer__info small { display: block; margin-bottom: 2px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: #8E86AA; }
.footer__info a, .footer__info span:not(.footer__info-icon) { color: var(--white); }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: .8125rem; }
.footer__top-link { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .anywhere__inner { grid-template-columns: 1fr; text-align: center; }
  .anywhere .section__lead { margin-left: auto; margin-right: auto; }
  .anywhere__points { margin-left: auto; margin-right: auto; text-align: left; }
  .orbit-svg { max-width: 380px; }
  .everywhere__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .badges { justify-content: center; }
  .devices { max-width: 640px; margin: 0 auto; width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) - 4px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #1F1447;
    border: 1px solid rgba(167, 139, 250, .25);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(15, 8, 40, .45);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { display: flex; padding: 12px 14px; border-radius: 10px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a.is-active { background: rgba(167, 139, 250, .14); }
  .nav__cta { margin-left: 0; padding: 8px 6px 4px; }
  .nav__cta .btn { width: 100%; padding: 13px 18px; }
}

@media (max-width: 720px) {
  :root { --section-y: 72px; --gutter: 16px; }
  .hero { min-height: 0; padding: calc(var(--nav-h) + 96px) 0 120px; background-position: center, 72% center, 0 0; }
  .hero__video { object-position: 72% center; }
  .partners__split { grid-template-columns: 1fr; gap: 32px; }
  .partners__divider { height: 1px; width: 60%; margin: 0 auto; }
  .team__arrows { display: none; }
  .team__track { gap: 14px; }
  .hero__sub { font-size: 1.0625rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .section__head { margin-bottom: 40px; }
  .member { flex: 0 0 220px; padding: 10px 10px 18px; }
  .member__name { font-size: .9375rem; }
  .member__role { font-size: .8125rem; }
  .logo-tile { width: 120px; height: 120px; }
  .logo-tile--fill { padding: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__info { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .footer__cta { margin: 48px 0 40px; padding: 28px 22px; }
  .footer__cta-actions, .footer__cta-actions .btn { width: 100%; }
  .footer__watermark { width: 280px; }
}

@media (max-width: 420px) {
  .grid--4 { grid-template-columns: 1fr; }
  .store-badge { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .team__track { scroll-behavior: auto; }
}
