:root {
  --purple-primary: #6B4FD8;
  --purple-dark: #5239B8;
  --green-primary: #4CAF50;
  --yellow-primary: #D4FF00;
  --beige: #F5F1E8;
  --white: #FFFFFF;
  --black: #000000;
  --text-primary: #333333;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  background: var(--beige);
  border-top: 4px solid #4F3AD0;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 80px;
  height: auto;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.nav-btn {
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 48px;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.nav-btn-lavender {
  background: #C27DE7;
}

.nav-btn-purple {
  background: #4F3AD0;
}

.nav-btn-green {
  background: #008450;
}


.hero {
  background: #5239B8;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  color: var(--yellow-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  font-size: 16px;
  color: var(--white);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-arrow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--yellow-primary);
  clip-path: polygon(50% 0%, 56% 28%, 80% 5%, 68% 32%, 100% 30%, 72% 46%, 95% 68%, 64% 58%, 75% 90%, 50% 66%, 28% 92%, 38% 58%, 5% 72%, 30% 48%, 0% 32%, 34% 34%, 18% 8%, 42% 30%);
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.hero-image {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.about {
  background: var(--beige);
  padding: 60px 20px;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--yellow-primary);
  clip-path: polygon(50% 0%, 56% 28%, 80% 5%, 68% 32%, 100% 30%, 72% 46%, 95% 68%, 64% 58%, 75% 90%, 50% 66%, 28% 92%, 38% 58%, 5% 72%, 30% 48%, 0% 32%, 34% 34%, 18% 8%, 42% 30%);
  left: -100px;
  bottom: -120px;
  opacity: 1;
  z-index: 0;
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--purple-primary);
  margin-bottom: 24px;
  line-height: 1.1;
}

.about-text {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: justify;
}

.about-team-text {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 20px;
  text-align: justify;
}

.about-image-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  max-width: 100%;
  height: auto;
}

.territory {
  background: #008450;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.territory-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.territory-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.territory-title-top,
.territory-title-bottom {
  font-family: 'Unbounded', sans-serif;
  font-size: 64px;
  font-weight: 600;
  color: #BAF401;
  line-height: 0.9;
  text-transform: uppercase;
}

.territory-title-bottom {
  font-size: 64px;
}

.territory-candy {
  position: absolute;
  height: auto;
  z-index: 1;
}

.territory-candy-1 {
  max-width: 290px;
  bottom: 0;
  left: 0px;
}

.territory-candy-2 {
  max-width: 400px;
  top: 0;
  right: 65%;
}

.territory-candy-3 {
  max-width: 250px;
  top: 0;
  right: 20%;
}

.territory-candy-4 {
  max-width: 250px;
  right: 0;
}

.features {
  background: var(--beige);
  padding: 60px 20px;
}

.features-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.features-content {
  flex: 1;
}

.features-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--purple-primary);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-item {
  padding: 0;
}


.feature-heading {
  font-size: 20px;
  font-weight: 700;
  color: #4F3AD0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.feature-description {
  font-size: 14px;
  color: var(--text-primary);
}

.features-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.features-image-wrapper::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--purple-primary);
  clip-path: polygon(50% 0%, 56% 28%, 80% 5%, 68% 32%, 100% 30%, 72% 46%, 95% 68%, 64% 58%, 75% 90%, 50% 66%, 28% 92%, 38% 58%, 5% 72%, 30% 48%, 0% 32%, 34% 34%, 18% 8%, 42% 30%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.8;
}

.features-star {
  position: absolute;
  width: 120px;
  height: auto;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.features-image {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.products {
  padding: 60px 20px;
  background: var(--white);
  overflow: hidden;
}

.products-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-card {
  border-radius: 24px;
  padding: 40px 24px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}

.product-card-strichka {
  background: var(--green-primary);
}

.product-card-jelly {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
}

.product-content {
  z-index: 2;
  position: relative;
}

.product-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.product-description {
  font-size: 16px;
  color: var(--white);
  max-width: 400px;
}

.product-image {
  position: absolute;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.product-image-stick {
  width: 140px;
  bottom: 100px;
  left: 20px;
  transform: rotate(-30deg);
  z-index: 2;
}

.product-image-box {
  width: 280px;
  bottom: -40px;
  left: -20px;
  transform: rotate(-5deg);
  z-index: 1;
}

.product-image-candies {
  width: 180px;
  bottom: -10px;
  left: 40px;
  z-index: 1;
}

.product-image-jar {
  width: 200px;
  top: -40px;
  right: -10px;
  z-index: 2;
}

.footer {
  background: #008450;
  padding: 60px 20px;
  color: var(--white);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-text {
  font-size: 16px;
  margin-bottom: 32px;
}

.footer-socials {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--yellow-primary);
  transform: translateY(-4px);
}

.footer-candy {
  position: absolute;
  max-width: 140px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.footer-candy-1 {
  bottom: 0;
  left: -30px;
}

.footer-candy-2 {
}

.footer-candy-3 {
  bottom: -70px;
  right: -50px;
  transform: rotate(0deg);
}

@media (min-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    width: 100px;
  }

  .nav {
    flex-direction: row;
    width: auto;
  }

  .nav-btn {
    width: auto;
    padding: 12px 28px;
    border-radius: 50px;
  }

  .hero {
    padding: 80px 40px;
  }

  .hero-container {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .hero-content {
    flex: 1;
    text-align: left;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-subtitle {
    font-size: 19px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-image-wrapper {
    flex: 1;
  }

  .hero-arrow {
    width: 400px;
    height: 400px;
  }

  .about {
    padding: 80px 40px;
  }

  .about-container {
    flex-direction: row;
    gap: 60px;
  }

  .about-title {
    font-size: 64px;
  }

  .about-text {
    font-size: 18px;
  }

  .about-team-text {
    font-size: 18px;
  }

  .territory-title-top,
  .territory-title-bottom {
    font-size: 100px;
  }

 
  .features {
    padding: 80px 0 0 40px;
    overflow: hidden;
  }

  .features-container {
    flex-direction: row;
    gap: 60px;
  }

  .features-title {
    font-size: 72px;
  }

  .features-list {
    grid-template-columns: 1fr 1fr;
  }

  .feature-heading {
    font-size: 23px;
  }

  .feature-description {
    font-size: 18px;
  }

  .features-star {
    width: 160px;
    top: 40px;
    right: 40px;
  }

  .products {
    padding: 80px 40px;
  }

  .products-container {
    flex-direction: row;
    gap: 32px;
  }

  .product-card {
    flex: 1;
    min-height: 500px;
  }

  .product-title {
    font-size: 40px;
  }

  .product-description {
    font-size: 18px;
  }

  .product-image-stick {
    width: 200px;
    bottom: 100px;
    left: 20px;
  }

  .product-image-box {
    width: 380px;
    bottom: -50px;
    left: -30px;
  }

  .product-image-candies {
    width: 240px;
    bottom: -20px;
    left: 30px;
  }

  .product-image-jar {
    width: 280px;
    top: -80px;
    right: -20px;
  }

  .footer {
    padding: 80px 40px;
  }

  .footer-title {
    font-size: 36px;
  }

  .footer-text {
    font-size: 18px;
  }

  .social-link {
    width: 56px;
    height: 56px;
  }

  .footer-candy {
    max-width: 180px;
  }

  .footer-candy-1 {
    bottom: -70px;
    left: 10%;
  }

  .footer-candy-2 {
    right: 30%;
    max-width: 250px;
  }

  .footer-candy-3 {
    bottom: -110px;
    right: -70px;
    max-width: 260px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 84px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .hero-arrow {
    width: 400px;
    height: 400px;
    right: -60px;
  }

  .about-title {
    font-size: 80px;
  }

  .territory-title-top,
  .territory-title-bottom {
    font-size: 105px;
  }

  .features-title {
    font-size: 105px;
  }

  .product-card {
    min-height: 550px;
  }

  .product-title {
    font-size: 48px;
  }

  .product-image-stick {
    width: 260px;
    bottom: 100px;
    left: 30px;
  }

  .product-image-box {
    width: 480px;
    bottom: -60px;
    left: -30px;
  }

  .product-image-candies {
    width: 300px;
    bottom: -30px;
    left: 40px;
  }

  .product-image-jar {
    width: 350px;
    top: -120px;
    right: -30px;
  }

  .footer {
    min-height: 416px;
  }

  .footer-candy-1 {
    max-width: 290px;
    left: 19%;
    bottom: 0;
  }

  .footer-candy-2 {
    top: 0;
    max-width: 370px;
    right: 25%;
  }

  .footer-candy-3 {
    max-width: 401px;
    right: 0%;
    top: 47px;
    bottom: auto;
  }
}
