/* ============================================================================
   START NOW CTA COMPONENT

   Call-to-action section with platform options (web, mobile) and download buttons.
   Includes prominent "Start Now" button and platform-specific CTAs.

   Purpose: Convert users by providing clear paths to access the app
   on different platforms.

   Required HTML Structure:

   <!-- Hero CTA Button (can be used standalone) -->
   <div class="hero-cta">
     <a href="#" class="start-now-btn">
       Start Now <i class="fas fa-arrow-right"></i>
     </a>
   </div>

   <!-- Full Start Now Section with Platform Options -->
   <section class="start-now-section">
     <div class="container">
       <h2 class="section-title">Get Started</h2>

       <div class="start-now-grid">
         <!-- Web Option -->
         <div class="platform-option">
           <div class="platform-image web-preview">
             <img src="web-screenshot.png" alt="Web App">
           </div>
           <h3>Web App</h3>
           <p>Access from any browser</p>
           <a href="#" class="platform-btn beta-btn">
             <i class="fas fa-globe"></i> Launch Beta
           </a>
         </div>

         <!-- Mobile Option -->
         <div class="platform-option">
           <div class="platform-image android-preview">
             <img src="mobile-screenshot.png" alt="Mobile App">
           </div>
           <h3>Mobile App</h3>
           <p>Download for Android or iOS</p>

           <!-- Coming Soon Badge -->
           <div class="coming-soon-badge">
             <i class="fas fa-rocket"></i>
             <span>Coming Soon</span>
           </div>

           <!-- App Store Buttons -->
           <div class="app-store-buttons">
             <a href="#" class="app-store-btn coming-soon">
               <i class="fab fa-google-play"></i> Google Play
             </a>
             <a href="#" class="app-store-btn coming-soon">
               <i class="fab fa-app-store"></i> App Store
             </a>
           </div>
         </div>
       </div>
     </div>
   </section>

   Button Classes:
   - .start-now-btn       # Large gradient button with icon
   - .platform-btn        # Platform-specific CTA button
   - .beta-btn            # Modifier for beta access (active)
   - .coming-soon-btn     # Modifier for disabled state
   - .app-store-btn       # App store download buttons

   Dependencies:
   - Font Awesome (for icons)

   Features:
   - Responsive 2-column grid (stacks on mobile)
   - Image previews with different aspect ratios
   - Gradient hover effects
   - Coming soon state styling
   - Animated arrow on hover

   Accessibility:
   - Disabled buttons use cursor: not-allowed
   - Clear visual distinction between active/inactive states
   - Descriptive alt text for images

   Notes:
   - .web-preview maintains aspect ratio
   - .android-preview shows phone screenshot with rounded corners
   - Coming soon buttons have dashed border and muted colors
   ============================================================================ */

/* ===== Hero CTA Button (Standalone) ===== */

.hero-cta {
  margin-top: 2rem;
  text-align: center;
}

.start-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(
    135deg,
    var(--sky-blue) 0%,
    var(--navy-light) 100%
  );
  color: var(--white);
  padding: 18px 40px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.start-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(96, 165, 250, 0.4);
  background: linear-gradient(
    135deg,
    var(--navy-light) 0%,
    var(--sky-blue) 100%
  );
}

.start-now-btn i {
  transition: transform var(--transition-normal);
}

.start-now-btn:hover i {
  transform: translateX(5px);
}


/* ===== Start Now Section ===== */

.start-now-section {
  padding: 40px 0;
  background: transparent;
  position: relative;
}

.start-now-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: stretch;
}


/* ===== Platform Option Cards ===== */

.platform-option {
  background: rgba(30, 58, 138, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.platform-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(30, 58, 138, 0.7);
  border-color: var(--sky-blue);
}

.platform-option h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.platform-option > p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}


/* ===== Platform Images ===== */

.platform-image {
  width: 100%;
  height: 300px;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(30, 58, 138, 0.3),
    rgba(30, 64, 175, 0.2)
  );
  position: relative;
}

.platform-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Web Preview - Landscape screenshot */
.web-preview {
  height: auto;
  min-height: 200px;
  max-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.web-preview img {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 100%;
}

/* Android Preview - Mobile screenshot */
.android-preview {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  padding: 0;
  padding-top: 0;
  height: 300px;
  border-radius: 0;
  overflow: visible;
}

.android-preview img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}


/* ===== Platform Buttons ===== */

.platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy-light), var(--sky-blue));
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: 0 5px 20px rgba(96, 165, 250, 0.3);
  margin-top: auto;
}

.platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, var(--sky-blue), var(--navy-light));
}

/* Beta Button - Prominent styling */
.platform-btn.beta-btn {
  background: linear-gradient(135deg, var(--navy-light), var(--sky-blue));
  box-shadow: 0 5px 20px rgba(96, 165, 250, 0.4);
  font-weight: 700;
  transition: all var(--transition-normal);
}

.platform-btn.beta-btn:hover {
  background: linear-gradient(135deg, var(--sky-blue), var(--navy-light));
  box-shadow: 0 8px 30px rgba(96, 165, 250, 0.6);
  transform: translateY(-3px);
}

/* Coming Soon Button - Disabled styling */
.platform-btn.coming-soon-btn {
  background: rgba(100, 116, 139, 0.3);
  color: rgba(203, 213, 225, 0.6);
  cursor: not-allowed;
  box-shadow: none;
  border: 2px dashed rgba(100, 116, 139, 0.5);
  margin-top: 12px;
}

.platform-btn.coming-soon-btn:hover {
  transform: none;
  box-shadow: none;
  background: rgba(100, 116, 139, 0.3);
}


/* ===== Coming Soon Badge ===== */

.coming-soon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.coming-soon-badge i {
  font-size: 2rem;
  color: var(--sky-blue);
}

.coming-soon-badge span {
  font-size: 1.1rem;
  color: var(--light-blue);
  font-weight: 600;
}


/* ===== App Store Buttons ===== */

.app-store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #000000, #2c2c2c);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.app-store-btn:hover:not(.coming-soon) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.app-store-btn.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}

.app-store-btn i {
  font-size: 1.2rem;
}


/* ===== Responsive ===== */

/* Desktop - Extra vertical spacing to prevent FAQ visibility */
@media (min-width: 969px) {
  .start-now-section {
    padding: 80px 0 160px 0;
  }
}

@media (max-width: 968px) {
  .start-now-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .platform-image {
    height: 250px;
    margin-bottom: 2rem;
  }

  .web-preview {
    height: auto;
    min-height: 150px;
    max-height: 300px;
    width: fit-content;
    margin: 0 auto 2rem auto;
  }

  .android-preview {
    height: 250px;
    padding: 0;
    align-items: flex-start;
  }

  .android-preview img {
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .hero-cta {
    margin-top: 1.5rem;
  }

  .start-now-btn {
    font-size: 1rem;
    padding: 14px 30px;
  }

  .platform-option {
    padding: 1.5rem;
  }

  .android-preview img {
    border-radius: 10px;
  }

  .app-store-buttons {
    flex-direction: column;
  }

  .app-store-btn {
    width: 100%;
    justify-content: center;
  }
}
