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

:root {
  --font: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  --card-bg: linear-gradient(151.52deg, rgba(255,255,255,0.033) 4.88%, rgba(255,255,255,0.044) 113.59%);
  --r-card: 40px;
  --r-btn: 18px;
  --pad-h: 120px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: #000;
  color: #fff;
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}

nav.top-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--pad-h);
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-left { display: contents; }
.nav-center { display: contents; }
.nav-hamburger { display: none; }
.nav-back { display: none; }
.btn-reg-mobile { display: none !important; }
.btn-reg-desktop { display: inline-flex !important; }

.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-link {
  font-size: 17px; font-weight: 400; letter-spacing: -0.06em;
  color: rgba(255,255,255,0.91); text-decoration: none;
  opacity: 0.17; transition: opacity .2s; white-space: nowrap;
}
.nav-link:hover { opacity: 0.55; }
.nav-link.active { opacity: 1; }

.nav-logo {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.nav-logo img { height: 56px; width: auto; display: block; }

.nav-right {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
}

.btn-reg {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  background: #fff; border: none; border-radius: var(--r-btn);
  font-family: var(--font);
  font-size: 17px; font-weight: 500; letter-spacing: -0.06em;
  color: #111; text-decoration: none;
  cursor: pointer; transition: background .15s;
  white-space: nowrap;
}
.btn-reg:hover { background: #efefef; }

.btn-sq {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--r-btn); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.btn-sq:hover { background: rgba(255,255,255,0.07); }

.nav-back {
  display: none;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.nav-back:hover { background: rgba(255,255,255,0.14); }

.hero {
  margin: 16px var(--pad-h) 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: clamp(260px, 28vw, 420px);
}

.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(.75);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(203deg, rgba(10,10,10,0.7) 0%, transparent 60%);
}
.hero-overlay2 {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9) 100%);
}

.hero-pill-wrap {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 23px; padding: 12px 24px;
  z-index: 10; white-space: nowrap;
}
.hero-pill-wrap span {
  font-size: 18px; font-weight: 500; letter-spacing: -0.06em;
  background: radial-gradient(50% 50% at 50% 50%, #fff 0%, #999 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 48px 40px; z-index: 10;
}

.hero-title {
  font-size: clamp(46px, 6vw, 110px);
  font-weight: 500; letter-spacing: -0.05em;
  line-height: .983; color: #fff;
}
.hero-sub {
  margin-top: 10px;
  font-size: 16px; font-weight: 400; letter-spacing: -0.04em;
  color: rgba(255,255,255,.4);
}

.section {
  margin: 36px var(--pad-h) 0;
}
.section-label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,255,255,.25);
  text-transform: uppercase;
  margin-bottom: 14px;
}

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

.loc-card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,.055);
  position: relative; overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  padding: 32px 36px 36px;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
  isolation: isolate;
  z-index: 0;
}
.loc-card:hover {
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
  z-index: 1;
}
.loc-card::before {
  content: '';
  position: absolute; top: -45%; left: -13%;
  width: 60%; height: 60%;
  background: linear-gradient(228deg, rgba(217,217,217,0.45) 21%, rgba(115,115,115,0) 80%);
  filter: blur(80px); pointer-events: none;
  z-index: -1;
}

.loc-status {
  position: absolute; top: 28px; right: 28px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.5;} }

.loc-flag { margin-bottom: 18px; line-height: 1; }
.loc-flag img { width: 40px; height: auto; border-radius: 4px; display: block; }

.loc-country {
  font-size: 30px; font-weight: 500; letter-spacing: -0.05em;
  color: #fff; line-height: .983; margin-bottom: 5px;
}
.loc-city {
  font-size: 14px; font-weight: 400; letter-spacing: -0.03em;
  color: rgba(255,255,255,.35); margin-bottom: 28px;
}

.loc-btn {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start; margin-top: auto;
  background: #fff; border-radius: var(--r-btn);
  padding: 9px 18px;
  font-family: var(--font);
  font-size: 14px; font-weight: 500; letter-spacing: -0.04em;
  color: #111; text-decoration: none;
  transition: background .15s, transform .15s;
}
.loc-btn:hover { background: #efefef; transform: scale(1.03); }
.loc-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

footer {
  margin: 60px var(--pad-h) 0;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.ft-container {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.ft-brand { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.ft-brand-top { display: flex; align-items: center; gap: 14px; }
.ft-logo img { height: 56px; width: auto; display: block; }
.ft-brand-name {
  font-size: clamp(36px, 4vw, 64px); font-weight: 500; letter-spacing: -0.09em;
  color: #fff; line-height: .983; white-space: nowrap;
}
.ft-brand-info {
  font-size: 13px; line-height: 1.4;
  color: rgba(255,255,255,.4); max-width: 380px;
}
.ft-nav { display: flex; gap: 48px; list-style: none; border: none; margin: 0; padding: 0; }
.ft-col { display: flex; flex-direction: column; gap: 16px; }
.ft-col-title {
  font-size: 15px; font-weight: 500; letter-spacing: -0.05em;
  color: rgba(255,255,255,.88); opacity: .4; margin: 0;
}
.ft-links { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
.ft-link {
  font-size: 15px; font-weight: 400; letter-spacing: -0.05em;
  color: rgba(255,255,255,.83); text-decoration: none; transition: color .15s;
}
.ft-link:hover { color: #fff; }
.ft-bottom {
  margin-top: 40px; padding: 20px 0 40px;
  font-size: 13px; color: rgba(255,255,255,.3); letter-spacing: -0.03em;
}
.ft-brand-info a, .ft-bottom a {
  color: inherit !important; text-decoration: none !important; pointer-events: none;
}

@media (max-width: 1400px) { :root { --pad-h: 80px; } }
@media (max-width: 1100px) {
  :root { --pad-h: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .loc-country { font-size: 26px; }
}

@media (max-width: 768px) {
  :root { --pad-h: 16px; --r-card: 28px; }

  nav.top-nav {
    display: flex;
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
  }
  .nav-left {
    display: flex; align-items: center; flex: 0 0 42px;
  }
  .nav-links { display: none; }
  .nav-hamburger { display: none !important; }
  .nav-back { display: flex !important; }
  .nav-center {
    position: absolute; left: 50%; transform: translateX(-50%);
  }
  .nav-logo { display: none; }
  .btn-reg-desktop { display: none !important; }
  .btn-reg-mobile {
    display: inline-flex !important;
    padding: 11px 22px; font-size: 15px;
  }
  .nav-right {
    flex: 0 0 42px;
    justify-content: flex-end;
  }
  .btn-sq { width: 42px; height: 42px; border-radius: 14px; }

  .hero { border-radius: 22px; }
  .hero-bottom { padding: 0 24px 28px; }
  .hero-title { font-size: clamp(34px, 10vw, 56px); }
  .hero-sub { font-size: 13px; }
  .hero-pill-wrap { padding: 9px 18px; top: 16px; }
  .hero-pill-wrap span { font-size: 15px; }

  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .loc-card { padding: 22px 20px 26px; border-radius: 24px; }
  .loc-flag { font-size: 26px; margin-bottom: 12px; }
  .loc-country { font-size: 20px; }
  .loc-city { font-size: 12px; margin-bottom: 18px; }
  .loc-btn { font-size: 13px; padding: 8px 14px; }
  .loc-status { top: 20px; right: 20px; }

  footer { margin: 40px var(--pad-h) 0; }
  .ft-container { flex-direction: column; gap: 28px; }
  .ft-nav { flex-wrap: wrap; gap: 28px; }
  .ft-brand-name { font-size: 40px; }
  .ft-logo img { height: 44px; }
  .ft-col-title, .ft-link { font-size: 14px; }
}

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