/* ==========================================================================
   USE CASES COMPONENT STYLES (BOLT-STYLE 90VH HORIZONTAL SCROLL CAROUSEL)
   ========================================================================== */

.use-cases-sticky-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 350vh;
}

.use-cases-section.sticky-section {
  position: sticky;
  top: 4.5rem;
  height: calc(100vh - 4.5rem);
  width: 100%;
  padding: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #FBF9F5;
  overflow: hidden;
  z-index: 10;
}

.use-cases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.use-cases-header .header-text {
  max-width: 680px;
}

.use-cases-section .section-title {
  color: #111111;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.use-cases-section .section-title .text-primary {
  color: var(--primary);
}

.use-cases-section .section-desc {
  color: #4B5563;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
}

/* Scroll Control Arrow Buttons */
.scroll-controls {
  display: flex;
  gap: 0.75rem;
}

.scroll-controls .scroll-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #111111;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-controls .scroll-btn:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Horizontal Viewport & Track */
.use-cases-viewport {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem 0;
}

.use-cases-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  will-change: transform;
  transition: transform 0.08s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* 90vh Card Base Layout */
.use-case-card {
  flex: 0 0 360px;
  width: 360px;
  height: 54vh;
  min-height: 380px;
  max-height: 460px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  user-select: none;
}

.use-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.18);
}

/* Background Layer */
.card-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-card:hover .card-bg-img {
  transform: scale(1.06);
}

/* Card 1 Dark Theme BG */
.dark-gradient-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0A1B13 0%, #050D0A 60%, #030806 100%);
  position: absolute;
  inset: 0;
}

/* Card Photo Dark Overlay for Text Visibility at Bottom */
.card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(6, 16, 12, 0.05) 0%, 
    rgba(6, 16, 12, 0.4) 45%, 
    rgba(6, 16, 12, 0.95) 100%
  );
  transition: opacity 0.3s ease;
}

/* Card Light Mint BG */
.light-mint-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #EDF7F1 0%, #E2F2E8 100%);
  position: absolute;
  inset: 0;
}

/* Overlay Content Area (Badge Tag, Subtitle, CTA Button AT BOTTOM of card picture) */
.card-overlay-content {
  position: absolute;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  padding: 2.2rem 2rem;
  z-index: 5;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.use-case-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.25);
  color: #10B981;
  border: 1px solid #10B981;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-subtitle {
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.dark-text .card-subtitle {
  color: #374151;
}

/* Bolt Style Pill CTA Buttons */
.card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.btn-bolt-green {
  background: var(--primary);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(153, 188, 162, 0.4);
}

.btn-bolt-green:hover {
  background: #85a98e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(153, 188, 162, 0.6);
}

.btn-bolt-light {
  background: var(--primary-light);
  color: #111111;
  font-weight: 800;
  border: 1px solid var(--primary);
}

.btn-bolt-light:hover {
  background: var(--primary);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(153, 188, 162, 0.5);
}

.btn-bolt-dark {
  background: #111111;
  color: #FFFFFF;
}

.btn-bolt-dark:hover {
  background: #1F2937;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.3);
}

/* Bottom Phone UI Visual Area */
.card-visual-bottom {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 52%;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-card:hover .card-visual-bottom {
  transform: translateX(-50%) translateY(-10px);
}

/* Phone Mockup Frame */
.phone-mockup {
  width: 100%;
  height: 100%;
  background: #111827;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border: 4px solid #374151;
  border-bottom: none;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
}

.phone-light-theme {
  background: #FFFFFF;
  border-color: #D1D5DB;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

.phone-notch {
  width: 60px;
  height: 5px;
  background: #4B5563;
  border-radius: 9999px;
  margin: 0 auto 0.6rem auto;
}

.phone-screen {
  flex: 1;
  background: #1F2937;
  border-radius: 16px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phone-light-theme .phone-screen {
  background: #F9FAFB;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #9CA3AF;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.phone-pills {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.phone-pills .pill {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: #374151;
  color: #D1D5DB;
  font-weight: 600;
}

.phone-pills .pill.active {
  background: #FFFFFF;
  color: #111827;
}

.phone-list-item {
  background: #111827;
  border-radius: 12px;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-list-item.main-item {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}

.item-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.item-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-details strong {
  font-size: 0.75rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.item-details span {
  font-size: 0.62rem;
  color: #9CA3AF;
}

.badge-fastest, .badge-cheapest {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  width: fit-content;
  margin-top: 0.15rem;
}

.badge-fastest {
  background: #10B981;
  color: #FFFFFF;
}

.badge-cheapest {
  background: #3B82F6;
  color: #FFFFFF;
}

.item-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF;
}

.light-category-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.light-category-card i {
  font-size: 1.2rem;
  color: #10B981;
}

.light-category-card strong {
  display: block;
  font-size: 0.78rem;
  color: #111827;
}

.light-category-card small {
  font-size: 0.65rem;
  color: #6B7280;
}

/* Responsive Media Queries for Mobile & Tablets (Sticky Pinning Enabled) */
@media (max-width: 768px) {
  .use-cases-sticky-wrapper {
    height: 250vh;
  }

  .use-cases-section.sticky-section {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 4.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }

  .use-cases-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
  }

  .use-cases-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.35rem;
  }

  .use-cases-section .section-desc {
    font-size: 0.92rem;
  }

  .scroll-controls {
    display: flex;
    gap: 0.5rem;
  }

  .use-cases-viewport {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0 2.25rem 0;
  }

  .use-cases-track {
    display: flex;
    gap: 1.25rem;
  }

  .use-case-card {
    flex: 0 0 85vw;
    width: 85vw;
    height: 58vh;
    min-height: 380px;
    max-height: 460px;
  }

  .card-overlay-content {
    padding: 1.5rem 1.25rem 2.2rem 1.25rem;
  }

  .card-title {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
  }

  .card-subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .card-visual-bottom {
    width: 88%;
    height: 45%;
    bottom: -10px;
  }
}
