/* ==========================================================================
   Custom VR Page Specific Styles
   ========================================================================== */

/* Hero */
.customvr-hero {
  padding: 110px 0 30px;
  text-align: center;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.customvr-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 104, 238, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.customvr-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.customvr-hero p {
  font-size: 1.05rem;
  color: #666;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tighter spacing for video section after hero */
.customvr-hero + .section {
  padding-top: 35px;
}

/* Video Player */
.video-player {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-player:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(10, 14, 39, 0.2),
    0 40px 80px rgba(10, 14, 39, 0.15);
}

.video-player video {
  width: 100%;
  display: block;
}

.video-title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 25px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  pointer-events: none;
  text-align: left;
  max-width: 80%;
}

.video-title h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Partners Section */
.partners-section {
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}

/* Section title for partners */
.partners-section::before {
  content: 'Trusted by leading organizations';
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: 30px;
}

/* Scroller container */
.partners-scroller {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 100%;
}

.scroll-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(123, 104, 238, 0.3);
  background: white;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.scroll-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 50px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.partners-track::-webkit-scrollbar {
  display: none;
}

.partners-track img {
  height: 60px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.8;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.partners-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

@media (min-width: 900px) {
  .partners-track {
    justify-content: center;
  }

  .scroll-arrow {
    display: none;
  }
}

/* How It Works */
.how-it-works {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative floating elements */
.how-it-works::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.05), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.how-it-works h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 70px;
  letter-spacing: -0.01em;
  position: relative;
}

.how-it-works h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-pink));
  border-radius: 2px;
}

.process-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.process-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

/* Step numbers */
.process-step::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-pink));
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  z-index: 2;
}

.process-step:nth-child(1)::before { content: '1'; color: white; display: flex; align-items: center; justify-content: center; }
.process-step:nth-child(3)::before { content: '2'; color: white; display: flex; align-items: center; justify-content: center; }
.process-step:nth-child(5)::before { content: '3'; color: white; display: flex; align-items: center; justify-content: center; }

.process-step:hover {
  transform: translateY(-12px);
}

.process-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

/* Glow ring */
.process-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-pink));
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.3s ease;
}

.process-step:hover .process-icon::after {
  opacity: 0.4;
}

.process-step:hover .process-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.process-icon img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.process-step:hover .process-icon img {
  transform: scale(1.1);
}

.process-icon span {
  font-size: 2.5rem;
}

.process-step p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.process-arrow {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  padding-top: 40px;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

.process-arrow:hover {
  opacity: 1;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .process-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .process-step {
    max-width: 280px;
  }

  .process-arrow {
    transform: rotate(90deg);
    padding: 0;
    margin: 0 auto;
  }

  .process-arrow:hover {
    transform: rotate(90deg) translateX(5px);
  }
}

/* Purple Section Override */
.section-purple {
  background: var(--color-purple);
  color: white;
}

.section-purple h2 {
  color: white;
}
