/* ============================================
   Sovereign Data Platform — Landing Page Styles
   Dark theme, glassmorphism, modern design
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #06060b;
  --bg-secondary: #0e0e18;
  --bg-tertiary: #14142a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555570;
  --accent: #0088ff;
  --accent-secondary: #00d4aa;
  --accent-glow: rgba(0, 136, 255, 0.25);
  --accent-glow-strong: rgba(0, 136, 255, 0.5);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(24px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #339dff; }

img { max-width: 100%; display: block; }

/* ---------- Animated Background ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.bg-glow--teal {
  width: 600px; height: 600px;
  background: rgba(0, 136, 255, 0.06);
  top: -200px; right: -100px;
}
.bg-glow--blue {
  width: 500px; height: 500px;
  background: rgba(0, 136, 255, 0.05);
  bottom: -150px; left: -100px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(6, 6, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar__logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.navbar__logo-img {
  height: 32px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.navbar__links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.navbar__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.lang-toggle__btn {
  border: none;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-toggle__btn.active {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ---------- VM Status Indicator ---------- */
.vm-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: default;
  white-space: nowrap;
}
.vm-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.vm-status__dot--online {
  background: #00d4aa;
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
.vm-status__dot--offline {
  background: #ff4444;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}
.vm-status__dot--checking {
  background: var(--text-muted);
  animation: pulse 1s ease-in-out infinite;
}
.vm-status__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.vm-status__sep {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}
.vm-status__msg {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.vm-status__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  margin-left: 2px;
  transition: color 0.2s;
}
.vm-status__close:hover {
  color: var(--text-primary);
}

/* ---------- Mobile Menu ---------- */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90vh;
  padding: 120px 40px 80px;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow-strong);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn--primary:hover {
  background: #1a9aff;
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Category ---------- */
.category {
  margin-bottom: 56px;
}
.category__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Service Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent-glow) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
img.card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 8px;
}
.card__icon--data     { background: rgba(0, 136, 255, 0.1); color: #0088ff; }
.card__icon--orch     { background: rgba(136, 100, 255, 0.1); color: #8864ff; }
.card__icon--api      { background: rgba(0, 136, 255, 0.1); color: #0088ff; }
.card__icon--gis      { background: rgba(255, 170, 0, 0.1); color: #ffaa00; }
.card__icon--monitor  { background: rgba(255, 80, 100, 0.1); color: #ff5064; }

.card__title {
  font-size: 1rem;
  font-weight: 600;
}
.card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.card__arrow {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.card:hover .card__arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ---------- About / Description ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.about-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.about-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.about-card__text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Why Section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.why-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}
.why-card__text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.why-card__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.why-card__text a:hover {
  color: #339dff;
}

/* ---------- Tech Stack Page ---------- */

/* Architecture Flow */
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 48px 0;
  position: relative;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 120px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.arch-node:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-4px);
}
.arch-node__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.arch-node__name {
  font-size: 0.95rem;
  font-weight: 600;
}

.arch-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  padding: 0 8px;
  flex-shrink: 0;
}

/* Serving layer */
.arch-serving {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
  width: 100%;
}

/* Tech detail cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}
.tech-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.tech-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.tech-card__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
img.tech-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.tech-card__name {
  font-size: 1.1rem;
  font-weight: 700;
}
.tech-card__role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}
.tech-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Walkthrough Page ---------- */

/* Sidebar thumbnails */
.wt-sidebar {
  position: fixed;
  left: 0;
  top: 72px;
  bottom: 0;
  width: 200px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  z-index: 100;
  background: rgba(6, 6, 11, 0.9);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
}

.wt-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(.4,0,.2,1);
  border: 2px solid transparent;
  position: relative;
}
.wt-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: filter 0.5s ease, opacity 0.5s ease;
}
.wt-thumb.inactive img {
  filter: grayscale(100%) blur(2px);
  opacity: 0.35;
}
.wt-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.05);
}
.wt-thumb.active img {
  filter: none;
  opacity: 1;
}
.wt-thumb__number {
  position: absolute;
  top: 4px; left: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.wt-thumb.active .wt-thumb__number {
  background: var(--accent);
  color: var(--bg-primary);
}
.wt-thumb--intro {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.wt-thumb__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4px 6px;
  background: rgba(0,0,0,0.7);
  color: var(--text-secondary);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  z-index: 1;
  transition: color 0.3s;
}
.wt-thumb.active .wt-thumb__label {
  color: var(--accent);
}

/* Main walkthrough content */
.wt-main {
  margin-left: 200px;
  flex: 1;
  position: relative;
}

/* Hero */
.wt-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  padding: 120px 40px 60px;
}

/* Use-case box */
.wt-usecase {
  max-width: 680px;
  margin-top: 40px;
  padding: 24px 32px;
  background: rgba(0,136,255,.04);
  border: 1px solid rgba(0,136,255,.15);
  border-radius: 12px;
  text-align: left;
}
.wt-usecase__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.wt-usecase__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.wt-usecase__disclaimer {
  margin-top: 12px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.5;
}

/* Scroll hint */
.wt-scroll-hint {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.wt-scroll-hint__arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: wt-bounce 2s ease-in-out infinite;
}
@keyframes wt-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* Vertical flow line */
.wt-flow-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.wt-flow-line__path {
  fill: none;
  stroke: rgba(0,136,255,.15);
  stroke-width: 2;
  stroke-dasharray: 8 6;
}
.wt-flow-line__progress {
  fill: none;
  stroke: url(#wt-flow-gradient);
  stroke-width: 2;
  stroke-linecap: round;
}

/* Steps */
.wt-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

/* Watermark number */
.wt-step__watermark {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 800;
  color: rgba(255,255,255,.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.wt-step:nth-child(even) .wt-step__watermark {
  right: auto;
  left: -20px;
}

.wt-step__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Alternate layout */
.wt-step:nth-child(even) .wt-step__inner {
  direction: rtl;
}
.wt-step:nth-child(even) .wt-step__inner > * {
  direction: ltr;
}

.wt-step__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wt-step__number {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wt-step__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.wt-step__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Tech badge */
.wt-step__tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 6px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  width: fit-content;
}
.wt-step__tech img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Image with reveal effect */
.wt-step__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  aspect-ratio: 16/10;
  position: relative;
  display: block;
  text-decoration: none;
}
.wt-step__image-reveal {
  width: 100%;
  height: 100%;
}
.wt-step__image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wt-step__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  pointer-events: none;
}
.wt-step__image-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* Image hover glow for clickable images */
a.wt-step__image {
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
a.wt-step__image:hover {
  border-color: rgba(0,136,255,.3);
  box-shadow: 0 8px 40px rgba(0,136,255,.12);
}

/* Progress bar */
.wt-progress {
  position: fixed;
  top: 72px;
  left: 200px;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 101;
}
.wt-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  width: 0%;
  transition: width 0.1s linear;
}

/* Step counter dots (in progress bar) */
.wt-progress__dots {
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 9px;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.wt-progress__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}
.wt-progress__dot.passed {
  border-color: var(--accent);
  background: var(--accent);
}

/* ---------- Walkthrough Summary — Cinematic Mosaic ---------- */
.wt-summary {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  position: relative;
}
.wt-summary__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wt-summary__canvas {
  position: relative;
  width: 100%;
  max-width: 900px;
  perspective: 1200px;
  margin: 0 auto;
}
.wt-summary__connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.wt-summary__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 16px;
  position: relative;
  z-index: 2;
}
.wt-summary__card {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}
.wt-summary__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}
.wt-summary__card:hover {
  border-color: rgba(0,136,255,.5);
  box-shadow: 0 8px 32px rgba(0,136,255,.25), 0 0 60px rgba(0,136,255,.08);
  z-index: 10;
}
.wt-summary__badge {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.wt-summary__card-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.wt-summary__card:hover .wt-summary__card-label {
  opacity: 1;
}
.wt-summary__cta {
  margin-top: 56px;
}
/* SVG connector styles */
.wt-summary__connector-line {
  stroke: rgba(0,136,255,.4);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

@media (max-width: 1024px) {
  .wt-summary__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
  }
}
@media (max-width: 768px) {
  .wt-summary { padding: 60px 20px; }
  .wt-summary__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 10px;
  }
  .wt-summary__connectors { display: none; }
  .wt-summary__card-label { opacity: 1; font-size: 0.6rem; bottom: -18px; }
}
@media (max-width: 480px) {
  .wt-summary__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Component Grid Page ---------- */
.component-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.component-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.component-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.component-card--static {
  cursor: default;
  opacity: 0.7;
}
.component-card--static:hover {
  transform: none;
  box-shadow: none;
}

.component-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}
.component-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.component-card:hover .component-card__image img {
  transform: scale(1.05);
}
.component-card--static:hover .component-card__image img {
  transform: none;
}

.component-card__info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.component-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.component-card__name {
  font-size: 0.95rem;
  font-weight: 600;
}

.component-card__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.component-card__arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 8px;
}
.component-card:hover .component-card__arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ---------- Credentials Table ---------- */
.creds-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.creds-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.creds-table thead {
  background: rgba(255,255,255,.04);
}
.creds-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.creds-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text-secondary);
  vertical-align: middle;
}
.creds-table tbody tr:last-child td {
  border-bottom: none;
}
.creds-table tbody tr:hover {
  background: rgba(255,255,255,.02);
}
.creds-table code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  background: rgba(0,136,255,.08);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  user-select: all;
}
.creds-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.creds-noauth {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}
.creds-apikey {
  background: rgba(0,212,170,.08) !important;
  color: var(--accent-secondary) !important;
}

@media (max-width: 600px) {
  .creds-table th, .creds-table td { padding: 10px 12px; font-size: 0.8rem; }
  .creds-table code { font-size: 0.78rem; padding: 1px 5px; }
}

.component-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.component-card__placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.component-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer a { color: var(--text-secondary); }
.footer a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .wt-sidebar { display: none; }
  .wt-main { margin-left: 0; }
  .wt-progress { left: 0; }
  .wt-step { padding: 40px 20px; }
  .wt-step__watermark { display: none; }
  .wt-flow-line { display: none; }
  .wt-usecase { margin-top: 24px; }
  .wt-step__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wt-step:nth-child(even) .wt-step__inner { direction: ltr; }
  .arch-flow { flex-direction: column; gap: 12px; }
  .arch-arrow { transform: rotate(90deg); }
  .component-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .navbar__links { display: none; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(6, 6, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }
  .navbar__burger { display: flex; }
  .vm-status__label { display: none; }
  .vm-status { padding: 4px 6px; }

  .wt-hero { padding: 100px 20px 40px; min-height: 60vh; }
  .wt-usecase { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .wt-step { padding: 40px 20px; }

  .card-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .component-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .component-grid { grid-template-columns: 1fr; }
}

/* ---------- Explore CTA (Home Page) ---------- */

.explore-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.explore-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.explore-cta-card:hover {
  transform: translateY(-4px);
  border-color: #0088ff;
  box-shadow: 0 8px 32px rgba(0,136,255,.15);
}

.explore-cta-card__icon {
  color: #0088ff;
  margin-bottom: 16px;
}

.explore-cta-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.explore-cta-card__desc {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.explore-cta-card__link {
  font-size: .9rem;
  font-weight: 600;
  color: #0088ff;
  transition: color .2s;
}

.explore-cta-card:hover .explore-cta-card__link {
  color: #33a3ff;
}

@media (max-width: 600px) {
  .explore-cta-grid { grid-template-columns: 1fr; }
}

/* ---------- Architecture Diagram v2 (Tech Stack Page) ---------- */

.arch-diagram {
  position: relative;
  padding: 40px 24px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Outer layout: sources on the left, hosted wrapper on the right */
.arch-diagram__layout {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

/* Data sources wrapper (outside hosting wrapper) */
.arch-diagram__sources-wrapper {
  position: relative;
  flex-shrink: 0;
  padding: 36px 16px 16px;
  margin-right: 16px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
}
.arch-diagram__sources-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d0d14;
  padding: 2px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  white-space: nowrap;
}
.arch-diagram__sources {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100px;
}
.arch-diagram__sources .arch-node-v2 {
  width: 100%;
}
/* Arrow between sources wrapper and hosted wrapper */
.arch-diagram__sources-wrapper::after {
  content: '\2192';
  font-size: 1.5rem;
  color: var(--text-muted);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Scaleway hosting wrapper */
.arch-diagram__hosted {
  position: relative;
  border: 1px dashed rgba(136, 100, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px 24px 24px;
  flex: 1;
  min-width: 0;
}
.arch-diagram__hosted-badge {
  position: absolute;
  top: -14px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(136, 100, 255, 0.3);
  border-radius: 100px;
  padding: 5px 16px 5px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.arch-diagram__hosted-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* SVG arrow overlay */
.arch-diagram__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.arch-diagram__arrows path {
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: arch-dash-flow 20s linear infinite;
}
.arch-diagram__arrows path.arrow--active {
  stroke: var(--accent);
  stroke-width: 2;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
@keyframes arch-dash-flow {
  to { stroke-dashoffset: -200; }
}

/* Grid layout (5 columns — sources are outside the grid) */
.arch-diagram__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 20px 28px;
  position: relative;
  z-index: 2;
}

/* Node placement */
#node-2       { grid-column: 1; grid-row: 1; }
#node-7       { grid-column: 3; grid-row: 1; }
#node-11      { grid-column: 5; grid-row: 1; }
#node-3       { grid-column: 1; grid-row: 2; }
#node-4       { grid-column: 2; grid-row: 2; }
#node-6       { grid-column: 3; grid-row: 2; }
#node-5       { grid-column: 4; grid-row: 2; }
#node-10      { grid-column: 5; grid-row: 2; }
#node-12      { grid-column: 3; grid-row: 3; }
#node-8       { grid-column: 4; grid-row: 3; }
#node-1       { grid-column: 1; grid-row: 4; }
#node-13      { grid-column: 3; grid-row: 4; }
#node-9       { grid-column: 4; grid-row: 4; }

/* Node styling */
.arch-node-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px 14px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  text-align: center;
  min-width: 0;
}
.arch-node-v2:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.arch-node-v2--peer-highlight {
  border-color: rgba(0, 136, 255, 0.3);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Number badge */
.arch-node-v2__number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  line-height: 1;
}

.arch-node-v2__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.arch-node-v2__name {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1.2;
}

.arch-node-v2__tech {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Sources node special */
.arch-node-v2--sources .arch-node-v2__icons {
  display: flex;
  gap: 6px;
  font-size: 1.2rem;
  opacity: 0.7;
}

/* Category color coding */
.arch-node-v2--orch        { border-color: rgba(136, 100, 255, 0.2); }
.arch-node-v2--orch:hover  { box-shadow: 0 0 24px rgba(136, 100, 255, 0.25); border-color: rgba(136, 100, 255, 0.5); }
.arch-node-v2--orch .arch-node-v2__name   { color: #8864ff; }
.arch-node-v2--orch .arch-node-v2__number { background: #8864ff; }

.arch-node-v2--catalog        { border-color: rgba(136, 100, 255, 0.2); }
.arch-node-v2--catalog:hover  { box-shadow: 0 0 24px rgba(136, 100, 255, 0.25); border-color: rgba(136, 100, 255, 0.5); }
.arch-node-v2--catalog .arch-node-v2__name   { color: #8864ff; }
.arch-node-v2--catalog .arch-node-v2__number { background: #8864ff; }

.arch-node-v2--gis        { border-color: rgba(255, 170, 0, 0.2); }
.arch-node-v2--gis:hover  { box-shadow: 0 0 24px rgba(255, 170, 0, 0.25); border-color: rgba(255, 170, 0, 0.5); }
.arch-node-v2--gis .arch-node-v2__name   { color: #ffaa00; }
.arch-node-v2--gis .arch-node-v2__number { background: #ffaa00; }

.arch-node-v2--monitoring        { border-color: rgba(255, 80, 100, 0.2); }
.arch-node-v2--monitoring:hover  { box-shadow: 0 0 24px rgba(255, 80, 100, 0.25); border-color: rgba(255, 80, 100, 0.5); }
.arch-node-v2--monitoring .arch-node-v2__name   { color: #ff5064; }
.arch-node-v2--monitoring .arch-node-v2__number { background: #ff5064; }

.arch-node-v2--api        { border-color: rgba(0, 212, 170, 0.2); }
.arch-node-v2--api:hover  { box-shadow: 0 0 24px rgba(0, 212, 170, 0.25); border-color: rgba(0, 212, 170, 0.5); }
.arch-node-v2--api .arch-node-v2__name   { color: var(--accent-secondary); }
.arch-node-v2--api .arch-node-v2__number { background: var(--accent-secondary); }

.arch-node-v2--llm        { border-color: rgba(255, 112, 0, 0.2); }
.arch-node-v2--llm:hover  { box-shadow: 0 0 24px rgba(255, 112, 0, 0.25); border-color: rgba(255, 112, 0, 0.5); }
.arch-node-v2--llm .arch-node-v2__name   { color: #ff7000; }
.arch-node-v2--llm .arch-node-v2__number { background: #ff7000; }

.arch-node-v2--ui        { border-color: rgba(0, 212, 170, 0.2); }
.arch-node-v2--ui:hover  { box-shadow: 0 0 24px rgba(0, 212, 170, 0.25); border-color: rgba(0, 212, 170, 0.5); }
.arch-node-v2--ui .arch-node-v2__name   { color: var(--accent-secondary); }
.arch-node-v2--ui .arch-node-v2__number { background: var(--accent-secondary); }

.arch-node-v2--infra        { border-color: rgba(100, 120, 180, 0.2); }
.arch-node-v2--infra:hover  { box-shadow: 0 0 24px rgba(100, 120, 180, 0.25); border-color: rgba(100, 120, 180, 0.5); }
.arch-node-v2--infra .arch-node-v2__name   { color: #6478b4; }
.arch-node-v2--infra .arch-node-v2__number { background: #6478b4; }

/* ---------- Detail Cards (below diagram) ---------- */
.arch-details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.arch-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.5s ease;
  scroll-margin-top: 100px;
}
.arch-detail-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.arch-detail-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.arch-detail-card__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-detail-card__title {
  font-size: 1.05rem;
  font-weight: 600;
}

.arch-detail-card__components {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.arch-detail-card__component {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
}

.arch-detail-card__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.arch-detail-card__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.arch-detail-card__launch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 136, 255, 0.08);
  border: 1px solid rgba(0, 136, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.arch-detail-card__launch:hover {
  background: rgba(0, 136, 255, 0.15);
  border-color: rgba(0, 136, 255, 0.4);
  transform: translateX(2px);
}

/* ---------- Architecture Diagram Responsive ---------- */
@media (max-width: 1200px) {
  .arch-diagram__layout { flex-direction: column; }
  .arch-diagram__sources-wrapper {
    margin-right: 0;
    margin-bottom: 16px;
    padding: 12px 16px;
    justify-content: center;
  }
  .arch-diagram__sources-wrapper::after { display: none; }
  .arch-diagram__sources {
    flex-direction: row;
    width: auto;
    justify-content: center;
    gap: 12px;
  }
  .arch-diagram__sources .arch-node-v2 { width: auto; min-width: 80px; }
  .arch-diagram__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 20px;
  }
  #node-3       { grid-column: 1; grid-row: 1; }
  #node-4       { grid-column: 2; grid-row: 1; }
  #node-6       { grid-column: 3; grid-row: 1; }
  #node-5       { grid-column: 4; grid-row: 1; }
  #node-2       { grid-column: 1; grid-row: 2; }
  #node-10      { grid-column: 2; grid-row: 2; }
  #node-11      { grid-column: 3; grid-row: 2; }
  #node-7       { grid-column: 4; grid-row: 2; }
  #node-8       { grid-column: 1; grid-row: 3; }
  #node-12      { grid-column: 2; grid-row: 3; }
  #node-9       { grid-column: 3; grid-row: 3; }
  #node-1       { grid-column: 1; grid-row: 4; }
  #node-13      { grid-column: 2; grid-row: 4; }
  .arch-diagram__arrows { display: none; }
}

@media (max-width: 768px) {
  .arch-diagram { padding: 20px 16px 40px; }
  .arch-diagram__hosted { padding: 40px 12px 16px; }
  .arch-diagram__sources .arch-node-v2 { min-width: 70px; }
  .arch-diagram__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  #node-3, #node-4, #node-6, #node-5, #node-10,
  #node-2, #node-7, #node-11, #node-12, #node-8, #node-1, #node-13, #node-9 {
    grid-column: auto; grid-row: auto;
  }
  .arch-diagram__arrows { display: none; }
  .arch-details__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .arch-diagram__grid {
    grid-template-columns: 1fr;
  }
  .arch-diagram__sources .arch-node-v2 { min-width: 60px; }
}
