/*
Theme Name: Federal Agent
Theme URI: https://bigdataguys.com
Author: BigDataGuys
Description: Enterprise LLM Safety Pipeline - Portfolio Showcase
Version: 1.0
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0a0f1e;
  --dark:   #0d1424;
  --card:   #121929;
  --border: #1e2d45;
  --accent: #00d4ff;
  --green:  #00ff88;
  --orange: #ff6b2b;
  --white:  #e8edf5;
  --muted:  #6b7fa3;
  --font:   'Inter', 'Segoe UI', sans-serif;
  --mono:   'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--green); }

/* === NAV === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav-brand span { color: var(--green); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,212,255,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,255,136,0.06), transparent);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 0.75rem;
}

.hero-domain {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--orange);
  margin-bottom: 2.5rem;
}

.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.35);
  color: #000;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* === STATS BAR === */
.stats-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}

.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {}
.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-value.green { color: var(--green); }
.stat-value.orange { color: var(--orange); }

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === SECTIONS === */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

.section-alt { background: var(--dark); }

/* === ARCHITECTURE === */
.arch-diagram {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  white-space: pre;
  overflow-x: auto;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* === PIPELINE STEPS === */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.pipe-step {
  flex: 1; min-width: 140px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
}
.pipe-step:first-child { border-radius: 10px 0 0 10px; }
.pipe-step:last-child  { border-radius: 0 10px 10px 0; }

.pipe-step::after {
  content: '→';
  position: absolute; right: -12px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 1;
}
.pipe-step:last-child::after { display: none; }

.pipe-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: block;
}
.pipe-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.pipe-tool {
  font-size: 0.75rem;
  color: var(--muted);
}

/* === TECH STACK === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s;
}
.tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.12);
}

.tool-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.tool-icon { font-size: 1.5rem; }
.tool-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.tool-tag {
  margin-left: auto;
  background: rgba(0,212,255,0.1);
  color: var(--accent);
  font-size: 0.65rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(0,212,255,0.25);
}
.tool-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* === RESULTS === */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.result-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.result-card.featured {
  border-color: rgba(0,255,136,0.3);
  background: linear-gradient(135deg, rgba(0,255,136,0.05), var(--card));
}

.result-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.result-num.accent { color: var(--accent); }
.result-num.orange { color: var(--orange); }

.result-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.result-desc { font-size: 0.85rem; color: var(--muted); }

/* === AWS MAPPING === */
.mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.mapping-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--card);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.mapping-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.mapping-table td:first-child { color: var(--white); font-family: var(--mono); font-size: 0.8rem; }
.mapping-table td:last-child  { color: var(--green); font-family: var(--mono); font-size: 0.8rem; }
.mapping-table tr:hover td { background: rgba(255,255,255,0.02); }

/* === SECURITY === */
.security-layers {
  display: flex; flex-direction: column; gap: 0;
}
.sec-layer {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0;
  position: relative;
}
.sec-layer:first-child { border-radius: 12px 12px 0 0; }
.sec-layer:last-child  { border-radius: 0 0 12px 12px; }
.sec-layer + .sec-layer { border-top: none; }

.sec-layer::before {
  content: '';
  position: absolute; left: -1px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--green));
  border-radius: 2px;
}
.sec-layer:first-child::before { border-radius: 2px 2px 0 0; }
.sec-layer:last-child::before  { border-radius: 0 0 2px 2px; }

.sec-number {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.sec-content {}
.sec-title { font-weight: 700; margin-bottom: 0.25rem; font-size: 0.95rem; }
.sec-desc  { font-size: 0.85rem; color: var(--muted); }

/* === CONTACT / CTA === */
.cta-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,255,136,0.05));
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-inner { max-width: 600px; margin: 0 auto; }

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-desc {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-links {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}
.footer-mono {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-mono span { color: var(--accent); }

/* === HERO MARKETPLACE BADGE === */
.hero-marketplace-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  background: rgba(199,70,52,0.12);
  border: 1px solid rgba(199,70,52,0.4);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  color: #f0a090;
}
.hero-marketplace-badge strong { color: #fff; }

/* === CLIENTS BAR === */
.clients-bar {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
.clients-inner { max-width: 1100px; margin: 0 auto; }

.clients-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: var(--mono);
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.client-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: all 0.2s;
}
.client-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.client-seal { font-size: 1rem; }

/* === AGENCY LOGO CARDS === */
.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  width: 120px;
  text-align: center;
  transition: all 0.25s;
}
.client-logo-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.1);
}
.client-logo-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.client-logo-card span {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}
.client-logo-text .client-abbr {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--green));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.85rem;
  color: #000;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
}

/* === BUDGET SECTION === */
.budget-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.budget-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  padding: 0 1rem;
}

.budget-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.budget-card.budget-formulation {
  border-top: 3px solid var(--accent);
}
.budget-card.budget-execution {
  border-top: 3px solid var(--green);
}

.budget-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.budget-icon { font-size: 2rem; }
.budget-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.budget-tag.execution { color: var(--green); }
.budget-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}
.budget-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.budget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.budget-list li {
  font-size: 0.85rem;
  color: var(--white);
  padding-left: 1.25rem;
  position: relative;
}
.budget-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.1rem;
}
.budget-execution .budget-list li::before { color: var(--green); }

/* === ORACLE MARKETPLACE CTA === */
.oracle-marketplace-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(199,70,52,0.1), rgba(199,70,52,0.05));
  border: 1px solid rgba(199,70,52,0.3);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  flex-wrap: wrap;
}
.oracle-marketplace-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.oracle-marketplace-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.oracle-marketplace-sub {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.5;
}

/* === AGENT SUITE TABS === */
.agent-suite-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.agent-suite {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}
.suite-header {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.suite-icon { font-size: 1.75rem; }
.suite-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.15rem; }
.suite-desc { font-size: 0.78rem; color: var(--muted); }
.suite-agents { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.agent-chip {
  font-size: 0.75rem;
  font-family: var(--mono);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}
.agent-chip.green  { color: var(--green);  border-color: rgba(0,255,136,0.3);  background: rgba(0,255,136,0.07); }
.agent-chip.accent { color: var(--accent); border-color: rgba(0,212,255,0.3);  background: rgba(0,212,255,0.07); }
.agent-chip.orange { color: var(--orange); border-color: rgba(255,107,43,0.3); background: rgba(255,107,43,0.07); }

/* === TIMELINE === */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--accent), var(--green));
}
.timeline-item {
  display: flex; gap: 1.5rem;
  padding: 0 0 2rem 0;
  position: relative;
}
.timeline-marker {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--navy);
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin-top: 0.25rem;
  position: relative; z-index: 1;
}
.timeline-item.featured .timeline-marker {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(0,212,255,0.5);
}
.timeline-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
}
.timeline-item.featured .timeline-content { border-color: rgba(0,212,255,0.3); }
.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem;
}
.timeline-org  { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.2rem; }
.timeline-role { font-size: 0.82rem; color: var(--accent); }
.timeline-date { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.timeline-agencies { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.agency-tag {
  font-size: 0.7rem; font-family: var(--mono); font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 4px;
  background: rgba(0,212,255,0.1); color: var(--accent);
  border: 1px solid rgba(0,212,255,0.2);
}
.timeline-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.timeline-bullets li {
  font-size: 0.85rem; color: var(--muted); padding-left: 1.2rem; position: relative; line-height: 1.5;
}
.timeline-bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--green); font-size: 0.7rem; top: 0.15rem; }
.timeline-bullets li strong { color: var(--white); }

/* === DEMO PAGE === */
.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.demo-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.demo-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group select option { background: var(--dark); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.checkbox-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--muted); cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px; transition: background 0.15s;
}
.checkbox-label:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.checkbox-label input { accent-color: var(--accent); }

/* === NAV MOBILE === */
.nav-mobile-btn {
  display: none;
  background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer; padding: 0.25rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-mobile-btn { display: block; }
  .budget-split { grid-template-columns: 1fr; }
  .budget-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  .oracle-marketplace-cta { flex-direction: column; align-items: flex-start; }
  .pipeline { flex-direction: column; }
  .pipe-step { min-width: unset; border-radius: 0; }
  .pipe-step:first-child { border-radius: 10px 10px 0 0; }
  .pipe-step:last-child  { border-radius: 0 0 10px 10px; }
  .pipe-step::after { content: '↓'; right: unset; left: 50%; transform: translateX(-50%); top: unset; bottom: -16px; }
  .pipe-step:last-child::after { display: none; }
  .demo-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 12px; }
  .how-flow-v2 { grid-template-columns: 1fr; }
  .how-card-connector { display: none; }
  .pillars-grid-v2 { grid-template-columns: 1fr; }
  .arch-middleware-blocks { grid-template-columns: 1fr; gap: 0.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-suite-tabs { grid-template-columns: 1fr; }
  .hero-pillars { flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
  .hero-vs { flex-direction: column; gap: 0.4rem; align-items: center; }
  .section-inner { padding: 0 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-value { font-size: 1.75rem; }
  .pillars-grid-v2 { gap: 1rem; }
  .pv2-head { padding: 1.25rem 1.25rem 1rem; }
  .pv2-items { padding: 1rem 1.25rem; }
  .pv2-kills { padding: 0.75rem 1.25rem 1.25rem; }
  .how-card { margin: 0; }
  .arch-middleware-blocks { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mapping-table { min-width: 560px; }
}

/* ═══════════════════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════════════════ */
.hamburger-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
@media (max-width: 768px) { .nav-mobile-btn { display: flex; } }

/* ═══════════════════════════════════════════════
   MODULE TICKER (text runner)
═══════════════════════════════════════════════ */
.module-ticker {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.6rem 0;
  position: relative;
}
.module-ticker::before,
.module-ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
  pointer-events: none;
}
.module-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), transparent);
}
.module-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0 1.5rem;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ticker-item.accent { color: var(--accent); }
.ticker-item.green  { color: var(--green); }

/* ═══════════════════════════════════════════════
   AGENCY LOGO MARQUEE (slider)
═══════════════════════════════════════════════ */
.marquee-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.marquee-viewport::before,
.marquee-viewport::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 2;
  pointer-events: none;
}
.marquee-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), transparent);
}
.marquee-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}
.agency-track {
  gap: 2rem;
  animation: agency-scroll 35s linear infinite;
}
.agency-track:hover { animation-play-state: paused; }

@keyframes agency-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   PERFORMANCE: content-visibility on heavy sections
═══════════════════════════════════════════════ */
#fusion,
#budget,
#partners,
#security {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS v2
═══════════════════════════════════════════════ */
.how-flow-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.how-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
  margin: 0 0.5rem;
}
.how-card:hover { transform: translateY(-4px); }

.how-card-connector {
  position: absolute;
  top: 48px;
  right: -28px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  z-index: 2;
}
.how-card-connector::after {
  content: '›';
  position: absolute;
  right: -6px;
  top: -9px;
  color: var(--green);
  font-size: 1.1rem;
}

.how-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.how-num-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.accent-badge { background: rgba(0,212,255,0.15); color: var(--accent); border: 1px solid rgba(0,212,255,0.3); }
.green-badge  { background: rgba(0,255,136,0.12); color: var(--green);  border: 1px solid rgba(0,255,136,0.3); }
.orange-badge { background: rgba(255,107,43,0.12); color: var(--orange); border: 1px solid rgba(255,107,43,0.3); }
.white-badge  { background: rgba(232,237,245,0.1); color: var(--white);  border: 1px solid rgba(232,237,245,0.2); }

.how-icon-ring {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.accent-ring { background: rgba(0,212,255,0.12); border: 1px solid rgba(0,212,255,0.25); }
.green-ring  { background: rgba(0,255,136,0.10); border: 1px solid rgba(0,255,136,0.25); }
.orange-ring { background: rgba(255,107,43,0.10); border: 1px solid rgba(255,107,43,0.25); }
.white-ring  { background: rgba(232,237,245,0.07); border: 1px solid rgba(232,237,245,0.15); }

.how-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.how-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.how-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.how-tag {
  font-size: 0.7rem;
  font-family: var(--mono);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent);
  white-space: nowrap;
}
.how-tag-green  { background: rgba(0,255,136,0.07); border-color: rgba(0,255,136,0.2); color: var(--green); }
.how-tag-orange { background: rgba(255,107,43,0.07); border-color: rgba(255,107,43,0.2); color: var(--orange); }

/* Architecture visual */
.arch-visual {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.arch-arrow-down {
  font-size: 1.5rem;
  color: var(--accent);
  padding: 0.25rem 0;
  opacity: 0.6;
}
.arch-layer {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.75rem;
  width: 100%;
  max-width: 720px;
}
.arch-layer-icon { font-size: 1.5rem; flex-shrink: 0; }
.arch-layer-label { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.arch-layer-sub { font-size: 0.78rem; color: var(--muted); font-family: var(--mono); }

.arch-middleware {
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(0,255,136,0.04));
  border-color: rgba(0,212,255,0.25);
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem;
  max-width: 720px;
  width: 100%;
}
.arch-middleware-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.arch-middleware-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.arch-block {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.arch-block-icon { font-size: 1.3rem; margin-bottom: 0.4rem; }
.arch-block-name { font-size: 0.8rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.arch-block-sub  { font-size: 0.7rem; color: var(--muted); font-family: var(--mono); }
.arch-api-bar {
  text-align: center;
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--green);
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 8px;
  padding: 0.5rem 1rem;
}
.arch-oracle { border-color: rgba(255,107,43,0.25); max-width: 720px; width: 100%; }

/* ═══════════════════════════════════════════════
   FOUR PILLARS v2
═══════════════════════════════════════════════ */
.pillars-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pv2-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.pv2-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.pv2-top-bar {
  height: 3px;
  width: 100%;
}
.pv2-configure .pv2-top-bar { background: linear-gradient(90deg, var(--accent), #0099cc); }
.pv2-test      .pv2-top-bar { background: linear-gradient(90deg, var(--green), #00cc66); }
.pv2-execute   .pv2-top-bar { background: linear-gradient(90deg, var(--orange), #cc4400); }
.pv2-monitor   .pv2-top-bar { background: linear-gradient(90deg, #a855f7, #7c3aed); }

.pv2-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pv2-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.pv2-icon-accent { background: rgba(0,212,255,0.12); border: 1px solid rgba(0,212,255,0.25); }
.pv2-icon-green  { background: rgba(0,255,136,0.10); border: 1px solid rgba(0,255,136,0.25); }
.pv2-icon-orange { background: rgba(255,107,43,0.10); border: 1px solid rgba(255,107,43,0.25); }
.pv2-icon-purple { background: rgba(168,85,247,0.10); border: 1px solid rgba(168,85,247,0.25); }

.pv2-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.pv2-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.pv2-audience {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.pv2-items {
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pv2-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}
.pv2-item strong { color: var(--white); }
.pv2-arrow {
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-size: 0.75rem;
}
.pv2-configure .pv2-arrow { color: var(--accent); }
.pv2-test      .pv2-arrow { color: var(--green); }
.pv2-execute   .pv2-arrow { color: var(--orange); }
.pv2-monitor   .pv2-arrow { color: #a855f7; }

.pv2-quote { font-style: italic; }
.pv2-quote strong { font-style: normal; }

.pv2-kills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.75rem 1.5rem;
  border-top: 1px solid var(--border);
}
.pv2-kills-label {
  font-size: 0.68rem;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}
.pv2-kill-tag {
  font-size: 0.7rem;
  font-family: var(--mono);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  background: rgba(255,107,43,0.08);
  border: 1px solid rgba(255,107,43,0.2);
  color: var(--orange);
}

/* ═══════════════════════════════════════════════
   USE CASE PAGES — GLOBAL
═══════════════════════════════════════════════ */

/* Breadcrumb nav */
.uc-nav {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 2rem;
}
.uc-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.uc-nav a {
  color: var(--muted);
  transition: color 0.2s;
}
.uc-nav a:hover { color: var(--accent); }
.uc-nav-sep {
  color: var(--border);
  font-size: 1rem;
  line-height: 1;
}
.uc-nav-current {
  color: var(--white);
  font-weight: 500;
}

/* Module tag pill (inside hero badge) */
.module-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.35);
  color: var(--accent);
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════
   USE CASES HUB — MODULE CARDS GRID
═══════════════════════════════════════════════ */
.module-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  opacity: 0;
  transition: opacity 0.25s;
}
.module-card:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.1);
  color: inherit;
}
.module-card:hover::before { opacity: 1; }

.module-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.module-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.module-card-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.module-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.module-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.module-card-bullets li {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}
.module-card-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.65rem;
  top: 0.15rem;
}

.module-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: color 0.2s;
}
.module-card:hover .module-card-link { color: var(--green); }

/* ═══════════════════════════════════════════════
   SCENARIO GRID — 2-COLUMN
═══════════════════════════════════════════════ */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════════
   SCENARIO CARD
═══════════════════════════════════════════════ */
.scenario-card {
  --card-accent: var(--accent);
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--card-accent);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
  border-color: var(--card-accent);
}

.scenario-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.scenario-num {
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.scenario-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  flex: 1;
  margin: 0;
}

/* Time saved badge */
.time-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  margin-left: auto;
}
.time-badge span {
  color: var(--muted);
  font-weight: 400;
}

/* User prompt — terminal style */
.scenario-prompt {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--white);
  line-height: 1.6;
  position: relative;
}
.scenario-prompt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}
.scenario-prompt code {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.75rem;
  color: var(--accent);
}
.prompt-label {
  color: var(--green);
  font-weight: 700;
  margin-right: 0.4rem;
}

/* Agent steps */
.scenario-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.scenario-steps-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.scenario-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.step-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.05rem;
}

/* Oracle action line */
.scenario-oracle {
  background: rgba(255,107,43,0.06);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.oracle-label {
  color: var(--orange);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.3rem;
}

/* Result box */
.scenario-result {
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.result-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.05rem;
}
.scenario-result strong { color: var(--green); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — USE CASE PAGES
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .module-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .module-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card { padding: 1.35rem; }
  .uc-nav { padding: 0.5rem 1rem; }
  .scenario-card-header { flex-wrap: wrap; }
  .time-badge { margin-left: 0; }
}

@media (max-width: 480px) {
  .module-cards-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .module-card { padding: 1.25rem; }
  .scenario-card { padding: 1.1rem; }
  .scenario-title { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.sr-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   TYPING CURSOR
═══════════════════════════════════════════════ */
.typing-line::after {
  content: '|';
  display: inline-block;
  color: var(--accent);
  animation: blink 0.75s step-end infinite;
  margin-left: 1px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══════════════════════════════════════════════
   PILLAR CARD — CURSOR GLOW
═══════════════════════════════════════════════ */
.pv2-card {
  --glow-x: 50%;
  --glow-y: 50%;
}
.pv2-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    160px circle at var(--glow-x) var(--glow-y),
    rgba(0,212,255,0.06),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.pv2-card:hover::after { opacity: 1; }

/* ═══════════════════════════════════════════════
   ARCHITECTURE ARROW ANIMATION
═══════════════════════════════════════════════ */
.arch-arrow-animated {
  animation: bounce-down 1.8s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(5px); opacity: 1; }
}

/* ═══════════════════════════════════════════════
   NAV ACTIVE STATE
═══════════════════════════════════════════════ */
.nav-links a.nav-active {
  color: var(--white) !important;
  position: relative;
}
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════
   HOW CARD — CONNECTOR PULSE
═══════════════════════════════════════════════ */
.how-card-connector {
  animation: connector-pulse 2.5s ease-in-out infinite;
}
@keyframes connector-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; box-shadow: 0 0 8px rgba(0,255,136,0.4); }
}

/* ═══════════════════════════════════════════════
   HERO BADGE PULSE (already has CSS, enhance)
═══════════════════════════════════════════════ */
.hero-badge {
  animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50%       { box-shadow: 0 0 16px 2px rgba(0,212,255,0.15); }
}

/* ═══════════════════════════════════════════════
   STAT CARD — HOVER LIFT
═══════════════════════════════════════════════ */
.stat-item {
  transition: transform 0.2s ease, background 0.2s ease;
  border-radius: 10px;
  padding: 0.5rem;
  cursor: default;
}
.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.03);
}

/* ═══════════════════════════════════════════════
   GRADIENT TEXT — section labels get shimmer
═══════════════════════════════════════════════ */
.section-label {
  background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  display: inline-block;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════
   PREFERS REDUCED MOTION — kill all animations
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track, .agency-track { animation: none; }
}
