/* ─── HERO ─────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  height: 100vh;
  width: 100vw;
  object-fit: fill;
}

.hero-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 3.5rem;
  max-width: 1600px;
  width: 100%;
}

.hero-eyebrow {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.75rem;
  max-width: 900px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 3.5rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── GOVERNANCE QUADRANT ──────────────────────────── */

.quadrant-section {
  background: var(--blue-white);
  border-top: 1px solid var(--border);
  position: relative;
}

.quadrant-section::before,
.quadrant-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  pointer-events: none;
}

.quadrant-section::before { left:  max(3.5rem, calc(50% - 800px + 3.5rem)); }
.quadrant-section::after  { right: max(3.5rem, calc(50% - 800px + 3.5rem)); }

.quadrant-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.quadrant-header {
  padding: 6rem 3rem 4rem;
  text-align: center;
}

.quadrant-heading-dim {
  color: var(--text-muted);
  font-weight: 300;
}

.quadrant-intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--dark-blue-grey);
  line-height: 1.75;
  max-width: 650px;
  margin: 2rem auto 0;
}

.quadrant-body {
  padding: 2rem max(3.5rem, calc(50% - 800px + 3.5rem)) 1.5rem;
}

.quadrant-layout {
  display: flex;
  gap: 0.75rem;
  margin-left: calc(-18px - 0.75rem);
}

.quadrant-y-axis {
  display: flex;
  flex-direction: column;
  width: 18px;
  flex-shrink: 0;
}

.quadrant-y-top,
.quadrant-y-bottom {
  flex: 1;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mid-blue-grey);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quadrant-main {
  position: relative;
}

.quadrant-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -9999px;
  right: -9999px;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.quadrant-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}

.quadrant-cell {
  background: var(--bg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  min-height: 300px;
}

.quadrant-cell-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.quadrant-cell-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.quadrant-cell.augentic {
  background: var(--dark-blue);
  border: none;
  position: relative;
  overflow: hidden;
}

.quadrant-cell-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2);
  z-index: 0;
}

.quadrant-cell-video-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 1;
}

.quadrant-cell.augentic .quadrant-augentic-logo,
.quadrant-cell.augentic .quadrant-cell-desc {
  position: relative;
  z-index: 2;
}

.quadrant-augentic-logo {
  height: 22px;
  width: auto;
  display: block;
}

.quadrant-cell.augentic .quadrant-cell-desc {
  color: rgba(255,255,255,0.72);
}

.quadrant-x-axis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 0.6rem;
  padding-left: calc(18px + 0.75rem);
  position: relative;
}

.quadrant-x-axis::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -9999px;
  right: -9999px;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.quadrant-x-axis span {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mid-blue-grey);
  text-align: center;
}

/* ─── HOW IT WORKS ─────────────────────────────────── */

.how {
  background: var(--bg) url('../assets/bg-process.svg') center / cover no-repeat;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.how .container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0;
}

.how .h2 {
  letter-spacing: -0.04em;
}

.how-layout {
  display: grid;
  grid-template-columns: min(50vw, 800px) 1fr;
  gap: 0;
  align-items: start;
  max-width: 1600px;
  margin: 0 auto;
}

.how-header {
  display: flex;
  flex-direction: column;
  padding: 6rem 4rem 10rem 3.5rem;
}

.step-rows-wrap {
  padding: calc(6rem - 14px) 3.5rem 6rem 0;
}

.step-rows {
  position: relative;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0 6rem;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.step-row:first-child {
  border-top: none;
}

.step-row-left-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-row-num {
  font-size: clamp(4rem, 4.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  color: var(--text);
  line-height: 1;
}

.step-row-cmd {
  display: inline-block;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.step-row-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.step-row-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-row-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ─── PLATFORM ─────────────────────────────────────── */

.platform {
  background: var(--blue-white);
  border-top: 1px solid var(--border);
  position: relative;
}

.platform::before,
.platform::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  pointer-events: none;
}

.platform::before { left:  max(3.5rem, calc(50% - 800px + 3.5rem)); }
.platform::after  { right: max(3.5rem, calc(50% - 800px + 3.5rem)); }

.platform-header {
  display: grid;
  grid-template-columns: calc(min(50vw, 800px) - 9rem) 1fr;
  gap: 3rem;
  padding: 0 2.5rem 3rem;
  align-items: end;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.product-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 4rem 3rem 3rem;
  min-height: 420px;
  border-bottom: 1px solid var(--border);
}

.product-icon {
  width: 56px;
  height: 56px;
  display: block;
  margin-bottom: 1.25rem;
}

.product-name {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.product-role {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.product-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--bright-blue);
  text-decoration: none;
  transition: opacity 0.15s;
  margin-top: auto;
  align-self: flex-start;
}

.product-link:hover { opacity: 0.75; }

/* ─── SECURITY & ISOLATION ─────────────────────────── */

.security {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.security .container {
  max-width: 100%;
  padding: 0;
}

.security-layout {
  display: grid;
  grid-template-columns: 50vw 1fr;
  gap: 0;
  align-items: stretch;
}

.security-intro {
  padding: 6rem 4rem 6rem max(3.5rem, calc(50vw - 800px + 3.5rem));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.security-intro .h3 {
  max-width: 440px;
}

.security-right {
  padding: 6rem max(3.5rem, calc(50vw - 800px + 3.5rem)) 6rem 0;
}

.security-intro p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.25rem;
  max-width: 340px;
}

.security-facts {
  display: flex;
  flex-direction: column;
}

.security-fact {
  background: var(--bg);
  opacity: 0.5;
  transition: opacity 0.3s;
  border-top: 1px solid var(--border);
}

.security-fact:first-child {
  border-top: none;
}

.security-fact:first-child .security-fact-summary {
  padding-top: 0.75rem;
}

.security-fact[open] {
  opacity: 1;
}

.security-fact-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
}

.security-fact-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(270deg, #080e22 0%, #1a3bcc 65%, #0ea5e9 90%, #22d3ee 100%);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.security-accordion-controls {
  margin-bottom: 20px;
}

.security-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.security-accordion-toggle:hover {
  color: var(--text);
  border-color: #bbb;
}

.security-accordion-toggle .icon-play { display: none; }
.security-accordion-toggle.is-paused .icon-pause { display: none; }
.security-accordion-toggle.is-paused .icon-play { display: block; }

.security-fact-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.security-fact-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
}

.security-fact-chevron::before,
.security-fact-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 1.5px;
  background: var(--text-muted);
  transition: transform 0.2s ease;
}

.security-fact-chevron::before {
  right: 50%;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

.security-fact-chevron::after {
  left: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: left center;
}

.security-fact[open] .security-fact-chevron::before {
  transform: translateY(-50%) rotate(-45deg);
}

.security-fact[open] .security-fact-chevron::after {
  transform: translateY(-50%) rotate(45deg);
}

.security-fact-body {
  overflow: hidden;
  height: 0;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-fact[open] > .security-fact-body {
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-fact-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 1.5rem 0 1.75rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.security-fact[open] .security-fact-desc {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

/* ─── RESULTS & PROOF ──────────────────────────────── */

.results {
  background: var(--blue-white);
}

.results-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.results-header {
  text-align: center;
}

.results-header .section-sub {
  max-width: 580px;
  margin: 0 auto;
}

.results-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.result-stat {
  background: transparent;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  text-align: center;
}

.result-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(270deg, #080e22 0%, #1a3bcc 65%, #0ea5e9 90%, #22d3ee 100%);
}

.result-value {
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
}

.result-label {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 200px;
  margin: 0 auto;
}

/* ─── REGULATORY TAILWIND ──────────────────────────── */

.regulatory {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
}

.regulatory-inner {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 4rem;
  align-items: start;
  padding: 2.75rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius);
}

.regulatory-kicker {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.regulatory-summary {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
}

.regulatory-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.regulatory-list li {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.regulatory-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.72rem;
  margin-top: 0.2em;
}

.regulatory-list strong {
  color: var(--text);
  font-weight: 400;
}

/* ─── CTA — PILOT ──────────────────────────────────── */

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.cta-section .quadrant-heading-dim {
  color: rgba(255,255,255,0.4);
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cta-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.pilot-model {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.pilot-tier {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
}

.pilot-tier:first-child { background: rgba(255,255,255,0.07); }

.pilot-tier-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  min-width: 130px;
}

.pilot-tier-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  flex: 1;
}

.pilot-tier-price {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.cta-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-cta-primary {
  padding: 0.7rem 1.75rem;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.15s;
  display: inline-block;
}

.btn-cta-primary:hover { opacity: 0.88; }

.btn-cta-ghost {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.btn-cta-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.6); }

.cta-note {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

/* ─── GRADIENT BLOBS ───────────────────────────────── */

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-blob-a {
  width: 80vw; height: 80vw;
  max-width: 960px; max-height: 960px;
  background: radial-gradient(ellipse at center, rgba(1,178,244,0.28) 0%, rgba(2,94,216,0.14) 40%, transparent 70%);
  top: -30%; right: -15%;
  z-index: 0;
}

.hero-blob-b {
  width: 55vw; height: 55vw;
  max-width: 680px; max-height: 680px;
  background: radial-gradient(ellipse at center, rgba(2,94,216,0.22) 0%, transparent 65%);
  bottom: -15%; left: -5%;
  z-index: 0;
}

/* ─── RESPONSIVE ───────────────────────────────────── */

@media (max-width: 1100px) {
  .security-layout { gap: 3.5rem; }
}

@media (max-width: 900px) {
  .regulatory { padding: 3rem 0; }
  .hero-content { padding: 0 1.5rem; }

  .quadrant-section::before { left: 1.5rem; }
  .quadrant-section::after  { right: 1.5rem; }
  .platform::before { left: 1.5rem; }
  .platform::after  { right: 1.5rem; }

  .how { padding: 0; }
  .how .container { max-width: 100%; padding: 0; }
  .how-layout { grid-template-columns: 1fr; gap: 0; }
  .how-header { position: static; padding: 4rem 1.5rem 2rem; }
  .step-rows-wrap { padding: 0 1.5rem 4rem; }
  .step-row { grid-template-columns: 1fr 1fr; gap: 0 3rem; }

  .platform-header { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; padding-left: 1.5rem; padding-right: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .security-layout { grid-template-columns: 1fr; gap: 0; }
  .security-intro { padding: 4rem 1.5rem 2rem; }
  .security-right { padding: 2rem 1.5rem 5rem; }
  .security { position: relative; }
  .security-accordion-controls { position: absolute; bottom: 2rem; left: 1.5rem; }
  .security-fact-title { font-size: 1.2rem; }
  .results-stats { grid-template-columns: 1fr; }
  .regulatory-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-demo { flex-direction: column; align-items: flex-start; gap: 2rem; }
}

@media (max-width: 600px) {
  .quadrant-body { padding: 2rem 1.5rem 0; }
  .quadrant-grid { grid-template-columns: 1fr; border-left: none; border-right: none; border-bottom: none; border-top: none; }
  .quadrant-y-axis { display: none; }
  .quadrant-x-axis { display: none; }
  .quadrant-cell { min-height: 160px; padding: 1.75rem 1.5rem; }
  .quadrant-cell:last-child { border-bottom: none; }
  .quadrant-cell.augentic { order: -1; }
  .quadrant-header { padding: 3.5rem 1.5rem 2rem; }
  .step-row { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .product-card { min-height: unset; padding: 2.5rem 1.5rem; }
  .pilot-tier { flex-wrap: wrap; gap: 0.5rem; }
  .pilot-tier-desc { width: 100%; }
}

@media (max-width: 375px) {
  .hero h1 { letter-spacing: -0.04em; }
  .result-value { font-size: 3.25rem; }
}
