* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1220;
  --bg-soft: #111b2f;
  --text: #f8fafc;
  --muted: #aeb9ca;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #d8b36a;
  --accent-strong: #f0cc82;
  --card: rgba(255, 255, 255, 0.06);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 22%, rgba(216, 179, 106, 0.10), transparent 30%),
    radial-gradient(circle at 12% 68%, rgba(53, 93, 145, 0.12), transparent 32%),
    linear-gradient(145deg, #08101c 0%, var(--bg) 48%, #0c1525 100%);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 88%);
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: 64px 0 42px;
}

.hero__content {
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 70px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 179, 106, .38);
  border-radius: 14px;
  background: rgba(216, 179, 106, .08);
  box-shadow: inset 0 0 20px rgba(216, 179, 106, .04);
}

.brand__mark svg {
  width: 27px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__name,
.brand__role,
.eyebrow,
.hero__text {
  margin: 0;
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
}

.brand__role {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

h1 {
  max-width: 720px;
  margin: 24px 0 24px;
  font-size: clamp(46px, 5vw, 82px);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 800;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--accent-strong), #f5e0b2 55%, #c99e53);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #142033;
  background: linear-gradient(135deg, #f0d08f, #c89d4f);
  box-shadow: 0 12px 34px rgba(216, 179, 106, .18);
}

.button--primary:hover {
  box-shadow: 0 17px 42px rgba(216, 179, 106, .27);
}

.button--ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  border-color: rgba(216, 179, 106, .32);
  background: rgba(255,255,255,.065);
}

.status {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8793a5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(216, 179, 106, .45);
  animation: pulse 2.2s infinite;
}

.visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.visual__halo {
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(216,179,106,.11);
  background: radial-gradient(circle, rgba(216,179,106,.1), transparent 62%);
  box-shadow:
    0 0 0 48px rgba(255,255,255,.012),
    0 0 0 96px rgba(255,255,255,.008);
  animation: breathe 6s ease-in-out infinite;
}

.city {
  position: relative;
  width: min(520px, 100%);
  height: 520px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.building {
  position: absolute;
  bottom: 72px;
}

.building--main {
  left: 50%;
  width: 220px;
  height: 350px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px 12px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 40%, rgba(255,255,255,.02)),
    linear-gradient(180deg, #1a2940, #101b2d);
  box-shadow: var(--shadow);
  animation: riseMain 1.25s cubic-bezier(.18,.9,.24,1) both .2s;
}

.building--main::before,
.building--main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.035);
}

.building--main::before { left: 33.333%; }
.building--main::after { right: 33.333%; }

.building__roof {
  position: absolute;
  left: 34px;
  right: 34px;
  top: -24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: #15243a;
}

.building__roof::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 3px;
  height: 34px;
  transform: translateX(-50%);
  background: linear-gradient(var(--accent), rgba(216,179,106,.2));
  box-shadow: 0 0 14px rgba(216,179,106,.2);
}

.building__windows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 19px;
  padding: 48px 27px 70px;
}

.building__windows span {
  height: 25px;
  border-radius: 3px;
  background: rgba(112, 143, 180, .12);
  border: 1px solid rgba(132, 162, 195, .09);
  box-shadow: inset 0 0 10px rgba(0,0,0,.1);
  animation: windowOn .6s ease forwards;
  opacity: .15;
}

.building__windows span:nth-child(2),
.building__windows span:nth-child(5),
.building__windows span:nth-child(7),
.building__windows span:nth-child(12),
.building__windows span:nth-child(14) {
  background: rgba(240, 204, 130, .62);
  border-color: rgba(240, 204, 130, .32);
  box-shadow: 0 0 18px rgba(216, 179, 106, .11);
}

.building__windows span:nth-child(1) { animation-delay: .65s; }
.building__windows span:nth-child(2) { animation-delay: .78s; }
.building__windows span:nth-child(3) { animation-delay: .88s; }
.building__windows span:nth-child(4) { animation-delay: .98s; }
.building__windows span:nth-child(5) { animation-delay: 1.08s; }
.building__windows span:nth-child(6) { animation-delay: 1.16s; }
.building__windows span:nth-child(7) { animation-delay: 1.24s; }
.building__windows span:nth-child(8) { animation-delay: 1.32s; }
.building__windows span:nth-child(n+9) { animation-delay: 1.42s; }

.building__door {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 62px;
  transform: translateX(-50%);
  border: 1px solid rgba(216,179,106,.25);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgba(216,179,106,.14), rgba(216,179,106,.04));
}

.building--small {
  width: 120px;
  height: 230px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 22px 17px;
  padding: 34px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px 9px 3px 3px;
  background: linear-gradient(180deg, #142138, #0e1828);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.building--small span {
  height: 21px;
  border-radius: 3px;
  background: rgba(133, 157, 187, .1);
}

.building--left {
  left: 12px;
  transform-origin: bottom;
  animation: riseSideLeft 1.15s cubic-bezier(.18,.9,.24,1) both .42s;
}

.building--right {
  right: 12px;
  height: 270px;
  transform-origin: bottom;
  animation: riseSideRight 1.15s cubic-bezier(.18,.9,.24,1) both .56s;
}

.building--left span:nth-child(3),
.building--right span:nth-child(2),
.building--right span:nth-child(5) {
  background: rgba(216,179,106,.35);
  box-shadow: 0 0 14px rgba(216,179,106,.08);
}

.ground {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: 420px;
  height: 12px;
  transform: translateX(-50%) rotateX(72deg);
  border-radius: 50%;
  background: rgba(216,179,106,.12);
  filter: blur(2px);
  box-shadow: 0 0 32px rgba(216,179,106,.14);
}

.key-card {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 240px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 17px;
  background: rgba(13, 24, 40, .76);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0,0,0,.25);
  animation:
    cardIn .9s cubic-bezier(.18,.9,.24,1) both 1.1s,
    floatCard 4s ease-in-out infinite 2s;
}

.key-card__ring {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(216,179,106,.1);
  border: 1px solid rgba(216,179,106,.22);
}

.key-card svg {
  width: 30px;
  fill: none;
  stroke: var(--accent-strong);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.key-card strong,
.key-card span {
  display: block;
}

.key-card strong {
  font-size: 13px;
  line-height: 1.3;
}

.key-card span {
  margin-top: 3px;
  color: #8f9bae;
  font-size: 11px;
  line-height: 1.45;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: .26;
}

.ambient--one {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 14%;
  background: rgba(216,179,106,.19);
}

.ambient--two {
  width: 220px;
  height: 220px;
  left: -8%;
  bottom: 5%;
  background: rgba(46, 84, 138, .22);
}

.footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #647084;
  font-size: 12px;
}

.footer__separator {
  color: rgba(216,179,106,.6);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .85s cubic-bezier(.2,.75,.25,1) forwards;
}

.reveal--delay-1 { animation-delay: .12s; }
.reveal--delay-2 { animation-delay: .22s; }
.reveal--delay-3 { animation-delay: .34s; }
.reveal--delay-4 { animation-delay: .46s; }
.reveal--delay-5 { animation-delay: .58s; }

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

@keyframes riseMain {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(110px) scaleY(.72);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scaleY(1);
  }
}

@keyframes riseSideLeft {
  from {
    opacity: 0;
    transform: translateY(90px) rotateY(14deg) scaleY(.76);
  }
  to {
    opacity: .88;
    transform: translateY(0) rotateY(14deg) scaleY(1);
  }
}

@keyframes riseSideRight {
  from {
    opacity: 0;
    transform: translateY(90px) rotateY(-14deg) scaleY(.76);
  }
  to {
    opacity: .88;
    transform: translateY(0) rotateY(-14deg) scaleY(1);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216,179,106,.42); }
  70% { box-shadow: 0 0 0 9px rgba(216,179,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(216,179,106,0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.04); opacity: 1; }
}

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
    gap: 18px;
  }

  .brand {
    margin-bottom: 50px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .visual {
    min-height: 540px;
  }

  .city {
    transform: scale(.92);
  }
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }

  .brand {
    margin-bottom: 42px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
  }

  h1 {
    margin-top: 20px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero__text {
    font-size: 15px;
    line-height: 1.68;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .visual {
    min-height: 430px;
    margin-top: 8px;
    overflow: hidden;
  }

  .city {
    width: 500px;
    height: 480px;
    transform: scale(.73);
  }

  .key-card {
    right: 24px;
  }

  .footer {
    width: min(100% - 28px, 1180px);
    flex-wrap: wrap;
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
