:root {
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --primary-light: #eff6ff;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --text-2: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--primary-light);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: 0.18s;
  white-space: nowrap;
}
.btn i,
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #1d4ed8;
}
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover {
  background: #f1f5f9;
  color: var(--text);
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover {
  background: #b91c1c;
}
.btn-sm {
  height: 34px;
  padding: 0 13px;
  font-size: 13px;
  border-radius: 8px;
}
.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============ Badges ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-code {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.badge-muted {
  background: #f1f5f9;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.badge-success {
  background: #ecfdf5;
  color: var(--success);
  border: 1px solid #bbf7d0;
}
.badge-warning {
  background: #fffbeb;
  color: var(--warning);
  border: 1px solid #fde68a;
}
.badge-danger {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* ============ Cards ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
}
.card-desc {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 2px;
}
.card-body {
  padding: 22px;
}

/* ============ Stat cards ============ */
.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg {
  width: 22px;
  height: 22px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.stat-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.stat-sub {
  font-size: 12px;
  color: var(--text-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============ Forms ============ */
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field label .req {
  color: var(--danger);
}
.input,
.select,
.textarea {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: 0.15s;
}
.textarea {
  height: auto;
  min-height: 96px;
  padding: 11px 13px;
  resize: vertical;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.input::placeholder,
.textarea::placeholder {
  color: #94a3b8;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--danger);
}
.field-error {
  display: none;
  font-size: 12px;
  color: var(--danger);
  margin-top: 5px;
}
.field.has-error .field-error {
  display: block;
}
.input-group {
  position: relative;
}
.input-group .input {
  padding-left: 40px;
}
.input-group .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 17px;
  height: 17px;
}
.input-group .toggle-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  padding: 6px;
  border-radius: 6px;
}
.input-group .toggle-pass:hover {
  color: var(--primary);
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}
.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ============ Tables ============ */
.table-wrap {
  overflow-x: auto;
  border-radius: 0 0 var(--radius) var(--radius);
}
table.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.table thead th {
  background: #f8fafc;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}
.table tbody tr {
  transition: background 0.12s;
}
.table tbody tr:hover {
  background: #f8fafc;
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.cell-desc {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-2);
}
.actions {
  display: flex;
  gap: 6px;
}
.icon-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}
.icon-action svg {
  width: 15px;
  height: 15px;
}
.icon-action:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.icon-action.danger:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: #fef2f2;
}
.qty-num {
  font-weight: 700;
}
.qty-low {
  color: var(--danger);
}

/* ============ Toolbar ============ */
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.toolbar .search-box {
  flex: 1;
  min-width: 220px;
}
.toolbar .select {
  width: auto;
  min-width: 150px;
}

/* ============ Pagination ============ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  flex-wrap: wrap;
}
.page-info {
  font-size: 13px;
  color: var(--text-2);
}
.page-btns {
  display: flex;
  gap: 5px;
}
.page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}
.page-btn svg {
  width: 15px;
  height: 15px;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.page-dots {
  color: var(--text-2);
  padding: 0 3px;
  align-self: center;
}

/* ============ Modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.98);
  transition: 0.2s;
}
.modal-overlay.open .modal {
  transform: none;
}
.modal-lg {
  max-width: 680px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-title {
  font-size: 16px;
  font-weight: 600;
}
.modal-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: #e2e8f0;
  color: var(--text);
}
.modal-close svg {
  width: 16px;
  height: 16px;
}
.modal-body {
  padding: 22px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}
body.modal-open {
  overflow: hidden;
}

/* ============ Upload foto ============ */
.upload-zone {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: var(--text-2);
  font-size: 13.5px;
  transition: 0.15s;
  cursor: pointer;
}
.upload-zone:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.upload-zone svg {
  width: 26px;
  height: 26px;
  margin: 0 auto 8px;
}
.upload-preview {
  display: none;
  align-items: center;
  gap: 14px;
}
.upload-preview.show {
  display: flex;
}
.upload-preview img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ============ Empty state / skeleton ============ */
.empty-state {
  text-align: center;
  padding: 52px 20px;
}
.empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.empty-icon svg {
  width: 26px;
  height: 26px;
}
.empty-title {
  font-weight: 600;
  font-size: 15px;
}
.empty-desc {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
}
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e8edf3 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ============ Dropdown profil ============ */
.profile {
  position: relative;
}
.profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 5px 8px;
  transition: 0.15s;
}
.profile-btn:hover {
  background: #f1f5f9;
  border-color: var(--border);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-name {
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  line-height: 1.2;
}
.profile-name small {
  display: block;
  font-weight: 400;
  color: var(--text-2);
  font-size: 11.5px;
}
.profile-btn > svg {
  width: 15px;
  height: 15px;
  color: var(--text-2);
}
.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 0.15s;
  z-index: 80;
}
.profile-dropdown.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.profile-dropdown a,
.profile-dropdown button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
}
.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: #f1f5f9;
}
.profile-dropdown svg {
  width: 15px;
  height: 15px;
  color: var(--text-2);
}
.profile-dropdown .dd-divider {
  height: 1px;
  background: var(--border);
  margin: 5px 4px;
}
.profile-dropdown .dd-logout {
  color: var(--danger);
}
.profile-dropdown .dd-logout svg {
  color: var(--danger);
}

/* ============ Layout admin ============ */
.admin-body {
  background: var(--bg);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 262px;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 70;
  transition: transform 0.25s ease;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  min-height: 70px;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo svg {
  width: 20px;
  height: 20px;
}
.brand-text {
  line-height: 1.2;
  white-space: nowrap;
}
.brand-text b {
  font-size: 14.5px;
  display: block;
}
.brand-text small {
  font-size: 11px;
  color: var(--text-2);
}
.sidebar-collapse {
  background: none;
  border: none;
  color: var(--text-2);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-collapse:hover {
  background: #f1f5f9;
  color: var(--text);
}
.sidebar-collapse svg {
  width: 17px;
  height: 17px;
}
.sidebar-nav {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: 0.15s;
  position: relative;
  white-space: nowrap;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.nav-item:hover {
  background: #f1f5f9;
  color: var(--text);
}
.nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
}
.sidebar-footer .nav-item {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.main {
  margin-left: 262px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.sidebar-collapsed .sidebar {
  width: 78px;
}
.sidebar-collapsed .main {
  margin-left: 78px;
}
.sidebar-collapsed .brand-text,
.sidebar-collapsed .nav-item span,
.sidebar-collapsed .sidebar-collapse {
  display: none;
}
.sidebar-collapsed .sidebar-header {
  justify-content: center;
  padding: 18px 8px;
}
.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 11px;
}
.sidebar-collapsed .sidebar-footer .nav-item {
  color: var(--danger);
}
.sidebar-collapsed .sidebar .nav-item:hover::after,
.sidebar-collapsed .sidebar-footer .nav-item:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 7px;
  white-space: nowrap;
  z-index: 90;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 70px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar .icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar .icon-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.topbar .icon-btn svg {
  width: 18px;
  height: 18px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-2);
}
.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: #cbd5e1;
}
.breadcrumb b {
  color: var(--text);
  font-weight: 600;
}
.topbar-right {
  margin-left: auto;
}

.content {
  padding: 26px 24px 40px;
  flex: 1;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.page-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 3px;
}
.page-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.content-section {
  margin-top: 22px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  color: var(--text-2);
}
.filter-chip b {
  color: var(--text);
}

/* list ringkas beranda */
.mini-table {
  width: 100%;
  border-collapse: collapse;
}
.mini-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}
.mini-table tr:last-child td {
  border-bottom: none;
}
.log-item {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.log-item:last-child {
  border-bottom: none;
}
.log-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.log-icon svg {
  width: 16px;
  height: 16px;
}
.log-text {
  font-size: 13.5px;
}
.log-text small {
  display: block;
  color: var(--text-2);
  font-size: 12px;
  margin-top: 1px;
}
.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quick-actions .btn {
  height: 40px;
}

/* ============ LANDING PAGE ============ */
.landing-body {
  background: #fff;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
  padding: 0 22px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
}
.navbar-brand .brand-logo {
  width: 36px;
  height: 36px;
}
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: 0.15s;
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar .btn {
  margin-left: 6px;
}
.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  margin-left: auto;
  align-items: center;
  justify-content: center;
}
.navbar-toggle svg {
  width: 20px;
  height: 20px;
}

.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 74px 22px 84px;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.eyebrow svg {
  width: 14px;
  height: 14px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 18px 0 16px;
}
.hero h1 .accent {
  color: var(--primary);
}
.hero p {
  font-size: 16.5px;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hero-card-head b {
  font-size: 14px;
}
.hero-dots {
  display: flex;
  gap: 5px;
}
.hero-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8f0;
}
.hero-dots span:first-child {
  background: var(--primary);
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.hero-row:last-child {
  border-bottom: none;
}
.hero-row .thumb {
  width: 42px;
  height: 42px;
}
.hero-row .grow {
  flex: 1;
  min-width: 0;
}
.hero-row .grow b {
  display: block;
  font-size: 13px;
}
.hero-row .grow small {
  color: var(--text-2);
  font-size: 11.5px;
}
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip svg {
  width: 17px;
  height: 17px;
}
.float-chip.fc1 {
  top: -18px;
  right: 26px;
  color: var(--success);
}
.float-chip.fc2 {
  bottom: -18px;
  left: -14px;
  color: var(--primary);
  animation-delay: 2.2s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.section {
  padding: 76px 22px;
}
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 46px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-2);
  font-size: 15.5px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  transition: 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-2);
}

.about-wrap {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.about-visual .av-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.av-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.av-stat:last-child {
  border-bottom: none;
}
.about-copy h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.about-copy p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 14px;
}
.about-copy ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.about-copy li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.about-copy li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer {
  background: var(--primary-dark);
  color: #bfdbfe;
  padding: 44px 22px 26px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
}
.footer-brand .brand-logo {
  background: rgba(255, 255, 255, 0.14);
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13.5px;
  transition: 0.15s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 12.5px;
  color: #93b4f5;
}

/* ============ LOGIN ============ */
.login-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-panel {
  background: var(--primary-dark);
  color: #fff;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-panel .brand-logo {
  background: rgba(255, 255, 255, 0.14);
  width: 44px;
  height: 44px;
}
.login-panel h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 26px 0 12px;
  max-width: 400px;
}
.login-panel p {
  color: #bfdbfe;
  font-size: 15px;
  max-width: 400px;
}
.login-art {
  position: absolute;
  bottom: 40px;
  left: 52px;
  right: 52px;
}
.login-art svg {
  width: 100%;
  height: auto;
  max-height: 250px;
}
.login-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
}
.login-badge svg {
  width: 14px;
  height: 14px;
}
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
  background: var(--bg);
}
.login-form-card {
  width: 100%;
  max-width: 400px;
}
.login-form-card .brand-logo {
  margin-bottom: 22px;
}
.login-form-card h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.login-form-card > p {
  color: var(--text-2);
  font-size: 14px;
  margin: 6px 0 26px;
}
.demo-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.demo-hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.login-form-card .btn {
  margin-top: 6px;
}
.login-back {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.login-back a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
}
.login-back a:hover {
  color: var(--primary);
}
.login-back svg {
  width: 15px;
  height: 15px;
}
.login-foot {
  margin-top: 26px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
    width: 262px;
  }
  body.sidebar-open .sidebar {
    transform: none;
    box-shadow: var(--shadow-lg);
  }
  body.sidebar-open .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .sidebar-collapsed .sidebar {
    width: 262px;
  }
  .sidebar-collapsed .brand-text,
  .sidebar-collapsed .nav-item span {
    display: block;
  }
  .sidebar-collapsed .sidebar-collapse {
    display: flex;
  }
  .sidebar-collapsed .nav-item {
    justify-content: flex-start;
    padding: 10px 12px;
  }
  .main {
    margin-left: 0;
  }
  .sidebar-collapsed .main {
    margin-left: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .login-wrap {
    grid-template-columns: 1fr;
  }
  .login-panel {
    display: none;
  }
}
@media (max-width: 720px) {
  .content {
    padding: 20px 14px 34px;
  }
  .topbar {
    padding: 0 14px;
  }
  .profile-name {
    display: none;
  }
  .page-title {
    font-size: 19px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .software-grid {
    grid-template-columns: 1fr;
  }
  .export-item-list,
  .export-columns {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
  }
  body.nav-open .nav-links {
    display: flex;
  }
  .navbar-toggle {
    display: flex;
  }
  .navbar .btn {
    display: none;
  }
  body.nav-open .navbar .btn {
    display: inline-flex;
    margin: 6px 12px 10px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 52px 18px 64px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .section {
    padding: 56px 18px;
  }
  .toolbar .search-box {
    min-width: 100%;
  }
  .toolbar .select {
    flex: 1;
  }
  .modal-footer {
    flex-direction: column-reverse;
  }
  .modal-footer .btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Activity ranking ============ */
.activity-card {
  margin: 0 0 22px;
}
.export-item-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 250px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.export-item {
  align-items: flex-start;
  padding: 7px;
  border-radius: 8px;
  background: #f8fafc;
}
.export-item span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.export-item small {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 3px;
}
.export-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.software-card {
  padding: 20px;
  min-width: 0;
}
.software-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.software-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary);
}
.software-icon svg {
  width: 20px;
  height: 20px;
}
.software-card h2 {
  font-size: 16px;
  margin-bottom: 5px;
}
.software-url {
  display: block;
  color: var(--primary);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.software-meta {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  color: var(--text-2);
  font-size: 12px;
}
.software-meta small {
  font-size: 11px;
}
.software-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.activity-ranking {
  display: flex;
  flex-direction: column;
  gap: 17px;
  list-style: none;
}
.activity-row {
  display: grid;
  grid-template-columns: 30px minmax(145px, 1fr) minmax(100px, 1.2fr) 34px;
  align-items: center;
  gap: 14px;
}
.activity-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}
.activity-person {
  min-width: 0;
}
.activity-person b,
.activity-person small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity-person b {
  font-size: 13px;
}
.activity-person small {
  font-size: 11.5px;
  color: var(--text-2);
  margin-top: 2px;
}
.activity-track {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.activity-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #55c5a5);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.activity-total {
  text-align: right;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* ============ Admin dark theme ============ */
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #7aa7ff;
  --primary-dark: #aac7ff;
  --primary-light: #1d3150;
  --bg: #0b1119;
  --card: #111b27;
  --text: #e6edf5;
  --text-2: #9aaabd;
  --border: #263547;
  --success: #54d39a;
  --warning: #f0bd65;
  --danger: #ff8181;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.35);
}
:root[data-theme="dark"] body.admin-body {
  background: var(--bg);
  color: var(--text);
}
:root[data-theme="dark"] .sidebar,
:root[data-theme="dark"] .topbar,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .modal,
:root[data-theme="dark"] .modal-header,
:root[data-theme="dark"] .profile-dropdown,
:root[data-theme="dark"] .icon-action,
:root[data-theme="dark"] .filter-chip {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
:root[data-theme="dark"] .topbar {
  background: rgba(17, 27, 39, 0.92);
}
:root[data-theme="dark"] .topbar .icon-btn,
:root[data-theme="dark"] .btn-outline {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
:root[data-theme="dark"] .btn-primary {
  background: #8db5ff;
  color: #101721;
}
:root[data-theme="dark"] .btn-primary:hover {
  background: #abc9ff;
}
:root[data-theme="dark"] .btn-danger {
  background: #ff9696;
  color: #271012;
}
:root[data-theme="dark"] .btn-danger:hover {
  background: #ffb3b3;
}
:root[data-theme="dark"] .brand-logo {
  color: #101721;
}
:root[data-theme="dark"] .btn-outline:hover,
:root[data-theme="dark"] .icon-action:hover {
  background: var(--primary-light);
  color: var(--primary);
}
:root[data-theme="dark"] .nav-item:hover,
:root[data-theme="dark"] .profile-dropdown a:hover,
:root[data-theme="dark"] .profile-dropdown button:hover,
:root[data-theme="dark"] .sidebar-collapse:hover {
  background: #1a2939;
  color: var(--text);
}
:root[data-theme="dark"] .nav-item.active {
  background: var(--primary-light);
  color: #a9c8ff;
}
:root[data-theme="dark"] .table thead th {
  background: #152130;
  color: #aab8c9;
  border-color: var(--border);
}
:root[data-theme="dark"] .table tbody td,
:root[data-theme="dark"] .mini-table td,
:root[data-theme="dark"] .log-item {
  border-color: var(--border);
}
:root[data-theme="dark"] .table tbody tr:hover {
  background: #172433;
}
:root[data-theme="dark"] .input,
:root[data-theme="dark"] .select,
:root[data-theme="dark"] .textarea {
  background: #0d1621;
  color: var(--text);
  border-color: var(--border);
}
:root[data-theme="dark"] .input::placeholder,
:root[data-theme="dark"] .textarea::placeholder {
  color: #73869b;
}
:root[data-theme="dark"] .modal-close {
  background: #1c2a3a;
  color: var(--text-2);
}
:root[data-theme="dark"] .modal-close:hover {
  background: #293a4e;
  color: var(--text);
}
:root[data-theme="dark"] .badge-muted {
  background: #1b2938;
  color: #b1bfd0;
  border-color: #34465a;
}
:root[data-theme="dark"] .badge-success {
  background: #143328;
  color: #75ddb0;
  border-color: #24533f;
}
:root[data-theme="dark"] .badge-warning {
  background: #392d18;
  color: #f0c46e;
  border-color: #66502a;
}
:root[data-theme="dark"] .badge-danger {
  background: #3a2024;
  color: #ff9696;
  border-color: #66343a;
}
:root[data-theme="dark"] .badge-code {
  background: #1b2d49;
  color: #a9c8ff;
  border-color: #314d74;
}
:root[data-theme="dark"] .pagination button,
:root[data-theme="dark"] .pagination select {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
:root[data-theme="dark"] .pagination button.active {
  background: var(--primary);
  color: #101721;
}
:root[data-theme="dark"] .sidebar-overlay {
  background: rgba(0, 0, 0, 0.62);
}
:root[data-theme="dark"] .activity-rank {
  background: #1b2d49;
  color: #a9c8ff;
}
:root[data-theme="dark"] .activity-track {
  background: #263547;
}
:root[data-theme="dark"] .login-form-side {
  background: var(--bg);
}
:root[data-theme="dark"] .login-form-card .brand-logo {
  color: white;
}

/* ============ UPA TIK landing page ============ */
.landing-body {
  --landing-ink: #17243a;
  --landing-muted: #66758b;
  --landing-paper: #f4f7fc;
  --landing-blue: #2563eb;
  --landing-dark: #1e3a8a;
  --landing-line: #dce5f1;
  background: var(--landing-paper);
  color: var(--landing-ink);
  font-family: "DM Sans", sans-serif;
}
.landing-body::selection {
  background: #dbeafe;
}
.landing-body a {
  color: inherit;
}
.landing-nav {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 247, 252, 0.88);
  border-bottom: 1px solid rgba(220, 229, 241, 0.75);
  backdrop-filter: blur(16px);
}
.landing-nav-inner {
  height: 100%;
  max-width: 1320px;
  padding: 0 6vw;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font:
    700 15px "Manrope",
    sans-serif;
  letter-spacing: -0.04em;
}
.landing-brand > span:last-child {
  line-height: 1.1;
}
.landing-brand b {
  color: var(--landing-blue);
}
.landing-brand small {
  display: block;
  margin-top: 5px;
  color: #8290a3;
  font:
    600 8px "DM Sans",
    sans-serif;
  letter-spacing: 0.14em;
}
.landing-mark {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: var(--landing-blue);
  color: #eff6ff;
  display: grid;
  place-items: center;
}
.landing-mark svg {
  width: 20px;
  height: 20px;
}
.landing-nav-links {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 42px;
}
.landing-nav-links a {
  font-size: 13px;
  color: #68778d;
  transition: color 0.2s;
}
.landing-nav-links a:hover {
  color: var(--landing-blue);
}
.landing-login {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid #d2deef;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.landing-login:hover {
  background: var(--landing-blue);
  border-color: var(--landing-blue);
  color: #fff !important;
}
.landing-login svg {
  width: 15px;
  height: 15px;
}
.landing-hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 80px 6vw 78px;
  display: grid;
  align-items: center;
}
.landing-hero::before {
  content: "";
  position: absolute;
  width: 45vw;
  height: 45vw;
  right: -14vw;
  top: -20vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(191, 219, 254, 0.48),
    rgba(191, 219, 254, 0) 70%
  );
  pointer-events: none;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: center;
  gap: 4vw;
}
.landing-copy {
  padding: 20px 0 30px;
}
.landing-copy h1,
.landing-section-head h2,
.landing-about-copy h2 {
  font:
    600 clamp(48px, 6.1vw, 84px)/1.02 "Manrope",
    sans-serif;
  letter-spacing: -0.075em;
  margin: 27px 0 22px;
}
.landing-copy h1 em,
.landing-section-head h2 em,
.landing-about-copy h2 em {
  font-weight: 500;
  color: var(--landing-blue);
  font-family: Georgia, serif;
  letter-spacing: -0.065em;
}
.landing-copy > p {
  max-width: 440px;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.8;
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 32px;
}
.landing-cta {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 15px 17px;
  background: var(--landing-blue);
  color: #fff !important;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}
.landing-cta:hover {
  transform: translateY(-2px);
  background: var(--landing-dark);
}
.landing-cta svg {
  width: 16px;
  height: 16px;
}
.landing-text-link,
.landing-about-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--landing-blue) !important;
}
.landing-text-link svg {
  width: 14px;
  height: 14px;
}
.landing-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 55px;
  color: #8491a3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.landing-signature span {
  width: 23px;
  height: 1px;
  background: var(--landing-blue);
}
.landing-art {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}
.art-grid {
  position: absolute;
  inset: 5% 2%;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(191, 219, 254, 0.42),
    rgba(191, 219, 254, 0) 68%
  );
}
.art-connectors {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
}
.art-connectors path {
  stroke: #b9cce8;
  stroke-width: 1.3;
  stroke-dasharray: 5 7;
  animation: draw-flow 22s linear infinite;
}
.art-connectors circle {
  fill: #3b82f6;
}
.art-orbit {
  position: absolute;
  border: 1px solid #d5e1f1;
  border-radius: 50%;
  width: 320px;
  height: 320px;
}
.orbit-two {
  width: 450px;
  height: 450px;
  border-style: dashed;
}
.art-core {
  position: relative;
  z-index: 2;
  width: 158px;
  height: 158px;
  border: 1px solid #d1def0;
  border-radius: 50%;
  background: rgba(250, 252, 255, 0.87);
  box-shadow: 0 18px 65px rgba(37, 99, 235, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.art-core-icon {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: var(--landing-blue);
  color: #eff6ff;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
}
.art-core-icon svg {
  width: 23px;
  height: 23px;
}
.art-core > b {
  font:
    800 12px "Manrope",
    sans-serif;
  letter-spacing: 0.16em;
}
.art-core > small {
  font-size: 8px;
  letter-spacing: 0.17em;
  color: #7d8ca2;
}
.core-pulse,
.caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
}
.core-pulse {
  position: absolute;
  top: 18px;
  right: 31px;
  box-shadow: 0 0 0 5px #3b82f622;
  animation: pulse-soft 2s infinite;
}
.art-node {
  position: absolute;
  z-index: 3;
  min-width: 106px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.05);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
}
.art-node svg {
  width: 16px;
  height: 16px;
  color: var(--landing-blue);
}
.node-access {
  top: 15%;
  left: 9%;
}
.node-service {
  top: 14%;
  right: 5%;
}
.node-activity {
  bottom: 17%;
  right: 4%;
}
.node-support {
  bottom: 13%;
  left: 8%;
}
.art-caption {
  position: absolute;
  bottom: 1%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #75839a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.caption-dot {
  width: 5px;
  height: 5px;
}
.landing-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d9e2f0;
  border-radius: 50%;
  color: var(--landing-blue);
}
.landing-scroll svg {
  width: 15px;
  height: 15px;
}
.landing-services {
  padding: 117px 8vw 125px;
  background: #fff;
}
.landing-section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.landing-section-head h2 {
  font-size: clamp(38px, 4.4vw, 58px);
  margin: 16px 0;
}
.landing-section-head > p {
  max-width: 460px;
  margin: auto;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.8;
}
.landing-service-grid {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e4eaf3;
  border-bottom: 1px solid #e4eaf3;
}
.landing-service {
  position: relative;
  min-height: 220px;
  padding: 34px 30px 36px;
  border-right: 1px solid #e4eaf3;
  transition: color 0.2s;
}
.landing-service:last-child {
  border-right: 0;
}
.landing-service:hover {
  color: var(--landing-blue);
}
.landing-service h3 {
  font:
    700 17px "Manrope",
    sans-serif;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.landing-service p {
  max-width: 280px;
  color: var(--landing-muted);
  font-size: 12.5px;
  line-height: 1.75;
}
.service-arrow {
  position: absolute;
  right: 28px;
  bottom: 33px;
  color: #71819a;
  transition: transform 0.2s;
}
.service-arrow svg {
  width: 16px;
  height: 16px;
}
.landing-service:hover .service-arrow {
  transform: translate(3px, -3px);
}
.landing-about {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 86px 10vw;
  background: #eaf1fb;
  display: flex;
  align-items: center;
  gap: 8vw;
}
.landing-about-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.landing-about-copy h2 {
  font-size: clamp(38px, 4.7vw, 60px);
  margin: 18px 0;
}
.landing-about-copy > p {
  max-width: 530px;
  color: #61718a;
  font-size: 14px;
  line-height: 1.9;
}
.landing-about-link {
  margin-top: 25px;
}
.landing-about-link svg {
  width: 15px;
  height: 15px;
}
.about-orbit {
  position: absolute;
  right: 14%;
  top: 50%;
  width: 360px;
  height: 360px;
  border: 1px solid #ccdaf0;
  border-radius: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}
.about-orbit::before,
.about-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid #ccdaf0;
  border-radius: 50%;
}
.about-orbit::before {
  inset: 35px;
}
.about-orbit::after {
  inset: -35px;
  border-style: dashed;
}
.about-orbit > span {
  position: absolute;
  width: 12px;
  height: 12px;
  right: 42px;
  top: 61px;
  background: #3b82f6;
  border: 4px solid #eaf1fb;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #3b82f6;
}
.about-orbit > svg {
  width: 72px;
  height: 72px;
  color: #2563eb;
  stroke-width: 1;
}
.about-stamp {
  position: absolute;
  right: 18%;
  top: 50%;
  z-index: 1;
  width: 104px;
  height: 104px;
  border: 1px solid #c0d0e6;
  border-radius: 50%;
  transform: translateY(-50%) rotate(10deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #657895;
  background: #eaf1fb;
}
.about-stamp span,
.about-stamp i {
  font-size: 6px;
  font-style: normal;
  letter-spacing: 0.15em;
}
.about-stamp b {
  font:
    800 15px/1 "Manrope",
    sans-serif;
  text-align: center;
  margin: 5px 0;
}
.landing-footer {
  min-height: 100px;
  padding: 22px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f4f7fc;
}
.landing-footer > span {
  font-size: 10px;
  color: #8190a4;
}
.landing-footer > span:nth-child(2) {
  font:
    italic 14px Georgia,
    serif;
  color: #52698e;
}
@keyframes pulse-soft {
  50% {
    box-shadow: 0 0 0 9px #66a8760c;
  }
}
@media (max-width: 900px) {
  .landing-hero {
    min-height: 0;
    padding-top: 65px;
    padding-bottom: 85px;
  }
  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .landing-copy {
    max-width: 650px;
    margin: auto;
    width: 100%;
  }
  .landing-copy h1 {
    font-size: clamp(52px, 9vw, 78px);
  }
  .landing-art {
    min-height: 440px;
  }
  .art-orbit {
    width: 280px;
    height: 280px;
  }
  .orbit-two {
    width: 390px;
    height: 390px;
  }
  .landing-scroll {
    display: none;
  }
  .about-orbit {
    right: 5%;
    opacity: 0.65;
  }
  .about-stamp {
    right: 12%;
  }
}
@media (max-width: 640px) {
  .landing-nav {
    height: 68px;
  }
  .landing-nav-inner {
    padding: 0 20px;
  }
  .landing-nav-links {
    display: none;
  }
  .landing-login {
    margin-left: auto;
    padding: 9px 12px;
  }
  .landing-hero {
    padding: 51px 22px 58px;
  }
  .landing-copy h1 {
    font-size: clamp(45px, 12vw, 65px);
    margin: 22px 0 16px;
  }
  .landing-copy > p {
    font-size: 14px;
  }
  .landing-actions {
    gap: 17px;
    flex-wrap: wrap;
  }
  .landing-signature {
    font-size: 7px;
    line-height: 1.7;
    margin-top: 36px;
  }
  .landing-art {
    min-height: 350px;
    margin: 0 -14px;
  }
  .art-orbit {
    width: 220px;
    height: 220px;
  }
  .orbit-two {
    width: 310px;
    height: 310px;
  }
  .art-core {
    width: 126px;
    height: 126px;
  }
  .node-access {
    top: 10%;
    left: 1%;
  }
  .node-service {
    top: 9%;
    right: 0;
  }
  .node-activity {
    bottom: 12%;
    right: 0;
  }
  .node-support {
    bottom: 9%;
    left: 0;
  }
  .art-node {
    min-width: 95px;
    padding: 10px;
    font-size: 10px;
  }
  .landing-services {
    padding: 77px 22px 80px;
  }
  .landing-section-head {
    margin-bottom: 34px;
  }
  .landing-section-head h2 {
    font-size: 40px;
  }
  .landing-service-grid {
    grid-template-columns: 1fr;
  }
  .landing-service {
    min-height: 0;
    padding: 23px 20px 25px;
    border-right: 0;
    border-bottom: 1px solid #e4eaf3;
  }
  .landing-service:last-child {
    border-bottom: 0;
  }
  .landing-about {
    min-height: 0;
    padding: 70px 24px 78px;
  }
  .landing-about-copy {
    max-width: 100%;
  }
  .landing-about-copy h2 {
    font-size: 42px;
  }
  .about-orbit {
    right: -210px;
    opacity: 0.32;
  }
  .about-stamp {
    display: none;
  }
  .landing-footer {
    padding: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .landing-footer > span:last-child {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-body *,
  .landing-body *::before,
  .landing-body *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
