/* Product screenshot gallery */
.screenshots-section {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.06));
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.screenshots-slideshow {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

.screenshots-slideshow .screenshot-card {
  display: none;
}

.screenshots-slideshow .screenshot-card.is-active {
  display: block;
}

.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.slideshow-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card-solid);
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.25rem;
}

.slideshow-btn:hover,
.slideshow-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.slideshow-counter {
  min-width: 58px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.screenshot-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 810 / 919;
  object-fit: cover;
  object-position: top center;
  background: #f8fafc;
}

.screenshot-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
}

.screenshot-card figcaption strong {
  color: var(--text-main);
  font-size: 1rem;
}

.screenshot-card figcaption span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.screenshots-more {
  margin-top: 28px;
  text-align: center;
}

.tour-page {
  min-height: 100vh;
  padding: 48px 0 80px;
}

.pwa-page {
  min-height: 100vh;
  padding: 64px 0 90px;
}

.pwa-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 64px;
}

.pwa-layout .section-tag {
  display: inline-block;
  margin: 24px 0 14px;
}

.pwa-features {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.pwa-features div {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card-solid);
}

.pwa-features span {
  color: var(--text-muted);
}

.pwa-shot {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.2);
}

.pwa-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.pwa-shot figcaption {
  padding: 12px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pwa-slideshow {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.pwa-slideshow .screenshot-card img {
  aspect-ratio: 968 / 919;
}

@media (max-width: 800px) {
  .pwa-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pwa-page {
    padding-top: 36px;
  }
}

.tour-back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--primary);
  font-weight: 700;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tour-grid figure {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
}

.tour-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 968 / 919;
  object-fit: cover;
  object-position: top center;
}

.tour-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--text-main);
  font-weight: 700;
}

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

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

@media (max-width: 900px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Ligament 2FA/MFA - Modern High-End Dark UI
   Zero dependencies | Pure CSS3 | Fast & Ultra Responsive
   ========================================================================== */

:root {
  --bg-canvas: #07090e;
  --bg-surface: #0e131f;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --bg-card-solid: #121826;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.04);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.2);
  --success: #10b981;
  --warning: #f59e0b;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --max-w: 1200px;

  /* Backward compatibility aliases */
  --color-bg-canvas: var(--bg-canvas);
  --color-bg-surface: var(--bg-surface);
  --color-bg-card: var(--bg-card);
  --color-border: var(--border);
  --color-border-subtle: var(--border-subtle);
  --color-text-main: var(--text-main);
  --color-text-muted: var(--text-muted);
  --color-text-subtle: var(--text-subtle);
  --color-primary: var(--primary);
  --color-accent: var(--accent);
  --color-success: var(--success);
  --color-warning: var(--warning);
}

[data-theme="light"] {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #f1f5f9;
  --bg-card-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(79, 70, 229, 0.4);
  --border-subtle: rgba(15, 23, 42, 0.04);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-glow: rgba(79, 70, 229, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

section[id], .graph-section[id] {
  scroll-margin-top: 90px;
}

body {
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(circle at 100% 30%, rgba(6, 182, 212, 0.08), transparent 45%),
    radial-gradient(circle at 0% 65%, rgba(99, 102, 241, 0.08), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[data-theme="light"] body {
  background-color: #f1f5f9;
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(79, 70, 229, 0.08), transparent 70%),
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ---- Анимированный фоновый холст кибер-сети (Neural Mesh Constellation) ---- */
.bg-neural-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .bg-neural-canvas {
    display: none !important;
  }
}

.announcement-bar,
.hero-section,
.metrics-section,
.section,
.collab-section,
.screenshots-section,
.downloads-section,
.graph-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.announcement-bar a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}
.announcement-bar a:hover {
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.site-header .container {
  max-width: 1360px;
}
[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.85);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  min-width: 0;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 150px;
  height: 41px;
  object-fit: contain;
  object-position: left center;
}
.brand-badge {
  flex-shrink: 0;
}
.footer-col .brand-logo {
  width: 136px;
  height: 37px;
}
.brand-link img {
  width: auto;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 3px 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
[data-theme="light"] .site-nav {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}
.site-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .site-nav a:hover {
  background: rgba(15, 23, 42, 0.06);
}
.site-nav a.active {
  color: #ffffff !important;
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
}
.site-nav a:focus:not(:focus-visible) {
  outline: none;
}
.site-nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-main);
  transition: all 0.2s ease;
}
.lang-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
}
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-main);
  transition: all 0.2s ease;
  cursor: pointer;
}
.theme-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-full);
}
.btn-outline:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.icon-btn:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(99, 102, 241, 0.22), rgba(6, 182, 212, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-main);
}
.hero-title span {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Quickstart Terminal Box */
.terminal-box {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  max-width: 680px;
  margin: 0 auto 56px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  text-align: left;
}
.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.terminal-title {
  font-size: 12px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}
.terminal-body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.terminal-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #38bdf8;
  overflow-x: auto;
  white-space: nowrap;
}
.terminal-code span.prompt {
  color: #64748b;
  user-select: none;
}
.copy-btn {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  flex-shrink: 0;
}
.copy-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

/* Hero Visual Mockup: Auto-Logon + Push */
.hero-mockup-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(13, 18, 31, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(34, 211, 238, 0.08);
  position: relative;
  overflow: hidden;
}
.hero-mockup-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), rgba(129, 140, 248, 0.8), transparent);
  pointer-events: none;
}
.mockup-grid {
  display: grid;
  grid-template-columns: 1.15fr auto 0.85fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .mockup-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 16px; }
}
.mockup-card {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.mockup-card.unlocked-glow {
  border-color: rgba(52, 211, 153, 0.85);
  box-shadow: 0 0 35px rgba(52, 211, 153, 0.45), inset 0 0 20px rgba(52, 211, 153, 0.15);
}
.mockup-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.windows-logon-screen {
  background: rgba(9, 13, 22, 0.85);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.user-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
}
.user-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.matching-number-box {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(129, 140, 248, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.18), inset 0 0 15px rgba(129, 140, 248, 0.12);
  animation: neon-glow-pulse 3.5s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}
.matching-number-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.15), transparent);
  animation: cyber-scanline 4s linear infinite;
  pointer-events: none;
}
@keyframes cyber-scanline {
  0% { left: -100%; }
  100% { left: 200%; }
}
@keyframes neon-glow-pulse {
  0% {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.15), inset 0 0 10px rgba(129, 140, 248, 0.08);
  }
  100% {
    border-color: rgba(129, 140, 248, 0.6);
    box-shadow: 0 0 24px rgba(129, 140, 248, 0.3), inset 0 0 18px rgba(34, 211, 238, 0.2);
  }
}
.matching-number-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.matching-number-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6), 0 0 24px rgba(129, 140, 248, 0.4);
}

/* Cyber Laser Bridge between Workstation and Phone */
.mockup-cyber-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 4px;
  user-select: none;
}
.bridge-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}
.bridge-line-svg {
  width: 90px;
  height: 24px;
  overflow: visible;
}
.bridge-stream {
  stroke-dasharray: 8 12;
  stroke-linecap: round;
  animation: bridge-laser-flow 1.2s linear infinite;
  filter: drop-shadow(0 0 4px #22d3ee);
}
@keyframes bridge-laser-flow {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}
.mockup-cyber-bridge.bridge-success .bridge-badge {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.6);
  background: rgba(52, 211, 153, 0.15);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}
.mockup-cyber-bridge.bridge-success .bridge-stream {
  stroke: #34d399;
  filter: drop-shadow(0 0 8px #34d399);
}
@media (max-width: 900px) {
  .mockup-cyber-bridge {
    flex-direction: row;
    padding: 8px 0;
  }
  .bridge-line-svg {
    width: 24px;
    height: 36px;
    transform: rotate(90deg);
  }
}

/* Smartphone Mockup */
.phone-mockup {
  background: rgba(9, 13, 22, 0.92);
  border-radius: 28px;
  border: 2px solid rgba(34, 211, 238, 0.3);
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(129, 140, 248, 0.15);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.phone-notch {
  width: 80px;
  height: 12px;
  background: #1e293b;
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
}
.push-notification {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
}
.push-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.push-app-title {
  font-size: 12px;
  font-weight: 700;
  color: #818cf8;
}
.push-time {
  font-size: 11px;
  color: var(--text-subtle);
}
.push-text {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--text-main);
}
.push-actions {
  display: flex;
  gap: 8px;
}
.push-btn-confirm {
  flex: 1;
  background: var(--success);
  color: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.push-btn-deny {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* Metrics Bar */
.metrics-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .metrics-grid { grid-template-columns: 1fr; }
}
.metric-card {
  text-align: center;
  padding: 16px;
}
.metric-value {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.metric-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.metric-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Header */
.section {
  padding: 88px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
}

/* STARTUP & COLLABORATION SECTION (HIGHLIGHTED) */
.collab-section {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .collab-grid { grid-template-columns: 1fr; }
}
.collab-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.collab-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
}
.collab-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.collab-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.collab-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.collab-card-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 24px;
}
.collab-card-list li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.collab-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}
.founder-box {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 800px) {
  .founder-box { flex-direction: column; text-align: center; }
}
.founder-box {
  background: radial-gradient(ellipse at 85% 50%, rgba(99, 102, 241, 0.25), transparent 70%),
              linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(7, 10, 18, 0.98));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-top: 36px;
}
.founder-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff !important;
}
.founder-text p {
  font-size: 15px;
  color: #cbd5e1 !important;
  max-width: 620px;
  line-height: 1.6;
}
[data-theme="light"] .founder-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}
.founder-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Interactive Perimeter Tabs */
.tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: var(--radius-full);
  max-width: 860px;
  margin: 0 auto 40px;
  overflow-x: auto;
  border: 1px solid var(--border);
}
.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--text-main);
}
.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Feature Grid in Tabs */
.feature-tab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .feature-tab-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-tab-grid { grid-template-columns: 1fr; }
}
.feat-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s;
}
.feat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.feat-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.feat-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-pill {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: var(--text-subtle);
  font-weight: 500;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 24px;
}
.bento-grid-2 {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}
@media (max-width: 800px) {
  .bento-grid, .bento-grid-2 { grid-template-columns: 1fr; }
}
.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.bento-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bento-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modern Pricing Calculator */
.license-options { margin: 24px 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.license-options legend { padding: 0 8px; font-weight: 700; }
.license-options label { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.module-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 20px; }
.license-options input[type="number"] { width: 120px; padding: 10px; color: var(--text-main); background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; }
.license-options input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.pricing-terms, #calc-breakdown, #calc-renewal { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-top: 16px; }
.license-description { margin: 12px 0 20px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
#calc-plan { display: block; width: 100%; margin: 12px 0; padding: 12px; background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.module-included { color: var(--text-muted); }
.module-included::after { content: "Business ✓"; font-size: 12px; color: var(--primary); }
.calc-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 840px;
  margin: 0 auto 56px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.calc-row {
  margin-bottom: 28px;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.calc-label {
  font-size: 15px;
  font-weight: 600;
}
.calc-value-badge {
  font-size: 18px;
  font-weight: 800;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.calc-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1e293b;
  outline: none;
  accent-color: var(--primary);
  cursor: pointer;
}
.preset-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
}
.preset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.plan-switch-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-switch-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.plan-switch-btn.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}
.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}
.plan-rate {
  font-size: 12px;
  color: var(--text-muted);
}

.calc-result-box {
  background: #090d16;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.calc-result-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-result-price {
  font-size: 44px;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 8px;
}
.calc-result-sub {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Pricing 3 Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Application downloads */
.downloads-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), transparent);
}
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.download-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 22px;
}
.download-card h3 { margin: 0 0 8px; }
.download-card p {
  min-height: 42px;
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.download-card .btn { width: 100%; margin-top: auto; text-align: center; }
.downloads-more { text-align: center; margin: 0; }
.downloads-more a { color: var(--primary); }
@media (max-width: 1100px) {
  .downloads-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .downloads-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 36px var(--primary-glow);
}
.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.price-card-tier {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-card-price {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 4px;
}
.price-card-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.price-card-features {
  list-style: none;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-card-features li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}
.price-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.comp-table th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.comp-table th.col-highlight, .comp-table td.col-highlight {
  background: rgba(99, 102, 241, 0.08);
  font-weight: 600;
}
.check-yes {
  color: var(--success);
  font-weight: bold;
}
.check-no {
  color: var(--text-subtle);
}

/* Quick Start 3 Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-question {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 64px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--text-main);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Interactive Mockup Details */
.matching-choices {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 16px;
}
.match-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.25);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  backdrop-filter: blur(8px);
}
.match-opt:hover {
  background: rgba(34, 211, 238, 0.15);
  border-color: #22d3ee;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}
.match-opt.active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
  color: #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.6), inset 0 0 10px rgba(52, 211, 153, 0.3);
  transform: scale(1.06);
}
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid #22d3ee;
  animation: radar-beacon 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes radar-beacon {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* CTA Banner Box */
.cta-banner {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.35), transparent 70%),
              linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  margin: 40px auto 0;
  max-width: 900px;
}
.cta-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Badges & Tags */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Debate & Comparison Cards */
.debate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 960px) {
  .debate-grid { grid-template-columns: 1fr; }
}
.debate-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}
.debate-card.card-cloud {
  border-top: 3px solid #ef4444;
}
.debate-card.card-totp {
  border-top: 3px solid #f59e0b;
}
.debate-card.card-ligament {
  border: 1px solid var(--primary);
  border-top: 3px solid #38bdf8;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.9));
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}
.debate-header {
  margin-bottom: 20px;
}
.debate-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: block;
}
.card-cloud .debate-type { color: #f87171; }
.card-totp .debate-type { color: #fbbf24; }
.card-ligament .debate-type { color: #38bdf8; }
.debate-title {
  font-size: 20px;
  font-weight: 700;
}
.debate-list {
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}
.debate-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.debate-list li strong {
  color: var(--text-main);
}
.card-cloud .debate-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 800;
}
.card-totp .debate-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: 800;
}
.card-ligament .debate-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 800;
}

/* Architecture Flow Box */
.arch-flow-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin: 40px auto 0;
  max-width: 960px;
  text-align: center;
}
.arch-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 860px) {
  .arch-flow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.arch-flow-node {
  background: #090d16;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.arch-flow-node.highlight {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1));
  box-shadow: 0 8px 24px var(--primary-glow);
}
.arch-node-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.arch-node-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.arch-flow-arrow {
  color: #6366f1;
  font-size: 20px;
  font-weight: bold;
}
@media (max-width: 860px) {
  .arch-flow-arrow {
    transform: rotate(90deg);
  }
}

/* TCO Savings Callout */
.savings-callout {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}
@media (max-width: 700px) {
  .savings-callout { flex-direction: column; text-align: center; }
}
.savings-text {
  font-size: 14px;
  color: var(--text-main);
}
.savings-text strong {
  color: #34d399;
}
.savings-badge {
  background: var(--success);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}



/* Architecture Network Graph (Interactive Zero-Trust Topology) */
.graph-section {
  position: relative;
  padding: 80px 0;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.08), transparent 60%);
}
.graph-wrapper {
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(34, 211, 238, 0.08);
  margin-top: 24px;
}
.graph-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), rgba(129, 140, 248, 0.8), transparent);
  pointer-events: none;
}
.graph-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.graph-scenario-btn {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.graph-scenario-btn:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #fff;
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}
.graph-scenario-btn.active {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.85), rgba(6, 182, 212, 0.85));
  color: #fff;
  border-color: #22d3ee;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
}
.graph-svg-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.graph-svg {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes laser-flow {
  from {
    stroke-dashoffset: 56;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes laser-breath {
  0%, 100% {
    opacity: 0.95;
  }
  50% {
    opacity: 0.65;
  }
}
@keyframes pulse-ring {
  0% {
    r: 48px;
    opacity: 0.6;
  }
  50% {
    r: 64px;
    opacity: 0.2;
  }
  100% {
    r: 48px;
    opacity: 0.6;
  }
}
@keyframes core-neon-pulse {
  0% {
    stroke: #818cf8;
    filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.6));
  }
  100% {
    stroke: #22d3ee;
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.85));
  }
}
#node-core .node-bg {
  animation: core-neon-pulse 3s ease-in-out infinite alternate;
}
.flow-line {
  stroke-dasharray: 10 18;
  stroke-linecap: round;
  animation: laser-flow 1.25s linear infinite, laser-breath 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 5px currentColor);
}
.flow-line.reverse {
  animation: laser-flow 1.25s linear infinite reverse, laser-breath 3.5s ease-in-out infinite;
}
.flow-line.inactive {
  stroke-dasharray: none;
  animation: none;
  opacity: 0.15;
  filter: none;
}
.graph-node-group {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.graph-node-group .node-bg {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.graph-node-group:hover {
  transform: translateY(-2px);
}
.graph-node-group:hover .node-bg {
  stroke: #22d3ee;
  stroke-width: 2.2px;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.6));
}
.graph-node-group.dimmed {
  opacity: 0.25;
}
.graph-node-group.highlighted .node-bg {
  stroke: #22d3ee;
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.75));
}
.graph-info-banner {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) {
  .graph-info-banner { flex-direction: column; text-align: center; }
}
.graph-info-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.graph-info-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.graph-info-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Additional Visual Enhancements & Polish */
.collab-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8);
  cursor: pointer;
  border: 2px solid #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 22px rgba(56, 189, 248, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.collab-card, .feat-card, .price-card, .debate-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.collab-card:hover, .feat-card:hover, .price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

/* Responsive navigation and shared readable dark surfaces. */
.header-inner { gap: 16px; }
.header-actions { flex-shrink: 0; }
.brand-link .brand-logo { width: 150px; height: 41px; }
.menu-toggle { display: none; }
.scroll-hint { display: none; margin: 12px 0; color: var(--text-muted); font-size: 14px; }
.hero-mockup-wrapper, .graph-wrapper, .calc-result-box, .cta-banner {
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #a8b5c8;
  color: var(--text-main);
}
[data-theme="light"] .cta-banner { background: linear-gradient(150deg, #252d57, #101827); }
[data-theme="light"] .hero-mockup-wrapper {
  background: rgba(241, 245, 249, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .graph-wrapper {
  background: rgba(241, 245, 249, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .mockup-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(99, 102, 241, 0.2);
}
[data-theme="light"] .windows-logon-screen {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(203, 213, 225, 0.8);
}
[data-theme="light"] .graph-scenario-btn {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(99, 102, 241, 0.22);
  color: #334155;
}
[data-theme="light"] .graph-scenario-btn:hover {
  background: rgba(224, 231, 255, 0.6);
  color: #1e1b4b;
}
[data-theme="light"] .graph-scenario-btn.active {
  background: linear-gradient(135deg, #4f46e5, #0284c7);
  color: #fff;
  border-color: #4f46e5;
  box-shadow: 0 0 18px rgba(79, 70, 229, 0.4);
}
[data-theme="light"] .hero-badge-pill { color: #3730a3; background: #e0e7ff; }
[data-theme="light"] .announcement-bar a { color: #3730a3; }
[data-theme="light"] .hero-title span { background-image: linear-gradient(110deg, #4338ca, #0369a1); }
.graph-scroll-hint { color: #cbd5e1; }
.table-wrapper:focus-visible, .graph-svg-container:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.price-card { min-width: 0; }
.price-card-price { font-size: clamp(26px, 2.5vw, 36px); overflow-wrap: anywhere; }
.module-card { padding: 22px; align-self: start; }
.module-summary { list-style: none; cursor: pointer; }
.module-summary::-webkit-details-marker { display: none; }
.module-summary .price-card-tier { margin-bottom: 8px; }
.module-summary .price-card-period { margin-bottom: 10px; }
.module-more { color: var(--primary); font-size: 14px; font-weight: 600; }
.module-more::after { content: " +"; }
.module-card[open] .module-more::after { content: " −"; }
.module-details { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 4px; }
.module-details .price-card-features { margin-bottom: 16px; }
.module-details .btn { width: 100%; margin-top: 12px; white-space: normal; }
.module-included { color: var(--text-main); }
.module-included::after { content: none; }
.module-options { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.module-options label { align-items: flex-start; }
.module-options input { flex-shrink: 0; margin-top: 4px; }

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    background: var(--bg-card);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    max-width: none;
    max-height: 75vh;
    overflow-y: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
  }
  [data-theme="light"] .site-nav {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
  }
  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .site-nav a {
    padding: 12px 14px;
    white-space: normal;
    border-radius: 8px;
  }
}
@media (max-width: 768px) {
  .scroll-hint { display: block; }
  .graph-wrapper { padding: 24px 16px; }
  .graph-svg-container { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: auto; scrollbar-color: #818cf8 #1e293b; }
  .graph-svg { width: 960px; max-width: none; }
  .graph-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .graph-scenario-btn { padding: 10px 8px; justify-content: center; font-size: 12px; }
  .graph-scenario-btn[data-scenario="relay"] { grid-column: 1 / -1; }
  .table-wrapper { scrollbar-width: auto; }
  .calc-result-price { font-size: clamp(26px, 6vw, 38px); line-height: 1.25; overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
  .site-header { height: 68px; }
  .header-inner { gap: 8px; }
  .brand-link { gap: 0; }
  .brand-link .brand-logo { width: 132px; height: 36px; }
  .brand-badge, .header-actions .btn-header { display: none; }
  .header-actions { gap: 6px; }
  .lang-switch { padding: 6px 9px; min-height: 40px; }
  .theme-btn { width: 38px; height: 40px; }
  .calc-wrapper { padding: 24px 16px; }
  .license-options { padding: 16px 12px; }
  .module-options { grid-template-columns: 1fr; }
  .calc-result-box { padding: 20px 14px; }
  .price-card { padding: 24px; }
  .module-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
  .module-summary .price-card-tier { margin: 0; font-size: 17px; }
  .module-summary .price-card-price { margin: 0; font-size: 24px; text-align: right; }
  .module-summary .price-card-period { margin: 0; font-size: 12px; }
  .module-more { font-size: 12px; text-align: right; }
  .cta-banner { padding: 32px 20px; }
  .cta-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Audited topology: explicit routes, outbound tunnel and isolated Wi-Fi backup. */
.graph-svg-container { max-width: none; overflow-x: auto; min-width: 0; scrollbar-color: #818cf8 #1e293b; scrollbar-width: auto; }
.graph-svg { width: calc(var(--graph-base-width, 1120px) * var(--graph-zoom, 1)); max-width: none; height: auto; }
.flow-line { fill: none; }
.backup-line { stroke-dasharray: 3 7; }
.graph-connection.inactive { opacity: 0.18; }
.graph-connection.inactive .flow-line { opacity: 1; }
.graph-node-title, .graph-node-subtitle, .graph-zone-label, .graph-edge-label { font-family: var(--font-sans); text-anchor: middle; pointer-events: none; }
.graph-node-title { font-size: 15px; font-weight: 700; fill: #f8fafc; }
.graph-node-subtitle { font-size: 12px; fill: #cbd5e1; }
.graph-zone-label { font-size: 12px; letter-spacing: 0.07em; font-weight: 700; fill: #a5b4fc; }
.graph-edge-label { font-size: 12px; fill: #e2e8f0; paint-order: stroke; stroke: #0d121f; stroke-width: 6px; stroke-linejoin: round; }
.graph-node-group:focus { outline: none; }
.graph-node-group:focus-visible .node-bg { stroke: #f8fafc; stroke-width: 3; }
.graph-node-group.highlighted { opacity: 1; }
.graph-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; counter-reset: route-step; margin-bottom: 20px; }
.graph-route li { counter-increment: route-step; padding: 12px; border-radius: 10px; border: 1px solid #334155; background: #101827; color: #f1f5f9; font-size: 13px; }
.graph-route li::before { content: counter(route-step) ". "; color: #a5b4fc; font-weight: 700; }
.graph-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.graph-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12px; color: #cbd5e1; }
.graph-legend span::before { content: ""; display: inline-block; width: 18px; margin-right: 7px; vertical-align: middle; border-top: 2px solid #34d399; }
.graph-legend .legend-backup::before { border-top: 2px dashed #fbbf24; }
.graph-zoom { display: inline-flex; align-items: center; gap: 6px; }
.graph-zoom button { min-width: 36px; min-height: 36px; padding: 6px 10px; border: 1px solid #475569; border-radius: 8px; color: #f8fafc; background: #172033; cursor: pointer; font: inherit; font-size: 14px; }
.graph-zoom button:disabled { opacity: 0.4; cursor: default; }
.graph-zoom button:focus-visible, .graph-scenario-btn:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; }
#graph-zoom-value { min-width: 48px; text-align: center; color: #e2e8f0; font-size: 13px; }
.graph-caption, .graph-boundaries { color: #cbd5e1; line-height: 1.65; font-size: 13px; }
.graph-boundaries { margin-top: 16px; padding: 14px 16px; border-left: 3px solid #818cf8; background: #111827; }
.graph-transport { margin-top: 16px; color: #e2e8f0; font-size: 13px; line-height: 1.65; }
.coming-soon-teasers {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px auto 32px;
  max-width: 900px;
}
.coming-soon-teasers .link-teaser {
  margin: 0;
}
/* Coming Soon Callout Card on Index */
.coming-soon-callout {
  padding: 30px 0 40px;
}
.coming-soon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .coming-soon-card {
  background: linear-gradient(135deg, #eef2ff, #f0fdf4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.coming-soon-card-content {
  max-width: 760px;
}
.coming-soon-card-title {
  margin: 10px 0 8px;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--text-main);
}
.coming-soon-card-desc {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.coming-soon-card-action {
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .coming-soon-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
  }
}

/* Standalone Coming Soon Page Hero */
.cs-hero {
  padding: 60px 0 44px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}
[data-theme="light"] .cs-hero {
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}
.cs-hero-inner {
  max-width: 880px;
  margin: 0 auto;
}
.cs-hero-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 16px 0 14px;
  line-height: 1.25;
}
.cs-hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.cs-quick-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.link-teaser {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 28px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.link-teaser:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}
[data-theme="light"] .link-teaser {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4338ca;
}
[data-theme="light"] .link-teaser:hover {
  background: rgba(99, 102, 241, 0.14);
  color: #312e81;
}
.link-teaser span { color: var(--text-muted); font-size: 12px; }
.link-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(140deg, var(--primary-glow), transparent 65%); }
.recorder-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(140deg, rgba(168, 85, 247, 0.09), transparent 65%); }
[data-theme="light"] .recorder-section { background: linear-gradient(140deg, rgba(168, 85, 247, 0.05), #ffffff 65%); }
.pacs-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(140deg, rgba(6, 182, 212, 0.09), transparent 65%); }
[data-theme="light"] .pacs-section { background: linear-gradient(140deg, rgba(6, 182, 212, 0.05), #ffffff 65%); }
.fire-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(140deg, rgba(239, 68, 68, 0.09), transparent 65%); }
[data-theme="light"] .fire-section { background: linear-gradient(140deg, rgba(239, 68, 68, 0.05), #ffffff 65%); }
.link-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.link-intro > * { min-width: 0; }
.link-status { display: inline-block; padding: 6px 12px; margin-bottom: 18px; border: 1px solid var(--border-hover); border-radius: var(--radius-full); color: var(--text-main); background: var(--primary-glow); font-size: 13px; font-weight: 600; }
.link-intro .section-title { margin-bottom: 12px; text-align: left; }
.link-lead { margin-bottom: 14px; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; font-weight: 700; }
.link-description, .link-roadmap p, .link-feature p, .link-use-cases p, .link-distinction { color: var(--text-muted); line-height: 1.7; }
.link-description { font-size: 16px; margin-bottom: 20px; }
.link-roadmap { padding: 28px; border: 1px solid var(--border-hover); border-radius: var(--radius-lg); background: var(--bg-card); }
.link-roadmap h3 { margin-bottom: 12px; font-size: 20px; }
.link-roadmap .link-disclaimer { margin: 16px 0 20px; font-size: 14px; }
.link-roadmap .btn { max-width: 100%; white-space: normal; text-align: center; }
.link-features-heading { margin: 32px 0 18px; font-size: 23px; }
.link-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.link-feature { padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.link-feature h4 { margin-bottom: 10px; font-size: 18px; line-height: 1.4; }
.link-feature p { font-size: 14px; }
.link-use-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.link-use-cases strong, .link-distinction strong { color: var(--text-main); }
.link-distinction { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }
@media (max-width: 900px) {
  .link-intro { grid-template-columns: 1fr; gap: 24px; }
  .link-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-use-cases { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .link-features { grid-template-columns: 1fr; }
  .link-feature, .link-roadmap { padding: 20px; }
}
.graph-info-title { margin: 0 0 8px; }
.graph-info-desc { margin: 0; }
.graph-svg-container.is-offline { border-top: 1px dashed #fbbf24; }
.graph-svg-container.is-offline .graph-node-group.dimmed,
.graph-svg-container.is-offline .graph-connection.inactive { visibility: hidden; }
.graph-offline-mobile { display: none; }
@media (max-width: 768px) {
  .graph-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .graph-controls .graph-scenario-btn { grid-column: auto; }
  .graph-controls .graph-scenario-btn[data-scenario="wifi-offline"] { grid-column: 1 / -1; }
  .graph-toolbar { align-items: flex-start; }
  .graph-legend { flex-direction: column; }
  .graph-info-badge { white-space: normal; text-align: center; }
  .offline-scenario .graph-offline-mobile { display: grid; gap: 12px; padding: 20px 0; color: #f8fafc; text-align: center; }
  .graph-offline-mobile > div { border: 1px solid #fbbf24; border-radius: 12px; padding: 18px 12px; background: #0b1120; }
  .graph-offline-mobile strong, .graph-offline-mobile div span { display: block; }
  .graph-offline-mobile div span { color: #cbd5e1; font-size: 13px; margin-top: 6px; }
  .offline-scenario .graph-svg, .offline-scenario .graph-zoom, .offline-scenario .graph-scroll-hint { display: none; }
}

/* Language suggestion bar (no auto-redirect — visitor stays in control) */
.lang-suggest-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(92vw, 460px);
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-full, 999px);
  background: var(--bg-card-solid, #121826);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.lang-suggest-bar .lang-switch {
  color: var(--text-main, #f8fafc);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.lang-suggest-bar .lang-switch:hover { color: var(--accent, #06b6d4); }
.lang-suggest-close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-full, 999px);
  background: transparent;
  color: var(--text-muted, #94a3b8);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.lang-suggest-close:hover { color: var(--text-main, #f8fafc); border-color: var(--accent, #06b6d4); }
@media (max-width: 560px) {
  .lang-suggest-bar { bottom: 10px; padding-left: 14px; }
  .lang-suggest-bar .lang-switch { font-size: 13px; }
}

/* ==========================================================================
   Documentation Pages Styling (docs.html)
   ========================================================================== */

.docs-hero {
  padding: 120px 0 40px;
  background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border);
}

.docs-hero-inner {
  max-width: 860px;
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.docs-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.docs-breadcrumb a:hover {
  color: var(--accent);
}

.docs-breadcrumb-sep {
  opacity: 0.5;
}

.docs-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}

.docs-hero-title span {
  background: linear-gradient(135deg, #a5b4fc, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.docs-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.docs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-subtle);
}

.docs-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 48px 0 96px;
}

.docs-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
}

.docs-nav-group {
  margin-bottom: 20px;
}

.docs-nav-group:last-child {
  margin-bottom: 0;
}

.docs-nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  padding: 0 8px;
  margin-bottom: 8px;
}

.docs-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.35;
}

.docs-nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.docs-nav-link.active {
  color: #fff;
  background: var(--primary);
  font-weight: 600;
}

.docs-nav-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
  min-width: 16px;
}

.docs-content {
  min-width: 0;
}

.docs-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.docs-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.docs-step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.docs-section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.docs-subhead {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin: 28px 0 12px;
}

.docs-p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.docs-list {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.docs-list li {
  margin-bottom: 6px;
}

.docs-list strong {
  color: var(--text-main);
}

/* Callout cards */
.docs-callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-size: 14.5px;
  line-height: 1.6;
  border-left: 4px solid;
}

.docs-callout p {
  margin: 0 0 8px;
}

.docs-callout p:last-child {
  margin-bottom: 0;
}

.docs-callout-info {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--accent);
  color: var(--text-main);
}

.docs-callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--warning);
  color: var(--text-main);
}

.docs-callout-tip {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--success);
  color: var(--text-main);
}

/* Code box in docs */
.docs-code-card {
  margin: 20px 0 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #090d16;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.docs-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-code-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-code-pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.65;
  color: #e2e8f0;
}

.docs-code-pre code {
  font-family: inherit;
}

.docs-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card-solid);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.docs-table th, .docs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.5;
}

.docs-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.docs-table code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: #38bdf8;
}

[data-theme="light"] .docs-hero {
  background: radial-gradient(circle at 50% 10%, rgba(79, 70, 229, 0.08), transparent 70%);
}

[data-theme="light"] .docs-code-card {
  background: #0f172a;
}

[data-theme="light"] .docs-table code {
  background: rgba(15, 23, 42, 0.06);
  color: #0284c7;
}

[data-theme="light"] .docs-sidebar {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .docs-table th {
  background: rgba(15, 23, 42, 0.03);
}

@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
  }
}

/* ==========================================================================
   Windows Logon Screenshots Gallery
   ========================================================================== */

.logon-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .logon-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 36px auto 0;
  }
}

.logon-gallery-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.logon-gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.logon-img-wrap {
  background: #070a12;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.logon-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.logon-img-wrap-contain {
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), #070a12);
}

.logon-gallery-card figcaption {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.logon-gallery-card figcaption strong {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.logon-gallery-card figcaption span {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

[data-theme="light"] .logon-img-wrap {
  background: #f1f5f9;
}

[data-theme="light"] .logon-img-wrap-contain {
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.08), #e2e8f0);
}
