:root {
  --primary: #2563eb;
  --primary-soft: #e0ebff;
  --accent: #14b8a6;
  --dark: #0f172a;
  --text: #4b5563;
  --bg: #f3f4f6;
  --radius: 18px;
  --shadow-strong: 0 20px 45px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 8px 20px rgba(15, 23, 42, 0.03);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}
body {
  background: #ffffff;
  color: var(--text);
  line-height: 1.8;
}
a {
  text-decoration: none;
  color: inherit;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ffffff, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.6);
  font-size: 16px;
}
.logo-text-main {
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
}
.logo-text-sub {
  font-size: 11px;
  color: #9ca3af;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 13px;

  white-space: nowrap;
}
.nav-links a {
  color: #6b7280;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4);
}
.btn-outline {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary:hover {
  background: #1d4ed8;
}
main {
  padding: 0 0 56px;
}
.page-wrapper {
  padding: 24px 0 32px;
}
.page-hero {
  padding: 28px 0 16px;
  background: #f9fafb;
}
.page-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.page-subtitle {
  font-size: 13px;
  color: #6b7280;
  max-width: 640px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  background: var(--primary-soft);
  color: #1d4ed8;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.priv {
  padding: 24px 0;
}
.badge-page {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f3ff;
  color: #1d4ed8;
  font-size: 11px;
  margin-inline-start: auto;
}
.badge-page span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}
/* Hero Section */
.hero {
  padding: 34px 0 24px;
  background: radial-gradient(circle at top right, #e0edff 0, transparent 50%),
    radial-gradient(circle at bottom left, #e0f7f4 0, transparent 45%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}
.label-chip span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}
.hero-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 17px;
  color: #1f2937;
  margin-bottom: 14px;
}
.hero-text {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: #6b7280;
}
.hero-meta strong {
  color: #111827;
}
.hero-right-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border-radius: 26px;
  padding: 18px;
  color: #e5e7eb;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset-inline-start: -40px;
  inset-block-start: 30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.25),
    transparent 60%
  );
  opacity: 0.8;
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hero-card-title {
  font-size: 13px;
  font-weight: 600;
}
.badge-soft {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
}
.hero-card-amount {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.hero-pill {
  flex: 1;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 11px;
}
.hero-pill span {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 2px;
}
.hero-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  margin-inline-start: 4px;
}
.tagline {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
}
.hero-visual {
  background: #ffffff;
  border-radius: 22px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  font-size: 11px;
  color: #4b5563;
}
.hero-visual-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 0, #ffffff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
}
.hero-visual-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}
.hero-visual-text {
  font-size: 11px;
}
/* Sections */
section {
  padding: 24px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 20px;
}
.section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.section-subtitle {
  font-size: 13px;
  color: #6b7280;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
  font-size: 12px;
}
.feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
  background: var(--primary-soft);
  font-size: 16px;
}
.feature-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.feature-text {
  font-size: 12px;
  color: #6b7280;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  background: #f9fafb;
  border-radius: 15px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  font-size: 12px;
}
.product-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.product-tag {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #4b5563;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step-card {
  background: #ffffff;
  border-radius: 17px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  position: relative;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 10px;
  inset-block-start: 8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
  padding-inline-start: 28px;
}
.step-text {
  font-size: 12px;
  color: #6b7280;
  padding-inline-start: 28px;
}
/* Calculator & Forms */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}
.page-card,
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
  margin-bottom: 15px;
}
.section-card {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 14px 14px 12px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
}
.card-title,
.section-card h2,
.page-header h1,
.card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.card-sub,
.page-header p {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.form-group,
.field {
  font-size: 12px;
  margin-bottom: 8px;
}
label {
  display: block;
  margin-bottom: 3px;
  color: #374151;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 12px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
textarea {
  min-height: 110px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
  font-size: 11px;
  color: #4b5563;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
  cursor: pointer;
  font-weight: normal;
}
.radio-row input[type="radio"] {
  margin: 0;
  width: auto;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #4b5563;
  margin: 6px 0 10px;
}
.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
}
.calc-result {
  margin-top: 8px;
  font-size: 12px;
  background: #f9fafb;
  padding: 9px;
  border-radius: 12px;
  border: 1px dashed #e5e7eb;
  white-space: pre-line;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
}
.pill {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
/* FAQ Section */
.faq-section {
  padding: 24px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
}
.faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "▾";
  position: absolute;
  inset-inline-start: 10px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9ca3af;
}
.faq-item[open] summary::after {
  content: "▴";
}
.faq-body {
  padding: 0 12px 10px;
  font-size: 12px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  line-height: 1.9;
}
/* Other Classes */
.note {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
  background: #f3f4ff;
  border-radius: 12px;
  padding: 8px 10px;
}
.contact-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: flex-start;
}
.grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 18px;
  align-items: flex-start;
}
.contact-info-block {
  font-size: 13px;
}
.contact-info-block h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.contact-info-block p {
  margin-bottom: 6px;
}
.contact-info-list {
  margin-top: 6px;
  padding-right: 14px;
  font-size: 12px;
  color: #6b7280;
}
.contact-info-list li {
  margin-bottom: 4px;
}
.tag-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
}
.actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}
.alert {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 10px;
}
.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.alert-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}
ul.error-list {
  margin: 6px 0 0;
  padding-inline-start: 18px;
}
.hint {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}
.admin-only {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}
.selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.page-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.product-section {
  display: none;
}
.product-section.active {
  display: block;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 16px;
}
.terms-body {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 18px 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
  font-size: 13px;
}
.terms-body h2 {
  font-size: 16px;
  color: #111827;
  margin: 14px 0 6px;
}
.terms-body h3 {
  font-size: 14px;
  color: #111827;
  margin: 10px 0 4px;
}
.terms-body p {
  margin-bottom: 6px;
}
.terms-body ul {
  margin: 0 0 8px;
  padding-right: 18px;
  font-size: 12px;
}
.terms-body li {
  margin-bottom: 3px;
}
/* Footer */
footer {
  padding: 16px 0 22px;
  border-top: 1px solid #e5e7eb;
  margin-top: 30px;
  font-size: 11px;
  color: #6b7280;
  background: #f9fafb;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}
.footer-links a {
  color: #4b5563;
}
.footer-links a:hover {
  color: var(--primary);
}
/* Responsive Design */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-grid,
  .calc-grid,
  .contact-layout,
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    padding-top: 26px;
  }
}
@media (max-width: 640px) {
  .features-grid,
  .products-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-right-stack {
    gap: 10px;
  }
  .page-card {
    padding: 16px 14px 18px;
  }
  .page-header h1 {
    font-size: 18px;
  }
}
