:root {
  --bg: #080b0d;
  --panel: #111719;
  --text: #f7f1e6;
  --muted: #aeb7b4;
  --accent: #e8c15e;
  --accent-deep: #b7792b;
  --danger: #e65c41;
  --ring: rgba(232, 193, 94, 0.48);
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100dvh;
}

img,
video {
  display: block;
}

.page-shell {
  width: 100%;
  height: 100dvh;
  min-height: 520px;
  display: grid;
  grid-template-rows: minmax(300px, 62dvh) 1fr;
  background:
    radial-gradient(circle at 14% 92%, rgba(230, 92, 65, 0.16), transparent 34%),
    linear-gradient(180deg, #080b0d 0%, #101719 100%);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.04) 48%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 54%, rgba(8, 11, 13, 0.92) 100%);
}

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

.topbar {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.language-select {
  width: 72px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: var(--text);
  background: rgba(8, 11, 13, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  text-align: center;
  cursor: pointer;
}

.language-select:focus-visible,
.cta-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.video-orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -6vw;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--ring);
  background: #050607;
  box-shadow:
    0 0 0 12px rgba(8, 11, 13, 0.18),
    0 24px 58px rgba(0, 0, 0, 0.58);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conversion-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5dvh, 14px);
  padding: clamp(14px, 2.4dvh, 24px) 18px clamp(18px, 3dvh, 30px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.2) 0%, rgba(8, 11, 13, 0.96) 26%),
    var(--panel);
}

.app-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
}

.app-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}

.platform-text {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.headline {
  width: min(900px, 100%);
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 5.4dvh, 56px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

.subheadline {
  width: min(600px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 2dvh, 18px);
  line-height: 1.35;
  text-wrap: balance;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(420px, calc(100vw - 36px));
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  color: #151009;
  background: linear-gradient(180deg, #ffe58f 0%, var(--accent) 42%, var(--accent-deep) 100%);
  box-shadow:
    0 18px 34px rgba(183, 121, 43, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  font-size: clamp(18px, 2.6dvh, 24px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.cta-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 22px 40px rgba(183, 121, 43, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.cta-button:active {
  transform: translateY(1px);
}

@media (max-width: 720px) {
  .page-shell {
    min-height: 480px;
    grid-template-rows: minmax(265px, 56dvh) 1fr;
  }

  .topbar {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .video-orbit {
    width: min(72vw, 380px);
    right: -28vw;
    border-width: 4px;
  }

  .hero-image {
    object-position: 43% top;
  }

  .conversion-panel {
    gap: 8px;
    padding-inline: 14px;
  }

  .app-row {
    min-height: 36px;
  }

  .app-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-height: 620px) {
  .page-shell {
    grid-template-rows: minmax(240px, 52dvh) 1fr;
  }

  .subheadline {
    display: none;
  }

  .cta-button {
    min-height: 52px;
  }
}
