/* integrations.css — /integrations showcase page */

.page-wrap { max-width: 1100px; margin: 0 auto; padding: 0 2rem 6rem; }

/* Hero */
.int-hero { padding: 5rem 0 4rem; text-align: center; }
.int-eyebrow { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.int-headline { font-family: var(--head); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 1.25rem; }
.int-headline em { font-style: normal; color: var(--accent); }
.int-subtitle { font-family: var(--body); font-size: 1.0625rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; }
.int-hero-badges { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.badge-pill { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 0.35rem 0.875rem; }

/* Integration Logo Grid */
.logo-section { padding: 3rem 0 3.5rem; }
.logo-section-label { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; margin-bottom: 1.5rem; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.logo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.logo-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-glow); }
.logo-icon { width: 56px; height: 56px; }
.logo-name { font-family: var(--head); font-size: 0.875rem; font-weight: 700; color: var(--text); }
.logo-tag { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; padding: 0.15rem 0.5rem; }

/* How it works */
.hiw-section { padding: 3.5rem 0; border-top: 1px solid var(--border); }
.section-label { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; }
.section-headline { font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 2rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.step-num { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); margin-bottom: 0.75rem; }
.step-title { font-family: var(--head); font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.step-desc { font-family: var(--body); font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* Trigger examples */
.triggers-section { padding: 3.5rem 0; border-top: 1px solid var(--border); }
.triggers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.trigger-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.trigger-header { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.trigger-logo-wrap { width: 32px; height: 32px; flex-shrink: 0; }
.trigger-logo-wrap img { width: 32px; height: 32px; }
.trigger-platform { font-family: var(--head); font-size: 0.875rem; font-weight: 700; color: var(--text); }
.trigger-badge { font-family: var(--mono); font-size: 0.65rem; color: var(--accent); background: var(--accent-glow); border: 1px solid rgba(255,180,0,0.2); border-radius: 4px; padding: 0.1rem 0.5rem; margin-left: auto; }
.trigger-body { padding: 1.25rem; }
.trigger-label { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); margin-bottom: 0.4rem; }
.trigger-desc { font-family: var(--body); font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.trigger-flow { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.flow-node { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); background: var(--surface2); border: 1px solid var(--border); border-radius: 5px; padding: 0.25rem 0.625rem; }
.flow-arrow { color: var(--text-dim); font-size: 0.75rem; }

/* Setup guides */
.guides-section { padding: 3.5rem 0; border-top: 1px solid var(--border); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.guide-icon { margin-bottom: 0.875rem; }
.guide-name { font-family: var(--head); font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.guide-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.guide-steps li { font-family: var(--body); font-size: 0.85rem; color: var(--text-muted); padding-left: 1.25rem; position: relative; line-height: 1.55; }
.guide-steps li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.guide-link { display: inline-block; margin-top: 1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--accent); text-decoration: none; }
.guide-link:hover { text-decoration: underline; }

/* API capabilities */
.api-section { padding: 3.5rem 0; border-top: 1px solid var(--border); }
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.api-feature-list { display: flex; flex-direction: column; gap: 0.875rem; }
.api-feature { display: flex; align-items: flex-start; gap: 0.75rem; }
.api-check { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.api-feature-text { font-family: var(--body); font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.api-feature-text strong { color: var(--text); font-weight: 600; }
.api-code-block { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.api-code-label { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dim); margin-bottom: 0.875rem; }
.api-code-block pre { font-family: var(--mono); font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; margin: 0; overflow-x: auto; }
.api-code-block pre .kw { color: var(--accent); }
.api-code-block pre .str { color: #7dd38a; }
.api-code-block pre .cmt { color: #555; font-style: italic; }

/* CTA */
.cta-section { padding: 4rem 0 2rem; text-align: center; border-top: 1px solid var(--border); }
.cta-headline { font-family: var(--head); font-size: 1.75rem; font-weight: 800; color: var(--text); margin-bottom: 0.75rem; }
.cta-sub { font-family: var(--body); font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 2rem; }
.cta-btn { display: inline-block; font-family: var(--head); font-size: 0.9375rem; font-weight: 700; color: #000; background: var(--accent); border-radius: 8px; padding: 0.75rem 2rem; text-decoration: none; transition: opacity 0.2s; }
.cta-btn:hover { opacity: 0.88; }
.cta-btn-secondary { display: inline-block; font-family: var(--head); font-size: 0.9375rem; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 2rem; text-decoration: none; margin-left: 0.75rem; transition: border-color 0.2s; }
.cta-btn-secondary:hover { border-color: var(--accent); }
.cta-links { margin-top: 1.25rem; }
.cta-links a { font-family: var(--mono); font-size: 0.78rem; color: var(--text-dim); text-decoration: none; margin: 0 0.5rem; }
.cta-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .triggers-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .api-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}