/* ============================================
   STEP 3B REDESIGN - EASY FIELD SERVICEABILITY
   Modern Sleek Tech Aesthetic - Matching Step 1 & 2
   ============================================ */

/* Import distinctive tech fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Step 3B Container - Uses technology-style background from section-transitions.css */
.snap-page.step3b {
  background: transparent;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 5vw, 6rem);
  padding-bottom: 0;
  min-height: 100vh;
  gap: 0;
}

/* Background handled by section-transitions.css */

/* ============================================
   HEADER SECTION
   ============================================ */

.step3-modern-header {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 1300px;
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Orange Accent Line */
.step3-accent-line {
  width: clamp(60px, 8vw, 120px);
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    #ff6b00 30%,
    #ff8c00 50%,
    #ff6b00 70%,
    transparent 100%);
  margin: 0 auto clamp(1.5rem, 3vh, 2.5rem);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.6),
              0 0 40px rgba(255, 107, 0, 0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.8;
    filter: brightness(1.3);
  }
}

/* Main Title */
.step3-main-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #ff6b00;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(255, 107, 0, 0.3);
  animation: titleFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ============================================
   MAIN CONTENT SECTION - 3 COLUMN LAYOUT
   ============================================ */

.step3-row {
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  animation: contentFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Column Styling */
.step3-col {
  position: relative;
}

/* Left and Right Columns (GIF/Video) */
.step3-col--left {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  border: 2px solid rgba(255, 107, 0, 0.2);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(255, 107, 0, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  overflow: hidden;
  height:344px;
}

.step3-col--left:nth-of-type(3) {
  animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step3-col--left:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(255, 107, 0, 0.25);
}

.step3-col--left img,
.step3-col--left video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Make videos clickable for fullscreen */
.step3-col--left video.step2-video {
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.step3-col--left video.step2-video:hover {
  filter: brightness(1.05);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

/* Middle Column (Text) */
.step3-col--middle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bullet List */
.step3-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vh, 2rem);
}

.step3-bullets li {
  position: relative;
  padding-left: 2.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.5;
  opacity: 0;
  animation: bulletSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step3-bullets li:nth-child(1) { animation-delay: 0.8s; }
.step3-bullets li:nth-child(2) { animation-delay: 1.0s; }
.step3-bullets li:nth-child(3) { animation-delay: 1.2s; }

@keyframes bulletSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Custom Bullet Points */
.step3-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  border-radius: 50%;
  box-shadow:
    0 0 15px rgba(255, 107, 0, 0.5),
    0 2px 4px rgba(255, 107, 0, 0.3);
  animation: bulletPulse 2s ease-in-out infinite;
}

@keyframes bulletPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 15px rgba(255, 107, 0, 0.5),
      0 2px 4px rgba(255, 107, 0, 0.3);
  }
  50% {
    transform: scale(1.15);
    box-shadow:
      0 0 25px rgba(255, 107, 0, 0.7),
      0 4px 8px rgba(255, 107, 0, 0.4);
  }
}

/* ============================================
   BOTTOM SECTION - BENEFITS & CTA
   ============================================ */

.step3-bottom {
  width: 100%;
  max-width: 1100px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vh, 3rem);
  animation: bottomFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

@keyframes bottomFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Benefits Text */
.step3-benefits {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefit-word {
  color: #ff6b00;
  text-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
  position: relative;
  display: inline-block;
  animation: wordGlow 3s ease-in-out infinite;
}

.benefit-word:nth-child(1) { animation-delay: 0s; }
.benefit-word:nth-child(3) { animation-delay: 1s; }
.benefit-word:nth-child(5) { animation-delay: 2s; }

@keyframes wordGlow {
  0%, 100% {
    text-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
  }
  50% {
    text-shadow:
      0 2px 8px rgba(255, 107, 0, 0.5),
      0 0 20px rgba(255, 107, 0, 0.3);
  }
}

.benefit-separator {
  color: #ff8c00;
  opacity: 0.7;
}

/* CTA Button Wrapper */
.learn-more-wrapper {
  position: relative;
}

.step3-cta-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: clamp(1rem, 2vh, 1.3rem) clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  border: none;
  border-radius: 50px;
  color: white;
  box-shadow:
    0 8px 24px rgba(255, 107, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.step3-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent);
  transition: left 0.6s ease;
}

.step3-cta-btn:hover::before {
  left: 100%;
}

.step3-cta-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(255, 107, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.step3-cta-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .step3-row {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vh, 3rem);
  }

  .step3-col--middle {
    order: 2;
  }

  .step3-col--left:nth-of-type(3) {
    order: 3;
  }
}

@media (max-width: 768px) {
  .snap-page.step3b {
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .step3-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .step3-col--left {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
  }

  .step3-col--middle {
    width: 100%;
    order: 2;
  }

  .step3-main-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .step3-bullets {
    padding: 0 1rem;
  }

  .step3-bullets li {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    padding-left: 2rem;
    line-height: 1.6;
  }

  .step3-benefits {
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    flex-direction: column;
    gap: 0.3rem;
  }

  .benefit-separator {
    display: none;
  }

  .step3-cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .step3-col--left {
    padding: 1rem;
  }

  .step3-bullets {
    gap: 1.2rem;
  }

  .step3-bottom {
    gap: 1.5rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .snap-page.step3b::before,
  .snap-page.step3b::after,
  .step3-accent-line,
  .benefit-word,
  .step3-bullets li::before {
    animation: none !important;
  }

  .step3-col--left,
  .step3-cta-btn {
    transition: opacity 0.2s ease, transform 0.2s ease !important;
  }
}

/* Focus States for Keyboard Navigation */
.step3-cta-btn:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.6);
  outline-offset: 4px;
}
