/* ==========================================================================
   Club E Homepage Enhancements
   Replaces inline styles with reusable component classes.
   Depends on: design-system.css (variables)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. HERO BACKGROUND — CSS-only tech-forward pattern
   -------------------------------------------------------------------------- */

.clube-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background:
    /* Soft radial glow behind content */
    radial-gradient(
      ellipse 60% 50% at 50% 40%,
      rgba(129, 180, 177, 0.10) 0%,
      transparent 70%
    ),
    /* Subtle dot grid — tech feel */
    radial-gradient(
      circle 1px at center,
      rgba(129, 180, 177, 0.18) 1px,
      transparent 1px
    ),
    /* Base */
    var(--neutral-50);
  background-size:
    100% 100%,
    24px 24px,
    100% 100%;
}

/* Diagonal accent lines (top-right) */
.clube-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(129, 180, 177, 0.04) 40px,
    rgba(129, 180, 177, 0.04) 42px
  );
  pointer-events: none;
}

/* Bottom-left gradient wash */
.clube-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 60%;
  background: radial-gradient(
    ellipse at 0% 100%,
    rgba(129, 180, 177, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.clube-hero > * {
  position: relative;
  z-index: 1;
}

.clube-hero__inner {
  max-width: var(--container-sm);
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-6);
}

.clube-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--neutral-800);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.clube-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: var(--container-sm);
  margin-left: auto;
  margin-right: auto;
}

.clube-hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}


/* --------------------------------------------------------------------------
   2. SVG SECTION DIVIDERS
   -------------------------------------------------------------------------- */

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom; /* kill gap below SVG */
  line-height: 0;
}

.section-divider--wave {
  margin-top: -1px; /* prevent subpixel gap */
}

.section-divider--diagonal {
  margin-top: -1px;
}

/* Flip for bottom-of-section usage */
.section-divider--flip {
  transform: scaleY(-1);
}

/* Container that holds the SVG and removes spacing issues */
.divider-wrap {
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.divider-wrap--pull-up {
  margin-bottom: -1px;
}


/* --------------------------------------------------------------------------
   3. BUTTON SYSTEM
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}

/* Primary — gradient with depth */
.btn--primary {
  background: linear-gradient(
    135deg,
    var(--teal-500) 0%,
    var(--teal-600) 100%
  );
  color: #fff;
  box-shadow:
    0 2px 8px rgba(129, 180, 177, 0.30),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn--primary:hover {
  background: linear-gradient(
    135deg,
    var(--teal-400) 0%,
    var(--teal-600) 100%
  );
  box-shadow:
    0 4px 14px rgba(129, 180, 177, 0.40),
    0 2px 4px rgba(0, 0, 0, 0.10);
  transform: translateY(-1px);
}

.btn--primary:active {
  background: linear-gradient(
    135deg,
    var(--teal-600) 0%,
    var(--teal-700) 100%
  );
  box-shadow:
    0 1px 4px rgba(129, 180, 177, 0.20);
  transform: translateY(0);
}

/* Secondary — outline */
.btn--secondary {
  background: transparent;
  color: var(--teal-500);
  border-color: var(--teal-500);
}

.btn--secondary:hover {
  background: rgba(129, 180, 177, 0.08);
  border-color: var(--teal-600);
  color: var(--teal-600);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(129, 180, 177, 0.15);
}

.btn--secondary:active {
  background: rgba(129, 180, 177, 0.15);
  transform: translateY(0);
}

/* Large variant for CTAs */
.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* On-dark variant (for dark backgrounds) */
.btn--on-dark.btn--primary {
  box-shadow:
    0 2px 10px rgba(129, 180, 177, 0.40),
    0 0 20px rgba(129, 180, 177, 0.10);
}

.btn--on-dark.btn--primary:hover {
  box-shadow:
    0 4px 20px rgba(129, 180, 177, 0.50),
    0 0 30px rgba(129, 180, 177, 0.15);
}

.btn--on-dark.btn--secondary {
  color: var(--teal-400);
  border-color: var(--teal-400);
}

.btn--on-dark.btn--secondary:hover {
  background: rgba(129, 180, 177, 0.12);
  color: var(--teal-300);
  border-color: var(--teal-300);
}


/* --------------------------------------------------------------------------
   4. CARD COMPONENT SYSTEM
   -------------------------------------------------------------------------- */

.card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid var(--border-color);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    border-color var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* Card with subtle surface tint */
.card--surface {
  background: var(--bg-secondary);
}

/* Card with left accent border (testimonials) */
.card--accent {
  border-left: 3px solid var(--teal-500);
}

.card--accent-dark {
  border-left: 3px solid var(--teal-600);
}

/* Card lift on hover — for interactive cards */
.card--lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Coming Soon card */
.card--feature {
  padding: var(--space-8);
}

.card__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.card__title--sm {
  font-size: var(--text-lg);
}

.card__body {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: var(--leading-relaxed);
}

.card__body--sm {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.card__icon {
  width: 40px;
  height: 40px;
  background: rgba(129, 180, 177, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.card__icon--lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  font-size: 1.5rem;
}

.card__link {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 0.8125rem;
  color: var(--teal-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.card__link:hover {
  color: var(--teal-700);
}

/* Testimonial card */
.card--testimonial {
  text-align: left;
}

.card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--neutral-700);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.card__attribution {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--neutral-500);
}


/* --------------------------------------------------------------------------
   5. CSS GRID LAYOUTS
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--space-5);
}

/* Auto-responsive grid — cards fill available space */
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

/* Fixed column counts with responsive fallback */
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* Centered partial row — for 3-top / 2-bottom layouts */
.grid--2-centered {
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--container-sm);
  margin: var(--space-5) auto 0;
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .grid--2-centered {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Container for grid sections */
.grid-section {
  max-width: 1100px;
  margin: 0 auto;
}

.grid-section--narrow {
  max-width: 960px;
}


/* --------------------------------------------------------------------------
   6. SECTION UTILITY CLASSES
   -------------------------------------------------------------------------- */

.section {
  padding: 80px 24px;
}

.section--compact {
  padding: 48px 24px;
}

.section--spacious {
  padding: 60px 24px;
}

.section--white {
  background: var(--bg-primary);
}

.section--light {
  background: var(--neutral-50);
}

.section--teal-light {
  background: var(--teal-50);
}

.section--dark {
  background: var(--neutral-800);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.section__title--light {
  color: #fff;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--neutral-600);
  max-width: var(--container-sm);
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.75);
}


/* --------------------------------------------------------------------------
   7. STATS BAR
   -------------------------------------------------------------------------- */

.stats-bar {
  max-width: 900px;
  margin: 0 auto;
}

.stats-bar .grid--4 {
  text-align: center;
  gap: var(--space-8);
}

.stat__number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: var(--weight-medium);
  color: var(--teal-500);
  display: block;
}

.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .stats-bar .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* --------------------------------------------------------------------------
   8. JOURNEY TIMELINE — Pure CSS connected path
   -------------------------------------------------------------------------- */

.journey {
  max-width: 860px;
  margin: 0 auto;
}

.journey__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

/* Phase group */
.journey__phase {
  margin-bottom: var(--space-8);
}

.journey__phase:last-child {
  margin-bottom: 0;
}

.journey__phase-label {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.journey__phase-tag {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey__phase-tag--creation   { color: var(--teal-500); }
.journey__phase-tag--optimize   { color: var(--teal-600); }
.journey__phase-tag--legacy     { color: var(--teal-800); }

.journey__phase-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--neutral-800);
}

/* Timeline track — the vertical line and dots */
.journey__stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  position: relative;
}

/* Horizontal connector line behind cards */
.journey__stages::before {
  content: '';
  position: absolute;
  top: 28px; /* vertically center on stage number dot */
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--teal-200) 0%,
    var(--teal-400) 50%,
    var(--teal-200) 100%
  );
  z-index: 0;
  border-radius: 1px;
}

/* Phase-specific connector colors */
.journey__phase--creation .journey__stages::before {
  background: linear-gradient(
    90deg,
    rgba(129, 180, 177, 0.20),
    rgba(129, 180, 177, 0.40),
    rgba(129, 180, 177, 0.20)
  );
}

.journey__phase--optimize .journey__stages::before {
  background: linear-gradient(
    90deg,
    rgba(109, 161, 158, 0.25),
    rgba(109, 161, 158, 0.50),
    rgba(109, 161, 158, 0.25)
  );
}

.journey__phase--legacy .journey__stages::before {
  background: linear-gradient(
    90deg,
    rgba(74, 117, 115, 0.30),
    rgba(74, 117, 115, 0.55),
    rgba(74, 117, 115, 0.30)
  );
}

/* Stage card */
.journey__stage {
  position: relative;
  z-index: 1;
  text-decoration: none;
  display: block;
  padding: var(--space-4);
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    border-color var(--transition-base);
}

.journey__stage:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Phase-specific left borders */
.journey__phase--creation .journey__stage {
  border-left-color: rgba(129, 180, 177, 0.30);
}

.journey__phase--optimize .journey__stage {
  border-left-color: rgba(109, 161, 158, 0.40);
}

.journey__phase--legacy .journey__stage {
  border-left-color: rgba(74, 117, 115, 0.50);
}

/* Stage number dot */
.journey__stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
  position: relative;
}

/* Ring around dot */
.journey__stage-number::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.journey__stage:hover .journey__stage-number::after {
  border-color: var(--teal-300);
}

/* Stage number background colors using design system vars */
.journey__stage-number--1  { background: var(--stage-1-bg); color: var(--stage-text-light); }
.journey__stage-number--2  { background: var(--stage-2-bg); color: var(--stage-text-light); }
.journey__stage-number--3  { background: var(--stage-3-bg); color: var(--stage-text-light); }
.journey__stage-number--4  { background: var(--stage-4-bg); color: var(--stage-text-light); }
.journey__stage-number--5  { background: var(--stage-5-bg); color: var(--stage-text-light); }
.journey__stage-number--6  { background: var(--stage-6-bg); color: var(--stage-text-dark); }
.journey__stage-number--7  { background: var(--stage-7-bg); color: var(--stage-text-dark); }
.journey__stage-number--8  { background: var(--stage-8-bg); color: var(--stage-text-dark); }
.journey__stage-number--9  { background: var(--stage-9-bg); color: var(--stage-text-dark); }

.journey__stage-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--neutral-800);
  margin-bottom: 3px;
}

.journey__stage-desc {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  line-height: 1.4;
  display: block;
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .journey__stages {
    grid-template-columns: 1fr;
    padding-left: 30px;
  }

  /* Vertical line on mobile */
  .journey__stages::before {
    top: 0;
    bottom: 0;
    left: 12px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .journey__stage {
    position: relative;
  }

  /* Connector dot to vertical line */
  .journey__stage::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-400);
  }
}


/* --------------------------------------------------------------------------
   9. HERO STAGE BAR (the 9 linked circles in the hero)
   -------------------------------------------------------------------------- */

.stage-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* Connector line behind dots */
.stage-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(129, 180, 177, 0.12),
    rgba(129, 180, 177, 0.50),
    rgba(129, 180, 177, 1.0)
  );
  z-index: 0;
  border-radius: 1px;
}

.stage-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.stage-bar__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.stage-bar__item:hover .stage-bar__dot {
  transform: scale(1.15);
  box-shadow: 0 2px 10px rgba(129, 180, 177, 0.35);
}

.stage-bar__label {
  font-size: 0.6875rem;
  color: var(--neutral-500);
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

.stage-bar__item:hover .stage-bar__label {
  color: var(--teal-600);
}


/* --------------------------------------------------------------------------
   10. SCROLL-BASED FADE-IN ANIMATIONS
   -------------------------------------------------------------------------- */

/* Initial state: hidden and slightly shifted */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Visible state — applied by IntersectionObserver */
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for child elements */
.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }
.fade-in--delay-5 { transition-delay: 0.5s; }

/* Slide from left */
.fade-in--left {
  opacity: 0;
  transform: translateX(-24px);
}

.fade-in--left.fade-in--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.fade-in--right {
  opacity: 0;
  transform: translateX(24px);
}

.fade-in--right.fade-in--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.fade-in--scale {
  opacity: 0;
  transform: scale(0.95);
}

.fade-in--scale.fade-in--visible {
  opacity: 1;
  transform: scale(1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in--left,
  .fade-in--right,
  .fade-in--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* --------------------------------------------------------------------------
   11. CTA SECTION (dark background final section)
   -------------------------------------------------------------------------- */

.cta-section {
  position: relative;
  overflow: hidden;
}

/* Subtle gradient pattern on dark CTA */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 40% 60% at 20% 50%,
      rgba(129, 180, 177, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 35% 50% at 80% 30%,
      rgba(129, 180, 177, 0.04) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-section__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* --------------------------------------------------------------------------
   12. PILLAR CARDS (five pillars section)
   -------------------------------------------------------------------------- */

.pillar {
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  transition: background var(--transition-base);
}

.pillar:hover {
  background: var(--neutral-50);
}

.pillar__icon {
  width: 56px;
  height: 56px;
  background: rgba(129, 180, 177, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.pillar:hover .pillar__icon {
  transform: scale(1.08);
}

.pillar__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.pillar__desc {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: var(--leading-normal);
}


/* --------------------------------------------------------------------------
   INSIGHTS HUB — Filter & Sort Controls
   -------------------------------------------------------------------------- */

.filter-pill {
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--teal-400);
  color: var(--teal-600);
}

.filter-pill--active {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: #fff;
}

.filter-pill--active:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}

.insights-select {
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 28px 6px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--neutral-200);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: var(--neutral-600);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}

.insights-select:hover,
.insights-select:focus {
  border-color: var(--teal-400);
  outline: none;
}

/* Insight card transition for filter show/hide */
.insight-card {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.insight-card[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
}

@media (max-width: 768px) {
  #insights-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}
