/* ─────────────────────────────────────────────────────────────
   DigiPass — Homepage-specific styles
   ───────────────────────────────────────────────────────────── */

/* ═══ HERO ═════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--ink-950);
  color: white;
  overflow: hidden;
  padding: 5rem 0 7rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.30 0.042 165 / 0.15) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.30 0.042 165 / 0.15) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, black 0%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80%;
  height: 130%;
  background: radial-gradient(ellipse, oklch(0.44 0.058 165 / 0.35) 0%, transparent 60%);
  filter: blur(40px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-text h1 { overflow-wrap: break-word; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: oklch(0.54 0.052 165 / 0.15);
  border: 1px solid oklch(0.54 0.052 165 / 0.3);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--teal-200);
  margin-bottom: 1.75rem;
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 0 3px oklch(0.78 0.16 70 / 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px oklch(0.78 0.16 70 / 0.2); }
  50% { box-shadow: 0 0 0 6px oklch(0.78 0.16 70 / 0); }
}
.hero-eyebrow strong { color: white; }

.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}
.hero-accent {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-200) 50%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--teal-300);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--teal-400);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--teal-200); font-weight: 600; }
.hero-meta .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: oklch(0.44 0.058 165);
}

/* ═══ HERO VISUAL (AI INGESTION ANIMATION) ═════════════════ */
.hero-vis {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  height: 440px;
  min-width: 0;
  filter: drop-shadow(0 20px 60px oklch(0.13 0.040 165 / 0.5));
}

/* INPUT DOC */
.vis-doc {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transform: perspective(1600px) rotateY(3deg);
  transform-origin: right center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.vis-doc-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: var(--ink-100);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-600);
}
.vis-doc-bar .vis-doc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
}
.vis-doc-bar .vis-doc-size {
  margin-left: auto;
  color: var(--ink-500);
  font-size: 0.68rem;
}
.vis-doc-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.vis-doc-h {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ink-950);
  margin-bottom: 0.25rem;
}
.vis-doc-line {
  height: 6px;
  border-radius: 3px;
  background: var(--ink-200);
  position: relative;
}
.vis-doc-line.w-full { width: 100%; }
.vis-doc-line.w-90 { width: 90%; }
.vis-doc-line.w-85 { width: 85%; }
.vis-doc-line.w-80 { width: 80%; }
.vis-doc-line.w-75 { width: 75%; }
.vis-doc-line.w-70 { width: 70%; }
.vis-doc-line.w-60 { width: 60%; }
.vis-doc-line.w-50 { width: 50%; }

.vis-doc-line.hl {
  background: var(--teal-100);
  outline: 1px solid var(--teal-300);
  outline-offset: 2px;
  transition: outline 0.4s ease;
  opacity: 0;
  animation: hlAppear 8s infinite;
}

.vis-doc-line.hl-1 { animation-delay: 0.8s; }
.vis-doc-line.hl-2 { animation-delay: 1.8s; }
.vis-doc-line.hl-3 { animation-delay: 2.8s; }
.vis-doc-line.hl-4 { animation-delay: 3.8s; }

@keyframes hlAppear {
  0%, 5% { opacity: 0; background: var(--ink-200); }
  10% { opacity: 1; background: var(--teal-100); outline-color: var(--teal-500); }
  90% { opacity: 1; background: var(--teal-100); outline-color: var(--teal-500); }
  100% { opacity: 0.5; background: oklch(0.92 0.04 145); outline-color: var(--accent-green); }
}

.hl-tag {
  position: absolute;
  left: 0;
  top: -22px;
  background: var(--teal-700);
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  animation: tagAppear 8s infinite;
}
.hl-1 .hl-tag { animation-delay: 0.8s; }
.hl-2 .hl-tag { animation-delay: 1.8s; }
.hl-3 .hl-tag { animation-delay: 2.8s; }
.hl-4 .hl-tag { animation-delay: 3.8s; }
@keyframes tagAppear {
  0%, 8% { opacity: 0; transform: translateY(6px); }
  12%, 60% { opacity: 1; transform: translateY(0); }
  70%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* FLOW */
.vis-flow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -10px;
  z-index: 2;
}
.vis-flow svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-line {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 0;
  animation: flowAppear 8s infinite;
}
.flow-1 { animation-delay: 1.0s; }
.flow-2 { animation-delay: 2.0s; }
.flow-3 { animation-delay: 3.0s; }
.flow-4 { animation-delay: 4.0s; }
@keyframes flowAppear {
  0%, 8% { opacity: 0; stroke-dashoffset: 30; }
  15%, 55% { opacity: 1; stroke-dashoffset: 0; }
  65%, 100% { opacity: 0; }
}
.vis-flow-chip {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: oklch(0.18 0.042 165);
  color: var(--teal-200);
  border: 1px solid var(--teal-700);
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 0 0 4px oklch(0.36 0.055 165 / 0.15);
  animation: aiPulse 4s infinite;
}
.vis-flow-chip svg { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 4px oklch(0.36 0.055 165 / 0.15); }
  50% { box-shadow: 0 0 0 10px oklch(0.36 0.055 165 / 0.05); }
}

/* PASSPORT OUTPUT */
.vis-passport {
  background: linear-gradient(160deg, oklch(0.18 0.042 165) 0%, oklch(0.13 0.040 165) 100%);
  border: 1px solid oklch(0.30 0.042 165);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  overflow: hidden;
  transform: perspective(1600px) rotateY(-3deg);
  transform-origin: left center;
  box-shadow: 0 1px 0 oklch(0.68 0.042 165 / 0.15) inset;
}
.vis-pass-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid oklch(0.30 0.042 165);
  margin-bottom: 0.25rem;
}
.vis-pass-title { display: flex; align-items: center; gap: 0.55rem; }
.vis-pass-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.vis-pass-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: white;
  line-height: 1.3;
}
.vis-pass-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--teal-400);
}
.vis-pass-ring {
  position: relative;
  width: 40px;
  height: 40px;
}
.vis-pass-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: oklch(0.30 0.042 165); stroke-width: 3; }
.ring-fg {
  fill: none;
  stroke: var(--teal-400);
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 13;
  stroke-linecap: round;
  animation: ringFill 8s infinite;
}
@keyframes ringFill {
  0%, 5% { stroke-dashoffset: 100; }
  60%, 100% { stroke-dashoffset: 13; }
}
.vis-pass-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--teal-300);
  font-weight: 600;
}

.vis-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  background: oklch(0.20 0.042 165 / 0.7);
  border: 1px solid oklch(0.30 0.042 165);
  border-radius: 8px;
  opacity: 0;
  transform: translateX(-8px);
  animation: fieldAppear 8s infinite;
  min-width: 0;
}
.vis-field.f-1 { animation-delay: 1.2s; }
.vis-field.f-2 { animation-delay: 2.2s; }
.vis-field.f-3 { animation-delay: 3.2s; }
.vis-field.f-4 { animation-delay: 4.2s; }
@keyframes fieldAppear {
  0%, 8% { opacity: 0; transform: translateX(-8px); }
  15%, 95% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0.4; }
}
.vis-field-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.vis-field-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.vis-field-conf {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 60px;
}
.cf-bar {
  width: 36px;
  height: 4px;
  background: oklch(0.30 0.042 165);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.cf-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--teal-400);
  border-radius: 2px;
  animation: cfFill 8s infinite;
}
.vis-field.f-1 .cf-bar::after { animation-delay: 1.4s; --w: 94%; }
.vis-field.f-2 .cf-bar::after { animation-delay: 2.4s; --w: 99%; }
.vis-field.f-3 .cf-bar::after { animation-delay: 3.4s; --w: 71%; background: var(--accent-amber); }
.vis-field.f-4 .cf-bar::after { animation-delay: 4.4s; --w: 88%; }
@keyframes cfFill {
  0%, 10% { width: 0%; }
  18%, 100% { width: var(--w, 90%); }
}
.cf-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  color: var(--teal-300);
  font-weight: 600;
  min-width: 22px;
}
.vis-field-conf.w-amber .cf-num { color: var(--accent-amber); }
.vis-field-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: oklch(0.55 0.18 145);
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.vis-field-check.check-review {
  background: var(--accent-amber);
}

.vis-pass-foot {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid oklch(0.30 0.042 165);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dot-amber {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  display: inline-block;
}

@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; }
  .hero-vis { height: 400px; }
}
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-vis { height: 420px; max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .hero { padding: 3rem 0 4rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-meta { flex-wrap: wrap; gap: 0.5rem 0.85rem; }
  .hero-meta .sep { display: none; }
  .hero-vis {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1rem;
    max-width: 100%;
    filter: none;
  }
  .vis-doc, .vis-passport { transform: none; }
  .vis-doc { min-height: 280px; }
  .vis-flow {
    height: 56px;
    margin: 0;
  }
  .vis-flow svg { display: none; }
  .vis-flow-chip { animation: aiPulse 4s infinite; }
}

/* ═══ TRUST BAR ════════════════════════════════════════════ */
.trust-bar {
  padding: 3rem 0;
  background: var(--ink-50);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.trust-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-logos span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-500);
  letter-spacing: 0.05em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.trust-logos span:hover { color: var(--ink-900); opacity: 1; }

/* ═══ STAT STRIP ═══════════════════════════════════════════ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
}
.stat-cell {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-cell-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink-950);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.stat-cell-lbl {
  font-size: 0.85rem;
  color: var(--ink-600);
}

/* ═══ PLATFORM CAPABILITY CARDS ════════════════════════════ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cap-card {
  display: block;
  background: oklch(0.16 0.040 165);
  border: 1px solid oklch(0.28 0.048 165);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: var(--teal-200);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.cap-card:hover {
  border-color: var(--teal-500);
  background: oklch(0.20 0.045 165);
  transform: translateY(-3px);
}
.cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--teal-500);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}
.cap-card h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.cap-card p {
  color: var(--teal-300);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.cap-link {
  color: var(--teal-400);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.cap-card:hover .cap-link { color: white; }
.cap-card:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform 0.2s ease; display: inline-block; }

@media (max-width: 900px) {
  .cap-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-cell:nth-child(even) { border-right: none; }
}

/* ═══ IMPORTER SHIELD WEDGE ════════════════════════════════ */
.shield-block {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.shield-text h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-red) 0%, oklch(0.55 0.18 30) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shield-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.shield-bullet {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.shield-bullet-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.shield-bullet h4 { color: var(--ink-950); margin-bottom: 0.2rem; }
.shield-bullet p { color: var(--ink-600); font-size: 0.92rem; }

.shield-visual { perspective: 1400px; }
.shield-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.shield-card:hover { transform: rotateY(0) rotateX(0); }
.shield-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.shield-bars { display: flex; flex-direction: column; gap: 0.6rem; }
.shield-bar-row {
  display: grid;
  grid-template-columns: minmax(80px, 130px) 1fr 40px;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
}
.shield-bar-label { color: var(--ink-700); font-weight: 500; }
.shield-bar {
  height: 10px;
  background: var(--ink-100);
  border-radius: 5px;
  overflow: hidden;
}
.shield-bar-fill { height: 100%; border-radius: 5px; }
.shield-bar-fill.green { background: var(--accent-green); }
.shield-bar-fill.amber { background: var(--accent-amber); }
.shield-bar-fill.red { background: var(--accent-red); }
.shield-bar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-900);
  text-align: right;
}
.shield-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0 1rem;
}
.shield-gap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.shield-gap:last-child { border-bottom: none; }
.shield-gap-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.shield-gap-icon.red { background: var(--accent-red); }
.shield-gap-icon.amber { background: var(--accent-amber); }
.shield-gap-meta { flex: 1; min-width: 0; }
.shield-gap-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-950);
  margin-bottom: 0.1rem;
}
.shield-gap-sub {
  font-size: 0.74rem;
  color: var(--ink-500);
}
.shield-gap-action {
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  background: var(--ink-100);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-900);
  font-family: inherit;
  transition: background 0.15s ease;
}
.shield-gap-action:hover { background: var(--ink-200); }

@media (max-width: 900px) {
  .shield-block { grid-template-columns: 1fr; gap: 3rem; }
}

/* ═══ SECTOR SWITCHER ══════════════════════════════════════ */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.sector-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.sector-card:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.sector-card-featured {
  border-color: var(--teal-700);
  background: linear-gradient(140deg, white 0%, var(--teal-50) 100%);
  box-shadow: 0 0 0 1px var(--teal-700);
}
.sector-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.sector-card-featured .sector-mark { background: var(--teal-200); }
.sector-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-950);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}
.sector-status {
  font-size: 0.72rem;
  color: var(--ink-500);
  font-family: 'JetBrains Mono', monospace;
}
.sector-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal-700);
  font-weight: 600;
  background: var(--teal-100);
  padding: 0.25rem 0.45rem;
  border-radius: 5px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .sector-grid { grid-template-columns: 1fr; }
}

/* ═══ MOATS ════════════════════════════════════════════════ */
.moat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.moat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-400));
}
.moat:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.moat-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal-100);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.moat h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.moat p { color: var(--ink-600); font-size: 0.95rem; }

/* ═══ SAAS vs PAAS ═════════════════════════════════════════ */
.biway-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--ink-700);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.biway-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.biway-card-dark {
  background: linear-gradient(170deg, var(--ink-950) 0%, var(--teal-950) 100%);
  color: var(--teal-200);
  border-color: oklch(0.30 0.042 165);
}
.biway-card-dark h3 { color: white; }
.biway-card-dark p { color: var(--teal-300); }
.biway-card-dark:hover { border-color: var(--teal-600); }

.biway-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.3rem 0.65rem;
  border-radius: 5px;
  margin-bottom: 1.25rem;
}
.biway-tag.dark {
  background: oklch(0.54 0.052 165 / 0.2);
  color: var(--teal-300);
}
.biway-card h3 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.biway-card p { font-size: 1.02rem; line-height: 1.55; margin-bottom: 1.5rem; }
.biway-list { list-style: none; margin-bottom: 2rem; }
.biway-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-700);
  border-top: 1px solid var(--border);
}
.biway-list li:first-child { border-top: none; }
.biway-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--teal-100);
  border-radius: 50%;
  background-image: linear-gradient(135deg, var(--teal-300), var(--teal-500));
}
.biway-card-dark .biway-list li {
  color: var(--teal-200);
  border-top-color: oklch(0.30 0.042 165);
}
.biway-link {
  color: var(--teal-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.biway-card-dark .biway-link { color: var(--teal-300); }

/* ═══ BADGE GRID (Standards) ═══════════════════════════════ */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.badge-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.15s, transform 0.15s;
}
.badge-card:hover { border-color: var(--teal-500); transform: translateY(-1px); }
.badge-glyph {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin: 0 auto 0.5rem;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-950);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.badge-sub {
  font-size: 0.7rem;
  color: var(--ink-500);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ ANALYST QUOTES ═══════════════════════════════════════ */
.quote-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}
.quote-mark {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--teal-200);
  line-height: 0.7;
  margin-bottom: 0.5rem;
}
.quote-card p {
  font-size: 1.02rem;
  color: var(--ink-800);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  font-weight: 500;
}
.quote-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Sora', sans-serif;
}
.quote-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-950);
  line-height: 1.2;
}
.quote-role {
  font-size: 0.78rem;
  color: var(--ink-500);
}

/* ═══ RESOURCES PREVIEW ════════════════════════════════════ */
.res-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.res-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.res-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--teal-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.res-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.res-card p { font-size: 0.92rem; }

/* ═══ FINAL CTA ════════════════════════════════════════════ */
.cta-final {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, oklch(0.44 0.058 165 / 0.3) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-fineprint {
  margin-top: 2.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal-400);
  letter-spacing: 0.04em;
}
