.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--orion-600), var(--orion-500));
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 10px 28px rgba(0,0,0,0.22);
  img{
    max-width: 80%;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(126,226,184,0.14);
  color: var(--orion-200);
  font-size: 13px;
  font-weight: 700;
}

.chip-xs {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orion-250), var(--orion-400));
  box-shadow: 0 0 18px rgba(126, 226, 184, 0.7);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: var(--btn-h);
  padding: 0 22px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease),
    background var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orion-600), var(--orion-500));
  box-shadow: 0 18px 40px rgba(0, 56, 46, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(0, 56, 46, 0.34);
}

.btn-secondary {
  color: var(--text-main);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(126,226,184,0.18);
}

.btn-sm {
  min-height: var(--btn-h-sm);
  padding: 0 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.ui-window {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  box-shadow: var(--shadow-lg);
}

.window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.03);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

.window-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
}

.stat-card small {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.feature-card,
.module-card,
.faq-card,
.preview-card,
.form-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.045));
  box-shadow: var(--shadow-sm);
}

.feature-card,
.module-card,
.faq-card {
  padding: 28px;
}

.preview-card {
  padding: 18px;
}

.form-card {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(126,226,184,0.2), rgba(13,91,74,0.24));
  border: 1px solid rgba(126,226,184,0.14);
  color: var(--orion-200);
  font-size: 14px;
  font-weight: 800;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card-head strong {
  color: var(--text-strong);
  font-size: 15px;
}

.card-head span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.field + .field {
  margin-top: -4px;
}

.form-message {
  min-height: 20px;
  font-size: 13px;
  color: var(--orion-250);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--orion-250);
}

.auth-links a:hover {
  color: var(--white);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.nav-item {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.nav-item:hover,
.nav-item.is-active {
  background: rgba(255,255,255,0.07);
  border-color: rgba(126,226,184,0.16);
  color: var(--text-strong);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 16px;
}

.mini-profile {
  padding: 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--orion-500), var(--orion-400));
}

.mini-profile strong {
  display: block;
  font-size: 14px;
  color: var(--text-strong);
}

.mini-profile span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .feature-card,
  .module-card,
  .faq-card,
  .form-card,
  .preview-card {
    padding: 20px;
    border-radius: 22px;
  }

  .auth-links {
    flex-direction: column;
  }
}