/* ===== Base ===== */
:root {
  --primary: #7b1fa2;
  --primary-dark: #5e1480;
  --accent: #9c27b0;
  --dark: #25103a;
  --gray: #66607a;
  --light: #f7f3fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(123, 31, 162, 0.14);
}

* { 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(--dark);
  line-height: 1.6;
  background: var(--white);
}

.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(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e7efed;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
}

.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ec4899, #7b1fa2);
  color: #fff;
  font-weight: 800;
}

.logo__text { color: var(--primary-dark); display: flex; flex-direction: column; line-height: 1; }
.logo__text small { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--accent); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: #e9b8f5; }

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

.nav__link {
  font-weight: 500;
  color: var(--gray);
  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(--dark);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #f6ecfb 0%, #f7f3fb 100%);
  padding: 70px 0;
}

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

.badge {
  display: inline-block;
  background: rgba(123, 31, 162, 0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero__title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero__title span { color: var(--primary); }

.hero__text {
  color: var(--gray);
  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: 32px;
  background: linear-gradient(160deg, #c2185b 0%, #8e24aa 45%, #5e1480 100%);
  box-shadow: 0 24px 60px rgba(94, 20, 128, 0.4);
  border: 8px solid #1a0a26;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero__phone-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  font-size: 54px;
  font-weight: 800;
  border-radius: 24px;
  background: linear-gradient(135deg, #f472b6, #a855f7);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.hero__phone h3 { font-size: 24px; font-weight: 800; letter-spacing: 0.5px; }
.hero__phone p { color: rgba(255, 255, 255, 0.85); 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, background 0.2s;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
}
.btn--ghost:hover { background: var(--light); }

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

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

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

.about { background: var(--white); }

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

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

.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid #e7efed;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon {
  font-size: 30px;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(123, 31, 162, 0.1);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: 15px; }

/* ===== Download ===== */
.download {
  background: linear-gradient(135deg, #c2185b 0%, #8e24aa 50%, #5e1480 100%);
  color: #fff;
}
.download .section__title,
.download .section__lead { color: #fff; }

.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: #0c1f1b;
  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: var(--dark); color: #cdded9; }

.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: #cdded9;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  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: #fff;
    padding: 18px 20px;
    gap: 16px;
    border-bottom: 1px solid #e7efed;
    display: none;
  }
  .nav.open { display: flex; }
  .nav__toggle { display: flex; }
  .hero__title { font-size: 32px; }
  .features__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand p { margin-left: auto; margin-right: auto; }
}
