:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #e0e7ff;
  --accent: #7c3aed;
  --text: #0f172a;
  --text-muted: #64748b;
  --background: #f8fafc;
  --navbar-height: 72px;
  --container-width: min(1200px, 92%);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Tajawal", "Cairo", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

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

a:hover {
  color: var(--primary);
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.top-nav {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--navbar-height);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}

.logo-icon {
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: var(--text-muted);
}

.navigation a {
  padding: 6px 0;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 140px 0 160px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 55%
  );
  opacity: 0.7;
}

.hero-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.hero-title {
  font-size: clamp(2.6rem, 3.6vw + 1rem, 3.8rem);
  line-height: 1.2;
  margin: 0 0 18px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-buttons .btn {
  min-width: 190px;
}

.btn-white {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  box-shadow: 0 15px 30px -15px rgba(37, 99, 235, 0.6);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #fff;
}

.btn-hero-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-buttons .btn i {
  margin-right: 8px;
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: right;
}

.hero-checklist li {
  position: relative;
  padding-right: 28px;
}

.hero-checklist li::before {
  content: "✔";
  position: absolute;
  right: 0;
  color: #bcd6ff;
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-minimal {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual .fingerprint {
  width: min(360px, 85%);
  height: min(360px, 85%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.hero-visual .fingerprint i {
  font-size: clamp(6rem, 12vw, 9rem);
  color: rgba(255, 255, 255, 0.28);
}

.fingerprint.pulse::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: pulse-ring 3.5s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

.hero-stats-card {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 20px 24px;
  border-radius: 18px;
  width: min(280px, 80%);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.45);
  text-align: center;
}

.hero-stats-card .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-stats-card .value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.hero-stats-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--text-muted);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 32px;
}

.features-grid > *:nth-child(-n + 3) {
  grid-row: 1;
}

.features-grid > *:nth-child(n + 4) {
  grid-row: 2;
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 56px -30px rgba(15, 23, 42, 0.45);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  color: #fff;
}

.feature-icon.primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.feature-icon.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-icon.info {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.feature-icon.danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-icon.secondary {
  background: linear-gradient(135deg, #64748b, #475569);
}

.section-muted {
  background: #fff;
}

.pricing-cards {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pricing-card {
  background: #fff;
  border-radius: 26px;
  padding: 36px 32px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card.featured {
  border: 2px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 30px 60px -28px rgba(37, 99, 235, 0.45);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text);
}

.pricing-card .price {
  margin: 12px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-card .price span {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  color: var(--text-muted);
  text-align: right;
}

.pricing-card li {
  margin-bottom: 12px;
  position: relative;
  padding-right: 30px;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card li i.fa-check-circle {
  color: #28a745;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pricing-card li span {
  flex: 1;
}

.pricing-card li.no-features {
  color: var(--text-muted);
  font-style: italic;
  padding-right: 0;
}

.pricing-card li.no-features i {
  display: none;
}

.pricing-card .btn {
  margin-top: auto;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #fff;
}

.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.page-content {
  min-height: calc(100vh - 220px);
}

.auth-page .top-nav {
  position: static;
}

.auth-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.35);
  text-align: center;
}

.auth-title {
  margin-top: 0;
  font-size: 2rem;
}

.auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.auth-form .form-group label {
  color: var(--text);
}

.auth-form .form-group input {
  width: 100%;
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.toggle-password:hover {
  color: var(--primary);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember-option input {
  width: auto;
}

.forgot-link {
  color: var(--primary);
  font-weight: 600;
}

.forgot-link:hover {
  color: var(--primary-dark);
}

.form-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-submit {
  width: 100%;
  margin-top: 10px;
}

.alert {
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 24px;
  text-align: right;
}

.alert ul {
  margin: 0;
  padding-right: 20px;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
}

.contact-alert {
  margin: 0;
  border-radius: 0;
}

.auth-demo {
  margin-top: 24px;
  text-align: right;
}

.demo-button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.05);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}

.demo-button:hover {
  background: rgba(37, 99, 235, 0.15);
}

.dashboard-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.dashboard-hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.dashboard-welcome h1 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.dashboard-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.8);
}

.dashboard-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 22px 40px -24px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.stat-label {
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 12px 0;
  color: var(--primary);
}

.stat-hint {
  color: var(--text-muted);
}

.stats-section {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.stats-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.45);
}

.stats-card .stats-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.stats-card .stats-label {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.stats-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .dashboard-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .dashboard-cta {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stats-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 16px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navigation {
    position: absolute;
    inset: var(--navbar-height) 0 auto 0;
    background: #fff;
    padding: 20px 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
  }

  .navigation ul {
    flex-direction: column;
    align-items: center;
  }

  .navigation.open {
    transform: translateY(0);
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 110px 0 120px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.integration-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.35);
  text-align: right;
}

.integration-card h3 {
  margin-top: 0;
}

.integration-card ol {
  padding-right: 22px;
  color: var(--text-muted);
  line-height: 1.8;
}

.integration-form .form-group {
  text-align: right;
}

.api-response {
  background: #0f172a;
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  overflow-x: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.8s ease forwards;
}

.fade-in[data-delay="1"] {
  animation-delay: 0.1s;
}

.fade-in[data-delay="2"] {
  animation-delay: 0.2s;
}

.fade-in[data-delay="3"] {
  animation-delay: 0.3s;
}

.fade-in[data-delay="4"] {
  animation-delay: 0.4s;
}

.fade-in[data-delay="5"] {
  animation-delay: 0.5s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.cta-layout {
  display: flex;
  justify-content: center;
}

.cta-content {
  max-width: 720px;
  text-align: center;
  display: grid;
  gap: 20px;
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw + 1rem, 3rem);
}

.cta-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.features-section {
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  margin: 20px auto 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.section-title {
  font-size: 2.2rem;
  margin: 0;
}

.section-subtitle {
  color: var(--text-muted);
  margin: 18px auto 0;
  max-width: 640px;
  line-height: 1.7;
}

.features-grid,
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 32px;
}

.features-grid > *:nth-child(-n + 3),
.pricing-cards > *:nth-child(-n + 3) {
  grid-row: 1;
}

.features-grid > *:nth-child(n + 4),
.pricing-cards > *:nth-child(n + 4) {
  grid-row: 2;
}

.feature-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 32px 60px -30px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
  display: grid;
  gap: 18px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px -32px rgba(37, 99, 235, 0.4);
}

.feature-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto;
  box-shadow: 0 15px 35px -18px rgba(37, 99, 235, 0.65);
}

@media (max-width: 992px) {
  .features-grid,
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .features-grid > *,
  .pricing-cards > * {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  background: linear-gradient(135deg, #1d4ed8, #312e81);
  color: #fff;
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 60%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.page-hero-title {
  font-size: clamp(2.4rem, 3.2vw + 1rem, 3.2rem);
  margin: 0 0 16px;
}

.page-hero-subtitle {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 640px;
}

.page-hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.info-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -30px rgba(15, 23, 42, 0.32);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 i {
  color: var(--primary);
  font-size: 1.1em;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18px;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.6),
    rgba(37, 99, 235, 0)
  );
}

.timeline-item {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.32);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 32px;
  right: -35px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.timeline-date {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-item h3 {
  margin: 10px 0;
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before {
    right: 10px;
  }

  .timeline-item::after {
    right: 6px;
  }
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -30px rgba(15, 23, 42, 0.32);
}

.info-card h3 i {
  margin-left: 8px;
  color: var(--primary);
}

.hero.hero-marketing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7158e2 0%, #5b57f0 100%);
  color: #fff;
  padding: 140px 0 160px;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.hero-visual-minimal {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.hero-visual-minimal .fingerprint {
  position: relative;
  width: clamp(260px, 32vw, 360px);
  height: clamp(260px, 32vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-minimal .fingerprint::before {
  content: "";
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0) 65%
  );
}

.hero-visual-minimal .fingerprint i {
  font-size: clamp(12rem, 18vw, 20rem);
  color: rgba(255, 255, 255, 0.35);
  filter: drop-shadow(0 25px 45px rgba(30, 41, 59, 0.35));
}

.hero-content-right {
  flex: 1;
  display: grid;
  gap: 18px;
  text-align: right;
}

.hero-content-right .hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 3.8vw + 1rem, 3.8rem);
  line-height: 1.2;
}

.hero-content-right .hero-subtitle {
  margin: 0 0 14px 0;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  min-width: 190px;
}

.btn-hero-primary {
  background: #ffffff;
  color: #1f2a56;
  border: none;
  box-shadow: 0 20px 35px -18px rgba(15, 23, 42, 0.55);
}

.btn-hero-primary:hover {
  background: #f5f7ff;
  color: #1f2a56;
}

.btn-hero-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero-buttons .btn i {
  margin-right: 8px;
  font-size: 0.95em;
}

@media (max-width: 992px) {
  .hero-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

.auth-hero {
  background: linear-gradient(135deg, #1f3d9d, #6137e9);
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  padding: 80px 0 120px;
  position: relative;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.auth-info {
  color: #fff;
  display: grid;
  gap: 18px;
  text-align: right;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.auth-info h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3vw + 1rem, 3.2rem);
}

.auth-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.auth-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.auth-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-highlights i {
  color: #6ee7b7;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.45);
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.auth-form {
  display: grid;
  gap: 20px;
}

.auth-form .form-group label {
  font-weight: 600;
}

.auth-form .form-group input {
  width: 100%;
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.toggle-password:hover {
  color: var(--primary);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember-option input {
  width: auto;
}

.forgot-link {
  color: var(--primary);
  font-weight: 600;
}

.forgot-link:hover {
  color: var(--primary-dark);
}

.form-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .auth-info {
    text-align: center;
  }

  .auth-highlights {
    justify-items: center;
  }

  .auth-card {
    margin: 0 auto;
  }
}

.auth-container {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #132659, #2a51a3);
  padding: 80px 16px;
}

.auth-card.compact {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 28px 60px -35px rgba(15, 23, 42, 0.5);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.auth-title {
  margin: 0;
  font-size: 1.9rem;
}

.auth-subtitle {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.auth-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.05rem;
}

.password-toggle:hover {
  color: var(--primary);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember input {
  width: auto;
}

.forgot-link {
  color: var(--primary);
  font-weight: 600;
}

.forgot-link:hover {
  color: var(--primary-dark);
}

.auth-submit {
  width: 100%;
}

@media (max-width: 480px) {
  .auth-card.compact {
    padding: 28px 24px;
  }
}

/* Super Admin Layout */
.layout-superadmin .top-nav {
  background: var(--sidebar-bg, #0f172a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.layout-superadmin .top-nav .navigation,
.layout-superadmin .top-nav .nav-actions,
.layout-superadmin .top-nav .nav-toggle {
  display: none;
}

.layout-superadmin .page-content {
  padding: 0;
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 72px);
  background: var(--page-bg, #f5f7fb);
}

.admin-sidebar {
  width: 260px;
  background: #0b1120;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  height: calc(100vh - 72px);
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.admin-sidebar__brand .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.admin-sidebar__brand .info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.admin-sidebar__brand .name {
  font-weight: 700;
  font-size: 1rem;
}

.admin-sidebar__brand .role {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.7);
}

.admin-sidebar__brand .company-name {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

.admin-sidebar__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-sidebar__nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: inherit;
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-sidebar__nav .nav-link:hover,
.admin-sidebar__nav li.active > .nav-link {
  background: rgba(148, 163, 184, 0.16);
  color: #fff;
}

.admin-sidebar__nav .has-children > .nav-link {
  justify-content: space-between;
}

.admin-sidebar__nav .has-children .toggle {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.7);
}

.admin-sidebar__nav .sub-nav {
  margin: 0.25rem 0 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  display: none;
}

.admin-sidebar__nav .has-children.is-open .sub-nav {
  display: block;
}

.admin-sidebar__nav .sub-nav li {
  margin-bottom: 0.5rem;
}

.admin-sidebar__nav .sub-nav li a {
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.admin-sidebar__nav .sub-nav li.active a,
.admin-sidebar__nav .sub-nav li a:hover {
  color: #fff;
}

.admin-sidebar__footer {
  margin-top: auto;
  padding-top: 2rem;
}

.admin-sidebar__footer .logout-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.admin-sidebar__footer .logout-link:hover {
  color: #fff;
}

.admin-main {
  flex: 1;
  padding: 2rem 2.5rem;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-page-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.admin-page-header p {
  color: var(--muted);
}

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

.header-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  margin-bottom: 2rem;
  overflow: hidden;
}

.card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.card-header.with-controls {
  flex-wrap: wrap;
}

.card-body {
  padding: 1.5rem 2rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

.form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-grid .form-group.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger, #ef4444);
}

.form-actions {
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  background: rgba(241, 245, 249, 0.6);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.toggle-group {
  align-items: center;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.toggle input[type="checkbox"] {
  display: none;
}

.toggle span {
  width: 42px;
  height: 24px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease;
}

.toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.toggle input:checked + span {
  background: var(--primary);
}

.toggle input:checked + span::after {
  transform: translateX(-18px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metrics-grid.four {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.metric-link {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.metric-card:hover .metric-link {
  opacity: 1;
}

.dashboard-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dashboard-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.metric-trend {
  font-size: 0.75rem;
  color: var(--muted);
}

.table-responsive {
  overflow-x: auto;
}

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

.admin-table thead th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-table tbody td {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  vertical-align: top;
}

.admin-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.04);
}

.table-primary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.table-primary .muted {
  color: var(--muted);
  font-size: 0.8rem;
}

.table-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.table-actions .action-link,
.action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
}

.action-link.disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-success {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.status-muted {
  background: rgba(148, 163, 184, 0.15);
  color: #475569;
}

.status-warning {
  background: rgba(250, 204, 21, 0.2);
  color: #b45309;
}

.status-danger {
  background: rgba(248, 113, 113, 0.25);
  color: #b91c1c;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  font-weight: 600;
}

.badge-popular {
  background: rgba(249, 115, 22, 0.15);
  color: #ea580c;
}

.empty-state {
  text-align: center;
  padding: 2.5rem;
  color: var(--muted);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.empty-state.compact {
  padding: 1.5rem;
}

.empty-state i {
  font-size: 2rem;
  color: var(--primary);
}

.filters-form {
  display: flex;
  align-items: center;
}

.filters-form .filters-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filters-form select,
.filters-form input {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  background: #fff;
  min-width: 150px;
}

.inline-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-form input[type="text"],
.inline-form select {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 1.5rem 2rem;
  display: grid;
  gap: 1.25rem;
}

.timeline li {
  display: grid;
  gap: 0.25rem;
}

.timeline .time {
  font-size: 0.8rem;
  color: var(--muted);
}

.timeline .details p {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.timeline .details span {
  font-size: 0.85rem;
  color: var(--muted);
}

.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.data-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.data-list li span {
  color: var(--muted);
}

.data-list li strong {
  font-weight: 600;
}

.two-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mono {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85rem;
  direction: ltr;
  text-align: left;
  white-space: nowrap;
}

details summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
}

details pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-top: 0.75rem;
  white-space: pre-wrap;
  direction: ltr;
  text-align: left;
}

@media (max-width: 1024px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    height: auto;
    position: static;
  }

  .admin-sidebar__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .admin-sidebar__nav .nav-link {
    padding: 0.6rem 0.9rem;
  }

  .admin-sidebar__nav .has-children .sub-nav {
    position: static;
    background: transparent;
    padding-left: 1rem;
  }

  .admin-main {
    padding: 1.5rem;
  }

  .admin-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-form .filters-group {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
