:root {
  --color-navy: #08111f;
  --color-green: #22c55e;
  --color-green-hover: #16a34a;
  --color-cyan: #2dd4bf;
  --color-bg: #f8fafc;
  --color-text: #111827;
  --color-muted: #64748b;
  --color-border: #e5e7eb;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 60px rgba(8, 17, 31, 0.12);
  --shadow-card: 0 18px 40px rgba(8, 17, 31, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 28%),
    linear-gradient(180deg, #fdfefe 0%, var(--color-bg) 62%, #eef7f3 100%);
}

html[lang="ar"] body {
  font-family: "Tajawal", "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-shell,
.footer-shell,
.section-heading-spaced,
.contact-grid,
.hero-actions,
.hero-badges,
.quick-actions,
.nav-actions {
  display: flex;
}

.nav-shell {
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}

.brand {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--color-navy);
}

.brand-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  margin-left: 0.04em;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.brand-q::after {
  content: "";
  position: absolute;
  right: -0.1em;
  bottom: 0.05em;
  width: 0.38em;
  height: 0.12em;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(40deg);
  transform-origin: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--color-muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-green-hover);
}

.button-accent {
  background: linear-gradient(135deg, var(--color-navy), #12365d);
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(8, 17, 31, 0.18);
}

.button-accent:hover,
.button-accent:focus-visible {
  box-shadow: 0 20px 38px rgba(8, 17, 31, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-navy);
  border-color: rgba(8, 17, 31, 0.1);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(8, 17, 31, 0.22);
  box-shadow: var(--shadow-card);
}

.button-small {
  min-height: 2.85rem;
  padding-inline: 1.15rem;
}

.nav-actions {
  align-items: center;
  gap: 0.75rem;
}

.button-full {
  width: 100%;
}

.button-stack {
  flex-direction: column;
  gap: 0.1rem;
  text-align: center;
  line-height: 1.1;
}

.button-stack small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
}

.hero-section {
  padding: 4.75rem 0 3rem;
  overflow: clip;
}

.hero-grid,
.split-layout,
.steps-grid,
.pricing-grid,
.card-grid {
  display: grid;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-label,
.status-pill,
.pricing-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.eyebrow,
.section-label {
  padding: 0.5rem 0.9rem;
  background: rgba(34, 197, 94, 0.12);
  color: #0f7a39;
  font-size: 0.88rem;
}

.hero-copy h1,
.section-copy h2,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.05em;
  color: var(--color-navy);
}

.hero-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.85rem, 6vw, 4.8rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text,
.section-copy p,
.section-heading p,
.info-card p,
.use-case-card p,
.step-card p,
.pricing-card li,
.contact-note,
.site-footer p {
  color: var(--color-muted);
}

.hero-text {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 58ch;
  margin: 1.3rem 0 0;
}

.support-line {
  margin: 1rem 0 0;
  color: var(--color-navy);
  font-weight: 700;
}

.hero-actions {
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-badges {
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li,
.quick-actions span {
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  color: var(--color-navy);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
}

.glow-left {
  width: 280px;
  height: 280px;
  background: rgba(45, 212, 191, 0.28);
  top: 3rem;
  left: 0;
}

.glow-right {
  width: 240px;
  height: 240px;
  background: rgba(34, 197, 94, 0.22);
  bottom: 2rem;
  right: 0.5rem;
}

.phone-mockup,
.qr-card,
.info-card,
.use-case-card,
.step-card,
.pricing-card,
.lead-form,
.pain-list,
.contact-note {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: var(--shadow-soft);
}

.phone-mockup {
  width: min(100%, 360px);
  border-radius: 44px;
  padding: 0.95rem;
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 42%;
  height: 1.35rem;
  margin: 0 auto 0.75rem;
  background: var(--color-navy);
  border-radius: 999px;
}

.phone-screen {
  padding: 1rem;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.1), rgba(34, 197, 94, 0.02)),
    var(--color-white);
}

.mockup-header,
.menu-item,
.section-heading-spaced,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-header h2,
.mockup-section h3,
.pricing-card h3,
.info-card h3,
.use-case-card h3,
.step-card h3 {
  margin: 0;
  color: var(--color-navy);
}

.mockup-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.status-pill,
.pricing-badge {
  padding: 0.42rem 0.78rem;
  font-size: 0.8rem;
}

.status-pill {
  background: rgba(34, 197, 94, 0.14);
  color: #13713a;
}

.mockup-banner {
  margin-top: 1rem;
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(135deg, var(--color-navy), #0f2d4f);
  color: var(--color-white);
}

.mockup-banner p {
  margin: 0;
  font-weight: 800;
}

.mockup-banner span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.mockup-section {
  margin-top: 1rem;
}

.mockup-section h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.menu-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  gap: 1rem;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item strong,
.menu-item em {
  display: block;
  font-style: normal;
}

.menu-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.quick-actions {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.qr-card {
  position: absolute;
  left: 0.25rem;
  bottom: 5.5rem;
  z-index: 3;
  width: 152px;
  padding: 1rem;
  border-radius: 24px;
  transform: rotate(-8deg);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.22rem;
}

.qr-grid span {
  aspect-ratio: 1;
  border-radius: 0.22rem;
  background: var(--color-navy);
}

.qr-grid span:nth-child(3n),
.qr-grid span:nth-child(7n) {
  background: var(--color-green);
}

.qr-card p {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
}

.section-shell {
  padding: 5rem 0;
}

.split-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.section-copy h2,
.section-heading h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.section-copy p,
.section-heading p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.pain-list,
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pain-list {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.pain-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  font-weight: 700;
  color: var(--color-navy);
}

.pain-list li:last-child {
  border-bottom: 0;
}

.pain-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-green));
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.22);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.card-grid {
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-case-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.use-case-card,
.step-card,
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.info-card p,
.use-case-card p,
.step-card p {
  margin: 0.85rem 0 0;
  line-height: 1.7;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-green);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  position: relative;
}

.pricing-card h3 {
  font-size: 1.4rem;
}

.pricing-card ul {
  margin-top: 1rem;
}

.pricing-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  line-height: 1.65;
}

.pricing-card li:last-child {
  border-bottom: 0;
}

.featured-pricing {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(255, 255, 255, 0.94));
  border-color: rgba(34, 197, 94, 0.35);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
}

.contact-grid {
  align-items: start;
  gap: 2rem;
}

.contact-grid > * {
  flex: 1 1 0;
}

.contact-note {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.lead-form {
  border-radius: 32px;
  padding: 1.5rem;
}

.form-field + .form-field {
  margin-top: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--color-navy);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(248, 250, 252, 0.9);
  color: var(--color-text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.lead-form .button {
  margin-top: 1.2rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.82);
}

.brand-footer,
.site-footer .footer-links a {
  color: var(--color-white);
}

.footer-shell {
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-contact {
  text-align: right;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .info-card,
html[dir="rtl"] .use-case-card,
html[dir="rtl"] .step-card,
html[dir="rtl"] .pricing-card,
html[dir="rtl"] .lead-form,
html[dir="rtl"] .site-footer,
html[dir="rtl"] .phone-screen {
  text-align: right;
}

html[dir="rtl"] .qr-card {
  left: auto;
  right: 0.25rem;
  transform: rotate(8deg);
}

html[dir="rtl"] .pain-list li {
  padding: 1rem 3rem 1rem 1rem;
}

html[dir="rtl"] .pain-list li::before {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .pricing-badge {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] .footer-contact {
  text-align: left;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

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

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

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-visual {
    min-height: 560px;
    padding-top: 2rem;
  }

  .qr-card {
    left: 1rem;
    bottom: 3rem;
  }

  html[dir="rtl"] .qr-card {
    left: auto;
    right: 1rem;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 3rem;
  }

  .section-shell {
    padding: 3.75rem 0;
  }

  .feature-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-mockup {
    width: min(100%, 320px);
  }

  .qr-card {
    width: 128px;
    padding: 0.8rem;
    left: 0;
  }

  html[dir="rtl"] .qr-card {
    left: auto;
    right: 0;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 0.85rem 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-actions .button-small {
    width: auto;
  }
}
