/* Integrations & Technology page */
.integrations-page {
  --int-accent: var(--accent);
  --int-muted: var(--muted);
  --int-border: var(--glass-border);
  --int-card-bg: rgba(14, 22, 16, 0.55);
  --int-card-border: rgba(61, 139, 94, 0.18);
  --int-light-card: var(--light-card);
  --int-light-border: var(--light-border);
}

/* Hero */
.int-hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 4.5rem;
  text-align: center;
}

.int-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(107, 143, 82, 0.14), transparent 65%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  pointer-events: none;
}

.int-hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(107, 143, 82, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 143, 82, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

.int-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.int-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 10vw, 4.8rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.int-hero-title em {
  color: var(--accent);
  font-style: normal;
}

.int-hero-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* Section layout */
.int-section {
  padding: 4rem 1.5rem;
}

.int-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.int-section-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .int-hero { padding: 9.5rem 3rem 5.5rem; }
  .int-section { padding: 5rem 3rem; }
  .int-section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .int-section-grid--reverse .int-section-visual { order: 2; }
  .int-section-grid--reverse .int-section-copy { order: 1; }
}

/* Platform badge */
.int-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.int-platform-badge::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* Cards & lists */
.int-feature-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.int-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.int-feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.section-light .int-feature-list li::before {
  background: var(--forest);
}

.int-lead {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.section-dark .int-lead { color: var(--cream); }
.section-light .int-lead { color: var(--light-text); }

.int-body {
  font-size: 0.88rem;
  line-height: 1.75;
}

.section-dark .int-body { color: var(--muted); }
.section-light .int-body { color: var(--light-muted); }

/* Future integrations chips */
.int-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.int-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid var(--int-card-border);
  background: rgba(107, 143, 82, 0.08);
  color: var(--accent);
}

.section-light .int-chip {
  border-color: var(--int-light-border);
  background: rgba(75, 99, 50, 0.06);
  color: var(--forest);
}

.int-chip-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.section-dark .int-chip-label { color: var(--muted); }
.section-light .int-chip-label { color: var(--light-muted); }

/* Diagram panels */
.int-diagram {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--int-card-border);
  background: var(--int-card-bg);
  padding: 1.75rem 1.25rem;
  backdrop-filter: blur(8px);
}

.section-light .int-diagram {
  background: var(--int-light-card);
  border-color: var(--int-light-border);
  box-shadow: 0 8px 32px rgba(20, 26, 22, 0.06);
}

.int-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.int-diagram-caption {
  margin-top: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.section-dark .int-diagram-caption { color: var(--muted); }
.section-light .int-diagram-caption { color: var(--light-muted); }

/* Clubs OS — dark section with subtle leaf pattern */
.int-clubs-os {
  position: relative;
  overflow: hidden;
}

.int-clubs-os::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/clubs-section-pattern.jpg');
  background-repeat: repeat;
  background-size: 520px auto;
  background-position: center top;
  opacity: 0.12;
  pointer-events: none;
}

.int-clubs-os::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.4) 0%, rgba(6, 10, 8, 0.85) 100%);
  pointer-events: none;
}

.int-clubs-os > * {
  position: relative;
  z-index: 1;
}

/* Light sections with pattern */
.int-section-pattern {
  position: relative;
  overflow: hidden;
}

.int-section-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/clubs-section-pattern.jpg');
  background-repeat: repeat;
  background-size: 520px auto;
  background-position: center top;
  opacity: 0.45;
  pointer-events: none;
}

.int-section-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(248, 248, 246, 0.85) 0%, rgba(248, 248, 246, 0.92) 100%);
  pointer-events: none;
}

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

/* Evolve section — compact */
.int-evolve {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
}

.int-evolve-inner {
  max-width: 640px;
  margin: 0 auto;
}

.int-evolve .sec-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Nav active state */
nav a[aria-current="page"] {
  color: var(--accent);
}

header.on-light.scrolled nav a[aria-current="page"] {
  color: var(--forest);
}
