/**
 * Product Scroller - Compact, Full-Width Feature Showcase
 * Fixed: Height, Title, Full-Width Display
 */

/* Section Container - Much More Compact */
.product-scroller-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  overflow: hidden;
  position: relative;
  display: block; /* Override any flex from parent */
}

/* Minimal Header */
.product-scroller-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-scroller-header .h2 {
  color: var(--color-gray-900);
  margin-bottom: var(--space-md);
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.product-scroller-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-500);
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Compact Stats */
.scroller-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin-top: 2px;
}

/* Full-Width Scroller Container */
.product-scroller-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 8px 0 0 0;
  margin-top: 8px;
}

/* Only 2 Rows - Much More Compact */
.scroller-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  animation: scroll-flow 60s linear infinite;
  will-change: transform;
  padding: 0;
  width: max-content;
}

.scroller-row:nth-child(2) {
  animation-duration: 65s;
  animation-direction: reverse;
}

/* Hide third row completely */
.scroller-row:nth-child(3) {
  display: none;
}

@keyframes scroll-flow {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.product-scroller-container:hover .scroller-row {
  animation-play-state: paused;
}

/* Compact Feature Cards with Gradient Backgrounds */
.feature-card {
  flex-shrink: 0;
  width: 280px;
  height: 140px;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border, rgba(59, 130, 246, 0.2));
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--card-bg, linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%));
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, #3b82f6);
}

/* IdeaFloat Brand Colors */
.feature-card.explore {
  --card-accent: var(--color-brand-blue);
  --card-bg: linear-gradient(
    135deg,
    rgba(61, 97, 223, 0.1) 0%,
    rgba(61, 97, 223, 0.15) 100%
  );
  --card-border: rgba(61, 97, 223, 0.2);
}

.feature-card.challenge {
  --card-accent: var(--color-brand-yellow);
  --card-bg: linear-gradient(
    135deg,
    rgba(243, 185, 0, 0.1) 0%,
    rgba(243, 185, 0, 0.15) 100%
  );
  --card-border: rgba(243, 185, 0, 0.2);
}

.feature-card.profit {
  --card-accent: var(--color-brand-red);
  --card-bg: linear-gradient(
    135deg,
    rgba(232, 28, 114, 0.1) 0%,
    rgba(232, 28, 114, 0.15) 100%
  );
  --card-border: rgba(232, 28, 114, 0.2);
}

.feature-card.float {
  --card-accent: var(--color-brand-green);
  --card-bg: linear-gradient(
    135deg,
    rgba(33, 221, 144, 0.1) 0%,
    rgba(33, 221, 144, 0.15) 100%
  );
  --card-border: rgba(33, 221, 144, 0.2);
}

/* Special gradient variations for more variety - Like React Component */
.feature-card:nth-child(2n) {
  background: var(--card-bg-alt, var(--card-bg));
}

.feature-card:nth-child(3n) {
  background: var(--card-bg-alt2, var(--card-bg));
}

.feature-card:nth-child(4n) {
  background: var(--card-bg-alt3, var(--card-bg));
}

/* Explore (Blue) Variations - IdeaFloat Brand */
.feature-card.explore:nth-child(2n) {
  --card-bg-alt: linear-gradient(
    135deg,
    rgba(61, 97, 223, 0.08) 0%,
    rgba(61, 97, 223, 0.12) 100%
  );
}

.feature-card.explore:nth-child(3n) {
  --card-bg-alt2: linear-gradient(
    135deg,
    rgba(61, 97, 223, 0.12) 0%,
    rgba(61, 97, 223, 0.18) 100%
  );
}

.feature-card.explore:nth-child(4n) {
  --card-bg-alt3: linear-gradient(
    135deg,
    rgba(61, 97, 223, 0.06) 0%,
    rgba(33, 221, 144, 0.08) 100%
  );
}

/* Challenge (Yellow) Variations - IdeaFloat Brand */
.feature-card.challenge:nth-child(2n) {
  --card-bg-alt: linear-gradient(
    135deg,
    rgba(243, 185, 0, 0.08) 0%,
    rgba(243, 185, 0, 0.12) 100%
  );
}

.feature-card.challenge:nth-child(3n) {
  --card-bg-alt2: linear-gradient(
    135deg,
    rgba(243, 185, 0, 0.12) 0%,
    rgba(243, 185, 0, 0.18) 100%
  );
}

.feature-card.challenge:nth-child(4n) {
  --card-bg-alt3: linear-gradient(
    135deg,
    rgba(243, 185, 0, 0.06) 0%,
    rgba(232, 28, 114, 0.08) 100%
  );
}

/* Profit (Red) Variations - IdeaFloat Brand */
.feature-card.profit:nth-child(2n) {
  --card-bg-alt: linear-gradient(
    135deg,
    rgba(232, 28, 114, 0.08) 0%,
    rgba(232, 28, 114, 0.12) 100%
  );
}

.feature-card.profit:nth-child(3n) {
  --card-bg-alt2: linear-gradient(
    135deg,
    rgba(232, 28, 114, 0.12) 0%,
    rgba(232, 28, 114, 0.18) 100%
  );
}

.feature-card.profit:nth-child(4n) {
  --card-bg-alt3: linear-gradient(
    135deg,
    rgba(232, 28, 114, 0.06) 0%,
    rgba(243, 185, 0, 0.08) 100%
  );
}

/* Float (Green) Variations - IdeaFloat Brand */
.feature-card.float:nth-child(2n) {
  --card-bg-alt: linear-gradient(
    135deg,
    rgba(33, 221, 144, 0.08) 0%,
    rgba(33, 221, 144, 0.12) 100%
  );
}

.feature-card.float:nth-child(3n) {
  --card-bg-alt2: linear-gradient(
    135deg,
    rgba(33, 221, 144, 0.12) 0%,
    rgba(33, 221, 144, 0.18) 100%
  );
}

.feature-card.float:nth-child(4n) {
  --card-bg-alt3: linear-gradient(
    135deg,
    rgba(33, 221, 144, 0.06) 0%,
    rgba(61, 97, 223, 0.08) 100%
  );
}

/* Add subtle shimmer effect on hover */
.feature-card::after {
  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;
  pointer-events: none;
}

.feature-card:hover::after {
  left: 100%;
}

.feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.feature-icon {
  font-size: 20px;
  line-height: 1;
}

.feature-tag {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--card-accent);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 4px;
  line-height: 1.2;
}

.feature-description {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Edge Fade Effects */
.product-scroller-container::before,
.product-scroller-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 10;
  pointer-events: none;
}

.product-scroller-container::before {
  left: 0;
  background: linear-gradient(to right, #fafbfc, transparent);
}

.product-scroller-container::after {
  right: 0;
  background: linear-gradient(to left, #fafbfc, transparent);
}

/* Full Width CTA Container - Completely Redesigned */
.scroller-cta-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 32px;
  padding: 80px 20px 100px;
  background: linear-gradient(
    135deg,
    #3d61df 0%,
    #6366f1 25%,
    #8b5cf6 50%,
    #a855f7 75%,
    #3d61df 100%
  );
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
  overflow: hidden;
  position: relative;
}

/* Animated background gradient */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Floating Background Elements */
.scroller-cta-fullwidth::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatCircle1 20s ease-in-out infinite;
  filter: blur(1px);
}

.scroller-cta-fullwidth::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: floatCircle2 25s ease-in-out infinite reverse;
  filter: blur(2px);
}

/* Additional Large Floating Circles */
.scroller-cta-fullwidth .large-circle-1 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 80%
  );
  border-radius: 50%;
  animation: floatCircle3 30s ease-in-out infinite;
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 1;
}

.scroller-cta-fullwidth .large-circle-2 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 80%
  );
  border-radius: 50%;
  animation: floatCircle4 35s ease-in-out infinite reverse;
  filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

.scroller-cta-fullwidth .medium-circle-1 {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 90%
  );
  border-radius: 50%;
  animation: floatCircle5 18s ease-in-out infinite;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 1;
}

.scroller-cta-fullwidth .medium-circle-2 {
  position: absolute;
  bottom: 15%;
  right: 25%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 90%
  );
  border-radius: 50%;
  animation: floatCircle6 22s ease-in-out infinite reverse;
  filter: blur(0.8px);
  pointer-events: none;
  z-index: 1;
}

@keyframes floatCircle3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(-20px, -30px) rotate(120deg) scale(1.1);
    opacity: 0.8;
  }
  66% {
    transform: translate(25px, 15px) rotate(240deg) scale(0.9);
    opacity: 0.7;
  }
}

@keyframes floatCircle4 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(30px, -25px) rotate(180deg) scale(1.15);
    opacity: 0.7;
  }
}

@keyframes floatCircle5 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(15px, -10px) rotate(90deg) scale(1.05);
    opacity: 0.9;
  }
  75% {
    transform: translate(-10px, 20px) rotate(270deg) scale(0.95);
    opacity: 0.8;
  }
}

@keyframes floatCircle6 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  40% {
    transform: translate(-25px, -15px) rotate(144deg) scale(1.08);
    opacity: 0.8;
  }
  80% {
    transform: translate(20px, 10px) rotate(288deg) scale(0.92);
    opacity: 0.7;
  }
}

@keyframes floatCircle1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(30px, -20px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translate(-20px, 10px) rotate(240deg) scale(0.9);
  }
}

@keyframes floatCircle2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-40px, -30px) rotate(180deg) scale(1.2);
  }
}

/* Floating Icons */
.scroller-cta-fullwidth .floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.scroller-cta-fullwidth .floating-icon:nth-child(1) {
  top: 20%;
  left: 15%;
  animation: floatIcon1 8s ease-in-out infinite;
}

.scroller-cta-fullwidth .floating-icon:nth-child(2) {
  top: 60%;
  right: 20%;
  animation: floatIcon2 10s ease-in-out infinite;
}

.scroller-cta-fullwidth .floating-icon:nth-child(3) {
  bottom: 30%;
  left: 25%;
  animation: floatIcon3 12s ease-in-out infinite;
}

@keyframes floatIcon1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.3;
  }
}

@keyframes floatIcon2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-15px) rotate(-3deg);
    opacity: 0.25;
  }
}

@keyframes floatIcon3 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-25px) rotate(8deg);
    opacity: 0.35;
  }
}

/* Sparkle Effects */
.scroller-cta-fullwidth .sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.scroller-cta-fullwidth .sparkle:nth-child(4) {
  top: 25%;
  right: 30%;
  animation: sparkle1 3s ease-in-out infinite;
}

.scroller-cta-fullwidth .sparkle:nth-child(5) {
  bottom: 40%;
  left: 40%;
  animation: sparkle2 4s ease-in-out infinite 1s;
}

.scroller-cta-fullwidth .sparkle:nth-child(6) {
  top: 70%;
  right: 15%;
  animation: sparkle3 2.5s ease-in-out infinite 2s;
}

@keyframes sparkle1 {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes sparkle2 {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

@keyframes sparkle3 {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 0.9;
    transform: scale(1);
  }
}

/* Enhanced CTA Section */
.scroller-cta {
  text-align: center;
  margin: 0 auto;
  padding: 40px 24px;
  max-width: 800px;
  color: white;
  background: transparent;
  position: relative;
  z-index: 10;
}

.scroller-cta .h3 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 900;
  font-family: "Satoshi", sans-serif;
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.scroller-cta p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Revolutionary Glass-Morphism Button - Bottom CTA Specific */
.scroller-cta .btn-cta-bottom {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(61, 97, 223, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
}

/* Animated gradient overlay */
.scroller-cta .btn-cta-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s ease;
  z-index: 1;
}

/* Inner glow effect */
.scroller-cta .btn-cta-bottom::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 14px;
  z-index: 1;
  transition: all 0.4s ease;
}

/* Button text and icon */
.scroller-cta .btn-cta-bottom span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroller-cta .btn-cta-bottom .btn-icon {
  font-size: 1.25em;
  transition: transform 0.4s ease;
}

/* Hover effects */
.scroller-cta .btn-cta-bottom:hover {
  transform: translateY(-6px) scale(1.05) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(61, 97, 223, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
}

.scroller-cta .btn-cta-bottom:hover::before {
  left: 100%;
}

.scroller-cta .btn-cta-bottom:hover::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
}

.scroller-cta .btn-cta-bottom:hover .btn-icon {
  transform: translateX(4px) rotate(15deg);
}

/* Active/pressed state */
.scroller-cta .btn-cta-bottom:active {
  transform: translateY(-2px) scale(1.02) rotateX(2deg);
  transition: all 0.1s ease;
}

/* Pulse animation for attention */
.scroller-cta .btn-cta-bottom {
  animation: buttonPulse 4s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(61, 97, 223, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 12px 40px rgba(61, 97, 223, 0.4),
      0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Focus state for accessibility */
.scroller-cta .btn-cta-bottom:focus {
  outline: none;
  box-shadow: 0 8px 32px rgba(61, 97, 223, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Small Mobile */
@media (max-width: 480px) {
  .feature-card {
    width: 220px;
    height: 120px;
    padding: 12px;
  }

  .feature-title {
    font-size: 0.75rem;
    line-height: 1.1;
  }

  .feature-description {
    font-size: 0.65rem;
    line-height: 1.2;
    -webkit-line-clamp: 3;
  }

  .feature-tag {
    font-size: 0.5rem;
    padding: 1px 4px;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .product-scroller-section {
    padding: 24px 0;
  }

  .product-scroller-header .h2 {
    font-size: 1.5rem;
  }

  .product-scroller-subtitle {
    font-size: 0.875rem;
  }

  .scroller-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.125rem;
  }

  .stat-label {
    font-size: 0.625rem;
  }

  /* Keep both rows animating on mobile - just smaller cards */
  .scroller-row {
    animation: scroll-flow 45s linear infinite;
    margin-bottom: 12px;
    gap: 16px;
  }

  .scroller-row:nth-child(2) {
    animation-duration: 50s;
    animation-direction: reverse;
  }

  .feature-card {
    width: 240px;
    height: 130px;
    padding: 14px;
  }

  .feature-title {
    font-size: 0.8rem;
    line-height: 1.1;
  }

  .feature-description {
    font-size: 0.7rem;
    line-height: 1.2;
    -webkit-line-clamp: 3;
  }

  .scroller-cta {
    margin: 24px 16px 0;
    padding: 20px;
  }

  .scroller-cta .h3 {
    font-size: 1.125rem;
  }

  /* Mobile button optimizations */
  .scroller-cta .btn-cta-bottom {
    padding: 12px 24px;
    font-size: 0.9rem;
    gap: 6px;
  }

  .scroller-cta .btn-cta-bottom .btn-icon {
    font-size: 1.1em;
  }

  /* Keep edge fades on mobile for better visual */
  .product-scroller-container::before,
  .product-scroller-container::after {
    width: 30px;
  }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .feature-card {
    width: 260px;
    height: 130px;
    padding: 16px;
  }

  .feature-title {
    font-size: 0.8rem;
  }

  .feature-description {
    font-size: 0.7rem;
    -webkit-line-clamp: 3;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .feature-card {
    width: 300px;
    height: 150px;
    padding: 20px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.8rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroller-row {
    animation: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

/* Focus States */
.feature-card:focus {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}
