/* === Основные переменные и базовые стили === */
:root {
  --primary: #e53949;
  --secondary: #18141d;
  --accent: #ffb400;
  --text: #fff;
  --text-dark: #18141d;
  --bg: #1a1622;
  --card: #23202a;
  --radius: 18px;
  --shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  --transition: 0.3s cubic-bezier(.4,2,.6,1);
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 0 0 0.5em 0;
}

p {
  margin: 0 0 1em 0;
  line-height: 1.6;
}

button, .btn {
  background: var(--primary);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  padding: 1em 2em;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
}
button:hover, .btn:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: translateY(-2px) scale(1.04);
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 5vw 1em 5vw;
  background: linear-gradient(90deg, var(--secondary) 60%, transparent 100%);
  position: relative;
  z-index: 10;
}
.header__nav {
  display: flex;
  gap: 2em;
}
.header__nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: color var(--transition);
}
.header__nav a:hover {
  color: var(--accent);
}
.header__download {
  margin-left: 2em;
}

/* === Hero === */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__img {
  width: 220px;
  margin-bottom: 2em;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.hero__title {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}
.hero__desc {
  font-size: 1.2em;
  max-width: 500px;
  margin: 0 auto 2em auto;
}
.hero__cta {
  margin-top: 1.5em;
}

/* Абсолютные тематические SVG/картинки */
.hero__decor {
  position: absolute;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
}
.hero__decor--ball {
  top: 10%;
  left: 5%;
  width: 120px;
}
.hero__decor--star {
  bottom: 8%;
  right: 8%;
  width: 80px;
}

/* === How It Works === */
.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  margin: 4em 5vw;
  box-shadow: var(--shadow);
  padding: 3em 2em;
  position: relative;
}
.how__steps {
  display: grid;
  gap: 2em;
}
.how__step {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 1.5em 1em;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  display: flex;
  align-items: flex-start;
  gap: 1.2em;
  position: relative;
}
.how__step-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.how__img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
}

/* === Features === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  margin: 4em 5vw;
}
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2em 1.5em;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.feature__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1em;
}

/* === Mockups === */
.mockups {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: flex-end;
  margin: 4em 5vw;
  position: relative;
}
.mockup {
  background: var(--secondary);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 1.5em 1em 2em 1em;
  width: 180px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mockup__img {
  width: 90%;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
}

/* === Testimonials === */
.testimonials {
  background: var(--card);
  border-radius: var(--radius);
  margin: 4em 5vw;
  padding: 3em 2em;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  position: relative;
}
.testimonial {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 2em 1.5em;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-height: 180px;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 1em;
  object-fit: cover;
}
.testimonial__name {
  font-weight: 700;
  margin-bottom: 0.5em;
}

/* === CTA === */
.cta {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  border-radius: var(--radius);
  margin: 4em 5vw;
  padding: 3em 2em;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.cta__title {
  font-size: 2em;
  margin-bottom: 1em;
}

/* === Footer === */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 5vw 1em 5vw;
  background: var(--secondary);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 4em;
  position: relative;
  z-index: 10;
}
.footer__nav {
  display: flex;
  gap: 2em;
}
.footer__nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: color var(--transition);
}
.footer__nav a:hover {
  color: var(--accent);
}
.footer__download {
  margin-left: 2em;
}

/* === Адаптивность === */
@media (max-width: 900px) {
  .header__nav,.footer__nav{
    flex-direction: column;
    align-items: center;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 2em;
    padding: 2em 1em;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .header, .footer {
    flex-direction: column;
    gap: 1em;
    padding: 1.5em 2vw 1em 2vw;
  }
}
@media (max-width: 600px) {
  .hero__title { font-size: 1.5em; }
  .hero__desc { font-size: 1em; }
  .how, .features, .mockups, .testimonials, .cta {
    margin: 2em 2vw;
    padding: 1.5em 0.5em;
  }
  .mockup {
    width: 120px;
    height: 220px;
    padding: 0.5em;
  }
}

/* === Дополнительные декоративные SVG === */
.decor-svg {
  position: absolute;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
} 