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

body {
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Desktop Preview */
.desktop {
  min-height: 100vh;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Родительский контейнер с position: relative */
.reviewSwiper {
  max-width: 340px;
  width: 100%;
  /* margin: 0 auto 16px; */
}

.review-carousel-wrapper {
  max-width: 340px;
  width: calc(100% - 48px);
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Пагинация под слайдами */
.review-pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.review-pagination-wrapper .swiper-pagination-bullet {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 3px;
  transition: all 0.3s ease;
}

.review-pagination-wrapper .swiper-pagination-bullet-active {
  background: #f6c538;
  box-shadow: 0 0 8px rgba(246, 197, 56, 0.4);
}

/* Все точки (пустые) */
.swiper-pagination-bullet {
  width: 4px;
  height: 4px;
  background: rgb(255, 255, 255); /* прозрачный / пустой */
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Активная точка */
.swiper-pagination-bullet-active {
  background: #f6c538; /* золотой цвет */
  box-shadow: 0 0 8px rgba(246, 197, 56, 0.4); /* светящийся эффект */
  width: 4px;
  height: 4px;
}

/* Language Switcher - Shows target language */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f6c538;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(246, 197, 56, 0.3);
  transform: translateY(-1px);
}

.lang-btn:active {
  transform: translateY(0);
}

/* Desktop Content - Hidden completely */
.desktop-content {
  display: none;
}

/* Mobile Frame */
.phone {
  width: 430px;
  background: #000000;
  color: #fff;
  padding: 32px 0 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: 24px;
}

/* Realistic grain/noise texture overlay */
.phone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  background-size:
    100% 100%,
    100% 100%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Additional noise layer */
.phone::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%, 0%);
  }
  70% {
    transform: translate(0%, 15%);
  }
  80% {
    transform: translate(3%, 35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}

.phone > * {
  position: relative;
  z-index: 2;
}

/* Header - 4 font sizes: SPEKTO (large), Hero (medium-large), Main (medium), Details (small) */
.brand {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

h1 {
  text-align: center;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(246, 197, 56, 0.7);
  margin: 0 0 8px;
}

.meta {
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 16px 0;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.carousel-container:active {
  cursor: grabbing;
}

/* .image-carousel {
  margin: 0 0 0 0;
} */

.image-carousel {
  width: 100%;
  margin-left: 0;
  margin-right: -24px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* Image Carousel - Larger and blending with background */
.image-carousel .carousel-slide img {
  width: 100%;
  height: 280px;
  /* object-fit: cover; */
  object-fit: contain;
  /* object-position: center center; */
  background: black;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0.8) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0.8) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Dots - Changed from dashes to ... */
.dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dots span {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span:hover {
  background: rgba(255, 255, 255, 0.5);
}

.dots .active {
  background: #f6c538;
  width: 4px;
  height: 4px;
  box-shadow: 0 0 8px rgba(246, 197, 56, 0.4);
}

/* Subtitle */
.subtitle {
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin: 18px 0 16px;
  letter-spacing: 0.2px;
}

/* Review Carousel - Match visual button width */
.review-carousel {
  margin: 0 auto 16px;
  width: calc(100% - 48px);
  max-width: 340px;
}

.review-slide {
  padding: 0;
}

.review {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-height: 68px;
  max-width: 340px;
}

/* Removed quote icon */
.review p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 6px;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.reviewer {
  display: block;
  font-size: 13px;
  color: rgba(246, 197, 56, 0.7);
  font-weight: 400;
}

.review-carousel .dots {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 16px;
}

/* Buttons - Wider */
.buttons {
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 340px;
}

.btn {
  width: 100%;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
}

.btn:active {
  transform: scale(0.98);
}

.primary {
  background: linear-gradient(135deg, #f6c538 0%, #dda41f 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(246, 197, 56, 0.25);
}

.primary:hover {
  box-shadow: 0 6px 30px rgba(246, 197, 56, 0.35);
  transform: translateY(-2px);
}

.primary svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  position: absolute;
  left: 0;
  margin-left: 32px;
}

.btn-main {
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}

.btn small {
  display: block;
  font-size: 11px;
  opacity: 0.65;
  font-weight: 400;
  margin-top: 2px;
  text-align: left;
}

.secondary {
  background: transparent;
  border: 1.5px solid rgba(246, 197, 56, 0.3);
  color: rgba(246, 197, 56, 0.7);
  backdrop-filter: blur(10px);
}

.secondary:hover {
  border-color: #f6c538;
  background: rgba(246, 197, 56, 0.05);
  box-shadow: 0 0 20px rgba(246, 197, 56, 0.15);
}

/* Divider - Same width as buttons */
.divider {
  margin: 20px auto 16px;
  width: calc(100% - 48px);
  max-width: 312px;
  height: 1px;
}

.divider::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer - Same width as buttons */
.footer {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 340px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #f6c538;
}

.footer-link svg {
  width: 18px;
  height: 18px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .desktop {
    padding: 0;
    align-items: flex-start;
  }

  .phone {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  h1 {
    font-size: 34px;
  }
}
