/* ==============================================================================
   veilanon — Liquid Glass Component Styles
   Apple-grade Frosted Glass / Obsidian & Deep Violet / Zero AI Slop
   ============================================================================== */

/* -----------------------------------------------------------------------------
   1. Navigation Bar (Liquid Glass Header)
   ----------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--glass-header);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-rim-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(8, 5, 14, 0.92);
  border-bottom: 1px solid var(--glass-rim-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--glass-pill);
  color: var(--accent-light);
  border: 1px solid var(--glass-rim-medium);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  border-radius: var(--radius-pill);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Language Switcher with SVG Flags in Liquid Glass Capsule */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 3px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.lang-btn {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.6;
}

.lang-btn:hover {
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
  background: rgba(139, 92, 246, 0.35);
  border: 1px solid var(--glass-rim-bright);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 14px var(--accent-glow);
  opacity: 1;
}

.flag-svg {
  width: 20px;
  height: 14px;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* -----------------------------------------------------------------------------
   2. Buttons & Actions (Liquid Glass Lenses)
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.75));
  color: #ffffff;
  border: 1px solid var(--glass-rim-bright);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 8px 24px -4px rgba(139, 92, 246, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.95), rgba(139, 92, 246, 0.85));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55), 0 12px 32px -4px rgba(139, 92, 246, 0.65);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: var(--glass-pill);
  color: var(--text-primary);
  border: 1px solid var(--glass-rim-medium);
  box-shadow: var(--shadow-glass-sm);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-rim-bright);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-sm svg {
  width: 14px;
  height: 14px;
}

/* -----------------------------------------------------------------------------
   3. Hero Section
   ----------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  position: relative;
  text-align: center;
}

.hero-main-wrapper {
  min-height: calc(90vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--accent-light);
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-success);
}

.hero-title {
  max-width: 980px;
  margin: 0 auto 1.5rem auto;
  font-size: clamp(2.75rem, 5vw + 1.2rem, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-highlight {
  color: var(--accent-light);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  font-size: clamp(1.05rem, 1.4vw + 0.45rem, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

/* Quick CLI Command Box */
.cli-box {
  max-width: 580px;
  margin: 0 auto;
  background: var(--glass-code);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-sm);
}

.cli-command {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.cli-prompt {
  color: var(--accent-primary);
  font-weight: 700;
}

.cli-copy-btn {
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-subtle);
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  backdrop-filter: blur(12px);
}

.cli-copy-btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
}

.cli-copy-btn svg {
  width: 13px;
  height: 13px;
}

/* Liquid Glass Showcase Banner Frame (Full Aspect Ratio Uncropped) */
.hero-banner-container {
  max-width: 1060px;
  margin: 4.5rem auto 4.5rem auto;
  position: relative;
}

.hero-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 85%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.03) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-banner-glass {
  position: relative;
  z-index: 1;
  background: var(--glass-base);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass-lg);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-normal);
}

.hero-banner-picture {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 654;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 654;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
}

/* Telemetry Grid (Liquid Glass) */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.telemetry-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  text-align: left;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-sm);
  overflow: hidden;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.telemetry-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
}

.telemetry-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.telemetry-sub {
  font-size: 0.825rem;
  color: var(--text-tertiary);
  line-height: 1.45;
}

/* -----------------------------------------------------------------------------
   4. Feature Grid (Liquid Glass Cards)
   ----------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  text-align: left;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-sm);
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--glass-rim-violet);
  background: var(--glass-elevated);
  box-shadow: var(--shadow-glass-md), var(--shadow-glow);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
   5. Interactive Cryptography Playground
   ----------------------------------------------------------------------------- */
.crypto-playground {
  background: var(--glass-base);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass-lg);
}

.crypto-topbar {
  background: var(--glass-elevated);
  border-bottom: 1px solid var(--glass-rim-subtle);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.crypto-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-primary);
}

.crypto-title-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.crypto-spec-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.crypto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.crypto-col {
  padding: 2rem;
}

.crypto-col:first-child {
  border-right: 1px solid var(--glass-rim-subtle);
}

@media (max-width: 860px) {
  .crypto-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--glass-rim-subtle);
  }
}

.crypto-col-header {
  margin-bottom: 1.5rem;
}

.crypto-col-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.crypto-tag {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.crypto-tag.client {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-light);
  border: 1px solid var(--glass-rim-violet);
}

.crypto-tag.server {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.crypto-input {
  width: 100%;
  background: var(--glass-code);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-normal);
}

.crypto-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.crypto-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.crypto-meta-box {
  background: var(--glass-code);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: var(--font-mono);
}

.crypto-meta-k {
  font-size: 0.675rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.crypto-meta-v {
  font-size: 0.75rem;
  color: var(--text-accent);
  word-break: break-all;
}

.cipher-display {
  background: var(--glass-code);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.cipher-kv {
  display: flex;
  margin-bottom: 0.35rem;
}

.cipher-k {
  color: var(--accent-light);
  min-width: 90px;
}

.cipher-v {
  color: #a7f3d0;
}

.zero-knowledge-callout {
  margin-top: 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #a7f3d0;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   6. Layered Trust Architecture Explorer
   ----------------------------------------------------------------------------- */
.arch-container {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .arch-container {
    grid-template-columns: 1fr;
  }
}

.arch-layers-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.arch-layer-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.arch-layer-card:hover {
  border-color: var(--glass-rim-medium);
  background: var(--glass-elevated);
}

.arch-layer-card.active {
  border-color: var(--glass-rim-violet);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.2), var(--shadow-glass-sm);
}

.arch-layer-card.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-primary);
  border-radius: 4px 0 0 4px;
  box-shadow: 0 0 12px var(--accent-primary);
}

.arch-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.arch-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.arch-card-info h3,
.arch-card-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.arch-card-info p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.arch-detail-panel {
  background: var(--glass-base);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.arch-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-rim-subtle);
}

.arch-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.arch-detail-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-light);
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-violet);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.arch-detail-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.arch-detail-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.arch-detail-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.arch-detail-points li svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* -----------------------------------------------------------------------------
   7. Threat Model & Privacy Scope Table
   ----------------------------------------------------------------------------- */
.scope-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.scope-filter-btn {
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
}

.scope-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.scope-filter-btn.active {
  background: var(--accent-tertiary);
  border-color: var(--glass-rim-bright);
  color: #ffffff;
  box-shadow: 0 0 16px var(--accent-glow);
}

.matrix-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-xl);
  background: var(--glass-base);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass-lg);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.matrix-table th {
  background: var(--glass-elevated);
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--glass-rim-subtle);
}

.matrix-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--glass-rim-subtle);
  color: var(--text-secondary);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.badge-e2ee {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge-sfu {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-info);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* -----------------------------------------------------------------------------
   8. Feature Comparison Table
   ----------------------------------------------------------------------------- */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-xl);
  background: var(--glass-base);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass-lg);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.comp-table th {
  background: var(--glass-elevated);
  padding: 1.25rem 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--glass-rim-subtle);
}

.comp-table th:first-child,
.comp-table td:first-child {
  text-align: left;
  padding-left: 1.5rem;
}

.comp-table th.brand-col,
.comp-table td.brand-col {
  background: rgba(139, 92, 246, 0.08);
  border-left: 1px solid var(--glass-rim-medium);
  border-right: 1px solid var(--glass-rim-medium);
}

.comp-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--glass-rim-subtle);
  color: var(--text-secondary);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.check-icon {
  color: var(--color-success);
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.cross-icon {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* -----------------------------------------------------------------------------
   9. Downloads Matrix (Liquid Glass Cards)
   ----------------------------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.download-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-sm);
  overflow: hidden;
}

.download-card:hover {
  border-color: var(--glass-rim-violet);
  background: var(--glass-elevated);
  box-shadow: var(--shadow-glass-md), var(--shadow-glow);
}

.os-icon {
  width: 56px;
  height: 56px;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.download-os-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.download-os-ver {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.download-btn-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* -----------------------------------------------------------------------------
   10. Interactive FAQ Accordion (#faq)
   ----------------------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass-card);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-sm);
}

.faq-item:hover {
  border-color: var(--glass-rim-medium);
}

.faq-item.open {
  border-color: var(--glass-rim-violet);
  background: var(--glass-elevated);
  box-shadow: var(--shadow-glass-md);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  gap: 1rem;
}

.faq-trigger:hover {
  color: var(--accent-light);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal), color var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.16, 1, 0.3, 1), padding 350ms cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.5rem;
}

.faq-item.open .faq-content {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px dashed var(--glass-rim-subtle);
  padding-top: 1rem;
}

/* -----------------------------------------------------------------------------
   11. Link Hub & Ecosystem Portal (Centered Symmetrical 5-Card Layout)
   ----------------------------------------------------------------------------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Row 1: 3 cards spanning 2 columns each */
.link-grid .link-card:nth-child(1),
.link-grid .link-card:nth-child(2),
.link-grid .link-card:nth-child(3) {
  grid-column: span 2;
}

/* Row 2: 2 cards centered (starting at col 2 and col 4) */
.link-grid .link-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.link-grid .link-card:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 992px) {
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .link-grid .link-card:nth-child(1),
  .link-grid .link-card:nth-child(2),
  .link-grid .link-card:nth-child(3),
  .link-grid .link-card:nth-child(4) {
    grid-column: span 1;
  }
  .link-grid .link-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .link-grid {
    display: flex;
    flex-direction: column;
  }
  .link-grid .link-card {
    grid-column: auto;
    max-width: none;
    width: 100%;
  }
}

.link-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-rim-subtle);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-sm);
}

.link-card:hover {
  border-color: var(--glass-rim-bright);
  background: var(--glass-elevated);
  box-shadow: var(--shadow-glass-md), var(--shadow-glow);
}

.link-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.link-icon-box {
  width: 44px;
  height: 44px;
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  backdrop-filter: blur(12px);
}

.link-icon-box svg {
  width: 22px;
  height: 22px;
}

.link-type-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--glass-pill);
  color: var(--text-muted);
  border: 1px solid var(--glass-rim-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.link-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.link-desc {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.link-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* -----------------------------------------------------------------------------
   12. About aegisSoft Section (Liquid Glass Showcase)
   ----------------------------------------------------------------------------- */
.about-box {
  background: var(--glass-base);
  border: 1px solid var(--glass-rim-medium);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass-lg);
  overflow: hidden;
}

@media (max-width: 768px) {
  .about-box {
    padding: 2rem 1.5rem;
  }
}

.about-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-logo-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: rgba(18, 13, 30, 0.8);
  border: 1px solid var(--glass-rim-bright);
  box-shadow: var(--shadow-glass-sm);
  flex-shrink: 0;
  object-fit: contain;
}

.about-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-rim-subtle);
}

.credit-item {
  display: flex;
  flex-direction: column;
}

.credit-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.credit-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.credit-value a {
  color: var(--accent-light);
}

.credit-value a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   13. Footer & Domain Indicators
   ----------------------------------------------------------------------------- */
.footer {
  background: rgba(4, 2, 8, 0.94);
  border-top: 1px solid var(--glass-rim-subtle);
  padding: 5rem 0 2.5rem 0;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .brand-logo {
  height: 42px;
  width: auto;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-tertiary);
  margin-top: 1.65rem;
  max-width: 360px;
}

.footer-col h3,
.footer-col h5,
.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-rim-subtle);
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.domain-indicators {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.domain-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--glass-pill);
  border: 1px solid var(--glass-rim-medium);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.domain-pill.primary {
  border-color: var(--glass-rim-bright);
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.14);
}

.domain-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 6px var(--color-success);
}

/* -----------------------------------------------------------------------------
   14. Toast Feedback
   ----------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(22, 16, 38, 0.88);
  border: 1px solid var(--glass-rim-bright);
  color: var(--text-primary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-glass-lg);
  backdrop-filter: blur(20px);
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

/* -----------------------------------------------------------------------------
   15. Responsive Drawer
   ----------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(8, 5, 14, 0.98);
    border-bottom: 1px solid var(--glass-rim-medium);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-link {
    gap: 0.5rem;
    font-size: 1.15rem;
  }

  .brand-logo {
    height: 26px;
  }

  .brand-badge {
    display: none;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .nav-actions .btn-sm span {
    display: none;
  }

  .nav-actions .btn-sm {
    padding: 0.45rem 0.6rem;
  }

  .lang-btn {
    padding: 0.25rem 0.45rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cli-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .cli-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-banner-container {
    margin: 2.5rem auto 2.5rem auto;
  }

  .hero-banner-glass {
    padding: 0.6rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .matrix-table th, .matrix-table td,
  .comp-table th, .comp-table td {
    padding: 0.75rem 0.6rem;
    font-size: 0.8rem;
  }
}
