/* ================================
   ION Pro Select Feature Section
   ================================ */
.ion-feature {
  --content-width: 1500px;
  --section-padding: clamp(2rem, 6vw, 4rem);
  
  /* Colors */
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-grey-light: #e8e8e8;
  --color-accent-red: #c41e3a;
  
  /* Typography */
  --copy-size: clamp(1.25rem, 3vw, 1.75rem);
  
  /* Transitions */
  --transition-base: 300ms ease;
  --transition-slow: 600ms ease;
  
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-black);
}

/* ================================
   Parallax Background
   ================================ */
.ion-feature__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ion-feature__bg-image {
  width: 100%;
  height: 120%; /* Extra height for parallax movement */
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

/* ================================
   New for 2026 Banner
   ================================ */
.ion-feature__banner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: var(--section-padding);
}

.ion-feature__banner-shape {
position: absolute;
width: 350px;
height: auto;
}

.ion-feature__banner-text {
  position: relative;
  z-index: 1;
  padding: 0.6rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

/* ================================
   Main Content - 50/50 Split
   ================================ */
.ion-feature__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-padding);
  width: 100%;
  max-width: calc(var(--content-width) + var(--section-padding) * 2);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--section-padding);
}

/* ================================
   Left Side - Info
   ================================ */
.ion-feature__info {
  display: flex;
  align-items: center;
  justify-content: end;
}

.ion-feature__info-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 500px;
}

.ion-feature__logo {
  width: clamp(180px, 30vw, 280px);
  height: auto;
}

.ion-feature__copy {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--copy-size);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-grey-light);
  margin: 0;
}

/* Country Badges */
.ion-feature__badges {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.ion-feature__badge {
  width: clamp(80px, 12vw, 120px);
  height: auto;
}

/* CTA Button */
.ion-feature__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
}

.ion-feature__btn::after {
  content: '→';
  transition: transform var(--transition-base);
}

.ion-feature__btn:hover::after {
  transform: translateX(3px);
}

/* ================================
   Right Side - Goalie Image
   ================================ */
.ion-feature__image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.ion-feature__goalie {
  width: auto;
  height: clamp(400px, 60vw, 700px);
  max-width: none;
  object-fit: contain;
  object-position: right center;
  
  /* Slide-in animation setup */
  opacity: 0;
  transform: translateX(60px);
  transition: 
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

/* Animated state */
.ion-feature__goalie.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   Technology Badges Row
   ================================ */
.ion-feature__tech {
  position: relative;
  z-index: 1;
  width: 80%;
  padding: var(--section-padding);
  padding-top: 0;
margin: 0 auto;
}

.ion-feature__tech-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.5rem, 2vw, 1.5rem);
  max-width: var(--content-width);
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.ion-feature__tech-badge {
  width: 100%;
  max-width: 180px;
  height: auto;
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.ion-feature__tech-badge:hover {
  opacity: 1;
}

/* ================================
   Responsive - Tablet
   ================================ */
@media (max-width: 1024px) {
  .ion-feature__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .ion-feature__info {
    justify-content: center;
  }
  
  .ion-feature__info-inner {
    align-items: center;
    max-width: 600px;
  }
  
  .ion-feature__image {
    justify-content: center;
  }
  
  .ion-feature__goalie {
    transform: translateY(40px);
  }
  
  .ion-feature__goalie.is-visible {
    transform: translateY(0);
  }
}

/* ================================
   Responsive - Mobile
   ================================ */
@media (max-width: 768px) {
  .ion-feature__tech-inner {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
  }
  
  .ion-feature__tech-badge {
    max-width: 100%;
  }
}

/* Very small screens - if badges get too cramped */
@media (max-width: 400px) {
  .ion-feature__tech-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .ion-feature__tech-badge:nth-child(4),
  .ion-feature__tech-badge:nth-child(5) {
    grid-column: span 1;
  }
  
  /* Center last two on second row */
  .ion-feature__tech-inner {
    justify-content: center;
  }
}


/* ================================
   Customizer CTA Section
   ================================ */
.customizer-cta {
  --content-width: 1500px;
  --section-padding: clamp(3rem, 8vw, 5rem);
  
  /* Colors */
  --color-black: #0a0a0a;
  --color-grey-dark: #2a2a2a;
  --color-white: #ffffff;
  
  /* Typography */
  --title-size: clamp(2.5rem, 6vw, 4.5rem);
  --copy-size: clamp(1.125rem, 2.5vw, 1.5rem);
  
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ================================
   Background
   ================================ */
.customizer-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
}

.customizer-cta__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ================================
   Content Layout
   ================================ */
.customizer-cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-padding);
  max-width: var(--content-width);
  margin: 5em auto;
  padding: var(--section-padding);
  min-height: 500px;
  align-items: center;
}

/* ================================
   Left - Preview Image
   ================================ */
.customizer-cta__preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.customizer-cta__frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  /* Browser frame effect */
  background: var(--color-grey-dark);
  border-radius: 8px;
  padding: 30px 4px 4px 4px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 10px 20px -5px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.customizer-cta__frame:hover {
  transform: perspective(1000px) rotateY(2deg) rotateX(1deg);
}

/* Browser dots */
.customizer-cta__frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 10px;
  height: 10px;
  background: #ff5f57;
  border-radius: 50%;
  box-shadow: 
    16px 0 0 #ffbd2e,
    32px 0 0 #28c840;
}

.customizer-cta__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 4px 4px;
}

/* ================================
   Right - Info
   ================================ */
.customizer-cta__info {
  display: flex;
  flex-direction: column;
 align-items: flex-end;
text-align: right;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.customizer-cta__title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--title-size);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0;
}

.customizer-cta__copy {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--copy-size);
  font-weight: 400;
  color: var(--color-grey-dark);
  margin: 0;
}

/* Button */
.customizer-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-grey-dark);
  border: none;
  color: var(--color-white);
}

.customizer-cta__btn::after {
  content: '→';
  transition: transform 0.3s ease;
}

.customizer-cta__btn:hover::after {
  transform: translateX(4px);
}

/* Override btn-fill for this dark button */
.customizer-cta__btn.btn-fill--dark {
  background: var(--color-grey-dark);
  border: 1px solid var(--color-grey-dark);
  color: var(--color-white);
}

.customizer-cta__btn.btn-fill--dark:hover {
  border-color: var(--color-accent-red, #c41e3a);
}

/* ================================
   Responsive - Tablet
   ================================ */
@media (max-width: 1024px) {
  .customizer-cta__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .customizer-cta__info {
    align-items: center;
    order: -1; /* Text first on mobile */
  }
  
  .customizer-cta__frame {
    transform: none;
    max-width: 500px;
  }
  
  .customizer-cta__frame:hover {
    transform: none;
  }
}

/* ================================
   Responsive - Mobile
   ================================ */
@media (max-width: 600px) {
  .customizer-cta__frame {
    max-width: 100%;
    border-radius: 6px;
    padding: 24px 3px 3px 3px;
  }
  
  .customizer-cta__frame::before {
    width: 8px;
    height: 8px;
    top: 8px;
    left: 10px;
    box-shadow: 
      12px 0 0 #ffbd2e,
      24px 0 0 #28c840;
  }
}