
/* ── Portfolio V2: Brand Architecture & Adoption Paths ── */

/* Brand Hierarchy */
.brand-hierarchy {
  max-width: 840px;
  margin: 0 auto 3rem;
  position: relative;
}

.brand-parent {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.brand-parent::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), rgba(139,92,246,0.5), transparent);
}
.brand-parent > * { position: relative; z-index: 1; }

.brand-parent-label {
  text-align: center;
  margin-bottom: 2rem;
}
.brand-parent-label h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.brand-parent-label .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}

.brand-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.brand-product {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-product::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.brand-product > * { position: relative; z-index: 1; }
.brand-product:hover { transform: translateY(-3px); }
.brand-product:hover::before { opacity: 1; }

.brand-product .bp-tier {
  display: inline-block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.brand-product .bp-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}
.brand-product .bp-desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Product-specific colors */
.bp-gateway { border-color: rgba(96,165,250,0.25); }
.bp-gateway::before { background: linear-gradient(90deg, transparent, rgba(96,165,250,0.7), transparent); }
.bp-gateway:hover { border-color: rgba(96,165,250,0.5); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(96,165,250,0.12); }
.bp-gateway:hover .bp-name { color: #60a5fa; }
.bp-gateway .bp-tier { background: rgba(96,165,250,0.15); color: #60a5fa; }

.bp-magic { border-color: rgba(167,139,250,0.25); }
.bp-magic::before { background: linear-gradient(90deg, transparent, rgba(167,139,250,0.7), transparent); }
.bp-magic:hover { border-color: rgba(167,139,250,0.5); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(167,139,250,0.12); }
.bp-magic:hover .bp-name { color: #a78bfa; }
.bp-magic .bp-tier { background: rgba(167,139,250,0.15); color: #a78bfa; }

.bp-wallace { border-color: rgba(74,222,128,0.2); }
.bp-wallace::before { background: linear-gradient(90deg, transparent, rgba(74,222,128,0.6), transparent); }
.bp-wallace:hover { border-color: rgba(74,222,128,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(74,222,128,0.1); }
.bp-wallace:hover .bp-name { color: #4ade80; }
.bp-wallace .bp-tier { background: rgba(74,222,128,0.12); color: #4ade80; }

.bp-core { border-color: rgba(34,211,238,0.2); }
.bp-core::before { background: linear-gradient(90deg, transparent, rgba(34,211,238,0.6), transparent); }
.bp-core:hover { border-color: rgba(34,211,238,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(34,211,238,0.1); }
.bp-core:hover .bp-name { color: #22d3ee; }
.bp-core .bp-tier { background: rgba(34,211,238,0.12); color: #22d3ee; }

/* Connector lines between parent and children */
.brand-connector {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0;
}
.brand-connector svg {
  color: #334155;
}

/* Adoption Paths */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.path-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.path-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), rgba(139,92,246,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.path-card::after {
  content: "";
  position: absolute;
  top: 0; left: 5%; right: 5%; height: 120px;
  background: radial-gradient(ellipse at center top, rgba(59,130,246,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.path-card > * { position: relative; z-index: 1; }
.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(59,130,246,0.1);
}
.path-card:hover::before, .path-card:hover::after { opacity: 1; }

.path-label {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
}

.path-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.path-card:hover h3 { color: #60a5fa; }

.path-sequence {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.path-step {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.path-step--gateway { background: rgba(96,165,250,0.15); color: #60a5fa; }
.path-step--magic { background: rgba(167,139,250,0.15); color: #a78bfa; }
.path-step--wallace { background: rgba(74,222,128,0.12); color: #4ade80; }
.path-step--core { background: rgba(34,211,238,0.12); color: #22d3ee; }

.path-arrow {
  color: #475569;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.path-desc {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Product Summary Cards (4-col on lg) */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.summary-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}
.summary-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.summary-card > * { position: relative; z-index: 1; }
.summary-card:hover { transform: translateY(-4px); }
.summary-card:hover::before { opacity: 1; }

.summary-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.summary-card .sc-role {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.summary-card .sc-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.summary-card .sc-stats li {
  font-size: 0.8125rem;
  color: #94a3b8;
  padding: 0.2rem 0;
  padding-left: 1.1rem;
  position: relative;
}
.summary-card .sc-stats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

/* Summary card product colors */
.sc-gateway { border-color: rgba(96,165,250,0.25); }
.sc-gateway::before { background: linear-gradient(90deg, transparent, rgba(96,165,250,0.7), transparent); }
.sc-gateway:hover { border-color: rgba(96,165,250,0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(96,165,250,0.12); }
.sc-gateway:hover h3 { color: #60a5fa; }
.sc-gateway .sc-stats li::before { background: #60a5fa; }
.sc-gateway .link { color: #60a5fa; }

.sc-magic { border-color: rgba(167,139,250,0.25); }
.sc-magic::before { background: linear-gradient(90deg, transparent, rgba(167,139,250,0.7), transparent); }
.sc-magic:hover { border-color: rgba(167,139,250,0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(167,139,250,0.12); }
.sc-magic:hover h3 { color: #a78bfa; }
.sc-magic .sc-stats li::before { background: #a78bfa; }
.sc-magic .link { color: #a78bfa; }

.sc-wallace { border-color: rgba(74,222,128,0.2); }
.sc-wallace::before { background: linear-gradient(90deg, transparent, rgba(74,222,128,0.6), transparent); }
.sc-wallace:hover { border-color: rgba(74,222,128,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(74,222,128,0.1); }
.sc-wallace:hover h3 { color: #4ade80; }
.sc-wallace .sc-stats li::before { background: #4ade80; }
.sc-wallace .link { color: #4ade80; }

.sc-core { border-color: rgba(34,211,238,0.2); }
.sc-core::before { background: linear-gradient(90deg, transparent, rgba(34,211,238,0.6), transparent); }
.sc-core:hover { border-color: rgba(34,211,238,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(34,211,238,0.1); }
.sc-core:hover h3 { color: #22d3ee; }
.sc-core .sc-stats li::before { background: #22d3ee; }
.sc-core .link { color: #22d3ee; }

.summary-card .link {
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}
.summary-card .link:hover { text-decoration: underline; }

/* CTA section product links */
.cta-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.cta-product-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #94a3b8;
  transition: all 0.3s ease;
}
.cta-product-links a:hover {
  border-color: rgba(255,255,255,0.25);
  color: #f1f5f9;
  background: rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .brand-products {
    grid-template-columns: 1fr;
  }
  .paths-grid {
    grid-template-columns: 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .path-sequence {
    gap: 0.35rem;
  }
}

/* Lift adoption-layer accent (indigo — distinct from Magic violet) */
.bp-lift { border-color: rgba(129,140,248,0.28); }
.bp-lift::before { background: linear-gradient(90deg, transparent, rgba(129,140,248,0.7), transparent); }
.bp-lift:hover { border-color: rgba(129,140,248,0.5); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(129,140,248,0.12); }
.bp-lift:hover .bp-name { color: #818cf8; }
.bp-lift .bp-tier { background: rgba(129,140,248,0.15); color: #818cf8; }
.bp-lift .link { color: #818cf8; }

/* ════ Portfolio V3 — hero elevation + symmetric platform map ════ */
.pf-eyebrow{
  display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:#93c5fd;padding:.4rem .9rem;border-radius:999px;margin-bottom:1.25rem;
  background:rgba(96,165,250,.10);border:1px solid rgba(96,165,250,.24);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.pf-hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;margin-top:1.9rem;}
.pf-hero-trust{
  list-style:none;display:flex;gap:1.1rem 1.75rem;flex-wrap:wrap;justify-content:center;
  padding:0;margin:2.4rem auto 0;max-width:760px;font-size:.8125rem;color:#9aa7b8;font-weight:500;
}
.pf-hero-trust li{position:relative;padding-left:1.4rem;white-space:nowrap;}
.pf-hero-trust li::before{
  content:"";position:absolute;left:0;top:50%;width:15px;height:15px;border-radius:50%;
  transform:translateY(-50%);
  background:radial-gradient(circle at 50% 45%, rgba(74,222,128,.85), rgba(74,222,128,.12) 72%);
}
.pf-hero-trust li::after{
  content:"";position:absolute;left:5px;top:50%;width:3.5px;height:6.5px;
  border:solid #08130c;border-width:0 1.6px 1.6px 0;transform:translateY(-62%) rotate(45deg);
}
@media (max-width:600px){ .pf-hero-trust{gap:.6rem 1.25rem;} .pf-hero-trust li{white-space:normal;} }

/* symmetric 3-up platform map — SCOPED to #platform-map (not the single Lift card) */
#platform-map .brand-products{ grid-template-columns:repeat(3,1fr); }
#packaged-adoption .brand-products{ grid-template-columns:1fr; }   /* single Lift card full-width */
@media (max-width:768px){ #platform-map .brand-products{ grid-template-columns:1fr; } }

/* anchor lands below sticky header; backed-claims link */
#platform-map{ scroll-margin-top:96px; }
.pf-hero-verify{ display:block;text-align:center;margin-top:1rem;font-size:.78rem;font-weight:600;
  color:#7dd3fc;text-decoration:none;letter-spacing:.01em; }
.pf-hero-verify:hover{ text-decoration:underline; }
