.policy,
.success {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

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

/* Import Wix Madefor Display Font */
@import url("https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Wix Madefor Display", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1a1a;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: #ff6b6b;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/hero-bg.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero__content {
  z-index: 2;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__button img {
  height: 60px;
  transition: transform 0.3s ease;
}

.hero__button:hover img {
  transform: scale(1.05);
}

.hero__visual {
  position: relative;
  z-index: 1;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: #222222;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.about__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
}

.about__text {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about__visual {
  display: flex;
  justify-content: flex-end;
}

.about__button {
  display: inline-block;
  margin-top: 2rem;
}

.about__button img {
  height: 50px;
  transition: transform 0.3s ease;
}

.about__button:hover img {
  transform: scale(1.05);
}

/* Mechanics Section */
.mechanics {
  padding: 6rem 0;
  background: #1a1a1a;
}

.mechanics__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mechanics__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
}

.mechanics__list {
  list-style: none;
  margin-bottom: 2rem;
}

.mechanics__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.mechanics__icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.mechanics__icon--red {
  background: #ff6b6b;
}

.mechanics__icon--green {
  background: #4ecdc4;
}

.mechanics__icon--black {
  background: #333333;
}

.mechanics__icon--orange {
  background: #ffa726;
}

.mechanics__text {
  color: #cccccc;
  line-height: 1.6;
}

.mechanics__text strong {
  color: #ffffff;
}

.mechanics__footer {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.mechanics__button img {
  height: 50px;
  transition: transform 0.3s ease;
}

.mechanics__button:hover img {
  transform: scale(1.05);
}

/* Advantages Section */
.advantages {
  padding: 6rem 0;
  background: #222222;
}

.advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.advantages__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #ffffff;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.advantages__card {
  background: #ff6b6b;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.advantages__card:hover {
  transform: translateY(-5px);
}

.advantages__card--strategy {
  background: #ff6b6b;
}

.advantages__card--mobile {
  background: #ff6b6b;
}

.advantages__card--unique {
  background: #ff6b6b;
}

.advantages__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.advantages__card-text {
  color: #ffffff;
  line-height: 1.6;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: #1a1a1a;
}

.testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #ffffff;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonials__card {
  background: #2d2d2d;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #4ecdc4;
  transition: transform 0.3s ease;
}

.testimonials__card:hover {
  transform: translateY(-3px);
}

.testimonials__text {
  color: #cccccc;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonials__author {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/contact-bg.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.contact__content {
  margin: 0 auto;
}

.contact__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: center;
}

.contact__description {
  color: #cccccc;
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.contact__input {
  padding: 1rem;
  border: 2px solid #444444;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact__input::placeholder {
  color: #999999;
}

.contact__input:focus {
  outline: none;
  border-color: #ff6b6b;
}

.contact__button {
  padding: 1rem 2rem;
  background: #ff6b6b;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact__button:hover {
  background: #e55555;
}

/* Footer */
.footer {
  background: #111111;
  padding: 2rem 0;
  text-align: center;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer__social-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer__social-link:hover img {
  transform: scale(1.2);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer__link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__copyright {
  color: #999999;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-top: 1px solid #333333;
  padding: 2rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-popup__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cookie-popup__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cookie-popup__text {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cookie-popup__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-popup__button {
  padding: 0.8rem 1.5rem;
  border: 2px solid #333333;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-popup__button--accept {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

.cookie-popup__button--accept:hover {
  background: #e6e6e6;
}

.cookie-popup__button--customize {
  background: #333333;
  color: #ffffff;
  border-color: #333333;
}

.cookie-popup__button--customize:hover {
  background: #444444;
}

.cookie-popup__button--more:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navigation */
  .nav__menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    padding: 2rem;
  }

  .nav__menu.active {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Hero */
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  /* About */
  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Mechanics */
  .mechanics__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Contact */
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Cookie Popup */
  .cookie-popup__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cookie-popup__button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 1rem;
  }

  .hero__container,
  .about__container,
  .mechanics__container,
  .advantages__container,
  .testimonials__container,
  .contact__container {
    padding: 0 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .about__title,
  .mechanics__title,
  .advantages__title,
  .testimonials__title,
  .contact__title {
    font-size: 2rem;
  }

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

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

  .footer__links {
    flex-direction: column;
    gap: 1rem;
  }
}
