
:root {
  --packleb-navy: #0b1b34;
  --packleb-gold: #f4b63a;
  --packleb-sand: #f9f3eb;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1f2937;
  background-color: #f5f7fb;
  scroll-behavior: smooth;
}

.navbar-brand {
  color: var(--packleb-navy) !important;
}

.navbar .nav-link {
  font-weight: 500;
  color: #1f2937;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--bs-primary) !important;
}

.hero-section {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(120deg, rgba(7, 71, 166, 0.82), rgba(11, 27, 52, 0.88)),
    url('images/hero-pattern.svg') center/cover no-repeat;
  padding: 6rem 0;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.65rem;
  box-shadow: 0 1rem 2.25rem rgba(13, 110, 253, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-demo i {
  font-size: 1.15rem;
}

.btn-demo.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-demo.btn-sm i {
  font-size: 1rem;
}

.btn-demo:hover,
.btn-demo:focus {
  transform: translateY(-2px);
  box-shadow: 0 1.25rem 2.75rem rgba(13, 110, 253, 0.2);
}

.btn-demo.btn-outline-light {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn-demo.btn-outline-light:hover,
.btn-demo.btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
}

.btn-demo.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border: none;
}

.btn-demo.btn-primary:hover,
.btn-demo.btn-primary:focus {
  background: linear-gradient(135deg, #0b5ed7, #0a58ca);
}

.backup-assurance {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(11, 27, 52, 0.08));
}

.backup-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
}

.backup-card::after {
  content: '';
  position: absolute;
  inset: 1rem -1rem -1rem 60%;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0));
  filter: blur(45px);
  z-index: -1;
}

.backup-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.backup-list li:last-child {
  border-bottom: none;
}

.backup-list i {
  font-size: 1.75rem;
  color: #0d6efd;
  flex-shrink: 0;
}

[dir='rtl'] .backup-list li {
  flex-direction: row-reverse;
  text-align: right;
}

[dir='rtl'] .backup-list li i {
  margin-left: 0;
}

.backup-illustration {
  position: relative;
}

.backup-illustration__glow {
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.35), rgba(13, 110, 253, 0));
  filter: blur(20px);
  z-index: 0;
}

.backup-illustration__image {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 71, 166, 0.45), rgba(11, 27, 52, 0.2));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.5rem;
  padding: 2rem;
  color: #0b1b34;
  backdrop-filter: blur(8px);
}

.hero-card li + li {
  margin-top: 1rem;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  font-size: 1.25rem;
}

.timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
  margin: 2rem 0 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 1rem;
  width: 2px;
  background: rgba(15, 23, 42, 0.1);
}

.timeline li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
}

.timeline-number {
  position: absolute;
  left: 0.25rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.journey-card {
  border-radius: 1.25rem;
  background: #f8fbff;
  padding: 2rem;
}

.cta-section {
  background: linear-gradient(135deg, #0d6efd, #0b1b34);
}

.backup-list p {
  line-height: 1.6;
}

.pricing-section {
  background: #f8fbff;
}

.plan-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(13, 110, 253, 0.1);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.12);
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  display: block;
  font-weight: 600;
  font-size: 1.25rem;
  color: #0b1b34;
}

.plan-subtitle {
  display: block;
  margin-top: 0.25rem;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 0;
  margin-top: 1rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  position: relative;
  color: #4b5563;
}

.plan-features li::before {
  content: '\2713';
  color: #198754;
  font-weight: 700;
  flex-shrink: 0;
}

.plan-badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: #0d6efd;
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.25);
}

.plan-card.border-primary {
  border-width: 2px;
}

[dir='rtl'] .plan-features li {
  flex-direction: row-reverse;
}

[dir='rtl'] .plan-features li::before {
  margin-left: 0;
  margin-right: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.contact-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

footer {
  font-size: 0.95rem;
}

#contactStatus {
  transition: opacity 0.3s ease;
}

.snackbar-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1080;
}

.snackbar {
  min-width: 240px;
  max-width: 340px;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  color: #fff;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.2);
  animation: snackbar-in 0.25s ease-out;
}

.snackbar-info {
  background: rgba(13, 110, 253, 0.95);
}

.snackbar-error {
  background: rgba(220, 53, 69, 0.95);
}

.snackbar-success {
  background: rgba(25, 135, 84, 0.95);
}

@keyframes snackbar-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[dir='rtl'] {
  text-align: right;
}

[dir='rtl'] .timeline::before {
  left: auto;
  right: 1rem;
}

[dir='rtl'] .timeline li {
  padding-left: 0;
  padding-right: 3.5rem;
}

[dir='rtl'] .timeline-number {
  left: auto;
  right: 0.25rem;
}

[dir='rtl'] .navbar .nav-link {
  margin-left: 0;
  margin-right: 1rem;
}

[dir='rtl'] .hero-card li {
  flex-direction: row-reverse;
  text-align: right;
}

[dir='rtl'] .hero-card li i {
  margin-left: 0.75rem;
}

[dir='rtl'] .contact-link {
  direction: rtl;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    text-align: center;
  }

  .hero-card {
    margin-top: 2rem;
  }

  .timeline::before {
    left: 0.5rem;
  }

  .timeline li {
    padding-left: 2.75rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 4rem 0;
  }

  .display-4 {
    font-size: 2.25rem;
  }
}

.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fb 0%, #eef2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-container {
  width: 100%;
  max-width: 680px;
}

.login-panel {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.login-panel__header {
  margin-bottom: 1.5rem;
}

.login-form .form-control {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.login-hints i {
  font-size: 1.25rem;
}

.login-panel__footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1rem;
}

.login-body.dark-theme {
  background: radial-gradient(circle at top, #0b1b34, #050914);
  color: #e2e8f0;
}

.login-body.dark-theme .login-panel {
  background: rgba(15, 23, 42, 0.92);
  color: inherit;
}

.login-body.dark-theme .form-control {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.3);
}

.login-body.dark-theme .form-control::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

.login-body.dark-theme .text-muted {
  color: rgba(226, 232, 240, 0.75) !important;
}

.login-body.dark-theme .login-panel__footer {
  border-color: rgba(148, 163, 184, 0.3);
}

.portal-body {
  min-height: 100vh;
  background: #f5f7fb;
}

.portal-shell {
  display: flex;
  min-height: 100vh;
}

.portal-sidebar {
  width: 280px;
  background: #0b1b34;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
}

.portal-sidebar__brand {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portal-nav button {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.portal-nav button.active,
.portal-nav button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.portal-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.portal-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portal-content {
  flex: 1;
  padding: 2rem;
  background: #f8fafc;
  overflow-y: auto;
}

.portal-section--narrow {
  max-width: 520px;
  margin: 0 auto;
}

.portal-content .message-cell {
  max-width: 420px;
  white-space: pre-wrap;
  word-break: break-word;
}

.portal-content .badge {
  font-size: 0.8rem;
}

.portal-toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.stat-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.05);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.data-table tr:hover {
  background: rgba(13, 110, 253, 0.04);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill.success {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.status-pill.warning {
  background: rgba(255, 193, 7, 0.15);
  color: #ca8a04;
}

.status-pill.danger {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.portal-body.dark-theme {
  background: #050914;
  color: #e2e8f0;
}

.portal-body.dark-theme .portal-sidebar {
  background: #020817;
}

.portal-body.dark-theme .portal-main {
  background: #0f172a;
}

.portal-body.dark-theme .portal-content {
  background: #0f172a;
  color: inherit;
}

.portal-body.dark-theme .stat-card {
  background: rgba(15, 23, 42, 0.85);
  color: inherit;
}

.portal-body.dark-theme .portal-header {
  border-color: rgba(226, 232, 240, 0.1);
}

.portal-body.dark-theme .data-table th,
.portal-body.dark-theme .data-table td {
  border-color: rgba(226, 232, 240, 0.08);
}

.portal-body.dark-theme .data-table tr:hover {
  background: rgba(59, 130, 246, 0.2);
}

@media (max-width: 991.98px) {
  .portal-shell {
    flex-direction: column;
  }

  .portal-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
  }

  .portal-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .portal-nav button {
    flex: 1 0 45%;
  }
}
