@font-face {
    font-family: 'SF';
    src: url(media/fonts/SF-Pro-Display-Semibold.otf);
}

* {
  margin: 0;
  padding: 0;
  font-family: 'SF', sans-serif;
  font-size: 20px;
}

body {
  background-color: black;
}

header {
  background: linear-gradient(rgb(34, 34, 34) 10%, black 90%);
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.header-top img {
  max-width: 150px;
}

.contact-info {
  color: white;
  text-align: center;
  width: 100%;
}

.contact-info p {
  margin: 5px 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: grey;
}

.menu {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: relative;
}

.menu #menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  display: inline-block;
}

.menu a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu a:hover {
  color: grey;
}

.market {
  background-color: black;
  background: transparent;
  border: none;
  position: absolute;
  right: 20px;
  top: 20px;
}

.cart {
  color: white;
  transition: all 0.3s ease;
}

.cart:hover {
  color: grey;
  transition: all 0.3s ease;
}

/* Скрыть меню по умолчанию на мобильных устройствах */
.menu ul {
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .menu ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black;
    padding: 10px 0;
  }

  .menu ul li {
    width: 100%;
    text-align: center;
  }

  .menu ul li a {
    display: block;
    padding: 10px 0;
  }

  .menu #menu-toggle {
    display: block;
  }
}

.gradient-text {
  font-family: 'SF', sans-serif;
  font-size: 38px;
  background: linear-gradient(to right, #454545, white, #454545);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0B2349;
  display: table;
  margin: 20px auto;
}

.gradient-text-2 {
  font-family: 'SF', sans-serif;
  font-size: 48px;
  font-weight: 600;
  background: linear-gradient(90deg, #ffb6ff 0%, #b344ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0B2349;
  display: table;
  margin: 20px auto;
  text-shadow: 0 0 50px #b444ffa7;
  margin-top: -20px;
}

.screen {
  top: -100px;
}

.perform {
  background-image: url('media/img/свечение 3.1.png');
  background-repeat: none;
  background-position: center;
  background-size: cover;
  background-position-y: bottom;
}

.block-1 {
  pointer-events: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow-x: hidden;
}

.block-1 img {
  margin-top: 100px;
  background: transparent;
  display: flex;
  justify-content: center;
  max-width: 100%;
  height: auto;
}

.ekb {
  font-size: 24px;
}

.e img {
  border-radius: 65px;
  max-width: 95%;
}

.block-2 button {
  background-color: #007AFF;
  color: white;
  border: none;
  border-radius: 14px;
  width: 345px;
  height: 50px;
  transition: all 0.3s ease;
  margin-top: 30px;
  margin-bottom: 100px;
  box-shadow: 0 0 15px #007bff75;
}

.block-2 button:hover {
  background-color: white;
  color: black;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px white;
}

.block-2 .dod {
  width: 391px;
  height: 325px;
  margin: 30px;
  padding: 5px;
  color: white;
  background: linear-gradient(rgb(14, 14, 14), rgb(32, 32, 32), rgb(14, 14, 14));
  border-radius: 15px;
  transition: all 0.3s ease;
}

.block-2 .dod center {
  padding-top: 20px;
}

.block-2 .dod center img {
  margin-top: 30px;
}

.block-2 .dod center p {
  margin-top: 10px;
  margin-bottom: 0px;
}

.block-2 .dod:hover {
  margin: 50px;
  box-shadow: 0 0 25px #4b4a4a75;
  transition: all 0.3s ease;
}

.block-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.stick-1 {
  background-color: rgb(73, 73, 73);
  width: 50px;
  height: 7px;
  border-radius: 4px;
  margin-top: -10px;
}

.stick-2 {
  background-color: white;
  width: 150px;
  height: 7px;
  border-radius: 4px;
  margin-top: 60px;
}

.carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px;
}

.carousel p {
  color: white;
}

img {
  background: transparent;
}

.card-1 {
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 25px 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 15px;
  width: 280px;
  max-width: 100%;
}

.card-1 img {
  height: auto;
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.card-1 .product-info {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.card-1 .product-info .name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.card-1 .product-info .price {
  font-size: 18px;
  font-weight: 500;
  color: #666;
}

.card-1 button {
  background-color: #007AFF;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-1 button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 122, 255, 0.4);
}

.card-1 a {
  color: #007AFF;
  text-decoration: none;
  margin-top: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.card-1 a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.card-1:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-1:hover img {
  transform: scale(1.05);
}

.relative {
  position: relative;
}

.block-4 {
  margin-top: auto;
  max-width: 100%;
}

.block-4 img {
  max-width: 350px;
}

.block-finale {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.e {
  position: relative;
  margin-top: 10px;
  max-width: 100%;
}

.open {
  margin-top: 15px;
  position: absolute;
  top: 82%;
  left: 8%;
  width: 167px;
  height: 38px;
  border-radius: 15px;
  border-style: none;
  background-color: #007AFF;
  color: white;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px #007bff75;
}

.open:hover {
  background-color: white;
  color: black;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px white;
}

footer {
  margin-top: 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(32, 32, 32);
  padding: 50px;
}

footer p {
  color: white;
  display: flex;
  justify-content: center;
}

footer a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: grey;
  transition: all 0.3s ease;
}

.site-footer {
  background-color: #f5f5f7;
  color: #1d1d1f;
  padding: 40px 0 20px;
  width: 100%;
  border-top: 1px solid #d2d2d7;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1;
  margin-right: 20px;
}

.footer-column:last-child {
  margin-right: 0;
}

.footer-column h4 {
  font-size: 0.8em;
  color: #86868b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #007aff;
}

.social-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid #d2d2d7;
  padding-top: 20px;
  text-align: center;
  color: #86868b;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 0.8em;
  color: #333;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-legal-links a {
  color: #86868b;
  text-decoration: none;
  font-size: 0.8em;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #007aff;
}

.trade-in-container {
  max-width: 1300px;
  width: 100%;
  text-align: center;
  margin: 80px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.trade-in-container h2 {
  color: #e0e0e0;
  margin-bottom: 40px;
  font-size: 2.5em;
}

.benefits-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.benefit-card {
  background: linear-gradient(135deg, rgba(40, 40, 50, 0.9) 0%, rgba(30, 30, 40, 0.9) 100%);
  border-radius: 20px;
  padding: 30px;
  width: 250px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  transform: perspective(1000px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 100, 150, 0.2);
}

.benefit-card:hover {
  transform: scale(1.05) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, rgba(50, 50, 60, 0.95) 0%, rgba(40, 40, 50, 0.95) 100%);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  fill: #ffffff;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(10deg);
}

.benefit-card h3 {
  color: #d0d0e0;
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: 600;
}

.benefit-card p {
  color: #a0a0c0;
  font-size: 0.9em;
  line-height: 1.5;
  font-weight: 300;
}

.trade-in-details {
  background: linear-gradient(135deg, rgba(40, 40, 50, 0.9) 0%, rgba(30, 30, 40, 0.9) 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  text-align: left;
  border: 1px solid rgba(100, 100, 150, 0.2);
}

.trade-in-details h3 {
  color: #d0d0e0;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.trade-in-details > p {
  color: #a0a0c0;
  margin-bottom: 30px;
}

.trade-in-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.trade-in-step {
  flex: 1;
  position: relative;
  padding-left: 50px;
  color: #a0a0c0;
}

.trade-in-step .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8A4FFF, #6A3AFF);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.gra-text {
  font-family: 'SF', sans-serif;
  font-size: 48px;
  background: linear-gradient(to right, #454545, white, #454545);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0B2349;
  display: table;
  margin: 100px auto;
}

@media (max-width: 768px) {
  header {
    padding: 10px;
  }

  .header-top {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    width: 100%;
    text-align: center;
  }

  .social-links {
    margin-top: 10px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .menu ul {
    flex-direction: column;
    gap: 10px;
  }
}