/* ══════════════════════════════════════════════
   INTEGRATIONS.CSS — exclusive styles for integrations.html
   Depends on: base.css, nav.css, footer.css, animations.css
   ══════════════════════════════════════════════ */

/* ── HERO ── */
.int-hero {
  background: linear-gradient(150deg, #06090f 0%, #0d1a35 50%, #0f1a2e 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.int-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 70% at 50% 50%, rgba(35,97,217,.15), transparent);
  pointer-events: none;
}
.int-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 24px;
}
.int-hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.12;
}
.int-hero h1 span { color: #60a5fa; }
.int-hero p {
  color: rgba(255,255,255,.65);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.int-hero-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto;
}
.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 600;
}

/* ── ECO BASE (compartido entre light y dark) ── */
.eco-sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eco-sec-head .badge { margin-bottom: 14px; }
.eco-sec-head h2 { margin-bottom: 14px; }
.eco-sec-head p  { font-size: 17px; line-height: 1.65; }

.eco-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.eco-panel { padding: 28px 24px; border-radius: 16px; }
.eco-panel-center { position: relative; overflow: hidden; }
.eco-panel-center::before {
  content: '';
  position: absolute;
  top: -30%; left: -20%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.eco-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  flex-shrink: 0;
  background: none;
  border: none;
  width: auto;
}
.eco-arrow-r { border: none; }

/* ECO panel structure */
.eco-ph { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eco-ph-ico { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eco-ph-ico-lt { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eco-ph-ico-bright { background: rgba(255,255,255,.2); }
.eco-ph-name { font-size: 15px; font-weight: 700; color: #fff; }
.eco-ph-sub  { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 1px; }
.eco-ph-name-lt { font-size: 15px; font-weight: 700; }
.eco-ph-sub-lt  { font-size: 12px; margin-top: 1px; }
.eco-divider    { height: 1px; margin-bottom: 20px; }
.eco-divider-lt { height: 1px; margin-bottom: 20px; }
.eco-tagline { font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.eco-list-lt { display: flex; flex-direction: column; gap: 2px; }
.eco-row-lt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: default; transition: background .15s; }
.eco-row-name-lt { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.eco-row-desc-lt { font-size: 11px; line-height: 1.5; }
.eco-row-lt-tall { display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px; border-radius: 8px; cursor: default; transition: background .15s; }
.eco-row-lt-ai { border: 1px solid; border-radius: 8px; }
.eco-row-name-lt-ai { }
.eco-footer-lt { margin-top: 26px; padding-top: 18px; border-top: 1px solid; }
.eco-footer-note-lt { font-size: 11px; line-height: 1.6; }
.eco-bullet-list { display: flex; flex-direction: column; gap: 14px; }
.eco-bullet { display: flex; align-items: flex-start; gap: 10px; }
.eco-bullet-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.eco-bullet-title { font-size: 13px; font-weight: 600; display: block; }
.eco-bullet-desc  { font-size: 12px; line-height: 1.5; }
.eco-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid; }
.eco-footer-pills { display: flex; gap: 8px; }
.eco-footer-pill { border-radius: 6px; padding: 5px 12px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* ── DATA ECOSYSTEM — light version (fondo blanco, igual que platform) ── */
.eco-section-light { background: var(--g50); padding: 88px 0; }
.eco-section-light .eco-sec-head h2 { color: var(--navy); }
.eco-section-light .eco-sec-head p  { color: var(--g500); }

.eco-section-light .eco-panel {
  background: #fff;
  border: 1px solid var(--g200);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.eco-section-light .eco-panel-center {
  background: linear-gradient(160deg, #0f172a, #1e2d4f);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(15,23,42,.25);
}
.eco-section-light .eco-arrow {
  color: var(--g300);
}
.eco-section-light .eco-arrow svg path { stroke: #94A3B8; }

/* light panel items */
.eco-section-light .eco-ph-ico-lt { background: var(--g100); }
.eco-section-light .eco-ph-name-lt { color: var(--navy); }
.eco-section-light .eco-ph-sub-lt  { color: var(--g400); }
.eco-section-light .eco-divider-lt  { background: var(--g200); }
.eco-section-light .eco-row-name-lt { color: var(--navy); }
.eco-section-light .eco-row-desc-lt { color: var(--g400); }
.eco-section-light .eco-row-lt:hover      { background: var(--g50); }
.eco-section-light .eco-row-lt-tall:hover { background: var(--g50); }
.eco-section-light .eco-row-lt-ai { border-color: transparent; }
.eco-section-light .eco-row-name-lt-ai { color: var(--purple); }
.eco-section-light .eco-footer-lt { border-top-color: var(--g200); }
.eco-section-light .eco-footer-note-lt { color: var(--g400); }

/* center panel stays dark — override back */
.eco-section-light .eco-panel-center .eco-ph-name { color: #fff; }
.eco-section-light .eco-panel-center .eco-ph-sub  { color: rgba(255,255,255,.5); }
.eco-section-light .eco-panel-center .eco-divider { background: rgba(255,255,255,.12); }
.eco-section-light .eco-panel-center .eco-tagline { color: rgba(255,255,255,.65); }
.eco-section-light .eco-panel-center .eco-bullet-dot   { background: #4ade80; }
.eco-section-light .eco-panel-center .eco-bullet-title { color: #fff; }
.eco-section-light .eco-panel-center .eco-bullet-desc  { color: rgba(255,255,255,.55); }
.eco-section-light .eco-panel-center .eco-footer       { border-top-color: rgba(255,255,255,.12); }
.eco-section-light .eco-panel-center .eco-footer-pill  {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
}

/* ── HOW IT WORKS — dark + particles ── */
.how-section {
  background: linear-gradient(150deg, #06090f 0%, #0d1a35 50%, #0f1a2e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.how-section .sec-head h2 { color: #fff; }
.how-section .sec-head p  { color: rgba(255,255,255,.55); }
.how-section .sec-head .badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.how-section .sec-head .badge .mi { color: rgba(255,255,255,.7); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: border-color .2s, opacity 0.6s ease, transform 0.6s ease;
}
.how-card:hover { border-color: rgba(255,255,255,.18); }
.how-card-ico { margin-bottom: 16px; display: flex; justify-content: center; }
.how-card h3  { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.how-card p   { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ── SYSTEM CATEGORIES ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-item {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r);
  padding: 22px;
  transition: all .2s, opacity 0.6s ease, transform 0.6s ease;
}
.cat-item:hover {
  border-color: var(--blue-bd);
  box-shadow: 0 4px 14px rgba(35,97,217,.1);
  transform: translateY(-2px);
}
.cat-item-ico  { margin-bottom: 10px; display: flex; }
.cat-item-cat  { font-size: 10px; font-weight: 700; color: var(--g400); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.cat-item-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.cat-item-desc { font-size: 12px; color: var(--g500); line-height: 1.5; }

/* ── CTA ── */
.cta-sec {
  background: linear-gradient(135deg, var(--navy), #1e3a8a, #1a1040);
  color: #fff;
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-sec::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,97,217,.15), transparent 65%);
  pointer-events: none;
}
.cta-sec h2       { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 8px; position: relative; }
.cta-sec .cta-sub { color: #60a5fa; font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; margin-bottom: 16px; position: relative; }
.cta-sec .cta-tagline { color: rgba(255,255,255,.5); font-size: 16px; margin-bottom: 40px; font-style: italic; position: relative; }
.cta-btn-wrap { position: relative; }
.cta-note { color: rgba(255,255,255,.3); font-size: 13px; margin-top: 16px; position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .eco-diagram    { grid-template-columns: 1fr; gap: 12px; }
  .eco-arrow      { transform: rotate(90deg); padding: 4px 0; justify-content: center; }
  .how-grid       { grid-template-columns: repeat(2, 1fr); }
  .cat-grid       { grid-template-columns: repeat(2, 1fr); }
  .request-inner  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .how-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .int-hero-chips { gap: 6px; }
}