/* ============================================================
   RADIXEN — agentroute/agentroute.css
   Styles specific to the /agentroute page.
   Builds on top of ../css/style.css

   AgentRoute brand palette (locked, see AgentRoute/BRANDING.md):
   Ink #0F1419 · Surface #171E25 · SurfaceAlt #202A33 · Border #27343F
   AccentCyan #41D6C3 · AccentBlue #7AA7FF · OK #80DF96 · Warn #FFC86B
   Err #FF7676 · Text #E6EDF3 · Muted #7D8A99
   Title font: 'Courier New', Courier, monospace
   ============================================================ */

/* ---- Page-level overrides -------------------------------- */
.page-agentroute { background: #0F1419; color: #E6EDF3; }
.page-agentroute #ar-hero { padding-top: 0; }

.page-agentroute nav.scrolled {
  background: rgba(15, 20, 25, 0.85);
  border-bottom-color: rgba(39, 52, 63, 0.6);
}

/* Re-theme shared section labels / titles / gradient / scroll line / buttons
   to AgentRoute's own locked palette instead of Radixen's house cyan. */
.ar-section-label { color: #41D6C3; }

.ar-text-gradient {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: #41D6C3;
}

.page-agentroute .scroll-line {
  background: linear-gradient(to bottom, rgba(65, 214, 195, 0.9), transparent);
}

.page-agentroute .btn-primary {
  background: linear-gradient(135deg, #41D6C3, #7AA7FF);
  color: #0F1419;
}

.page-agentroute .btn-primary::before {
  background: linear-gradient(135deg, rgba(230, 237, 243, 0.2), transparent);
}

.page-agentroute .btn-primary:hover {
  box-shadow: 0 12px 36px rgba(65, 214, 195, 0.35);
}

.page-agentroute .btn-ghost {
  color: rgba(230, 237, 243, 0.7);
  border-color: rgba(230, 237, 243, 0.18);
}

.page-agentroute .btn-ghost:hover {
  border-color: #41D6C3;
  color: #E6EDF3;
  background: rgba(65, 214, 195, 0.08);
}

/* ============================================================
   HERO
   ============================================================ */
#ar-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  max-width: 100%;
  margin: 0;
}

#ar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.ar-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(65, 214, 195, 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(122, 167, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 5% 60%, rgba(65, 214, 195, 0.07) 0%, transparent 60%);
}

#ar-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #0F1419 100%);
  z-index: 1;
  pointer-events: none;
}

.ar-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 760px;
}

/* Badge row */
.ar-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ar-version-badge,
.ar-platform-badge,
.ar-lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.75rem;
  border-radius: 100px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ar-version-badge {
  background: rgba(255, 200, 107, 0.1);
  border: 1px solid rgba(255, 200, 107, 0.28);
  color: #FFC86B;
}

.ar-platform-badge {
  background: rgba(122, 167, 255, 0.08);
  border: 1px solid rgba(122, 167, 255, 0.22);
  color: rgba(230, 237, 243, 0.55);
}

.ar-platform-badge svg {
  width: 11px; height: 11px;
  stroke: rgba(65, 214, 195, 0.6);
  flex-shrink: 0;
}

.ar-lang-badge {
  background: rgba(65, 214, 195, 0.08);
  border: 1px solid rgba(65, 214, 195, 0.2);
  color: rgba(65, 214, 195, 0.7);
}

/* Title */
.ar-hero-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  opacity: 0;
}

.ar-word-agent { color: #E6EDF3; }
.ar-word-route { color: #41D6C3; }

.ar-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: rgba(230, 237, 243, 0.75);
  letter-spacing: -0.01em;
  line-height: 1.5;
  opacity: 0;
}

.ar-hero-sub {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(230, 237, 243, 0.45);
  max-width: 520px;
  line-height: 1.75;
  text-wrap: balance;
  opacity: 0;
}

.ar-hero-sub-em {
  font-family: 'Courier New', Courier, monospace;
  color: rgba(65, 214, 195, 0.85);
}

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

/* Quick install command */
.ar-install-quick {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(23, 30, 37, 0.8);
  border: 1px solid rgba(39, 52, 63, 0.8);
  border-radius: 10px;
  padding: 0.55rem 0.9rem 0.55rem 1.1rem;
  opacity: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ar-inline-cmd {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: rgba(230, 237, 243, 0.6);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ar-copy-cmd {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(65, 214, 195, 0.55);
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.ar-copy-cmd:hover {
  color: #41D6C3;
  background: rgba(65, 214, 195, 0.08);
}

.ar-copy-cmd svg { width: 14px; height: 14px; }

.ar-windows-link {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: rgba(230, 237, 243, 0.3);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.ar-windows-link:hover { color: rgba(230, 237, 243, 0.6); }

/* ============================================================
   SHARED PROSE
   ============================================================ */
.ar-prose {
  font-size: 1rem;
  color: rgba(230, 237, 243, 0.55);
  line-height: 1.8;
  max-width: 540px;
}

.ar-prose code,
.ar-prose-desc code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88em;
  color: #41D6C3;
  background: rgba(65, 214, 195, 0.08);
  border: 1px solid rgba(65, 214, 195, 0.18);
  border-radius: 4px;
  padding: 0.1em 0.4em;
}

.ar-prose + .ar-prose { margin-top: 1rem; }

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
#ar-problem {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.ar-problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ar-lockin-card {
  background: rgba(23, 30, 37, 0.7);
  border: 1px solid rgba(39, 52, 63, 0.9);
  border-radius: 18px;
  padding: 2rem 2rem 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.ar-lockin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF7676, transparent);
  opacity: 0.4;
}

.ar-lockin-card-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 237, 243, 0.32);
  margin-bottom: 1.25rem;
}

.ar-lockin-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.ar-lockin-node {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: rgba(65, 214, 195, 0.08);
  border: 1px solid rgba(65, 214, 195, 0.22);
  color: #E6EDF3;
}

.ar-lockin-node--locked {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 118, 118, 0.08);
  border-color: rgba(255, 118, 118, 0.3);
  color: #FF7676;
}

.ar-lockin-node--locked svg { width: 13px; height: 13px; flex-shrink: 0; }

.ar-lockin-arrow {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  color: rgba(230, 237, 243, 0.25);
  letter-spacing: -0.05em;
}

.ar-lockin-blocked-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(230, 237, 243, 0.32);
  margin-bottom: 0.85rem;
}

.ar-lockin-blocked-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ar-lockin-blocked {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: rgba(230, 237, 243, 0.3);
  padding: 0.35rem 0.7rem;
  background: rgba(125, 138, 153, 0.06);
  border: 1px solid rgba(125, 138, 153, 0.16);
  border-radius: 6px;
  text-decoration: line-through;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s ease calc(var(--d) * 0.1s), transform 0.35s var(--ease-out) calc(var(--d) * 0.1s);
}

.ar-lockin-blocked.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
#ar-solution {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.ar-solution-title { margin-bottom: 3rem; }

/* Vertical pipeline: a single column of nodes connected by a line.
   One column at every width means there's no row to wrap — the
   layout can't break, no matter the viewport. */
.ar-arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.ar-arch-node {
  width: 100%;
  background: rgba(23, 30, 37, 0.65);
  border: 1px solid rgba(39, 52, 63, 0.9);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease calc(var(--d) * 0.08s), transform 0.5s var(--ease-out) calc(var(--d) * 0.08s);
}

.ar-arch-node.visible { opacity: 1; transform: translateY(0); }

.ar-arch-node--accent {
  border-color: rgba(65, 214, 195, 0.35);
  background: rgba(65, 214, 195, 0.06);
}

.ar-arch-node-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #E6EDF3;
  flex-shrink: 0;
  white-space: nowrap;
}

.ar-arch-node--accent .ar-arch-node-title { color: #41D6C3; }

.ar-arch-node-cap {
  font-size: 0.72rem;
  color: rgba(230, 237, 243, 0.4);
  line-height: 1.55;
  text-align: right;
}

.ar-arch-node-cap code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.92em;
  color: rgba(65, 214, 195, 0.7);
}

.ar-arch-connector {
  position: relative;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease calc(var(--d) * 0.08s);
}

.ar-arch-connector.visible { opacity: 1; }

.ar-arch-connector::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(65, 214, 195, 0.5), rgba(65, 214, 195, 0.15));
}

.ar-arch-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(65, 214, 195, 0.5);
}

.ar-arch-connector-label {
  position: relative;
  z-index: 1;
  background: #0F1419;
  border: 1px solid rgba(39, 52, 63, 0.9);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: rgba(65, 214, 195, 0.8);
  white-space: nowrap;
}

.ar-dash-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ar-dash-feature .tui-mock {
  max-width: 640px;
}

.ar-dash-caption {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem;
  color: rgba(230, 237, 243, 0.3);
  letter-spacing: 0.02em;
}

.ar-dash-caption code {
  color: rgba(65, 214, 195, 0.7);
}

/* ============================================================
   HOW IT WORKS — PRINCIPLES GRID
   ============================================================ */
#ar-how {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.ar-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ar-principle-card {
  background: rgba(23, 30, 37, 0.6);
  border: 1px solid rgba(39, 52, 63, 0.8);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.ar-principle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(65, 214, 195, 0.35), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.ar-principle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(65, 214, 195, 0.3);
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.ar-principle-card:hover::before { transform: scaleX(1); }

.ar-principle-icon {
  width: 44px; height: 44px;
  background: rgba(65, 214, 195, 0.08);
  border: 1px solid rgba(65, 214, 195, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.ar-principle-icon svg {
  width: 19px; height: 19px;
  stroke: #41D6C3;
  opacity: 0.85;
}

.ar-principle-card:hover .ar-principle-icon {
  background: rgba(65, 214, 195, 0.16);
  border-color: rgba(65, 214, 195, 0.35);
  transform: scale(1.08);
}

.ar-principle-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.ar-principle-desc {
  font-size: 0.84rem;
  color: rgba(230, 237, 243, 0.45);
  line-height: 1.7;
}

.ar-principle-desc code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: rgba(65, 214, 195, 0.8);
  background: rgba(65, 214, 195, 0.08);
  padding: 0.06rem 0.35rem;
  border-radius: 4px;
}

/* ============================================================
   INSTALL SECTION
   ============================================================ */
#ar-install {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.ar-install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ar-install-card--top {
  grid-column: 1 / -1;
}

.ar-install-card {
  background: rgba(23, 30, 37, 0.6);
  border: 1px solid rgba(39, 52, 63, 0.85);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.ar-install-card--featured {
  border-color: rgba(65, 214, 195, 0.3);
  background: rgba(23, 30, 37, 0.85);
}

.ar-install-card--featured::after {
  content: 'Recommended';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #41D6C3;
  background: rgba(65, 214, 195, 0.08);
  border: 1px solid rgba(65, 214, 195, 0.25);
  border-radius: 100px;
  padding: 0.18rem 0.65rem;
}

.ar-install-card:hover {
  border-color: rgba(65, 214, 195, 0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.ar-install-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ar-install-os-icon {
  width: 28px; height: 28px;
  opacity: 0.65;
  flex-shrink: 0;
}

.ar-install-os {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(230, 237, 243, 0.85);
  letter-spacing: -0.01em;
}

.ar-install-method {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  color: rgba(65, 214, 195, 0.65);
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
}

/* Code block */
.ar-code-block {
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid rgba(39, 52, 63, 0.9);
  border-radius: 12px;
  overflow: hidden;
}

.ar-code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid rgba(39, 52, 63, 0.7);
}

.ar-code-lang {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 237, 243, 0.25);
}

.ar-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(65, 214, 195, 0.5);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
  transition: color var(--transition), background var(--transition);
}

.ar-copy-btn:hover {
  color: #41D6C3;
  background: rgba(65, 214, 195, 0.08);
}

.ar-copy-btn.copied { color: #80DF96; }

.ar-copy-btn svg { width: 12px; height: 12px; flex-shrink: 0; }

.ar-code {
  display: block;
  padding: 0.9rem 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.76rem;
  color: rgba(230, 237, 243, 0.65);
  line-height: 1.8;
  overflow-x: auto;
  white-space: pre;
}

.ar-c-prompt {
  color: rgba(65, 214, 195, 0.5);
  user-select: none;
  margin-right: 0.5em;
}

.ar-code-block-sm .ar-code { font-size: 0.7rem; padding: 0.6rem 0.85rem; line-height: 1.65; }

.ar-install-note {
  font-size: 0.8rem;
  color: rgba(230, 237, 243, 0.35);
  line-height: 1.65;
}

.ar-install-note code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.74rem;
  color: rgba(65, 214, 195, 0.7);
  background: rgba(65, 214, 195, 0.08);
  padding: 0.05rem 0.32rem;
  border-radius: 4px;
}

.ar-install-litellm-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 200, 107, 0.05);
  border: 1px solid rgba(255, 200, 107, 0.18);
  border-radius: 12px;
  font-size: 0.8rem;
  color: rgba(230, 237, 243, 0.45);
  line-height: 1.6;
}

.ar-install-litellm-note svg {
  width: 16px; height: 16px;
  stroke: rgba(255, 200, 107, 0.65);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ar-install-litellm-note code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.74rem;
  color: rgba(255, 200, 107, 0.85);
  background: rgba(255, 200, 107, 0.08);
  padding: 0.05rem 0.32rem;
  border-radius: 4px;
}

/* ============================================================
   COMMANDS SECTION
   ============================================================ */
#ar-commands {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

#ar-commands .section-subtitle code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85em;
  color: rgba(65, 214, 195, 0.8);
  background: rgba(65, 214, 195, 0.08);
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
}

.ar-cmd-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(39, 52, 63, 0.85);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.ar-cmd-row {
  display: grid;
  grid-template-columns: 280px 1fr 120px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(39, 52, 63, 0.6);
  transition: background 0.2s ease;
}

.ar-cmd-row:last-child { border-bottom: none; }
.ar-cmd-row:hover { background: rgba(65, 214, 195, 0.04); }

.ar-cmd-name code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #41D6C3;
  letter-spacing: 0.03em;
}

.ar-cmd-desc {
  font-size: 0.85rem;
  color: rgba(230, 237, 243, 0.5);
  line-height: 1.6;
}

.ar-cmd-tag {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: 100px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.ar-cmd-tag--daily {
  background: rgba(65, 214, 195, 0.07);
  border: 1px solid rgba(65, 214, 195, 0.22);
  color: rgba(65, 214, 195, 0.75);
}

.ar-cmd-tag--setup {
  background: rgba(122, 167, 255, 0.07);
  border: 1px solid rgba(122, 167, 255, 0.22);
  color: rgba(122, 167, 255, 0.8);
}

.ar-cmd-tag--diag {
  background: rgba(255, 200, 107, 0.07);
  border: 1px solid rgba(255, 200, 107, 0.22);
  color: rgba(255, 200, 107, 0.8);
}

.ar-cmd-tag--adv {
  background: rgba(125, 138, 153, 0.08);
  border: 1px solid rgba(125, 138, 153, 0.22);
  color: rgba(230, 237, 243, 0.45);
}

.ar-cmd-db-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: rgba(23, 30, 37, 0.6);
  border: 1px solid rgba(39, 52, 63, 0.7);
  border-radius: 12px;
  font-size: 0.8rem;
  color: rgba(230, 237, 243, 0.4);
  line-height: 1.6;
}

.ar-cmd-db-note svg {
  width: 16px; height: 16px;
  stroke: rgba(65, 214, 195, 0.5);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ar-cmd-db-note code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.74rem;
  color: rgba(65, 214, 195, 0.7);
  background: rgba(65, 214, 195, 0.08);
  padding: 0.05rem 0.32rem;
  border-radius: 4px;
}

/* ============================================================
   SETUP SECTION
   ============================================================ */
#ar-setup {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.ar-setup-steps {
  display: flex;
  flex-direction: column;
  max-width: 720px;
}

.ar-setup-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.25rem;
  position: relative;
}

.ar-setup-step::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(65, 214, 195, 0.3), rgba(39, 52, 63, 0.5));
}

.ar-setup-step--last::before { display: none; }
.ar-setup-step--last { padding-bottom: 0; }

.ar-setup-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(65, 214, 195, 0.08);
  border: 1px solid rgba(65, 214, 195, 0.3);
  color: #41D6C3;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.ar-setup-step-body {
  padding-top: 0.4rem;
}

.ar-setup-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.ar-setup-step-desc {
  font-size: 0.85rem;
  color: rgba(230, 237, 243, 0.45);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 540px;
}

.ar-setup-step-desc code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.84rem;
  color: rgba(65, 214, 195, 0.8);
  background: rgba(65, 214, 195, 0.08);
  padding: 0.05rem 0.32rem;
  border-radius: 4px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
#ar-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 5vw, 3rem);
}

.ar-cta-inner {
  border-radius: 24px;
  border: 1px solid rgba(39, 52, 63, 0.9);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ar-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    rgba(23, 30, 37, 0.7),
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(65, 214, 195, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 100% 100%, rgba(122, 167, 255, 0.08) 0%, transparent 60%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

.ar-cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 214, 195, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 214, 195, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

.ar-cta-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.ar-cta-sub {
  font-size: 1rem;
  color: rgba(230, 237, 243, 0.45);
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

.ar-cta-buttons .btn-primary svg {
  width: 15px; height: 15px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ar-principles-grid { grid-template-columns: repeat(2, 1fr); }
  .ar-install-grid { grid-template-columns: 1fr; }
  .ar-install-card--featured::after { display: none; }
}

@media (max-width: 768px) {
  .ar-problem-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ar-arch-node { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .ar-arch-node-cap { text-align: left; }
  .ar-principles-grid { grid-template-columns: 1fr; }
  .ar-cmd-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .ar-cmd-tag { align-self: flex-start; }
  .ar-install-quick { flex-wrap: wrap; justify-content: center; text-align: center; }
  .ar-inline-cmd { white-space: normal; word-break: break-all; }
  .ar-setup-step { grid-template-columns: 36px 1fr; gap: 1rem; }
  .ar-setup-step-num { width: 36px; height: 36px; font-size: 0.85rem; }
  .ar-setup-step::before { left: 17px; }
}

@media (max-width: 480px) {
  .ar-hero-title { font-size: clamp(2.6rem, 15vw, 4rem); }
  .ar-cta-buttons { flex-direction: column; align-items: center; }
  .ar-install-quick { display: none; }
  .ar-windows-link { display: none; }
}
