/* ═══════════════════════════════════════════════
   HARMONIA — single stylesheet, dual theme
   🌙 dark (default): #000 · violet #9B8CFF/#673DE5 · LED glows
   ☀️ light: ivory #F3EDE3 · near-black type · crisp violet accents
   Toggle sets data-theme="light" on <html>; every color below
   flows from the custom properties in this block.
═══════════════════════════════════════════════ */

:root {
  /* surfaces */
  --bg: #000;
  --text: #fff;
  --heading: #fff;
  --text-muted: rgba(255,255,255,0.7);
  --text-soft: rgba(255,255,255,0.55);

  /* accents */
  --accent: #9B8CFF;          /* violet highlight / spans          */
  --accent-deep: #673DE5;     /* deep violet                        */
  --accent-text: #9B8CFF;     /* accent used as text on this bg     */

  /* cards */
  --card-grad: radial-gradient(120% 120% at bottom right,
    rgba(155,140,255,0.55), rgba(155,140,255,0.15) 45%, rgba(0,0,0,0.95) 70%);
  --card-grad-soft: radial-gradient(120% 120% at bottom right,
    rgba(155,140,255,0.35), rgba(155,140,255,0.12) 45%, rgba(0,0,0,0.95) 72%);
  --card-grad-featured: radial-gradient(130% 130% at bottom right,
    rgba(155,140,255,0.9), rgba(155,140,255,0.35) 50%, rgba(0,0,0,0.9) 72%);
  --card-border: rgba(155,140,255,0.35);
  --card-inset: inset 0 0 0 1px rgba(155,140,255,0.4);
  --card-shadow: 0 0 40px rgba(155,140,255,0.15);
  --card-text: #fff;

  /* LED lines */
  --led-line: linear-gradient(to right,
    transparent, rgba(155,140,255,0.6), #9B8CFF, rgba(155,140,255,0.6), transparent);
  --led-glow: 0 0 14px rgba(155,140,255,0.35);

  /* header / nav */
  --header-bg: rgba(0,0,0,0.35);
  --header-bg-shrink: rgba(0,0,0,0.70);
  --header-shrink-glow: 0 0 18px rgba(183,123,255,0.75), 0 0 32px rgba(123,44,255,0.45);
  --header-energy-opacity: 0.6;
  --nav-text: #fff;
  --nav-hover: #d9b4ff;
  --nav-hover-glow: 0 0 10px rgba(200,150,255,0.9);
  --nav-active: #c9a7ff;
  --logo-filter: drop-shadow(0 0 9px rgba(155,140,255,0.5));

  /* buttons */
  --btn-bg: #6B5BFF;
  --btn-text: #000;
  --btn-hover-bg: #9B8CFF;
  --btn-hover-text: #3D2FD6;
  --cta-bg: #9B8CFF;
  --cta-text: #3D2FD6;
  --cta-hover-bg: #6B5BFF;
  --cta-hover-text: #fff;

  /* tags / chips */
  --tag-bg: rgba(155,140,255,0.15);
  --tag-border: rgba(155,140,255,0.45);
  --tag-text: #9B8CFF;

  /* form */
  --input-bg: rgba(0,0,0,0.6);
  --input-border: rgba(155,140,255,0.35);
  --input-text: #fff;
  --form-card-grad: radial-gradient(140% 140% at bottom right,
    rgba(155,140,255,0.45), rgba(155,140,255,0.15) 45%, rgba(0,0,0,0.95) 75%);

  /* misc */
  --footer-border: rgba(155,140,255,0.25);
  --blob-grad: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,0.9), rgba(183,123,255,0.2) 60%, transparent 70%);
  --blob-blend: screen;
}

:root[data-theme="light"] {
  /* surfaces */
  --bg: #F3EDE3;
  --text: #141414;
  --heading: #111;
  --text-muted: rgba(20,20,20,0.72);
  --text-soft: rgba(20,20,20,0.55);

  /* accents — deep violet carries the brand on cream */
  --accent: #673DE5;
  --accent-deep: #673DE5;
  --accent-text: #5a33cc;

  /* cards — white, soft shadow, thin violet border */
  --card-grad: linear-gradient(150deg, #FFFFFF 0%, #F8F4EC 100%);
  --card-grad-soft: linear-gradient(150deg, #FFFFFF 0%, #FAF6EF 100%);
  --card-grad-featured: linear-gradient(150deg, #EFE9FF 0%, #FFFFFF 65%);
  --card-border: rgba(103,61,229,0.22);
  --card-inset: inset 0 0 0 1px rgba(103,61,229,0.06);
  --card-shadow: 0 18px 44px rgba(24,16,60,0.10);
  --card-text: #141414;

  /* LED lines — crisp, no glow */
  --led-line: linear-gradient(to right,
    transparent, rgba(103,61,229,0.45), #673DE5, rgba(103,61,229,0.45), transparent);
  --led-glow: none;

  /* header / nav — warm glass */
  --header-bg: rgba(243,237,227,0.72);
  --header-bg-shrink: rgba(243,237,227,0.92);
  --header-shrink-glow: 0 10px 30px rgba(24,16,60,0.12);
  --header-energy-opacity: 0.18;
  --nav-text: #1a1a1a;
  --nav-hover: #673DE5;
  --nav-hover-glow: none;
  --nav-active: #673DE5;
  --logo-filter: invert(1);

  /* buttons */
  --btn-bg: #673DE5;
  --btn-text: #fff;
  --btn-hover-bg: #5a33cc;
  --btn-hover-text: #fff;
  --cta-bg: #673DE5;
  --cta-text: #fff;
  --cta-hover-bg: #5a33cc;
  --cta-hover-text: #fff;

  /* tags / chips */
  --tag-bg: rgba(103,61,229,0.08);
  --tag-border: rgba(103,61,229,0.35);
  --tag-text: #673DE5;

  /* form */
  --input-bg: #FFFFFF;
  --input-border: rgba(103,61,229,0.30);
  --input-text: #141414;
  --form-card-grad: linear-gradient(160deg, #FFFFFF 0%, #F6F1E8 100%);

  /* misc */
  --footer-border: rgba(103,61,229,0.20);
  --blob-grad: radial-gradient(circle at 30% 30%,
    rgba(103,61,229,0.55), rgba(103,61,229,0.15) 60%, transparent 70%);
  --blob-blend: multiply;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

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

.violet { color: var(--accent); }
.white  { color: var(--heading); }

/* ── LED lines ── */
.violet-led-line {
  width: 100%;
  height: 1px;
  margin: 1.5rem 0;
  background: var(--led-line);
  box-shadow: var(--led-glow);
}

.hd-led-line, .hd-testimonials-line, .hd-projects-line, .led-line {
  width: 100%;
  height: 1px;
  background: var(--led-line);
  box-shadow: var(--led-glow);
}
.hd-led-line { margin-bottom: 40px; }
.hd-testimonials-line { margin-bottom: 50px; }
.hd-projects-line { margin-bottom: 40px; }
.led-line { margin-bottom: 32px; }

/* ═══════════════ INTRO OVERLAY (always dark — splash) ═══════════════ */
#hd-intro-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000000;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.8s ease;
  cursor: pointer;
}

#hd-intro-overlay .intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#hd-intro-overlay.hide { opacity: 0; pointer-events: none; }

#hd-intro-overlay .intro-mark {
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
}

#hd-intro-overlay .intro-mark path {
  stroke: #c9a7ff;
  stroke-width: 3.4;
  stroke-linecap: square;
  fill: none;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: hdMarkDraw 1.15s ease 0.15s forwards;
  filter: drop-shadow(0 0 10px rgba(183,123,255,0.55));
}

@keyframes hdMarkDraw {
  to { stroke-dashoffset: 0; }
}

#hd-intro-overlay .intro-logo,
#hd-intro-overlay .intro-sub {
  opacity: 0;
  animation: hdIntroFade 0.8s ease 0.65s forwards;
}

@keyframes hdIntroFade {
  to { opacity: 1; }
}

#hd-intro-overlay .intro-logo {
  font-family: "Inter", monospace;
  font-size: 32px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  line-height: 1.1;
  position: relative;
  text-shadow: 0 0 14px rgba(183,123,255,0.30), 0 0 26px rgba(80,220,255,0.20);
}

#hd-intro-overlay .intro-logo::after {
  content: "";
  position: absolute;
  inset: -6px -10px;
  background: repeating-linear-gradient(90deg,
    rgba(183,123,255,0.00) 0px, rgba(183,123,255,0.10) 2px,
    rgba(80,220,255,0.06) 4px, rgba(183,123,255,0.00) 7px);
  mix-blend-mode: screen;
  filter: blur(0.2px);
  opacity: 0.85;
  pointer-events: none;
  animation: hd-grass 0.9s linear infinite;
}

@keyframes hd-grass {
  0%   { transform: translateX(-12px); opacity: 0.65; }
  50%  { transform: translateX(12px);  opacity: 0.90; }
  100% { transform: translateX(-12px); opacity: 0.65; }
}

#hd-intro-overlay .intro-sub {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #c9a7ff;
  opacity: 0.85;
  margin-top: 10px;
}

/* ═══════════════ HEADER ═══════════════ */
.hd-header {
  position: sticky;
  top: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 10px 24px;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.hd-header.shrink {
  background: var(--header-bg-shrink);
  box-shadow: var(--header-shrink-glow);
}

.hd-header::before {
  content: "";
  position: absolute;
  inset: -30px 0 0 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(183,123,255,0.35) 0, transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(80,220,255,0.35) 0, transparent 60%);
  opacity: var(--header-energy-opacity);
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(8px);
  z-index: -1;
}

.hd-site-logo .brand,
.hd-footer-logo .brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.hd-brand-mark {
  display: block;
  height: 42px;
  width: auto;
  filter: var(--logo-filter);
  transition: 0.3s ease;
  transform-origin: center;
}

.hd-footer-logo .hd-brand-mark { height: 52px; }

.hd-brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--nav-text);
  white-space: nowrap;
}

.hd-header.shrink .hd-brand-mark { transform: scale(0.88); }

@media (max-width: 520px) {
  .hd-site-logo .hd-brand-text { display: none; }
}

/* Theme toggle (far left) */
.hd-theme-toggle {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--nav-text);
  cursor: pointer;
  padding: 0;
  z-index: 999999;
  transition: 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.hd-theme-toggle:hover {
  border-color: var(--accent);
  color: var(--nav-hover);
  box-shadow: 0 0 14px rgba(155,140,255,0.35);
}

.hd-theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hd-theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .hd-theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .hd-theme-toggle .icon-moon { display: block; }

/* Language switcher (desktop, left of centre) */
.hd-lang-switcher {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: "Inter", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  z-index: 999999;
}

.hd-lang-switcher a {
  color: var(--nav-text);
  text-decoration: none;
  opacity: 0.55;
  position: relative;
  transition: all .25s ease;
}

.hd-lang-switcher a:hover {
  opacity: 1;
  color: var(--nav-hover);
  text-shadow: var(--nav-hover-glow);
}

.hd-lang-switcher a.active {
  opacity: 1;
  color: var(--nav-active);
}

.hd-lang-switcher a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b77bff, #7b2cff, #b77bff);
  background-size: 200% 100%;
  animation: hd-lang-neon 1.4s linear infinite;
  border-radius: 4px;
}

@keyframes hd-lang-neon {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}

/* Desktop menu (right) */
.custom-tech-menu {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  z-index: 999999;
}

.custom-tech-menu a {
  font-family: "Inter", monospace;
  font-size: 15px;
  text-decoration: none;
  color: var(--nav-text);
  letter-spacing: 0.6px;
  position: relative;
  transition: all 0.25s ease;
  transform-origin: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.custom-tech-menu a:hover {
  color: var(--nav-hover);
  text-shadow: var(--nav-hover-glow);
}

.custom-tech-menu a.magnetic-hover {
  transform: translate(var(--mx), var(--my)) scale(1.12);
}

/* current page — calm, permanent marker (no glitch) */
.custom-tech-menu a.current {
  color: var(--nav-active);
}
.custom-tech-menu a.current::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b77bff, #7b2cff, #b77bff);
  border-radius: 4px;
  opacity: 0.7;
  pointer-events: none;
}

.mobile-menu-inner a.current {
  color: #c59dff;
  border-color: rgba(197,157,255,0.55);
}

/* scroll-spy removed — .current (above) is the only nav state */

@keyframes hd-glitch {
  0%   { transform: translate(0); }
  20%  { transform: translate(-2px,1px); }
  40%  { transform: translate(2px,-1px); }
  60%  { transform: translate(-1px,-1px); }
  80%  { transform: translate(1px,1px); }
  100% { transform: translate(0); }
}
@keyframes hd-neon {
  0%   { background-position: 0 0; }
  100% { background-position: 200px 0; }
}

/* ═══════════════ MOBILE BURGER + OVERLAY (overlay always dark) ═══════════════ */
.mobile-burger {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 24px;
  cursor: pointer;
  display: none;
  z-index: 999999;
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.mobile-burger span {
  display: block;
  height: 3px;
  background: var(--nav-text);
  margin-bottom: 6px;
  border-radius: 2px;
  transition: 0.28s ease;
}
.mobile-burger span:last-child { margin-bottom: 0; }

.mobile-burger.active .line1 { transform: translateY(9px) rotate(45deg); }
.mobile-burger.active .line2 { opacity: 0; transform: translateX(-6px); }
.mobile-burger.active .line3 { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999998;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.75s;
}

.mobile-menu-overlay.active {
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

/* ── curtain slices: five panels sweep down, staggered ── */
.mm-slices {
  position: absolute;
  inset: 0;
  display: flex;
}

.mm-slices span {
  flex: 1;
  background-image: radial-gradient(circle at 10% 0%, #3b0c59, #05030a 55%, #000 100%);
  background-size: 500% 100%;
  border-right: 1px solid rgba(155,140,255,0.06);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.mm-slices span:nth-child(1) { background-position: 0% 0; }
.mm-slices span:nth-child(2) { background-position: 25% 0; }
.mm-slices span:nth-child(3) { background-position: 50% 0; }
.mm-slices span:nth-child(4) { background-position: 75% 0; }
.mm-slices span:nth-child(5) { background-position: 100% 0; }

.mm-slices span:last-child { border-right: none; }

/* close: right-to-left collapse */
.mm-slices span:nth-child(1) { transition-delay: 0.20s; }
.mm-slices span:nth-child(2) { transition-delay: 0.15s; }
.mm-slices span:nth-child(3) { transition-delay: 0.10s; }
.mm-slices span:nth-child(4) { transition-delay: 0.05s; }
.mm-slices span:nth-child(5) { transition-delay: 0s; }

/* open: left-to-right sweep */
.mobile-menu-overlay.active .mm-slices span { transform: scaleY(1); }
.mobile-menu-overlay.active .mm-slices span:nth-child(1) { transition-delay: 0s; }
.mobile-menu-overlay.active .mm-slices span:nth-child(2) { transition-delay: 0.06s; }
.mobile-menu-overlay.active .mm-slices span:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu-overlay.active .mm-slices span:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu-overlay.active .mm-slices span:nth-child(5) { transition-delay: 0.24s; }

/* ── menu content: original pill design, staggered entrance ── */
.mobile-menu-inner { position: relative; }

.mm-logo {
  display: block;
  height: 56px;
  width: auto;
  margin: 0 auto 10px;
  background: none;
}

.mobile-menu-inner > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu-overlay.active .mobile-menu-inner > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(1) { transition-delay: 0.30s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(2) { transition-delay: 0.36s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(3) { transition-delay: 0.42s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(4) { transition-delay: 0.48s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(5) { transition-delay: 0.54s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(6) { transition-delay: 0.60s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(7) { transition-delay: 0.66s; }
.mobile-menu-overlay.active .mobile-menu-inner > *:nth-child(8) { transition-delay: 0.72s; }

.mobile-menu-overlay .mobile-menu-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.mobile-menu-overlay.active .mobile-menu-close {
  opacity: 1;
  transform: rotate(0) scale(1);
  transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-overlay,
  .mm-slices span,
  .mobile-menu-inner > a,
  .mobile-lang-switcher,
  .mobile-menu-overlay .mobile-menu-close {
    transition: none !important;
  }
}

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: 0.22s ease;
  user-select: none;
}
.mobile-menu-close:hover {
  transform: scale(1.06);
  border-color: rgba(200,150,255,0.45);
  box-shadow: 0 0 16px rgba(183,123,255,0.35);
  color: #e0b3ff;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  padding: 24px 18px;
  width: min(420px, 88vw);
}

.mobile-menu-inner a {
  font-family: "Inter", monospace;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  transition: 0.22s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-inner a:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(200,150,255,0.45);
  box-shadow: 0 0 16px rgba(183,123,255,0.28);
  color: #d8b4ff;
}

.mobile-menu-inner a.active {
  color: #c59dff;
  text-shadow: 0 0 10px rgba(197,157,255,0.8);
  border-color: rgba(197,157,255,0.55);
  box-shadow: 0 0 18px rgba(197,157,255,0.30);
}

.mobile-lang-switcher {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.mobile-lang-switcher a {
  flex: 1;
  text-align: center;
  font-family: "Inter", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.18);
  text-decoration: none;
  transition: .25s ease;
}

.mobile-lang-switcher a.active {
  color: #c9a7ff;
  border-color: rgba(197,157,255,.55);
  box-shadow: 0 0 16px rgba(197,157,255,.35);
}

/* ═══════════════ CURSOR BLOB ═══════════════ */
.cursor-blob {
  position: fixed;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blob-grad);
  mix-blend-mode: var(--blob-blend);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
body.show-cursor .cursor-blob { opacity: 0.85; }

/* ═══════════════ HERO (always dark — signature moment) ═══════════════ */
.hd-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background-color: #000;
  background-image: url("/wp-content/uploads/2025/12/Screenshot-2025-12-16-at-07.36.18-e1765866845920.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -88px;
  padding-top: calc(15% + 88px);
  padding-bottom: 0;
  z-index: 1;
}

.hd-hero-content {
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

.hd-hero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 120px;
  font-weight: 400;
  line-height: 1em;
  color: #fff;
  margin: 0;
}

.hd-hero-title .violet { color: #9B8CFF; }

.hd-hero-btn {
  display: inline-block;
  margin-top: 10%;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1em;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid #673DE5;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hd-hero-btn:hover {
  background: #673DE5;
  box-shadow: 0 0 24px rgba(103,61,229,0.55);
}

@media (max-width: 1024px) {
  .hd-hero { background-position: center right; }
  .hd-hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .hd-hero-btn { font-size: 15px; padding: 14px 26px; }
}

/* ═══════════════ VISION ═══════════════ */
.hd-vision {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: var(--text);
}

.hd-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0;
}

.hd-vision-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5em;
  color: var(--heading);
  margin: 0;
  text-align: start;
}

.hd-vision-quote {
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--card-border);
}

.hd-vision-quote p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.hd-vision-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 60%;
  margin: 0 auto;
}

.hd-vision-img {
  min-height: 25vh;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .hd-vision-grid { grid-template-columns: 1fr; gap: 24px; }
  .hd-vision-title { font-size: 24px; }
  .hd-vision-images { width: 100%; }
}

/* ═══════════════ PRICING (SERVICE TIERS) ═══════════════ */
.hd-tiers {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background: transparent;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

.hd-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  margin: 0 0 80px;
  letter-spacing: -0.02em;
}
.hd-white { color: var(--heading); }
.hd-violet { color: var(--accent); }

.hd-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hd-flip-card {
  perspective: 1400px;
  cursor: pointer;
  opacity: 1;
  transform: none;
}

.hd-tiers.hd-anim .hd-flip-card {
  opacity: 0;
  transform: translateY(22px);
}

.hd-tiers.hd-anim.hd-inview .hd-flip-card {
  animation: hdRiseIn .65s ease forwards;
}
.hd-tiers.hd-anim.hd-inview .hd-flip-card:nth-child(1) { animation-delay: .05s; }
.hd-tiers.hd-anim.hd-inview .hd-flip-card:nth-child(2) { animation-delay: .18s; }
.hd-tiers.hd-anim.hd-inview .hd-flip-card:nth-child(3) { animation-delay: .31s; }

@keyframes hdRiseIn {
  to { opacity: 1; transform: translateY(0); }
}

.hd-flip-inner {
  display: grid;
  grid-template-areas: "stack";
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(.4,.2,.2,1);
}

.hd-flip-card.hd-active .hd-flip-inner {
  transform: rotateY(180deg);
}

.hd-flip-front,
.hd-flip-back {
  grid-area: stack;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--card-grad);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-inset), var(--card-shadow);
}

.hd-flip-back { transform: rotateY(180deg); }

.hd-featured .hd-flip-front,
.hd-featured .hd-flip-back {
  background: var(--card-grad-featured);
}

.hd-card-icon {
  align-self: flex-end;
  width: 72px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(155,140,255,0.45));
}

.hd-flip-front h3,
.hd-flip-back h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.hd-flip-front p {
  font-size: 0.95rem;
  margin: 0 0 10px;
  max-width: 90%;
}

.hd-flip-front big {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.hd-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--accent-text) !important;
  margin: 0 0 24px;
}

.hd-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.hd-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.hd-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(155,140,255,0.6);
}

.hd-flip-btn {
  margin-top: auto;
  align-self: flex-start;
  background: var(--btn-bg);
  border: none;
  color: var(--btn-text) !important;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.hd-flip-btn:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text) !important;
  box-shadow: 0 8px 30px rgba(155,140,255,0.45);
}

.hd-flip-front,
.hd-flip-back,
.hd-flip-front h3, .hd-flip-back h3,
.hd-flip-front p, .hd-flip-back p,
.hd-features li {
  color: var(--card-text);
}

@media (max-width: 900px) {
  .hd-flip-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.hd-testimonials {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
}

.hd-testimonials-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 80px;
}

.hd-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.hd-testimonial-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 24px;
  min-height: 260px;
  background: var(--card-grad-soft);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-inset), var(--card-shadow);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: none;
  color: var(--card-text);
}

.hd-testimonials.hd-anim .hd-testimonial-card {
  opacity: 0;
  transform: translateX(-36px);
}

.hd-testimonials.hd-anim.hd-inview .hd-testimonial-card {
  animation: hdTestimonialReveal .85s ease forwards;
}

.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(1) { animation-delay: .1s; }
.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(2) { animation-delay: .25s; }
.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(3) { animation-delay: .4s; }
.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(4) { animation-delay: .55s; }

.hd-testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent, rgba(155,140,255,0.15), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

.hd-testimonials.hd-inview .hd-testimonial-card::before {
  animation: hdShine 1.4s ease forwards;
}

.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(1)::before { animation-delay: .3s; }
.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(2)::before { animation-delay: .45s; }
.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(3)::before { animation-delay: .6s; }
.hd-testimonials.hd-inview .hd-testimonial-card:nth-child(4)::before { animation-delay: .75s; }

.hd-service-tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .02em;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
}

.hd-testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 32px;
}

.hd-testimonial-author {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.hd-testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@keyframes hdTestimonialReveal {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes hdShine {
  to { left: 120%; opacity: 1; }
}

@media (max-width: 768px) {
  .hd-testimonials-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ PROJECTS (cards stay dark in both themes —
   the white-filtered logos need a dark surface) ═══════════════ */
.hd-projects-logos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
}

.hd-projects-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 56px;
}

.hd-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hd-logo-card {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  min-height: 120px;
  background: radial-gradient(120% 120% at bottom right,
    rgba(155,140,255,0.35), rgba(155,140,255,0.12) 45%, rgba(0,0,0,0.95) 72%);
  border: 1px solid rgba(155,140,255,0.30);
  box-shadow:
    inset 0 0 0 1px rgba(155,140,255,0.22),
    0 0 40px rgba(155,140,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  transform: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

:root[data-theme="light"] .hd-logo-card {
  background: radial-gradient(120% 120% at bottom right,
    rgba(103,61,229,0.55), rgba(30,22,60,0.95) 45%, rgba(10,8,18,0.98) 72%);
  box-shadow: inset 0 0 0 1px rgba(155,140,255,0.22), 0 18px 40px rgba(24,16,60,0.18);
}

.hd-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155,140,255,0.55);
  box-shadow:
    inset 0 0 0 1px rgba(155,140,255,0.32),
    0 18px 55px rgba(155,140,255,0.18);
}

.hd-logo-img {
  max-width: 82%;
  max-height: 62px;
  object-fit: contain;
  opacity: .78;
  filter: grayscale(1) brightness(1.9) contrast(1.15);
  transition: opacity .25s ease, filter .25s ease, transform .35s ease;
}

.hd-logo-card:hover .hd-logo-img {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(1) brightness(2.2) contrast(1.2)
    drop-shadow(0 0 18px rgba(155,140,255,0.35))
    drop-shadow(0 0 34px rgba(155,140,255,0.18));
}

.hd-logo-overlay {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(to top,
    rgba(0,0,0,0.85), rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.0) 70%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.hd-logo-card:hover .hd-logo-overlay { opacity: 1; }

.hd-logo-title {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #9B8CFF;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.65),
    0 0 14px rgba(155,140,255,0.45);
}

.hd-logo-card:hover .hd-logo-title {
  opacity: 1;
  transform: translateY(0);
}

.hd-projects-logos.hd-anim .hd-logo-card {
  opacity: 0;
  transform: translateY(28px);
}

.hd-projects-logos.hd-inview .hd-logo-card {
  animation: hdLogoReveal .8s ease forwards;
}

.hd-projects-logos.hd-inview .hd-logo-card:nth-child(1) { animation-delay: .05s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(2) { animation-delay: .12s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(3) { animation-delay: .19s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(4) { animation-delay: .26s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(5) { animation-delay: .33s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(6) { animation-delay: .40s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(7) { animation-delay: .47s; }
.hd-projects-logos.hd-inview .hd-logo-card:nth-child(8) { animation-delay: .54s; }

@keyframes hdLogoReveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .hd-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .hd-projects-logos { padding: 70px 16px; }
  .hd-logo-card { min-height: 104px; padding: 18px; border-radius: 18px; }
  .hd-logo-img { max-height: 54px; }
}

/* ═══════════════ LEASING FORM ═══════════════ */
.leasing-form-section {
  background: var(--bg);
  padding: 80px 20px;
  font-family: "DM Sans", sans-serif;
  transition: background 0.35s ease;
}

.leasing-form-wrapper {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 28px;
  background: var(--form-card-grad);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-inset), var(--card-shadow);
  color: var(--card-text);
}

.leasing-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 6px;
}

.leasing-title .white { color: var(--card-text); }
.leasing-title .violet { color: var(--accent); }

.leasing-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}

#leasingForm label {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

#leasingForm input,
#leasingForm select,
#leasingForm textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 10px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  font-size: 0.9rem;
}

#leasingForm textarea { resize: none; }

#leasingForm .gdpr-consent { margin-top: 18px; }

#leasingForm .gdpr-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}

#leasingForm .gdpr-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

#leasingForm .gdpr-label a {
  color: var(--accent-text);
  text-decoration: underline;
}

.leasing-btn {
  margin-top: 26px;
  width: 100%;
  padding: 13px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.leasing-btn:hover {
  transform: translateY(-2px);
  background: var(--cta-hover-bg) !important;
  color: var(--cta-hover-text) !important;
  box-shadow:
    0 12px 30px rgba(155,140,255,0.55),
    0 0 0 1px rgba(155,140,255,0.6);
}

.form-message {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent-text);
}

#leasingForm select {
  color: var(--input-text) !important;
  background-color: var(--input-bg) !important;
}

#leasingForm select option {
  color: var(--input-text) !important;
}

.form-fields {
  transition: opacity .4s ease, transform .4s ease;
}

.form-fields.form-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

#leasingMessage {
  display: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

#leasingMessage.visible {
  display: block;
  text-align: center;
  color: var(--accent-text);
  animation: fadeUp .5s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ FOOTER (multi-column) ═══════════════ */
.hd-footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--footer-border);
  overflow: hidden;
  transition: background 0.35s ease;
}

.hd-footer-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 90%;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(155,140,255,0.16), transparent 70%);
  pointer-events: none;
}

.hd-footer-top {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 44px;
}

.hd-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* Brand column */
.hd-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
.hd-footer-logo .hd-brand-mark { height: 46px; width: auto; filter: var(--logo-filter); }
.hd-footer-logo .hd-brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--heading);
  white-space: nowrap;
}

.hd-footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 20px;
  max-width: 42ch;
}

.hd-footer-cta {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  transition: 0.25s ease;
}
.hd-footer-cta:hover {
  border-color: var(--accent);
  background: var(--tag-bg);
  transform: translateY(-2px);
}

.hd-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.hd-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: 0.25s ease;
}
.hd-footer-socials svg { width: 18px; height: 18px; }
.hd-footer-socials a:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 0 18px rgba(155,140,255,0.3);
}

/* Link columns */
.hd-footer-col { display: flex; flex-direction: column; }
.hd-footer-h {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 18px;
}
.hd-footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.hd-footer-col a:hover { color: var(--accent-text); padding-left: 4px; }

/* Contact column */
.hd-footer-contact a,
.hd-footer-loc {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}
.hd-footer-contact svg,
.hd-footer-loc svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent); }
.hd-footer-loc { font-size: 0.92rem; padding: 7px 0; }

/* Bottom bar */
.hd-footer-bottom {
  position: relative;
  border-top: 1px solid var(--footer-border);
}
.hd-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hd-footer-copy {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 0;
}
.hd-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.hd-footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.hd-footer-legal a:hover { color: var(--accent-text); }

@media (max-width: 900px) {
  .hd-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .hd-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hd-footer-grid { grid-template-columns: 1fr; }
  .hd-footer-top { padding: 48px 22px 32px; }
  .hd-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ═══════════════ LEGAL / DEFAULT PAGES ═══════════════ */
.hd-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 20px 90px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

.hd-page h1.hd-page-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--heading);
}

.hd-page-content { line-height: 1.75; font-size: 1rem; }
.hd-page-content h2, .hd-page-content h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 2em;
  color: var(--heading);
}
.hd-page-content a { color: var(--accent-text); }
.hd-page-content ul, .hd-page-content ol { padding-left: 1.4em; }

/* ═══════════════ HERO 2 — GYROID (always dark) ═══════════════ */
.hd-hero2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: #07050b;
  overflow: hidden;
  margin-top: -88px;
  padding: calc(88px + 4vh) 24px 10vh;
  z-index: 1;
}

/* Aurora — three huge blurred violet fields drifting very slowly */
.hd-aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 1;
}

.hd-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.hd-aurora-a {
  width: 60vmax; height: 60vmax;
  left: -12%; top: -8%;
  background: radial-gradient(circle, rgba(103,61,229,0.42), transparent 62%);
  animation: hdAuroraA 46s ease-in-out infinite alternate;
}

.hd-aurora-b {
  width: 52vmax; height: 52vmax;
  right: -16%; top: 12%;
  background: radial-gradient(circle, rgba(155,140,255,0.26), transparent 60%);
  animation: hdAuroraB 58s ease-in-out infinite alternate;
}

.hd-aurora-c {
  width: 46vmax; height: 46vmax;
  left: 24%; bottom: -28%;
  background: radial-gradient(circle, rgba(80,220,255,0.13), transparent 58%);
  animation: hdAuroraC 52s ease-in-out infinite alternate;
}

@keyframes hdAuroraA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(9vw, 6vh) scale(1.18); }
}
@keyframes hdAuroraB {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-8vw, 9vh) scale(0.92); }
}
@keyframes hdAuroraC {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vw, -7vh) scale(1.15); }
}

/* Fine grain overlay — kills banding, adds texture */
.hd-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  .hd-aurora span { animation: none; }
}

.hd-hero2-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
}

.hd-hero2-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 640px;
}

.hd-hero2-eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #9B8CFF;
  margin: 0 0 18px;
  text-shadow: 0 0 14px rgba(155,140,255,0.4);
}

.hd-hero2-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
}

.hd-hero2-title .violet { color: #9B8CFF; }

.hd-hero2-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0 0 30px;
  max-width: 520px;
}

.hd-hero2-ctas {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ── Blueprint (self-drawing wireframe) ── */
.hd-blueprint {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hd-blueprint svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(155,140,255,0.16));
}

#hd-bp .bp {
  stroke: #9B8CFF;
  stroke-width: 1.6;
  stroke-linecap: round;
  fill: none;
}

#hd-bp .bp-frame  { stroke: rgba(155,140,255,0.85); stroke-width: 1.8; }
#hd-bp .bp-topbar { stroke: rgba(155,140,255,0.55); }
#hd-bp .bp-h1, #hd-bp .bp-h2 { stroke: rgba(255,255,255,0.85); stroke-width: 5; }
#hd-bp .bp-p1, #hd-bp .bp-p2 { stroke: rgba(255,255,255,0.35); stroke-width: 2.4; }
#hd-bp .bp-nav1, #hd-bp .bp-nav2, #hd-bp .bp-nav3 { stroke: rgba(255,255,255,0.5); stroke-width: 2.4; }
#hd-bp .bp-btntxt { stroke: rgba(255,255,255,0.8); stroke-width: 2.4; }
#hd-bp .bp-imgx1, #hd-bp .bp-imgx2 { stroke: rgba(155,140,255,0.35); stroke-width: 1.2; }
#hd-bp .bp-card1, #hd-bp .bp-card2, #hd-bp .bp-card3 { stroke: rgba(155,140,255,0.55); }

#hd-bp .bp-scanline {
  stroke: #C9BFFF;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(183,123,255,0.9)) drop-shadow(0 0 18px rgba(123,44,255,0.5));
}

#hd-bp .bp-cursor {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)) drop-shadow(0 0 12px rgba(155,140,255,0.4));
}

@media (max-width: 1023px) {
  .hd-hero2-inner { grid-template-columns: 1fr; gap: 40px; }
  .hd-hero2-content { text-align: center; margin: 0 auto; }
  .hd-hero2-ctas { justify-content: center; }
  .hd-blueprint { max-width: min(430px, 88vw); }
}

.hd-btn-primary {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cta-text);
  background: var(--cta-bg);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.hd-hero2 .hd-btn-primary { background: #9B8CFF; color: #191036; }

.hd-btn-primary:hover {
  transform: translateY(-2px);
  background: var(--cta-hover-bg);
  color: var(--cta-hover-text);
  box-shadow: 0 12px 30px rgba(155,140,255,0.45);
}

.hd-hero2 .hd-btn-primary:hover { background: #6B5BFF; color: #fff; }

.hd-btn-ghost {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hd-hero2 .hd-btn-ghost { color: #fff; border-color: rgba(155,140,255,0.4); }

.hd-btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 0 22px rgba(155,140,255,0.25);
}

.hd-hero2 .hd-btn-ghost:hover { color: #c9a7ff; }

.hd-hero2-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 767px) {
  .hd-hero2 { gap: 1.6rem; padding-bottom: 8vh; }
}

/* ═══════════════ STATS BANNER ═══════════════ */
.hd-stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 10px;
}

.hd-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.hd-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 10px;
  border-radius: 18px;
  background: var(--card-grad-soft);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-inset), var(--card-shadow);
  color: var(--card-text);
}

.hd-stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--accent-text);
}

.hd-stat-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .hd-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════ WHY / AI CARDS ═══════════════ */
.hd-why, .hd-process, .hd-faq, .hd-ai, .hd-included {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

.hd-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hd-why-card {
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--card-grad-soft);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-inset), var(--card-shadow);
  color: var(--card-text);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hd-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-inset), 0 18px 55px rgba(155,140,255,0.18);
}

.hd-why-card svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 16px;
}

.hd-why-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.hd-why-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 1024px) { .hd-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .hd-why-grid { grid-template-columns: 1fr; } }

/* ═══════════════ PROCESS ═══════════════ */
.hd-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hd-step {
  position: relative;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  background: transparent;
}

.hd-step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 0.12em;
}

.hd-step h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  margin: 10px 0 10px;
  color: var(--heading);
}

.hd-step p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 1024px) { .hd-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .hd-process-grid { grid-template-columns: 1fr; } }

/* ═══════════════ PROJECT BROWSER FRAMES ═══════════════ */
.hd-projects-frames {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
}

.hd-frame-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hd-frame-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(155,140,255,0.30);
  background: #0b0817;
  box-shadow: inset 0 0 0 1px rgba(155,140,255,0.14), 0 0 40px rgba(155,140,255,0.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  opacity: 1;
  transform: none;
}

:root[data-theme="light"] .hd-frame-card {
  box-shadow: inset 0 0 0 1px rgba(155,140,255,0.10), 0 16px 38px rgba(24,16,60,0.16);
}

.hd-frame-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155,140,255,0.55);
  box-shadow: inset 0 0 0 1px rgba(155,140,255,0.28), 0 20px 60px rgba(155,140,255,0.22);
}

.hd-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(155,140,255,0.08);
  border-bottom: 1px solid rgba(155,140,255,0.18);
}

.hd-frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(155,140,255,0.45);
}

.hd-frame-domain {
  margin-left: 8px;
  font-family: "Inter", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hd-frame-body {
  overflow: hidden;
  padding: 0;
  background: #0b0817;
}

.hd-frame-shot {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease, filter .45s ease;
}

.hd-frame-card:hover .hd-frame-shot {
  transform: scale(1.045);
  filter: brightness(1.06);
}

.hd-frame-logo {
  max-width: 78%;
  max-height: 58px;
  object-fit: contain;
  opacity: .8;
  filter: grayscale(1) brightness(1.9) contrast(1.15);
  transition: opacity .25s ease, filter .25s ease, transform .35s ease;
}

.hd-frame-card:hover .hd-frame-logo {
  opacity: 1;
  transform: scale(1.06);
  filter: grayscale(1) brightness(2.2) contrast(1.2)
    drop-shadow(0 0 18px rgba(155,140,255,0.35));
}

.hd-frame-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid rgba(155,140,255,0.18);
}

.hd-frame-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.hd-frame-live {
  font-family: "Inter", monospace;
  font-size: 0.72rem;
  color: #9B8CFF;
  opacity: 0;
  transform: translateX(-4px);
  transition: .25s ease;
}

.hd-frame-card:hover .hd-frame-live { opacity: 1; transform: translateX(0); }

.hd-projects-frames.hd-anim .hd-frame-card { opacity: 0; transform: translateY(28px); }
.hd-projects-frames.hd-inview .hd-frame-card { animation: hdLogoReveal .8s ease forwards; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(1) { animation-delay: .05s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(2) { animation-delay: .12s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(3) { animation-delay: .19s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(4) { animation-delay: .26s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(5) { animation-delay: .33s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(6) { animation-delay: .40s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(7) { animation-delay: .47s; }
.hd-projects-frames.hd-inview .hd-frame-card:nth-child(8) { animation-delay: .54s; }

.hd-center-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 1024px) { .hd-frame-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .hd-frame-grid { grid-template-columns: 1fr; } }

/* ═══════════════ MID CTA ═══════════════ */
.hd-midcta {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 20px;
  text-align: center;
}

.hd-midcta-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0 0 26px;
}

/* ═══════════════ AI SECTION ═══════════════ */
.hd-ai-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}

.hd-ai-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.hd-ai-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.hd-ai-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.hd-ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(155,140,255,0.6);
}

.hd-ai-list strong { color: var(--heading); }

.hd-ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hd-ai-note {
  margin: 30px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hd-ai-note a { color: var(--accent-text); }

/* Terminal card (always dark) */
.hd-terminal {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(155,140,255,0.35);
  background: #0b0817;
  box-shadow: inset 0 0 0 1px rgba(155,140,255,0.18), 0 0 50px rgba(155,140,255,0.12);
}

.hd-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(155,140,255,0.08);
  border-bottom: 1px solid rgba(155,140,255,0.18);
}

.hd-terminal-title {
  margin-left: 8px;
  font-family: "Inter", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

.hd-terminal-body {
  padding: 22px 20px 26px;
  font-family: "Inter", monospace;
  font-size: 0.85rem;
  line-height: 2;
}

.hd-tline {
  margin: 0;
  color: #c9bfff;
  opacity: 0;
  animation: hdTlineIn .4s ease forwards;
}

.hd-tline-1 { animation-delay: .3s; }
.hd-tline-2 { animation-delay: 1.1s; }
.hd-tline-3 { animation-delay: 1.9s; }
.hd-tline-4 { animation-delay: 2.7s; }
.hd-tline-5 { animation-delay: 3.5s; color: #9B8CFF; }

@keyframes hdTlineIn { to { opacity: 1; } }

.hd-caret {
  display: inline-block;
  margin-left: 4px;
  color: #9B8CFF;
  animation: hdCaret 1s steps(1) infinite;
}

@keyframes hdCaret { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .hd-ai-grid { grid-template-columns: 1fr; }
  .hd-ai-cards { grid-template-columns: 1fr; }
}

/* ═══════════════ INCLUDED LIST ═══════════════ */
.hd-included-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 34px;
}

.hd-included-grid li {
  position: relative;
  padding: 14px 14px 14px 42px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--card-grad-soft);
  color: var(--card-text);
  font-size: 0.95rem;
  box-shadow: var(--card-inset);
}

.hd-included-grid li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-text);
  font-weight: 700;
}

@media (max-width: 700px) { .hd-included-grid { grid-template-columns: 1fr; } }

/* ═══════════════ FAQ ═══════════════ */
.hd-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.hd-faq-item {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card-grad-soft);
  box-shadow: var(--card-inset);
  margin-bottom: 14px;
  overflow: hidden;
  color: var(--card-text);
}

.hd-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hd-faq-item summary::-webkit-details-marker { display: none; }

.hd-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent-text);
  transition: transform .25s ease;
}

.hd-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.hd-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════ SUBPAGE HERO + CHIPS ═══════════════ */
.hd-subhero {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 40px;
  text-align: center;
  color: var(--text);
}

.hd-subhero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0 0 18px;
}

.hd-subhero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 26px;
  max-width: 560px;
}

.hd-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hd-chip {
  padding: 8px 18px;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
}

/* ═══════════════ CONTACT DIRECT ═══════════════ */
.hd-contact-direct {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 20px 90px;
  text-align: center;
}

.hd-contact-direct-lead {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.hd-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hd-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-grad-soft);
  box-shadow: var(--card-inset);
  color: var(--card-text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hd-contact-link svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.hd-contact-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--card-inset), 0 12px 30px rgba(155,140,255,0.25);
}

/* ═══════════════ POPULAR BADGE ═══════════════ */
.hd-flip-card { position: relative; }

.hd-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 6px 20px rgba(103,61,229,0.5);
  pointer-events: none;
}

/* ═══════════════ RESPONSIVE HEADER ═══════════════ */
@media (max-width: 1024px) {
  .custom-tech-menu { display: none; }
  .hd-lang-switcher { display: none; }
  .mobile-burger { display: block; }
  .hd-theme-toggle { left: 16px; }

  #hd-intro-overlay .intro-logo {
    font-size: 22px;
    letter-spacing: 0.18em;
    padding: 0 14px;
  }
  #hd-intro-overlay .intro-sub {
    font-size: 12px;
    padding: 0 14px;
    text-align: center;
  }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hd-tiers.hd-anim .hd-flip-card,
  .hd-testimonials.hd-anim .hd-testimonial-card,
  .hd-projects-logos.hd-anim .hd-logo-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hd-flip-inner { transition: none !important; }
}

/* ═══════════════════════════════════════════════
   SECTION REDESIGN LAYER (animmaster pass)
═══════════════════════════════════════════════ */

/* ── Split-text helpers ── */
.hd-word { display: inline-block; }
.hd-char { display: inline-block; }
.hd-clip .hd-word { overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* ── Scroll progress LED bar ── */
.hd-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 99999999;
  background: linear-gradient(90deg, #b77bff, #7b2cff, #9B8CFF);
  box-shadow: 0 0 10px rgba(155,140,255,0.6);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ── STATS — naked numbers, hairline dividers ── */
.hd-stats { padding: 46px 20px 26px; }

.hd-stats-grid { gap: 0; }

.hd-stat {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 12px;
  gap: 8px;
}

.hd-stat + .hd-stat { border-left: 1px solid var(--card-border); }

.hd-stat-num {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1;
}

.hd-stat-num[data-count] { color: var(--accent-text); }

.hd-stat-label { font-size: 0.78rem; }

@media (max-width: 767px) {
  .hd-stats-grid { gap: 22px 0; }
  .hd-stat:nth-child(3) { border-left: none; }
}

/* ── WHY — zig-zag feature rows ── */
.hd-feature-list { display: flex; flex-direction: column; }

.hd-feature-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: 38px 6px;
  border-bottom: 1px solid var(--card-border);
}

.hd-feature-row:first-child { border-top: 1px solid var(--card-border); }

.hd-feature-rev { flex-direction: row-reverse; text-align: right; }

.hd-feature-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  opacity: 0.75;
  flex-shrink: 0;
}

.hd-feature-icon { flex-shrink: 0; }

.hd-feature-icon svg {
  width: 46px;
  height: 46px;
  color: var(--accent);
  display: block;
}

.hd-feature-text h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin: 0 0 8px;
  color: var(--heading);
}

.hd-feature-text p {
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0;
  max-width: 56ch;
  color: var(--text-muted);
}

.hd-feature-rev .hd-feature-text p { margin-left: auto; }

@media (max-width: 700px) {
  .hd-feature-row, .hd-feature-rev {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 30px 2px;
  }
  .hd-feature-rev .hd-feature-text p { margin-left: 0; }
  .hd-feature-index { font-size: 2.4rem; }
}

/* ── PROCESS — vertical scrub timeline ── */
.hd-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 0 10px;
}

.hd-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--card-border);
  border-radius: 2px;
  overflow: hidden;
}

.hd-timeline-line-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #9B8CFF, #673DE5);
  box-shadow: 0 0 12px rgba(155,140,255,0.7);
  transform: scaleY(0);
  transform-origin: top center;
}

.hd-tl-step { position: relative; width: 50%; padding: 14px 54px 34px 0; }
.hd-tl-step.hd-tl-right { margin-left: 50%; padding: 14px 0 34px 54px; }
.hd-tl-step.hd-tl-left { text-align: right; }

.hd-tl-dot {
  position: absolute;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--card-border);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
  z-index: 2;
}

.hd-tl-left .hd-tl-dot { right: -8px; }
.hd-tl-right .hd-tl-dot { left: -8px; }

.hd-tl-lit .hd-tl-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(155,140,255,0.85);
}

.hd-tl-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  margin: 8px 0 8px;
  color: var(--heading);
}

.hd-tl-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .hd-timeline-line { left: 10px; }
  .hd-tl-step, .hd-tl-step.hd-tl-right { width: 100%; margin-left: 0; padding: 12px 0 30px 40px; text-align: left; }
  .hd-tl-left .hd-tl-dot, .hd-tl-right .hd-tl-dot { left: 3px; right: auto; }
}

/* ── DOMAIN RIBBON MARQUEE ── */
.hd-ribbon {
  overflow: hidden;
  margin: 0 0 44px;
  padding: 13px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hd-ribbon-track {
  display: flex;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  font-family: "Inter", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hd-ribbon-track span { flex: none; }

/* ── TESTIMONIAL MARQUEE ── */
.hd-marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hd-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
}

.hd-marquee .hd-testimonial-card {
  width: min(430px, 82vw);
  flex: none;
  min-height: 0;
}

/* marquee cards don't use the old IO entrance */
.hd-marquee .hd-testimonial-card { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ── FAQ — line style, no boxes ── */
.hd-faq-item {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  border-bottom: 1px solid var(--card-border);
}

.hd-faq-item:first-of-type { border-top: 1px solid var(--card-border); }

.hd-faq-item summary {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  padding: 24px 52px 24px 2px;
  transition: color .25s ease, padding-left .25s ease;
}

.hd-faq-item summary:hover {
  color: var(--accent-text);
  padding-left: 14px;
}

.hd-faq-item summary::after { right: 8px; }

.hd-faq-item p {
  padding: 0 8px 26px 2px;
  max-width: 64ch;
  animation: fadeUp .45s ease;
}

/* ── Buttons: sheen sweep micro ── */
.hd-btn-primary, .hd-btn-ghost, .leasing-btn {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.hd-btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}

.hd-btn-primary:hover::after { left: 130%; }


/* ═══════════════ CHATBOT ═══════════════ */
.hd-chat { position: fixed; right: 22px; bottom: 22px; z-index: 999997; font-family: "DM Sans", sans-serif; }

.hd-chat-launcher {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(155,140,255,0.5);
  background: linear-gradient(135deg, #9B8CFF, #673DE5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(103,61,229,0.5), 0 0 0 0 rgba(155,140,255,0.5);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: hdChatPulse 3s ease infinite;
}

.hd-chat-launcher:hover { transform: translateY(-3px) scale(1.05); }

.hd-chat-launcher svg { width: 26px; height: 26px; }

.hd-chat-launcher .hd-chat-close-x { display: none; font-size: 30px; line-height: 1; }
.hd-chat.open .hd-chat-launcher svg { display: none; }
.hd-chat.open .hd-chat-launcher .hd-chat-close-x { display: block; }
.hd-chat.open .hd-chat-launcher { animation: none; }

@keyframes hdChatPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(103,61,229,0.5), 0 0 0 0 rgba(155,140,255,0.45); }
  50%      { box-shadow: 0 8px 30px rgba(103,61,229,0.5), 0 0 0 14px rgba(155,140,255,0); }
}

.hd-chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 34px));
  height: min(560px, 72vh);
  display: none;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(155,140,255,0.4);
  background: #0d0a1a;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 50px rgba(155,140,255,0.15);
}

:root[data-theme="light"] .hd-chat-panel {
  background: #FFFFFF;
  box-shadow: 0 24px 70px rgba(24,16,60,0.22);
}

.hd-chat.open .hd-chat-panel { display: flex; animation: hdChatIn .3s ease; }

@keyframes hdChatIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hd-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(155,140,255,0.18), rgba(103,61,229,0.12));
  border-bottom: 1px solid rgba(155,140,255,0.25);
}

.hd-chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 10px rgba(40,200,64,0.8);
  flex-shrink: 0;
}

.hd-chat-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
}

.hd-chat-sub { font-size: 0.72rem; color: var(--text-muted); }

.hd-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}

.hd-chat-msg {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--card-text);
  white-space: pre-line;
}

.hd-chat-msg.bot {
  align-self: flex-start;
  background: rgba(155,140,255,0.12);
  border: 1px solid rgba(155,140,255,0.25);
  border-bottom-left-radius: 4px;
}

.hd-chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #9B8CFF, #673DE5);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.hd-chat-msg.typing span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: hdChatTyping 1s ease infinite;
}
.hd-chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
.hd-chat-msg.typing span:nth-child(3) { animation-delay: .3s; margin-right: 0; }

@keyframes hdChatTyping {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}

.hd-chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-end;
  justify-content: flex-end;
}

.hd-chat-opt {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(155,140,255,0.5);
  background: transparent;
  color: var(--accent-text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: .2s ease;
}

.hd-chat-opt:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.hd-chat-card {
  align-self: flex-start;
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(155,140,255,0.2), rgba(103,61,229,0.08));
  border: 1px solid rgba(155,140,255,0.45);
  box-shadow: 0 0 30px rgba(155,140,255,0.12);
}

.hd-chat-card-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading);
}

.hd-chat-card-price { font-size: 0.85rem; color: var(--accent-text); margin: 3px 0 8px; }
.hd-chat-card-price strong { font-size: 1.05rem; }
.hd-chat-card-desc { font-size: 0.84rem; line-height: 1.55; color: var(--text-muted); }

.hd-chat-inputrow {
  display: flex;
  gap: 8px;
  align-self: stretch;
}

.hd-chat-input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--input-text);
  font-size: 0.88rem;
  font-family: "DM Sans", sans-serif;
}

.hd-chat-send {
  width: 44px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #9B8CFF, #673DE5);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: .2s ease;
}

.hd-chat-send:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(103,61,229,0.5); }

.hd-chat-gdpr {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(155,140,255,0.3);
  background: rgba(155,140,255,0.07);
}

.hd-chat-gdpr label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
}

.hd-chat-gdpr input[type="checkbox"] { width: 16px; height: 16px; accent-color: #9B8CFF; margin: 0; flex-shrink: 0; }
.hd-chat-gdpr a { color: var(--accent-text); }
.hd-chat-submit { align-self: flex-end; }

@media (max-width: 480px) {
  .hd-chat { right: 14px; bottom: 14px; }
  .hd-chat-panel { width: calc(100vw - 28px); height: min(560px, 70vh); }
}

@media (prefers-reduced-motion: reduce) {
  .hd-chat-launcher { animation: none; }
}

/* ═══════════════ SERVICES POLISH ═══════════════ */
.hd-portfolio-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: -36px 0 30px;
  max-width: 60ch;
}

/* spotlight hover — radial glow follows the cursor */
.hd-spot { position: relative; }

.hd-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(230px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(155,140,255,0.16), transparent 65%);
  pointer-events: none;
}

.hd-spot:hover::after { opacity: 1; }

/* ═══════════════ SERVICE BLOCKS (extended /services/) ═══════════════ */
.hd-svc-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.hd-svc-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--card-border);
}

.hd-svc-block:last-child { border-bottom: none; }

.hd-svc-rev .hd-svc-visual { order: 2; }
.hd-svc-rev .hd-svc-text { order: 1; }

.hd-svc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
  border-radius: 26px;
  background: var(--card-grad-soft);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-inset), var(--card-shadow);
  color: var(--accent);
  padding: 40px;
}

.hd-svc-visual svg {
  width: 100%;
  height: auto;
  max-width: 190px;
  filter: drop-shadow(0 0 18px rgba(155,140,255,0.3));
}

.hd-svc-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-text);
}

.hd-svc-text h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 10px 0 14px;
}

.hd-svc-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 22px;
  max-width: 54ch;
}

.hd-svc-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.hd-svc-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.hd-svc-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
}

@media (max-width: 860px) {
  .hd-svc-block { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .hd-svc-rev .hd-svc-visual { order: 0; }
  .hd-svc-rev .hd-svc-text { order: 1; }
  .hd-svc-visual { max-width: 250px; padding: 30px; }
}

/* ═══════════════ MOCKUP OFFER (hero) + chat additions ═══════════════ */
.hd-btn-offer {
  border: none;
  cursor: pointer;
  font-size: 1rem;
  animation: hdOfferPulse 3.2s ease infinite;
}

@keyframes hdOfferPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(103,61,229,0.45), 0 0 0 0 rgba(155,140,255,0.45); }
  50%      { box-shadow: 0 8px 30px rgba(103,61,229,0.45), 0 0 0 12px rgba(155,140,255,0); }
}

.hd-hero2-micro {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin: 14px 0 0;
}

.hd-chat-skiprow { display: flex; justify-content: flex-end; }

.hd-chat-skip {
  border-style: dashed;
  opacity: 0.75;
  font-size: 0.78rem;
}

.hd-chat-filerow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: stretch;
}

textarea.hd-chat-input {
  resize: none;
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .hd-btn-offer { animation: none; }
}

/* ═══════════════ CHAT WIZARD (24h mockup, expanded mode) ═══════════════ */
html.hd-chat-lock, html.hd-chat-lock body { overflow: hidden !important; }

.hd-chat-body { overscroll-behavior: contain; }

.hd-chat-panel-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
}

.hd-chat-panel-close:hover { color: var(--accent-text); border-color: var(--accent); }

/* wizard hidden in small-chat mode */
.hd-chat-wizard { display: none; flex-direction: column; flex: 1; min-height: 0; }

/* expanded: near-fullscreen modal, chat log hidden, wizard shown */
.hd-chat.expanded .hd-chat-panel {
  position: fixed;
  top: calc(88px + 2vh);          /* clear of the sticky navbar */
  bottom: 2vh;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(80vw, 1200px);
  height: auto;
  max-height: none;
  display: flex;
  animation: hdWizModalIn .4s cubic-bezier(.2,.9,.3,1);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(103,61,229,0.28), transparent 55%),
    radial-gradient(100% 80% at 0% 110%, rgba(155,140,255,0.14), transparent 50%),
    linear-gradient(160deg, #171130 0%, #0c0919 60%, #120b26 100%);
  border-color: rgba(155,140,255,0.5);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 80px rgba(155,140,255,0.18);
}

:root[data-theme="light"] .hd-chat.expanded .hd-chat-panel {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(103,61,229,0.10), transparent 55%),
    linear-gradient(160deg, #FFFFFF 0%, #F6F1E8 100%);
  box-shadow: 0 40px 120px rgba(24,16,60,0.28);
}

@keyframes hdWizModalIn {
  from { opacity: 0; transform: translateX(-50%) translateY(26px) scale(0.97); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* dimmed, blurred page behind the modal */
.hd-chat-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,3,12,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.hd-chat.expanded .hd-chat-backdrop { opacity: 1; pointer-events: auto; }

.hd-chat-restart {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: .25s ease;
}

.hd-chat-restart:hover {
  color: var(--accent-text);
  border-color: var(--accent);
  transform: rotate(-180deg);
}

.hd-chat-restart + .hd-chat-panel-close { margin-left: 8px; }

.hd-chat.expanded .hd-chat-body { display: none; }
.hd-chat.expanded .hd-chat-wizard { display: flex; }

@media (max-width: 640px) {
  .hd-chat.expanded .hd-chat-panel {
    top: 88px; bottom: 0; width: 100vw; border-radius: 0;
    left: 50%; transform: translateX(-50%);
  }
}

/* ── head: title, steps, progress ── */
.hd-wiz-head { padding: 22px 26px 0; }

.hd-wiz-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 18px;
}

.hd-wiz-steps {
  display: flex;
  gap: 6px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hd-wiz-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hd-wiz-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  background: transparent;
  transition: .3s ease;
}

.hd-wiz-step.now .hd-wiz-dot {
  color: #fff;
  background: linear-gradient(135deg, #9B8CFF, #673DE5);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(155,140,255,0.5);
}

.hd-wiz-step.done .hd-wiz-dot {
  color: var(--accent-text);
  border-color: var(--accent);
  background: var(--tag-bg);
}

.hd-wiz-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hd-wiz-step.now .hd-wiz-label { color: var(--heading); font-weight: 600; }

@media (max-width: 560px) {
  .hd-wiz-label { display: none; }
  .hd-wiz-step { flex: none; }
  .hd-wiz-steps { justify-content: center; gap: 14px; }
}

.hd-wiz-bar {
  height: 3px;
  border-radius: 3px;
  background: var(--card-border);
  overflow: hidden;
}

.hd-wiz-bar-fill {
  height: 100%;
  width: 25%;
  border-radius: 3px;
  background: linear-gradient(90deg, #9B8CFF, #673DE5);
  box-shadow: 0 0 10px rgba(155,140,255,0.6);
  transition: width .45s ease;
}

/* ── body / panes ── */
.hd-wiz-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 26px;
  scrollbar-width: thin;
}

.hd-wiz-pane { display: none; }
.hd-wiz-pane.show { display: block; animation: hdWizIn .35s ease; }

@keyframes hdWizIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hd-wiz-pane h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  color: var(--heading);
  margin: 0 0 18px;
}

.hd-wiz-field { margin-bottom: 20px; }

.hd-wiz-field > label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hd-wiz-field .hd-chat-input { width: 100%; }

.hd-wiz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 22px;
}

@media (max-width: 640px) { .hd-wiz-grid { grid-template-columns: 1fr; } }

.hd-wiz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hd-chat-opt.sel {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.hd-wiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hd-wiz-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--card-text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-wiz-chip b {
  cursor: pointer;
  color: var(--accent-text);
  font-size: 0.95rem;
}

.hd-wiz-gdpr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(155,140,255,0.3);
  background: rgba(155,140,255,0.07);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.hd-wiz-gdpr input[type="checkbox"] { width: 17px; height: 17px; accent-color: #9B8CFF; margin: 0; flex-shrink: 0; }
.hd-wiz-gdpr a { color: var(--accent-text); }

/* ── footer nav ── */
.hd-wiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 26px;
  border-top: 1px solid var(--card-border);
}

.hd-wiz-foot .hd-btn-primary,
.hd-wiz-foot .hd-btn-ghost {
  font-size: 0.88rem;
  padding: 12px 24px;
}

.hd-wiz-err {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  color: #ff7b93;
}

/* ── success ── */
.hd-wiz-done {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 30px 10px;
}

.hd-wiz-done-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--heading);
}

.hd-wiz-done p {
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}


/* ═══ wizard design pass ═══ */
.hd-wiz-pane { max-width: 720px; margin: 0 auto; }

.hd-wiz-sub {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: -10px 0 22px;
}

.hd-wiz-pane.show .hd-wiz-field { animation: hdWizIn .45s ease backwards; }
.hd-wiz-pane.show .hd-wiz-field:nth-child(3) { animation-delay: .06s; }
.hd-wiz-pane.show .hd-wiz-field:nth-child(4) { animation-delay: .12s; }
.hd-wiz-pane.show .hd-wiz-field:nth-child(5) { animation-delay: .18s; }
.hd-wiz-pane.show .hd-wiz-grid .hd-wiz-field:nth-child(2) { animation-delay: .06s; }
.hd-wiz-pane.show .hd-wiz-grid .hd-wiz-field:nth-child(3) { animation-delay: .12s; }
.hd-wiz-pane.show .hd-wiz-grid .hd-wiz-field:nth-child(4) { animation-delay: .18s; }

.hd-chat-input:focus,
.hd-wiz-field .hd-chat-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(155,140,255,0.18);
}

.hd-wiz-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 18px;
  border: 1.6px dashed var(--tag-border);
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  transition: .25s ease;
  color: var(--text-muted);
  background: rgba(155,140,255,0.04);
}

.hd-wiz-drop strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  color: var(--accent-text);
}

.hd-wiz-drop span { font-size: 0.78rem; color: var(--text-soft); }

.hd-wiz-drop:hover,
.hd-wiz-drop.drag {
  border-color: var(--accent);
  background: rgba(155,140,255,0.10);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(155,140,255,0.15);
}

.hd-wiz-done-title { animation: hdDonePop .6s cubic-bezier(.2,1.6,.4,1); }

@keyframes hdDonePop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hd-chat.expanded .hd-chat-panel,
  .hd-wiz-pane.show .hd-wiz-field,
  .hd-wiz-done-title { animation: none !important; }
}

/* phone dial-code selector */
.hd-wiz-phone-row { display: flex; gap: 8px; }

.hd-wiz-field .hd-chat-input.hd-wiz-dial {
  flex: none;
  width: 132px;
  cursor: pointer;
  padding-right: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hd-wiz-phone-row .hd-chat-input:not(.hd-wiz-dial) {
  flex: 1;
  width: auto;
  min-width: 0;
}

.hd-wiz-dial option {
  color: #fff;
  background-color: #14102a;
}

:root[data-theme="light"] .hd-wiz-dial option {
  color: #141414;
  background-color: #fff;
}

/* wizard footer buttons — <button> UA background reset + white text */
button.hd-btn-ghost,
button.hd-btn-primary {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
}

.hd-wiz-foot .hd-btn-ghost {
  background: transparent;
  color: var(--heading);
}

.hd-wiz-foot .hd-btn-primary {
  background: var(--cta-bg);
  color: #fff;
}

.hd-wiz-dial { text-align: center; }

/* "Other" free-text input — breathing room under the pills */
.hd-wiz-pills + .hd-chat-input { margin-top: 12px; }

/* ═══════════════ GLOBAL MOBILE STABILITY FIXES ═══════════════ */
/* 1) No layout-viewport widening: clip horizontal overflow at the root.
      `clip` (unlike `hidden`) creates no scroll container, so the sticky
      header keeps working. Entrance animations that slide elements in
      from off-screen can no longer stretch the page sideways. */
html, body {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

#hd-main { overflow-x: clip; }

/* 2) iOS focus-zoom killer: Safari auto-zooms any focused field whose
      font-size is below 16px. On touch widths, every input is ≥16px. */
@media (max-width: 820px) {
  input,
  select,
  textarea,
  .hd-chat-input,
  #leasingForm input,
  #leasingForm select,
  #leasingForm textarea {
    font-size: 16px !important;
  }
}

/* expanded wizard: hide the floating launcher — its × duplicated the
   header close and covered the Next button on mobile */
.hd-chat.expanded .hd-chat-launcher { display: none; }

/* ═══════════════ COOKIEBOT BANNER — compact corner card ═══════════════ */
/* Below the intro overlay (10000000): the opening animation plays over it. */
#CybotCookiebotDialog {
  z-index: 9999998 !important;
  top: auto !important;
  bottom: 16px !important;
  left: 16px !important;
  right: auto !important;
  transform: none !important;
  max-width: 420px !important;
  width: calc(100vw - 32px) !important;
  max-height: min(70vh, 560px) !important;
  border-radius: 18px !important;
  border: 1px solid rgba(155,140,255,0.45) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 40px rgba(155,140,255,0.15) !important;
  overflow: hidden !important;
}

/* kill the full-page dark underlay — the page stays visible and usable */
#CybotCookiebotDialogBodyUnderlay,
.CybotCookiebotDialogBodyOverlay {
  display: none !important;
}

@media (max-width: 520px) {
  #CybotCookiebotDialog {
    left: 10px !important;
    bottom: 10px !important;
    width: calc(100vw - 20px) !important;
  }
}

/* ═══════════════ CONNECT — linktree (business-card QR target) ═══════════════ */
.hd-connect-body { margin: 0; background: #05030c; }
/* hide anything the global scripts inject on this standalone page */
.hd-connect-body .hd-chat,
.hd-connect-body #hd-intro-overlay,
.hd-connect-body .cursor-blob,
.hd-connect-body .hd-scroll-progress,
.hd-connect-body #CybotCookiebotDialog { }

.hd-connect {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  padding: 40px 20px;
  box-sizing: border-box;
  background: radial-gradient(circle at 15% 0%, #2a0f52, #0a0618 55%, #05030c 100%);
  font-family: "DM Sans", sans-serif;
}
/* linktree = contact hub: no cookie nag, no analytics banner (nothing tracked without consent anyway) */
.hd-connect-body #CybotCookiebotDialog,
.hd-connect-body #CybotCookiebotDialogBodyUnderlay,
.hd-connect-body .cursor-blob { display: none !important; }

.hd-connect-aurora { position: absolute; inset: 0; pointer-events: none; }

.hd-connect-lang {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 6px;
  font-family: "Inter", monospace;
  font-size: 13px;
  letter-spacing: 1px;
}
.hd-connect-lang a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: .2s ease;
}
.hd-connect-lang a.active { color: #c9a7ff; background: rgba(155,140,255,0.14); }
.hd-connect-lang a:hover { color: #fff; }
.hd-connect-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hd-connect-aurora span:nth-child(1) {
  width: 60vmin; height: 60vmin; left: -15%; top: -10%;
  background: radial-gradient(circle, rgba(123,44,255,0.4), transparent 65%);
}
.hd-connect-aurora span:nth-child(2) {
  width: 46vmin; height: 46vmin; right: -12%; bottom: -12%;
  background: radial-gradient(circle, rgba(155,140,255,0.22), transparent 62%);
}

.hd-connect-card {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100vw - 40px));
  box-sizing: border-box;
  text-align: center;
  animation: hdConnectIn .6s ease;
}

@keyframes hdConnectIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hd-connect-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 0 16px rgba(155,140,255,0.5));
}

.hd-connect-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  margin: 0 0 4px;
}

.hd-connect-tag {
  font-size: 0.9rem;
  color: #b9a8ff;
  margin: 0 0 30px;
  letter-spacing: 0.02em;
}

.hd-connect-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hd-clink {
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  min-width: 0;
  padding: 15px 20px;
  border-radius: 16px;
  border: 1px solid rgba(155,140,255,0.32);
  background: rgba(155,140,255,0.06);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hd-clink svg { width: 22px; height: 22px; flex-shrink: 0; color: #9B8CFF; }
.hd-clink span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hd-clink:hover, .hd-clink:active {
  transform: translateY(-2px);
  border-color: rgba(155,140,255,0.6);
  background: rgba(155,140,255,0.12);
  box-shadow: 0 10px 30px rgba(103,61,229,0.25);
}

.hd-clink-primary {
  background: linear-gradient(135deg, #9B8CFF, #673DE5);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.hd-clink-primary svg { color: #fff; }
.hd-clink-primary:hover { background: linear-gradient(135deg, #8b7bff, #5a33cc); }

.hd-clink-accent {
  background: rgba(103,61,229,0.18);
  border-color: rgba(155,140,255,0.5);
  font-weight: 600;
}

/* phone row = call button + whatsapp square */
.hd-clink-phone { display: flex; gap: 10px; }
.hd-clink-phone .hd-clink { flex: 1; min-width: 0; }

.hd-clink-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(37,211,102,0.45);
  background: rgba(37,211,102,0.12);
  color: #25d366;
  transition: transform .2s ease, background .2s ease;
}
.hd-clink-wa svg { width: 22px; height: 22px; }

/* named phone rows: name + number side by side (stack on narrow phones) */
.hd-clink-named-wrap { display: flex; flex-direction: row; align-items: baseline; gap: 10px; line-height: 1.3; min-width: 0; }
.hd-clink-named-wrap b { font-weight: 600; font-size: 0.98rem; flex-shrink: 0; }
.hd-clink-named-wrap small { font-size: 0.9rem; color: rgba(255,255,255,0.62); white-space: nowrap; }

@media (max-width: 460px) {
  .hd-clink-named-wrap { flex-direction: column; align-items: flex-start; gap: 1px; }
  .hd-clink-named-wrap small { font-size: 0.82rem; }
}
.hd-clink-wa:hover { transform: translateY(-2px); background: rgba(37,211,102,0.22); }

.hd-connect-follow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: #9B8CFF;
  margin: 32px 0 16px;
}

.hd-connect-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hd-connect-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(155,140,255,0.4);
  background: rgba(155,140,255,0.06);
  color: #c9bdff;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.hd-connect-socials svg { width: 22px; height: 22px; }
.hd-connect-socials a:hover {
  transform: translateY(-3px);
  border-color: #9B8CFF;
  color: #fff;
  box-shadow: 0 0 20px rgba(155,140,255,0.35);
}

.hd-connect-web {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.hd-connect-web:hover { color: #b9a8ff; }

@media (max-width: 400px) {
  .hd-connect-name { font-size: 1.28rem; letter-spacing: 0.12em; }
}
