/* =====================
   CSS Variables & Reset
   ===================== */
:root {
  --cyan-dark: #1550b0;
  --cyan: #1e60d8;
  --cyan-mid: #4a7fe8;
  --cyan-light: #6b9ae8;
  --cyan-highlight: #b5cffa;
  --dark: #0a1629;
  --gray: #888;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-cyan: rgba(107, 154, 232, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark);
  color: white;
  overflow-x: hidden;
}

/* =====================
   Animations
   ===================== */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

/* =====================
   Shared
   ===================== */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  /* color: var(--cyan); */
  color: #C9A84C;
  margin-bottom: 16px;
}

.section-heading {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 64px;
  color: white;
}

.btn {
  border: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    opacity 0.2s;
  white-space: nowrap;
}

.btn--cyan {
  background: var(--cyan);
  color: white;
}

.btn--cyan:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--white {
  background: white;
  color: var(--cyan-dark);
  font-weight: 700;
}

.btn--white:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* =====================
   Navbar
   ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
}

.hamburger__bar {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  display: block;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.active .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 41, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 52px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo img {
  height: 112px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(107, 154, 232, 0.28));
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.nav__link:hover {
  color: white;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  letter-spacing: 0.2px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.nav__dropdown-toggle:hover,
.nav__dropdown:hover .nav__dropdown-toggle {
  color: white;
}

.nav__dropdown-arrow {
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s;
  display: inline-block;
}

.nav__dropdown:hover .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(10, 22, 41, 0.98);
  border: 1px solid rgba(107, 154, 232, 0.18);
  border-radius: 12px;
  padding: 6px;
  min-width: 160px;
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 200;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 400;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  background: rgba(30, 96, 216, 0.18);
  color: white;
}

.nav__btn {
  background: var(--cyan);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.nav__btn:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px);
}

.nav__contact-link {
  display: none;
}

@media (max-width: 710px) {
  .nav__btn {
    display: none;
  }
  .nav__contact-link {
    display: block;
  }
}

/* =====================
   Hero
   ===================== */
.hero {
  padding: 20px 52px 10px;
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 100px - 104px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  column-gap: 0px;
  animation: fadeUp 0.8s ease both;
}

.hero__bg-circle {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(30, 96, 216, 0.16) 0%,
    transparent 70%
  );
  border-radius: 50%;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__bg-circle--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(74, 127, 232, 0.1) 0%,
    transparent 70%
  );
  right: auto;
  left: 200px;
  top: auto;
  bottom: 80px;
  transform: none;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 96, 216, 0.16);
  border: 1px solid rgba(107, 154, 232, 0.636);
  /* color: var(--cyan); */
  color: rgba(107, 154, 232, 0.994);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 40px;
  width: fit-content;
  letter-spacing: 0.3px;
}

.hero__tag-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 24px;
  max-width: 800px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.hero__line {
  display: block;
}
.hero__line--cyan {
  color: var(--cyan);
}
.hero__line--dim {
  color: rgba(255, 255, 255, 0.433);
}

.hero__bottom {
  position: relative;
  z-index: 1;
  align-self: end;
  padding-bottom: 10px;
}

.hero__desc {
  font-size: 25px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 360px;
  font-weight: 300;
}

.hero__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  align-self: end;
  padding-bottom: 10px;
  width: 460px;
  grid-column: 2;
  grid-row: 3;
}

.hero__actions {
  display: flex;
  gap: 12px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.hero__stat-val {
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-lbl {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* =====================
   Hero Globe Visual
   ===================== */
.hero__visual {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  z-index: 2;
  pointer-events: none;
}

.hero__globe-wrap {
  width: clamp(300px, 38vw, 520px);
  height: clamp(300px, 38vw, 520px);
  position: relative;
  margin-right: 40px;
}

.hero__globe-svg {
  width: 100%;
  height: 100%;
}

@keyframes globeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero__globe-grid {
  animation: globeSpin 40s linear infinite;
  transform-origin: 230px 230px;
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.hero__gnode-a {
  animation: nodePulse 2.8s ease-in-out infinite;
}
.hero__gnode-b {
  animation: nodePulse 2.8s ease-in-out infinite 0.9s;
}
.hero__gnode-c {
  animation: nodePulse 2.8s ease-in-out infinite 1.5s;
}
.hero__gnode-d {
  animation: nodePulse 2.8s ease-in-out infinite 0.4s;
}
.hero__gnode-e {
  animation: nodePulse 2.8s ease-in-out infinite 2s;
}

@keyframes pulseExpand {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.hero__pulse-a,
.hero__pulse-b,
.hero__pulse-c,
.hero__pulse-e {
  transform-box: fill-box;
  transform-origin: center;
}

.hero__pulse-a {
  animation: pulseExpand 2.8s ease-out infinite;
}
.hero__pulse-b {
  animation: pulseExpand 2.8s ease-out infinite 0.9s;
}
.hero__pulse-c {
  animation: pulseExpand 2.8s ease-out infinite 1.5s;
}
.hero__pulse-e {
  animation: pulseExpand 2.8s ease-out infinite 2s;
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 20;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dashFlowSlow {
  from {
    stroke-dashoffset: 22;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.hero__gline-1 {
  animation: dashFlow 1.8s linear infinite;
}
.hero__gline-2 {
  animation: dashFlow 1.8s linear infinite 0.4s;
}
.hero__gline-3 {
  animation: dashFlow 1.8s linear infinite 0.9s;
}
.hero__gline-4 {
  animation: dashFlow 2.4s linear infinite 1.2s;
}
.hero__gline-5 {
  animation: dashFlowSlow 3s linear infinite 0.2s;
}
.hero__gline-6 {
  animation: dashFlowSlow 3s linear infinite 0.7s;
}

@keyframes glyphFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.32;
  }
  50% {
    transform: translateY(-11px);
    opacity: 0.55;
  }
}

.hero__glyph {
  position: absolute;
  left: var(--gx);
  top: var(--gy);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan-mid);
  pointer-events: none;
  z-index: 2;
  animation: glyphFloat 4.5s ease-in-out infinite;
  animation-delay: var(--gd);
}

.hero__glyph--sm {
  font-size: 15px;
}

/* =====================
   Ticker
   ===================== */
.ticker-wrap {
  background: #0a1629;
  padding: 18px 0;
  border-top: 0.5px solid rgba(107, 154, 232, 0.1);
  border-bottom: 0.5px solid rgba(107, 154, 232, 0.1);
  overflow: hidden;
}
.ticker-label {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(107, 154, 232, 0.4);
  margin-bottom: 12px;
}
.ticker-row {
  display: flex;
  gap: 7px;
  white-space: nowrap;
  animation: tick 30s linear infinite;
  width: max-content;
}
.ticker-row.r2 {
  animation-direction: reverse;
  animation-duration: 24s;
  margin-top: 7px;
}
.tpill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 5px 12px;
  flex-shrink: 0;
}
.tpill.std {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
}
.tpill.rare {
  background: rgba(30, 96, 216, 0.12);
  border: 0.5px solid rgba(107, 154, 232, 0.25);
}
.tpill.vr {
  background: rgba(30, 96, 216, 0.22);
  border: 0.5px solid rgba(107, 154, 232, 0.4);
}
.tp-script {
  font-size: 12px;
}
.tpill.std .tp-script {
  color: rgba(255, 255, 255, 0.2);
}
.tpill.rare .tp-script {
  color: rgba(107, 154, 232, 0.5);
}
.tpill.vr .tp-script {
  color: rgba(181, 207, 250, 0.6);
}
.tp-name {
  font-size: 12px;
}
.tpill.std .tp-name {
  color: rgba(255, 255, 255, 0.5);
}
.tpill.rare .tp-name {
  color: #8ab4ef;
}
.tpill.vr .tp-name {
  color: #b5cffa;
  font-weight: 500;
}

/* =====================
   Services
   ===================== */
.services {
  padding: 100px 52px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
  text-decoration: none;
  color: inherit;
  display: block;
}

a.service-card {
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.service-card:hover {
  background: rgba(30, 96, 216, 0.1);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover .service-card__arrow {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(74, 127, 232, 0.14);
}

.service-card__num {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.service-card__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: white;
}

.service-card__desc {
  font-size: 18px;
  color: #C9A84C;
  /* color: rgba(255, 255, 255, 0.4); */
  line-height: 1.7;
  font-weight: 500;
}

.service-card__arrow {
  position: absolute;
  bottom: 44px;
  right: 44px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
}

/* =====================
   Why Lexi
   ===================== */
.why {
  padding: 0 52px 100px;
}

.why__inner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
}

.why__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why__feat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.why__check {
  width: 22px;
  height: 22px;
  background: rgba(107, 154, 232, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 12px;
  flex-shrink: 0;
}

.why__right-col {
  display: flex;
  flex-direction: column;
  /* gap: 28px; */
}

.why__map {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-cyan);
  opacity: 0.9;
  display: block;
}

/* US Map Component */
.us-map {
  background: linear-gradient(
    135deg,
    rgba(15, 25, 50, 0.9) 0%,
    rgba(10, 22, 41, 0.95) 100%
  );
  padding: 20px;
  overflow: hidden;
}

.us-map__svg {
  width: 100%;
  height: auto;
  display: block;
}

.us-map__viewport {
  transition: transform 0.36s ease;
}

.us-map__state {
  cursor: default;
}

.us-map__state-label {
  fill: rgba(40, 28, 5, 0.82);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  pointer-events: none;
  letter-spacing: 0.5px;
}

.us-map__pin-circle {
  fill: var(--pin-color, var(--cyan, #1e60d8));
  stroke: #fff;
  stroke-width: 2;
}

.us-map__pin-point {
  fill: var(--pin-color, var(--cyan, #1e60d8));
}

.us-map__pin-number {
  fill: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  pointer-events: none;
}

.us-map__pin {
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: center bottom;
}

.us-map__pin:hover {
  transform: scale(1.3) translateY(-3px);
}

.us-map__pin:hover .us-map__pin-circle {
  fill: var(--pin-color-hover, var(--cyan-mid, #4a7fe8));
}

.us-map__pin:hover .us-map__pin-point {
  fill: var(--pin-color-hover, var(--cyan-mid, #4a7fe8));
}

.us-map__pin-tooltip {
  position: fixed;
  background: rgba(8, 17, 34, 0.97);
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 10px;
  padding: 10px 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 1000;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.us-map__pin-tooltip--visible {
  opacity: 1;
  transform: translateY(0);
}

.us-map__pin-tooltip__city {
  color: #c9a84c;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.us-map__pin-tooltip__count {
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  margin-top: 3px;
}

.us-map__pin-tooltip__count strong {
  color: #fff;
  font-weight: 700;
}

.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
}

.why__stat-cell {
  background: rgba(255, 255, 255, 0.02);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.why__stat-val {
  font-size: 52px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.why__stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* =====================
   CTA
   ===================== */
.cta {
  margin: 0 52px 80px;
  background: var(--cyan);
  border-radius: 20px;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  border-radius: 50%;
  right: -100px;
  top: -100px;
  pointer-events: none;
}

.cta__heading {
  font-size: 52px;
  font-weight: 900;
  color: white;
  letter-spacing: -2px;
  line-height: 1;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.cta__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cta__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
  max-width: 260px;
  line-height: 1.6;
  font-weight: 300;
}

/* =====================
   Footer
   ===================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo img {
  height: 78px;
  width: auto;
  display: block;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* =====================
   Contact Panel
   ===================== */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}

.contact-overlay--open {
  opacity: 1;
  pointer-events: auto;
}

.contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(560px, 100vw);
  background: #071020;
  border-left: 1px solid var(--border-subtle);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 56px 48px 48px;
}

.contact-panel--open {
  transform: translateX(0);
}

.contact-panel__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.contact-panel__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.contact-panel__header {
  margin-bottom: 36px;
}

.contact-panel__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.25;
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.contact-form__input,
.contact-form__textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: white;
  transition:
    border-color 0.2s,
    background 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

select.contact-form__input {
  background-color: #071020 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
  color-scheme: dark;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form__input:-webkit-autofill,
.contact-form__input:-webkit-autofill:hover,
.contact-form__input:-webkit-autofill:focus,
.contact-form__input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #071020 inset !important;
  -webkit-text-fill-color: white !important;
  caret-color: white;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--cyan);
  background-color: rgba(30, 96, 216, 0.06);
}

select.contact-form__input:focus {
  background-color: #071020 !important;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.contact-form__status {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.contact-form__status--success {
  color: #34d399;
}

.contact-form__status--error {
  color: #f87171;
}

.contact-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 1100px) {
  .hero {
    padding: 20px 32px 10px;
    column-gap: 0;
  }
}

@media (max-width: 1135px) {
  .nav {
    padding: 0 24px;
    height: 116px;
  }
  .nav__logo img {
    height: 90px;
  }

  .hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 16px 24px 24px;
    background: rgba(10, 22, 41, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
    z-index: 99;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 16px;
    min-width: auto;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  /* Match desktop hover specificity to prevent translateX from applying on mobile */
  .nav__dropdown:hover .nav__dropdown-menu {
    position: static;
    transform: none;
  }

  .nav__dropdown-toggle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    pointer-events: none;
  }

  .nav__dropdown-arrow {
    display: none;
  }

  .hero__visual {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px 40px;
  }
  .hero__bottom {
    align-self: auto;
    padding-bottom: 0;
  }
  .hero__right {
    align-items: flex-start;
    align-self: auto;
    padding-bottom: 0;
    margin-top: 32px;
    width: 100%;
  }

  .services {
    padding: 60px 24px;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }

  .why {
    padding: 0 24px 60px;
  }
  .why__inner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 48px;
  }

  .cta {
    flex-direction: column;
    margin: 0 24px 60px;
    padding: 48px 32px;
  }
  .cta__right {
    align-items: flex-start;
  }
  .cta__sub {
    text-align: left;
  }

  .footer {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-panel {
    padding: 56px 24px 32px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .contact-form__submit {
    width: 100%;
  }
}
