/* ======================
   BUTTON BASE STYLES (FIGMA EXACT)
   ====================== */
.button {
  position: relative;
  border-radius: 24px;
  background-color: #3495ff;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 24px 48px;
  box-sizing: border-box;
  gap: 10px;
  text-align: left;
  font-size: 16px;
  color: #fff;
  font-family: 'PP Neue Montreal';
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.button:focus {
  outline: 2px solid var(--ring, #3495ff);
  outline-offset: 2px;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ======================
   BUTTON VARIANTS
   ====================== */
.primary {
  background-color: #3495ff;
  color: #ffffff;
}

.primary:hover:not(:disabled) {
  background-color: #e97c4a; /* Orange hover color from screenshot */
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 124, 74, 0.25);
}

.primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(233, 124, 74, 0.2);
}

.secondary {
  background-color: transparent;
  color: var(--foreground, #1a1a1a);
  border: 2px solid var(--border, #e5e5e5);
}

.secondary:hover:not(:disabled) {
  background-color: var(--accent, #f5f5f5);
  border-color: var(--primary, #3495ff);
}

/* ======================
   BUTTON CONTENT (FIGMA EXACT)
   ====================== */
.exploreOurResources {
  position: relative;
  letter-spacing: -0.01em;
  line-height: 150%;
  font-weight: 500;
  flex: 1;
}

.solararrowRightLinearIcon {
  width: 20px;
  position: relative;
  max-height: 100%;
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
}

.button:hover .solararrowRightLinearIcon {
  transform: translateX(4px);
}

/* ======================
   RESPONSIVE BREAKPOINTS
   ====================== */

/* Mobile Optimization (0-1024px) */
@media (max-width: 1024px) {
  .button {
    justify-content: center;
    height: clamp(56px, 10vw, 64px);
    padding: clamp(16px, 4vw, 24px) clamp(32px, 6vw, 48px);
    font-size: clamp(14px, 2.5vw, 16px);
  }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
  .button {
    height: 64px;
    padding: 24px 48px;
    font-size: 16px;
  }
}




/* ======================
   LEARN MORE BUTTON COMPONENT - RESPONSIVE DESIGN
   Global reusable button based on Figma specifications
   ====================== */

.learnMore .button {
  position: relative;
  border-radius: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 16px;
  color: #333f5b;
  font-family: 'PP Neue Montreal';
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: all 0.2s ease;
  
  /* Responsive font size */
  font-size: clamp(14px, 2.5vw, 16px);
}

/* ======================
   BUTTON VARIANTS
   ====================== */

/* Default variant - transparent with border */
.learnMore .variant-default {
  background: transparent;
}

/* ======================
   BUTTON CONTENT
   ====================== */

.learnMore .exploreOurResources {
  position: relative;
  letter-spacing: -0.01em;
  line-height: 150%;
  font-weight: 500;
  transition: color 0.2s ease;
}

.learnMore .solararrowRightLinearIcon {
  width: 20px;
  height: 20px;
  position: relative;
  max-height: 100%;
  transition: all 0.2s ease;
  flex-shrink: 0;
  
  /* Responsive sizing */
  width: clamp(16px, 3vw, 20px);
  height: clamp(16px, 3vw, 20px);
}

/* ======================
   BUTTON STATES
   ====================== */

/* Focus state */
.learnMore .button:focus-visible {
  outline: 2px solid #3495ff;
  outline-offset: 2px;
}

/* Active state */
.learnMore .button:active {
  transform: scale(0.98);
}

/* Disabled state */
.learnMore .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ======================
   RESPONSIVE BREAKPOINTS
   ====================== */

/* Mobile: 320px – 480px */
@media (max-width: 480px) {
  .learnMore .variant-default {
    width: 100%;
    justify-content: center;
  }
  
  .learnMore .button {
    font-size: 14px;
  }
}

/* Tablet: 481px – 1024px */
@media (min-width: 481px) and (max-width: 1024px) {
  .learnMore .variant-default {
    /* width: auto; */
    /* min-width: 160px; */
    justify-content: center;
  }
}

/* Desktop: 1025px+ */
@media (min-width: 1025px) {
  .learnMore .variant-default {
    width: auto;
    gap: 14px;
  }
  
  .learnMore .button {
    font-size: 16px;
  }
}

/* ======================
   ACCESSIBILITY
   ====================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .learnMore .button,
  .learnMore .exploreOurResources,
  .learnMore .solararrowRightLinearIcon {
    transition: none;
  }
}
