:root {
  --bg: #050b12;
  --bg-soft: #09131e;
  --surface: rgba(10, 18, 30, 0.82);
  --surface-strong: rgba(8, 14, 24, 0.92);
  --card: rgba(11, 20, 33, 0.78);
  --line: rgba(126, 162, 208, 0.14);
  --line-strong: rgba(126, 162, 208, 0.3);
  --text: #f4f7fb;
  --muted: #96a8bc;
  --blue: #54a8ff;
  --blue-soft: rgba(84, 168, 255, 0.16);
  --red: #ff664d;
  --red-soft: rgba(255, 102, 77, 0.16);
  --green: #4cd38f;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-width: min(1460px, calc(100vw - 48px));
  --gutter: clamp(18px, 2vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(84, 168, 255, 0.12), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(255, 102, 77, 0.1), transparent 22%),
    linear-gradient(180deg, #02060b 0%, #07101a 48%, #09131f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
  opacity: 0.2;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 14%, rgba(84, 168, 255, 0.14), transparent 18%),
    radial-gradient(circle at 24% 78%, rgba(255, 102, 77, 0.1), transparent 16%);
}

.topbar,
.footer,
.section,
.hero {
  width: var(--page-width);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(126, 162, 208, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.94), rgba(6, 11, 18, 0.74));
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(126, 162, 208, 0.24);
  background: linear-gradient(135deg, rgba(84, 168, 255, 0.2), rgba(255, 102, 77, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong,
h1,
h2,
h3,
.category-card-body strong,
.signal-title,
.metric-card strong,
.city-card h3 {
  font-family: "Bahnschrift", "Segoe UI Variable Display", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy small,
.lead,
.section-lead,
.feature-list,
.category-card-body p,
.city-card p,
.info-card p,
.footer,
.city-legend {
  color: var(--muted);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-button,
.filter-pill,
.soft-cta,
.primary-cta,
.category-card,
.city-card {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.nav-button,
.filter-pill,
.soft-cta {
  border: 1px solid var(--line-strong);
  background: rgba(10, 18, 30, 0.72);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.nav-button:hover,
.filter-pill:hover,
.soft-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 162, 208, 0.44);
  background: rgba(12, 22, 36, 0.9);
}

.primary-cta {
  border: 0;
  padding: 16px 24px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #2d7aff, #54a8ff 60%, #79c2ff);
  box-shadow: 0 18px 44px rgba(84, 168, 255, 0.28);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(84, 168, 255, 0.3);
}

.page-shell {
  display: grid;
  gap: 28px;
  padding: 28px 0 40px;
}

.hero,
.section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(7, 13, 22, 0.96), rgba(5, 11, 18, 0.96));
  box-shadow: var(--shadow);
}

.hero {
  min-height: min(980px, calc(100vh - 120px));
  padding: clamp(28px, 3vw, 38px);
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.96) 0%, rgba(4, 8, 14, 0.84) 28%, rgba(4, 8, 14, 0.36) 58%, rgba(4, 8, 14, 0.66) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.16));
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 430px);
  align-items: end;
  gap: clamp(30px, 4vw, 48px);
  min-height: calc(min(980px, 100vh - 120px) - 76px);
}

.hero-copy {
  max-width: 780px;
  padding-top: clamp(24px, 3vh, 42px);
}

.eyebrow {
  margin-bottom: 14px;
  color: #94c8ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 6vw, 6.6rem);
}

h2 {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.lead {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-ticker span,
.signal-chip,
.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-ticker span {
  padding: 10px 14px;
  background: rgba(10, 18, 30, 0.54);
  border: 1px solid rgba(126, 162, 208, 0.18);
  color: #d5e6f7;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-self: end;
}

.signal-card,
.metric-card,
.info-card,
.city-card,
.category-card {
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.82), rgba(8, 14, 24, 0.86));
  backdrop-filter: blur(18px);
}

.signal-card {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--line);
}

.signal-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.signal-chip {
  padding: 9px 12px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-chip-blue {
  background: rgba(84, 168, 255, 0.16);
  color: #a4d4ff;
}

.signal-title {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 18px;
}

.signal-prices {
  display: grid;
  gap: 12px;
}

.signal-prices div {
  display: grid;
  gap: 5px;
}

.signal-prices span {
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-prices strong {
  font-size: 1.06rem;
}

.signal-profit {
  margin-top: 16px;
  color: #9ad0ff;
  font-size: 1.02rem;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  min-height: 134px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.metric-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.section {
  padding: clamp(24px, 2.5vw, 34px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-lead {
  margin: 0;
  line-height: 1.72;
  font-size: 1.02rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}

.category-card.is-active {
  border-color: rgba(84, 168, 255, 0.48);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 162, 208, 0.38);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.category-card-bg {
  position: absolute;
  inset: 0;
}

.category-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 16, 0.04), rgba(5, 10, 16, 0.72)),
    linear-gradient(90deg, rgba(5, 10, 16, 0.22), rgba(5, 10, 16, 0.08));
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.category-card:hover .category-card-bg img {
  transform: scale(1.06);
}

.category-card-body {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  height: 100%;
  padding: 28px;
  max-width: 72%;
}

.category-pill {
  width: fit-content;
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.category-pill-blue {
  background: var(--blue-soft);
  color: #aed8ff;
}

.category-pill-red {
  background: var(--red-soft);
  color: #ffc2b8;
}

.category-card-body strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
}

.category-card-body p {
  margin: 0;
  line-height: 1.72;
}

.category-note {
  margin-top: 16px;
  color: var(--muted);
}

.city-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.city-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill.is-active {
  border-color: rgba(84, 168, 255, 0.44);
  background: rgba(84, 168, 255, 0.14);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.city-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.city-card::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -35%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: left 0.5s ease, opacity 0.25s ease;
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 162, 208, 0.34);
  background: linear-gradient(180deg, rgba(12, 21, 35, 0.9), rgba(8, 14, 24, 0.9));
}

.city-card:hover::before {
  left: 120%;
  opacity: 1;
}

.city-card[data-state="active"] {
  border-color: rgba(76, 211, 143, 0.24);
}

.city-card[data-state="popular"] {
  border-color: rgba(84, 168, 255, 0.24);
}

.city-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.mini-badge-auto {
  background: rgba(84, 168, 255, 0.16);
  color: #a8d5ff;
}

.mini-badge-tech {
  background: rgba(255, 102, 77, 0.16);
  color: #ffc0b5;
}

.mini-badge-live {
  background: rgba(76, 211, 143, 0.16);
  color: #9be7be;
}

.mini-badge-soon {
  background: rgba(255, 255, 255, 0.06);
  color: #d8e4ef;
}

.city-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.city-card p {
  margin: 0;
  line-height: 1.62;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.info-card-accent {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 18, 30, 0.9), rgba(8, 14, 24, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(84, 168, 255, 0.12), transparent 35%);
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.86;
}

.soft-cta-wide {
  justify-self: start;
  margin-top: 8px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 6px 34px;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

@media (max-width: 1380px) {
  .hero-grid,
  .section-head,
  .info-grid,
  .cities-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-side {
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-card-body {
    max-width: 82%;
  }
}

@media (max-width: 1080px) {
  :root {
    --page-width: min(100vw - 28px, 980px);
  }

  .topbar {
    position: static;
  }

  .category-grid,
  .info-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 360px;
  }

  .category-card-body {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --page-width: calc(100vw - 20px);
  }

  .topbar,
  .footer,
  .city-toolbar,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .top-nav {
    justify-content: stretch;
  }

  .nav-button,
  .soft-cta,
  .primary-cta,
  .filter-pill {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 18px;
    min-height: auto;
  }

  .hero-grid {
    gap: 18px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 11vw, 4rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .lead,
  .section-lead {
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 320px;
  }

  .footer {
    align-items: flex-start;
  }
}
