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

/* ── HERO ── */
.plat-hero {
  background: linear-gradient(150deg, #06090f 0%, #0d1a35 50%, #110d2e 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.plat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(35,97,217,.18), transparent);
  pointer-events: none;
}
.plat-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;
}
.plat-hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.12;
}
.plat-hero h1 span { color: #60a5fa; }
.plat-hero p {
  color: rgba(255,255,255,.65);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.plat-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.infra-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.infra-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}

/* ── EXECUTIVE SUMMARY ── */
.exec-summary {
  text-align: center;
}
.exec-summary-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0 12px;
  line-height: 1.2;
}
.exec-summary-sub {
  font-size: 16px;
  color: var(--g500);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.exec-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.exec-phil-card {
  background: #fff;
  border-radius: var(--r);
  padding: 32px 28px;
  border: 1px solid var(--g200);
  transition: transform .25s ease, box-shadow .25s ease;
}
.exec-phil-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.exec-phil-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
}
.exec-phil-card p {
  font-size: 14px;
  color: var(--g600);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .exec-summary-grid { grid-template-columns: 1fr; }
}

/* ── DATA ECOSYSTEM ── */
.eco-section { background: var(--g50); padding: 88px 0; }
.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; color: var(--g500); 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;
  border: 1px solid var(--g200);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.eco-panel-sources { background: #fff; }
.eco-panel-center {
  background: linear-gradient(160deg, #0f172a, #1e2d4f);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(15,23,42,.25);
}
.eco-panel-outputs { background: #fff; }
.eco-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--g300);
  flex-shrink: 0;
  background: none;
  border: none;
  width: auto;
}
.eco-arrow-r { border: none; }

/* ── ECO PANEL — variantes light (fondo blanco) ── */
.eco-ph-ico-lt { background: var(--g100); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eco-ph-name-lt { font-size: 15px; font-weight: 700; color: var(--navy); }
.eco-ph-sub-lt  { font-size: 12px; color: var(--g400); margin-top: 1px; }
.eco-divider-lt { height: 1px; background: var(--g200); 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-lt:hover { background: var(--g50); }
.eco-row-name-lt { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 2px; }
.eco-row-desc-lt { font-size: 11px; color: var(--g400); 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-tall:hover { background: var(--g50); }
.eco-row-lt-ai { border: 1px solid transparent; border-radius: 8px; }
.eco-row-name-lt-ai { color: var(--purple); }

.eco-footer-lt { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--g200); }
.eco-footer-note-lt { font-size: 11px; color: var(--g400); line-height: 1.6; }

/* ── ECO CENTER — colores visibles sobre fondo oscuro ── */
.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-dim{background:rgba(255,255,255,.08)}
.eco-ph-ico-bright{background:rgba(255,255,255,.12)}
.eco-ph-name{font-size:15px;font-weight:700;color:#fff}
.eco-ph-sub{font-size:12px;color:rgba(255,255,255,.45);margin-top:1px}
.eco-panel-center .eco-divider { background: rgba(255,255,255,.12); margin-bottom: 16px; }
.eco-panel-center .eco-divider-white { background-color: #ffffff80; height: 1px;}
.eco-panel-center .eco-tagline { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.eco-panel-center .eco-bullet-dot   { background: #4ade80; }
.eco-panel-center .eco-bullet-title { color: #fff; font-size: 13px; font-weight: 600; display: block; }
.eco-panel-center .eco-bullet-desc  { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.5; }
.eco-panel-center .eco-footer       { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; margin-top: 24px; }
.eco-panel-center .eco-footer-pill  { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; }
.eco-panel-center .eco-footer-pills { display: flex; gap: 8px; }

/* ── STACK DETAIL ── */
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stack-card {
  border-radius: var(--r);
  padding: 30px;
  border: 1px solid;
}
.stack-card.snowflake   { background: linear-gradient(135deg, #e0f4ff, #eff6ff); border-color: #bfdbfe; }
.stack-card.thoughtspot { background: linear-gradient(135deg, var(--purple-lt), #f5f3ff); border-color: #c4b5fd; }
.stack-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stack-card p { font-size: 14px; color: var(--g600); line-height: 1.65; margin-bottom: 18px; }
.stack-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--g700);
  margin-bottom: 8px;
}

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--g200);
}
.compare-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}
.compare-table th:first-child { background: var(--g50); color: var(--g500); }
.compare-table th.gallus { background: var(--blue); color: #fff; }
.compare-table th.legacy { background: var(--g100); color: var(--g600); }
.compare-table td { padding: 13px 18px; border-top: 1px solid var(--g200); font-size: 14px; }
.compare-table td:first-child { font-weight: 600; color: var(--g700); background: var(--g50); }
.compare-table td.gallus { color: var(--green); font-weight: 600; }
.compare-table td.legacy { color: var(--g400); }
.compare-table tbody tr { cursor: default; }
.compare-table tr:hover td { background: inherit; }
.compare-table tr:hover td:first-child { background: var(--g50); }

/* ── TIMELINE ── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  z-index: 0;
}
.tl-item { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.tl-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 4px #fff, var(--shm);
}
.tl-week  { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.tl-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tl-desc  { font-size: 13px; color: var(--g500); line-height: 1.5; }

/* ── SECURITY ── */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sec-c {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color .2s, opacity 0.6s ease, transform 0.6s ease;
}
.sec-c:hover { border-color: rgba(255,255,255,.2); }
.sec-c-ico { margin-bottom: 12px; display: flex; }
.sec-c h4  { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sec-c p   { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.6; }
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}
.sec-cta-wrap { margin-top: 40px; text-align: center; }

/* ── 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: 900px) {
  .eco-diagram { grid-template-columns: 1fr; gap: 12px; }
  .eco-arrow { transform: rotate(90deg); padding: 4px 0; }
  .stack-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .timeline::before { display: none; }
  .sec-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .sec-grid  { grid-template-columns: 1fr; }
  .infra-strip { gap: 8px; }
}