/* ===== Base ===== */
:root {
  --primary: #a855f7;
  --primary-dark: #7c3aed;
  --accent: #ec4899;
  --bg: #0e0b18;
  --bg-soft: #16121f;
  --card: #1c1727;
  --border: #2a2338;
  --text: #f3f0fa;
  --muted: #a59fb5;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(168, 85, 247, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 11, 24, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
}

.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
}

.logo__text { color: var(--text); }

.nav { display: flex; gap: 28px; }

.nav__link {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--primary); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(168, 85, 247, 0.25), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(236, 72, 153, 0.18), transparent 55%),
    var(--bg);
  padding: 80px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.15);
  color: #d8b6ff;
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero__title {
  font-size: 46px;
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero__title span {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__text {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 520px;
}

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

.hero__art { display: flex; justify-content: center; }

.hero__phone {
  width: 240px;
  height: 440px;
  border-radius: 34px;
  background: linear-gradient(160deg, #241a3a 0%, #140f22 100%);
  box-shadow: var(--shadow);
  border: 8px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero__phone-img {
  width: 165px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}
.hero__phone h3 { font-size: 24px; font-weight: 800; letter-spacing: 3px; }
.hero__phone p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-2px); opacity: 0.95; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Sections ===== */
.section { padding: 80px 0; }

.section__title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 22px;
}

.section__lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
  margin: 0 auto 16px;
  text-align: center;
}

.about { background: var(--bg-soft); }

/* ===== Features ===== */
.features { background: var(--bg); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(168, 85, 247, 0.5);
}
.feature__icon {
  font-size: 30px;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.12);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== Download ===== */
.download {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
  color: #fff;
}
.download .section__lead { color: rgba(255, 255, 255, 0.9); }

.download__inner { text-align: center; }

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0e0b18;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  transition: transform 0.15s, background 0.2s;
}
.store-btn:hover { transform: translateY(-2px); background: #000; }
.store-btn__icon { font-size: 26px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-btn__text small { font-size: 11px; opacity: 0.8; }
.store-btn__text strong { font-size: 17px; }

/* ===== Footer ===== */
.footer { background: #0a0813; color: var(--muted); }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding: 56px 20px 36px;
}

.footer__brand p { margin-top: 14px; max-width: 320px; }

.footer__col h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer__col a {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--primary); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 14px;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    padding: 18px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav__toggle { display: flex; }
  .hero__title { font-size: 34px; }
  .features__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand p { margin-left: auto; margin-right: auto; }
}
