:root {
  --bg: #0f1116;
  --bg-deep: #0b0d12;
  --bg-soft: #161a22;
  --panel: rgba(20, 24, 34, 0.82);
  --panel-strong: rgba(15, 18, 27, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f6fb;
  --muted: #bec6d8;
  --brand: #f04438;
  --brand-2: #ff7a59;
  --radius: 18px;
  --content-width: 1700px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #20283a 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

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

.topbar {
  background: rgba(18, 21, 28, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  width: min(var(--content-width), calc(100% - 1rem));
  margin: 0 auto;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.brand-label {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.3rem;
  flex-wrap: wrap;
}

.menu a {
  color: #dfe5f5;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: #ffffff;
  border-bottom-color: rgba(240, 68, 56, 0.9);
}

.page-hero {
  width: min(var(--content-width), calc(100% - 0.8rem));
  margin: 1.4rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: linear-gradient(145deg, rgba(33, 39, 56, 0.9), rgba(14, 18, 27, 0.95));
}

.page-hero h1 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

.content {
  width: min(var(--content-width), calc(100% - 0.8rem));
  margin: 1.4rem auto 3.5rem;
}

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

.card {
  background: linear-gradient(160deg, rgba(33, 38, 53, 0.9), rgba(18, 22, 31, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.media-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.media-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111521;
}

.media-card h2,
.media-card h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.media-card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.67rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(240, 68, 56, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f8f9ff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #0c0c0f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 0.45rem 0.72rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appstore-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.appstore-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.appstore-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.appstore-small {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  opacity: 0.88;
}

.appstore-strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.embed {
  width: 100%;
  max-width: 100%;
  margin-top: 0.95rem;
  border: none;
  border-radius: 12px;
  height: 152px;
}

.legal-card {
  background: linear-gradient(160deg, rgba(33, 38, 53, 0.84), rgba(14, 18, 27, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem;
  line-height: 1.72;
}

.legal-card h2 {
  margin: 0 0 0.8rem;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
}

.legal-card p {
  margin: 0.6rem 0;
  color: var(--muted);
}

.legal-card strong,
.legal-card a {
  color: #ffffff;
}

.contact-card {
  width: min(760px, 100%);
  margin: 0 auto;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

label {
  font-weight: 700;
  color: #d6deef;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.19);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 12px;
  padding: 0.78rem 0.88rem;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  color: #aab2c6;
  padding: 1.8rem 1rem 2.2rem;
  background: rgba(8, 9, 13, 0.92);
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 0.7rem;
  display: inline-flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  color: #d7deef;
}

.footer-links a:hover {
  color: #ffffff;
}

.hero-wrap {
  min-height: 92vh;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.88) 18%, rgba(5, 7, 11, 0.45) 58%, rgba(5, 7, 11, 0.75) 100%),
    var(--hero-image) var(--hero-position, 68% center) / cover no-repeat;
  display: flex;
  flex-direction: column;
}

.hero {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 4.4rem 0 5.4rem;
}

.hero-panel {
  background: linear-gradient(145deg, rgba(7, 9, 15, 0.75), rgba(7, 9, 15, 0.5));
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  max-width: 700px;
  padding: 2rem 2.15rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd3c7;
  border: 1px solid rgba(240, 68, 56, 0.42);
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  margin-bottom: 1rem;
  font-weight: 700;
  background: rgba(240, 68, 56, 0.14);
}

.hero h1 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.05rem, 5.8vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 58ch;
}

@media (max-width: 980px) {
  .nav {
    min-height: 84px;
    padding: 0.55rem 0;
  }

  .menu {
    gap: 0.7rem 0.9rem;
  }

  .menu a {
    font-size: 0.9rem;
  }

  .hero {
    padding-bottom: 3.2rem;
  }

  .hero-panel {
    padding: 1.3rem 1.15rem;
  }

  .page-hero,
  .content {
    width: calc(100% - 0.5rem);
  }

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

  .media-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .media-card img {
    width: 84px;
    height: 84px;
  }
}
