/* =============================================
   PHYSICAL INTELLIGENCE × CLOUDFLARE
   styles.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Cloudflare */
  --cf-orange:    #F6821F;
  --cf-amber:     #FBAD41;
  --cf-orange-dk: #d96b10;

  /* PI accent — neutral near-white with subtle warm tint */
  --pi-accent:    #e8e4dc;
  --pi-glow:      rgba(232,228,220,0.06);

  /* Surfaces */
  --bg:      #070707;
  --bg-2:    #0d0d0d;
  --bg-3:    #141414;
  --surface: #1a1a1a;
  --surface2:#222222;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);

  /* Text */
  --text:  #f0ede8;
  --muted: #858585;
  --faint: #444;

  /* Code */
  --code-bg:  #0d1117;
  --code-b:   rgba(255,255,255,0.05);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'SF Mono', 'Fira Code', monospace;
  --max-w: 1180px;
  --r:    10px;
  --r-lg: 16px;
  --t:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.72rem 1.5rem;
  border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: none; font-family: var(--font);
  transition: var(--t);
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn--primary { background: var(--cf-orange); color: #fff; }
.btn--primary:hover { background: var(--cf-orange-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(246,130,31,.3); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn--ghost:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); transform: translateY(-1px); }

/* ---- Section header ---- */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.section-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cf-orange); margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 0.7rem;
}
.section-sub { font-size: 0.925rem; color: var(--muted); line-height: 1.8; }

/* ====================== NAV ====================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem; transition: var(--t);
}
.nav.scrolled {
  background: rgba(7,7,7,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__brand {
  display: flex; align-items: center; gap: 0.55rem;
}
.nav__pi {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--pi-glow); border: 1px solid rgba(232,228,220,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--pi-accent);
  font-style: italic;
}
.nav__sep { color: var(--faint); font-size: 0.9rem; }
.nav__cf-logo { height: 18px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a { font-size: 0.82rem; font-weight: 500; color: var(--muted); transition: color var(--t); }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--cf-orange) !important; color: #fff !important;
  font-weight: 600 !important; padding: 0.4rem 1rem;
  border-radius: 6px; font-size: 0.8rem !important;
}
.nav__cta:hover { background: var(--cf-orange-dk) !important; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }

/* ====================== HERO ====================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background: var(--bg); }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(246,130,31,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,130,31,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 20%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; }
.hero__glow--1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(246,130,31,.09), transparent 70%); top: -60px; right: -120px; animation: gh 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(232,228,220,.04), transparent 70%); bottom: 0; left: -80px; animation: gh 18s ease-in-out infinite alternate-reverse; }
.hero__glow--3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(246,130,31,.04), transparent 70%); top: 50%; left: 30%; animation: gh 12s ease-in-out infinite alternate; }
@keyframes gh { from { transform: translate(0,0); } to { transform: translate(24px,18px); } }

.hero__inner { position: relative; z-index: 2; padding-top: 2rem; padding-bottom: 5rem; }

.hero__badges {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.75rem; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem;
  border-radius: 50px; letter-spacing: 0.03em;
}
.badge--pi {
  background: rgba(232,228,220,.07); border: 1px solid rgba(232,228,220,.15);
  color: var(--pi-accent);
}
.badge__pi-symbol { font-style: italic; font-size: 1rem; }
.badge__sep { color: var(--faint); font-size: 1rem; }
.badge--cf {
  background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.2);
  color: var(--cf-amber);
}
.badge--cf svg { height: 14px; width: auto; }

.hero__h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.07;
  margin-bottom: 1.4rem; max-width: 740px;
}
.hero__h1 em { font-style: italic; color: var(--cf-orange); }
.hero__sub {
  font-size: 1rem; color: var(--muted); max-width: 600px;
  line-height: 1.8; margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem; }
.meta-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 500; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  padding: .25rem .7rem; border-radius: 50px;
}
.meta-pill svg { width: 12px; height: 12px; flex-shrink: 0; }
.meta-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.7); } }

.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--cf-orange));
  animation: scroll-fade 2.2s ease-in-out infinite;
}
@keyframes scroll-fade { 0%,100% { opacity:.3; } 50% { opacity:1; } }

/* ====================== OVERVIEW ====================== */
.overview { padding: 6rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }

.overview__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.ov-card {
  background: var(--bg-2); padding: 2rem;
  transition: background var(--t);
}
.ov-card:hover { background: var(--bg-3); }
.ov-card--wide { grid-column: span 2; border-bottom: 1px solid var(--border); }
.ov-card__label {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; color: var(--cf-orange); margin-bottom: .5rem;
}
.ov-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; letter-spacing: -.01em; }
.ov-card p { font-size: .875rem; color: var(--muted); line-height: 1.75; margin-bottom: .75rem; }
.ov-card p:last-of-type { margin-bottom: 1rem; }
.ov-card__pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .68rem; font-weight: 600; padding: .2rem .55rem;
  background: rgba(246,130,31,.06); border: 1px solid rgba(246,130,31,.16);
  color: var(--cf-amber); border-radius: 4px; letter-spacing: .03em;
}

/* Model timeline */
.model-timeline { display: flex; flex-direction: column; gap: .8rem; }
.model-step {
  display: flex; gap: .85rem; align-items: flex-start;
  padding-bottom: .8rem; border-bottom: 1px solid var(--border);
}
.model-step:last-child { border-bottom: none; padding-bottom: 0; }
.model-step__version {
  flex-shrink: 0; width: 56px; text-align: center;
  font-size: .72rem; font-weight: 700; font-family: var(--mono);
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 6px; padding: .25rem .4rem;
  color: var(--muted); line-height: 1.6;
}
.model-step--latest .model-step__version {
  background: rgba(246,130,31,.1); border-color: rgba(246,130,31,.25);
  color: var(--cf-amber);
}
.model-step strong { display: block; font-size: .82rem; margin-bottom: .2rem; }
.model-step p { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* Partner list */
.partner-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1rem; }
.partner-item {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r);
}
.partner-item__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.15);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--cf-orange);
}
.partner-item__icon svg { width: 18px; height: 18px; }
.partner-item strong { display: block; font-size: .85rem; margin-bottom: .2rem; }
.partner-item p { font-size: .78rem; color: var(--muted); line-height: 1.6; }
.partner-note {
  font-size: .72rem; color: var(--faint);
  background: rgba(74,222,128,.04); border: 1px solid rgba(74,222,128,.12);
  border-radius: 6px; padding: .5rem .75rem;
}

/* ====================== INFRASTRUCTURE ====================== */
.infra { padding: 6rem 0; background: var(--bg); border-top: 1px solid var(--border); }

.infra__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.infra-col {
  background: var(--bg-2); padding: 2rem;
  transition: background var(--t);
}
.infra-col:hover { background: var(--bg-3); }
.infra-col__num {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  color: var(--cf-orange); margin-bottom: .85rem;
}
.infra-col__icon {
  width: 40px; height: 40px; color: var(--muted);
  margin-bottom: 1rem;
}
.infra-col__icon svg { width: 100%; height: 100%; }
.infra-col h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.infra-col p { font-size: .855rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.infra-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.itag {
  font-size: .65rem; font-weight: 600; padding: .18rem .48rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--border2);
  color: var(--muted); border-radius: 4px;
}

/* ====================== VALUE ROWS ====================== */
.value { padding: 6rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }

.value__list { display: flex; flex-direction: column; gap: 0; }

.value-row {
  display: grid; grid-template-columns: 56px 1fr 380px; gap: 2.5rem;
  align-items: start; padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.value-row:last-child { border-bottom: none; }
.value-row--reverse { direction: rtl; }
.value-row--reverse > * { direction: ltr; }

.value-row__num {
  font-size: 2rem; font-weight: 800; color: var(--cf-orange);
  opacity: .25; line-height: 1; padding-top: .25rem;
}

.value-row__content {}
.value-row__header {
  display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1.1rem; flex-wrap: wrap;
}
.value-row__icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; padding: 9px;
}
.value-row__icon svg { width: 100%; height: 100%; }
.vr-icon--r2      { background: rgba(99,179,237,.1); color: #63b3ed; }
.vr-icon--ai      { background: rgba(246,130,31,.1); color: var(--cf-orange); }
.vr-icon--zt      { background: rgba(74,222,128,.1); color: #4ade80; }
.vr-icon--pages   { background: rgba(183,148,246,.1); color: #b794f6; }

.value-row__area {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); margin-bottom: .1rem;
}
.value-row h3 { font-size: 1.05rem; font-weight: 700; }

.value-row__products {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-left: auto;
}
.vpill {
  font-size: .66rem; font-weight: 700; padding: .2rem .55rem;
  border-radius: 4px; border: 1px solid;
}
.vpill--r2      { background: rgba(99,179,237,.08); color: #90cdf4; border-color: rgba(99,179,237,.2); }
.vpill--workers { background: rgba(246,130,31,.08); color: var(--cf-amber); border-color: rgba(246,130,31,.2); }
.vpill--ai      { background: rgba(246,130,31,.08); color: var(--cf-amber); border-color: rgba(246,130,31,.2); }
.vpill--zt      { background: rgba(74,222,128,.08); color: #86efac; border-color: rgba(74,222,128,.2); }
.vpill--rt      { background: rgba(56,189,248,.08); color: #7dd3fc; border-color: rgba(56,189,248,.2); }
.vpill--pages   { background: rgba(183,148,246,.08); color: #c4b5fd; border-color: rgba(183,148,246,.2); }
.vpill--images  { background: rgba(154,230,180,.08); color: #86efac; border-color: rgba(154,230,180,.2); }
.vpill--waf     { background: rgba(252,211,77,.08); color: #fde68a; border-color: rgba(252,211,77,.2); }

.value-row__desc {
  font-size: .875rem; color: var(--muted); line-height: 1.8;
  margin-bottom: .85rem;
}
.value-row__impact { display: flex; flex-direction: column; gap: .45rem; }
.impact-item {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .82rem; color: var(--text-muted);
}
.impact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

/* Visual panels */
.vr-visual {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem;
}
.vr-visual__label {
  font-size: .66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--faint); margin-bottom: .9rem;
}

/* Cost compare */
.vr-cost-compare { display: flex; gap: .6rem; }
.vr-cost-item {
  flex: 1; text-align: center; padding: .85rem .75rem; border-radius: 8px;
  font-size: .76rem;
}
.vr-cost-item span { display: block; color: var(--muted); margin-bottom: .35rem; line-height: 1.4; }
.vr-cost-item small { display: block; font-size: .66rem; color: var(--faint); margin-top: .25rem; }
.vr-cost-item strong { display: block; font-size: 1.15rem; font-weight: 800; }
.vr-cost-item--bad  { background: rgba(252,129,129,.06); border: 1px solid rgba(252,129,129,.15); }
.vr-cost-item--bad strong { color: #fc8181; }
.vr-cost-item--good { background: rgba(74,222,128,.06); border: 1px solid rgba(74,222,128,.15); }
.vr-cost-item--good strong { color: #4ade80; }

/* Access control flow */
.vr-flow {
  display: flex; align-items: center; gap: .4rem; margin-top: .5rem;
  flex-wrap: wrap; font-size: .72rem;
}
.vrf-node {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 6px; padding: .3rem .6rem;
  text-align: center; font-size: .7rem; line-height: 1.3;
}
.vrf-node small { display: block; color: var(--muted); font-size: .62rem; }
.vrf-node--cf { background: rgba(246,130,31,.08); border-color: rgba(246,130,31,.2); color: var(--cf-amber); }
.vrf-arrow { font-size: .68rem; color: var(--cf-orange); font-weight: 600; }

/* Gateway visual */
.vr-gateway { position: relative; }
.vrg-row { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.vrg-partner {
  font-size: .72rem; background: var(--surface); border: 1px solid var(--border2);
  border-radius: 5px; padding: .25rem .55rem; flex-shrink: 0;
}
.vrg-line {
  flex: 1; height: 1px; background: linear-gradient(to right, var(--border2), var(--cf-orange));
}
.vrg-gateway {
  background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.2);
  border-radius: 8px; padding: .65rem 1rem; text-align: center;
  font-size: .78rem; font-weight: 700; color: var(--cf-amber); margin-bottom: .5rem;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.vrg-gateway svg { width: 16px; height: 16px; }
.vrg-gateway small { font-size: .65rem; color: var(--muted); font-weight: 400; }
.vrg-line--down {
  width: 1px; height: 28px; margin: 0 auto .5rem;
  background: linear-gradient(to bottom, var(--cf-orange), var(--border2));
}
.vrg-backend {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 6px; padding: .35rem .75rem; text-align: center;
  font-size: .74rem; font-weight: 600;
}

/* Robot network visual */
.vr-robot-net { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.vrn-site {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 8px; padding: .85rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.vrn-site__label { font-size: .62rem; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.vrn-robot {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  font-size: .72rem; font-weight: 600;
}
.vrn-robot svg { width: 32px; height: 32px; color: var(--muted); }
.vrn-tunnel-label {
  display: flex; align-items: center; gap: .3rem;
  font-size: .62rem; color: var(--cf-orange); font-weight: 600;
}
.vrn-tunnel-label svg { width: 12px; height: 12px; }
.vrn-cf {
  background: rgba(246,130,31,.06); border: 1px solid rgba(246,130,31,.18);
  border-radius: 8px; padding: .75rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.vrn-cf__badge { font-size: .72rem; font-weight: 700; color: var(--cf-amber); }
.vrn-cf__services {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.vrn-cf__services span {
  font-size: .62rem; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 4px; padding: .12rem .4rem;
}
.vrn-cloud {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}
.vrn-cloud svg { width: 28px; height: 28px; color: var(--muted); }
.vrn-hitl {
  display: flex; align-items: center; gap: .45rem;
  font-size: .68rem; color: var(--muted); margin-top: .75rem;
  background: rgba(252,211,77,.04); border: 1px solid rgba(252,211,77,.12);
  border-radius: 6px; padding: .45rem .7rem;
}
.vrn-hitl svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Traffic chart */
.vr-traffic {}
.vrt-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 80px;
  margin-bottom: .6rem;
}
.vrt-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: rgba(246,130,31,.25);
  transition: height 1.2s ease;
  position: relative;
}
.vrt-bar::after {
  content: attr(data-label);
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  font-size: .55rem; color: var(--faint); white-space: nowrap;
}
.vrt-bar--spike {
  background: linear-gradient(to top, var(--cf-orange), var(--cf-amber));
}
.vrt-bar--spike2 {
  background: linear-gradient(to top, rgba(246,130,31,.7), rgba(251,173,65,.7));
}
.vrt-spike-label {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-size: .58rem; color: var(--cf-amber); font-weight: 600;
  white-space: nowrap;
}
.vrt-cf-layer {
  display: flex; align-items: center; gap: .4rem;
  font-size: .68rem; color: var(--muted); margin-top: 1.25rem;
  background: rgba(246,130,31,.04); border: 1px solid rgba(246,130,31,.12);
  border-radius: 6px; padding: .45rem .7rem;
}
.vrt-cf-layer svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ====================== PRODUCT MAP ====================== */
.products { padding: 6rem 0; background: var(--bg); border-top: 1px solid var(--border); }

.pmap {
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.pmap__header {
  display: grid; grid-template-columns: 2fr 1.5fr 2.5fr 100px;
  gap: 1.5rem; padding: .75rem 1.5rem;
  background: var(--surface); border-bottom: 1px solid var(--border);
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--faint);
}
.pmap__row {
  display: grid; grid-template-columns: 2fr 1.5fr 2.5fr 100px;
  gap: 1.5rem; padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t); align-items: center;
}
.pmap__row:last-child { border-bottom: none; }
.pmap__row:hover { background: var(--bg-2); }
.pmap__row--high { border-left: 3px solid rgba(246,130,31,.5); }
.pmap__row--med  { border-left: 3px solid rgba(246,130,31,.25); }
.pmap__row--low  { border-left: 3px solid rgba(246,130,31,.1); }

.pmap__need { font-size: .82rem; font-weight: 600; }
.pmap__product { display: flex; flex-wrap: wrap; gap: .3rem; }
.pmap__value { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.pmap__priority { font-size: .7rem; font-weight: 700; }
.priority--high { color: var(--cf-orange); }
.priority--med  { color: var(--cf-amber); }
.priority--low  { color: var(--muted); }

/* product tags in table */
.vtag {
  font-size: .62rem; font-weight: 700; padding: .15rem .45rem;
  border-radius: 4px; border: 1px solid; white-space: nowrap;
}
.vtag--r2      { background: rgba(99,179,237,.08); color: #90cdf4; border-color: rgba(99,179,237,.2); }
.vtag--workers { background: rgba(246,130,31,.08); color: var(--cf-amber); border-color: rgba(246,130,31,.2); }
.vtag--ai      { background: rgba(246,130,31,.08); color: var(--cf-amber); border-color: rgba(246,130,31,.2); }
.vtag--zt      { background: rgba(74,222,128,.08); color: #86efac; border-color: rgba(74,222,128,.2); }
.vtag--rt      { background: rgba(56,189,248,.08); color: #7dd3fc; border-color: rgba(56,189,248,.2); }
.vtag--pages   { background: rgba(183,148,246,.08); color: #c4b5fd; border-color: rgba(183,148,246,.2); }
.vtag--waf     { background: rgba(252,211,77,.08); color: #fde68a; border-color: rgba(252,211,77,.2); }

/* ====================== SUMMARY ====================== */
.summary { padding: 7rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.summary__inner { max-width: 900px; margin: 0 auto; }
.summary__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .7rem; font-weight: 700; color: var(--cf-amber);
  background: rgba(246,130,31,.08); border: 1px solid rgba(246,130,31,.2);
  padding: .3rem .8rem; border-radius: 50px; margin-bottom: 1.5rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.summary__badge svg { width: 13px; height: 13px; }
.summary__title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; margin-bottom: .85rem;
}
.summary__sub { font-size: .95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; }

.summary__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2.5rem; }
.summary-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  transition: border-color var(--t);
}
.summary-card:hover { border-color: rgba(246,130,31,.25); }
.summary-card__icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 9px;
  margin-bottom: 1rem;
}
.summary-card__icon svg { width: 100%; height: 100%; }
.sc-icon--r2 { background: rgba(99,179,237,.1); color: #63b3ed; }
.sc-icon--ai { background: rgba(246,130,31,.1); color: var(--cf-orange); }
.summary-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .65rem; }
.summary-card p { font-size: .855rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.summary-card__outcome {
  background: rgba(246,130,31,.05); border: 1px solid rgba(246,130,31,.12);
  border-radius: 8px; padding: .7rem .9rem;
  font-size: .78rem; color: var(--muted); line-height: 1.6;
}
.summary-card__outcome strong { color: var(--cf-amber); margin-right: .25rem; }

.summary__links { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ====================== FOOTER ====================== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.footer__pi {
  width: 26px; height: 26px; border-radius: 5px;
  background: var(--pi-glow); border: 1px solid rgba(232,228,220,.12);
  display: flex; align-items: center; justify-content: center;
  font-style: italic; font-weight: 700; font-size: .95rem; color: var(--pi-accent);
}
.footer__sep { color: var(--faint); }
.footer__cf { height: 16px; width: auto; }
.footer__left p { font-size: .75rem; color: var(--faint); line-height: 1.65; max-width: 440px; }
.footer__left a { color: var(--cf-orange); }
.footer__right { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }
.footer__right a { font-size: .75rem; color: var(--faint); transition: color var(--t); }
.footer__right a:hover { color: var(--cf-orange); }

/* ====================== FADE ANIMATION ====================== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .value-row { grid-template-columns: 40px 1fr; }
  .value-row__visual { display: none; }
  .infra__cols { grid-template-columns: 1fr; }
  .overview__grid { grid-template-columns: 1fr; }
  .ov-card--wide { grid-column: span 1; }
  .pmap__header,
  .pmap__row { grid-template-columns: 2fr 1.5fr 2.5fr; }
  .pmap__priority { display: none; }
  .summary__two { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,7,7,.97);
    align-items: center; justify-content: center;
    gap: 2rem; font-size: 1.1rem; z-index: 99;
  }
  .value-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .value-row__num { font-size: 1.2rem; }
  .value-row--reverse { direction: ltr; }
  .pmap__header,
  .pmap__row { grid-template-columns: 1fr 1fr; }
  .pmap__value { display: none; }
  .footer__inner { flex-direction: column; }
  .footer__right { align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .summary__links { flex-direction: column; }
  .summary__links .btn { width: 100%; justify-content: center; }
}
