*, *::before, *::after { box-sizing: border-box; }

body {
  background: #030014;
  color: #e2e0ea;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 600px; height: 600px;
  background: rgba(99, 55, 210, 0.18);
  top: -10%; left: -10%;
  animation: float-orb 18s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: rgba(219, 39, 119, 0.12);
  bottom: 10%; right: -8%;
  animation: float-orb 22s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: rgba(59, 130, 246, 0.1);
  top: 50%; left: 40%;
  animation: float-orb 25s ease-in-out infinite 3s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.glass {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-strong {
  background: linear-gradient(145deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 25%, #f472b6 50%, #fb923c 75%, #facc15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-subtle {
  background: linear-gradient(to right, #c4b5fd, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-glow {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #a78bfa, #ec4899, #f97316);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-glow:hover::before { opacity: 1; }

.btn-white {
  background: #ffffff;
  color: #7c3aed;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.btn-white:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255,255,255,0.2);
}

.feature-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124,58,237,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.section-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}
.section-card:hover {
  border-color: rgba(167, 139, 250, 0.2);
  background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e2e0ea;
  transition: background 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.faq-btn:hover { background: rgba(255,255,255,0.03); }
.faq-btn .chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-btn.open .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.product-glow {
  position: relative;
}
.product-glow::after {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.25) 0%, transparent 70%);
  z-index: -1;
  filter: blur(30px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.lang-pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  color: #c4b5fd;
  margin: 0.15rem;
  transition: all 0.2s ease;
}
.lang-pill:hover {
  background: rgba(124,58,237,0.25);
  transform: scale(1.05);
}
@media (min-width: 640px) {
  .lang-pill {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
  }
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(167,139,250,0.2), transparent);
}

.sticky-footer {
  background: linear-gradient(180deg, rgba(3,0,20,0) 0%, rgba(3,0,20,0.95) 30%, #030014 100%);
  pointer-events: none;
}
.sticky-footer > div {
  pointer-events: auto;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(219,39,119,0.1) 100%);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
}

.star-filled { color: #fbbf24; }
.star-empty { color: rgba(255,255,255,0.15); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #030014; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.5); }

.mobile-menu-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu-panel.open {
  max-height: 300px;
}

/* ===== PRO TESTIMONIAL ROW ===== */
.pro-row {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  transition: background 0.3s ease;
}
.pro-row:hover {
  background: rgba(255,255,255,0.03);
}
.pro-row .pro-quote-text {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.65;
}
.pro-row .pro-name {
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.35rem;
}
@media (min-width: 640px) {
  .pro-row .pro-quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .pro-row .pro-name {
    font-size: 0.8rem;
  }
  .pro-row {
    padding: 1.15rem 1.5rem;
  }
}

/* ===== YOUTUBE REVIEW CARD ===== */
.yt-review-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: block;
}
.yt-review-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(124,58,237,0.08);
}
.yt-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}
.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.yt-review-card:hover .yt-thumb-wrap img {
  transform: scale(1.06);
  filter: brightness(1.1);
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}
.yt-thumb-wrap:hover .yt-play-btn {
  background: rgba(124, 58, 237, 0.35);
}
.yt-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yt-thumb-wrap:hover .yt-play-icon {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
}
.yt-play-icon svg {
  width: 22px;
  height: 22px;
  color: #7c3aed;
  margin-left: 3px;
}
.yt-youtube-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.2);
}
.yt-youtube-badge svg {
  width: 13px;
  height: 13px;
  color: #ef4444;
}
.yt-youtube-badge span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== REVIEW BUTTON ===== */
.review-button {
  background-color: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}
.review-button:hover {
  background-color: rgba(139, 92, 246, 0.35);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.4);
}

/* ===== MODAL OVERLAY ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.modal.open {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
}

/* ===== MODAL IMAGE WRAPPER ===== */
.modal-image-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  cursor: default;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  flex-shrink: 0;
}
.modal.open .modal-image-wrap {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition-delay: 0.08s;
}

.modal-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 25px 60px -12px rgba(0, 0, 0, 0.6),
    0 0 80px -20px rgba(139, 92, 246, 0.15);
}

/* ===== MODAL CLOSE BUTTON ===== */
.modal-close-btn {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 210;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.modal-close-btn:active {
  transform: scale(0.95);
}

/* ===== MODAL HINT ===== */
.modal-hint {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 210;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
  white-space: nowrap;
}
.modal.open .modal-hint {
  opacity: 1;
}

/* ===== MODAL MOBILE ===== */
@media only screen and (max-width: 700px) {
  .modal {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 4.5rem;
  }
  .modal-image-wrap {
    max-width: 100%;
  }
  .modal-image-wrap img {
    border-radius: 0.75rem;
    max-height: 75vh;
  }
  .modal-close-btn {
    top: 0.875rem;
    right: 0.875rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }
  .modal-hint {
    bottom: 1rem;
    font-size: 0.65rem;
  }
}