:root {
  color-scheme: dark;
  --bg: #111113;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #fff8ef;
  --muted: rgba(255, 248, 239, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --gold: #f3c766;
  --green: #36d68a;
  --red: #e63749;
  --black: #09090a;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(54, 214, 138, 0.16), transparent 34rem),
    linear-gradient(135deg, #101012 0%, #171211 44%, #080809 100%);
  color: var(--text);
  font-family: "Segoe UI", "Noto Sans Arabic", "Microsoft Uighur", "UKIJ Tuz", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  overflow: hidden;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.15) contrast(1.05);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 9, 10, 0.28), rgba(9, 9, 10, 0.94) 72%),
    linear-gradient(180deg, rgba(9, 9, 10, 0.25), var(--bg));
}

.hero__content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 86px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #111;
  font-weight: 900;
  font-size: 23px;
  font-family: Georgia, serif;
}

.brand__text {
  font-size: 20px;
  font-weight: 800;
}

.topbar__download {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.hero__grid {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 56px;
  align-items: center;
  padding-top: 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  font-size: 15px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.04;
  font-weight: 950;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.7;
}

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

.primary-action,
.secondary-action,
.card-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 24px;
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-action {
  min-width: 190px;
  background: linear-gradient(135deg, var(--green), #bbf58a);
  color: #06120c;
  box-shadow: 0 16px 40px rgba(54, 214, 138, 0.25);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.primary-action:hover,
.secondary-action:hover,
.card-button:hover {
  transform: translateY(-2px);
}

.device-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.device-frame {
  width: 100%;
  aspect-ratio: 9 / 14;
  max-height: 480px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 12px;
  background: #050506;
}

.device-frame__bar {
  width: 74px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.device-frame__screen {
  height: calc(100% - 17px);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.84)),
    url("/assets/banner.png") center / cover;
  overflow: hidden;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(230, 55, 73, 0.2);
  margin-bottom: 18px;
}

.device-frame__screen strong {
  font-size: 32px;
  font-weight: 950;
  direction: ltr;
  text-align: right;
}

.device-frame__screen p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
}

.status-row strong {
  color: var(--text);
}

.download-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 36px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.14;
}

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

.download-card {
  min-height: 310px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--panel);
}

.download-card.is-featured {
  background: linear-gradient(180deg, rgba(54, 214, 138, 0.2), rgba(255, 255, 255, 0.08));
  border-color: rgba(54, 214, 138, 0.38);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--panel-strong);
  color: var(--gold);
  font-weight: 950;
  direction: ltr;
}

.download-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.download-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.card-button {
  width: 100%;
  border: 0;
  background: var(--text);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
}

.card-button.is-disabled {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
  cursor: not-allowed;
}

.feature-band {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 82px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 176px;
  padding: 26px;
  border-left: 1px solid var(--line);
}

.feature:last-child {
  border-left: 0;
}

.feature span {
  color: var(--gold);
  font-weight: 950;
  direction: ltr;
}

.feature strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 22px;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    width: min(100% - 28px, 680px);
    padding-bottom: 52px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 28px;
  }

  .device-panel {
    display: none;
  }

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

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:last-child {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(9, 9, 10, 0.56), rgba(9, 9, 10, 0.96) 65%, var(--bg));
  }

  .topbar__download {
    display: none;
  }

  .brand__text {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .lead {
    font-size: 18px;
  }

  .hero__actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .download-section {
    width: min(100% - 28px, 680px);
    padding-top: 46px;
  }

  .section-heading {
    display: block;
  }

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

  .download-card {
    min-height: 250px;
  }

  .feature-band {
    width: min(100% - 28px, 680px);
    margin-bottom: 44px;
  }
}

@media (min-width: 1400px) {
  .hero__content,
  .download-section,
  .feature-band {
    width: min(1320px, calc(100% - 72px));
  }
}

@media (pointer: coarse) and (min-width: 1000px) {
  .topbar {
    height: 82px;
  }

  .primary-action,
  .secondary-action,
  .card-button {
    min-height: 68px;
    font-size: 23px;
  }

  .download-card p,
  .feature p {
    font-size: 21px;
  }
}
