﻿:root {
  --primary: #16a34a;
  --primary-dark: #12823c;
  --secondary: #2563eb;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --soft-green: #ecfdf5;
  --soft-blue: #eff6ff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

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

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background:
    radial-gradient(circle at top right, rgba(22, 163, 74, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.08), transparent 30%),
    #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: fit-content;
}

.brand-logo {
  width: 150px;
  height: auto;
}

.brand-text {
  display: none;
  font-weight: 900;
  color: var(--primary);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--soft-green);
}

.header-action {
  padding: 10px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 16%, rgba(37, 99, 235, 0.13), transparent 26%),
    radial-gradient(circle at 84% 12%, rgba(22, 163, 74, 0.16), transparent 30%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--primary);
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: -2px;
}

.hero-lead {
  margin: 18px 0 10px;
  color: var(--secondary);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.hero-text,
.section-copy p,
.section-head p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.badges span {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.2);
}

.btn-secondary {
  color: var(--secondary);
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.22);
}

.hero-visual {
  min-height: 440px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-illustration {
  max-width: 360px;
  margin-inline: auto;
}

.mini-card,
.info-panel,
.qr-panel {
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.mini-card strong,
.info-panel h3,
.qr-panel h3 {
  display: block;
  margin-bottom: 8px;
}

.mini-card p,
.info-panel p,
.qr-panel p {
  margin: 0;
  color: var(--muted);
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 44px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -1px;
}

h3 {
  margin: 0 0 10px;
  line-height: 1.35;
}

.about-panel {
  display: grid;
  gap: 18px;
}

.about-panel > img {
  width: min(100%, 320px);
  margin-inline: auto;
}

.info-panel ul {
  margin: 0;
  padding: 0 20px 0 0;
  color: var(--muted);
}

.info-panel li {
  margin: 7px 0;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 38px;
}

.section-head .section-label {
  margin-inline: auto;
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.feature-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.process-illustration {
  width: min(100%, 420px);
  margin: -8px auto 30px;
  padding: 22px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-step {
  position: relative;
  min-height: 132px;
  padding: 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.process-step:not(:last-child)::after {
  content: "←";
  position: absolute;
  top: 50%;
  left: -17px;
  transform: translateY(-50%);
  color: var(--secondary);
  font-weight: 900;
  font-size: 1.2rem;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--primary);
  font-weight: 900;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: left;
  color: var(--primary);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.support-illustration {
  width: min(100%, 240px);
  margin: 0 auto 18px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.qr-box {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px dashed rgba(100, 116, 139, 0.35);
  border-radius: 16px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 900;
}

.qr-box img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.site-footer {
  padding: 34px 0;
  background: #0f172a;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  width: 130px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

/* Support Widget */
.support-launcher {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 250;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.support-panel {
  position: fixed;
  left: 22px;
  bottom: 92px;
  z-index: 260;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 122px));
  overflow: hidden;
  display: none;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.22);
}

.support-panel.open {
  display: block;
}

.support-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
}

.support-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.25rem;
}

.support-body {
  padding: 16px;
  max-height: 470px;
  overflow-y: auto;
}

.support-options {
  display: grid;
  gap: 10px;
}

.support-option {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  text-align: right;
  font-weight: 900;
}

.support-answer {
  display: none;
}

.support-answer.open {
  display: block;
}

.support-answer p,
.support-answer li {
  color: var(--muted);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.support-link,
.support-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.support-link {
  background: var(--primary);
  color: #ffffff;
}

.support-back {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--secondary);
}

/* Contact form */
.mail-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 900;
}

.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 82px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .header-action {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .brand-logo {
    width: 126px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .badges span,
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .cards-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .mini-card,
  .info-panel,
  .qr-panel,
  .feature-card {
    padding: 18px;
  }

  .support-launcher {
    left: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .support-panel {
    left: 12px;
    right: 12px;
    bottom: 82px;
    width: auto;
  }
}
