:root {
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --brand: #8BC34A;
  --cta-green: #0B7A2A;
  --cta-green-hover: #096522;
  --cta-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  --radius-pill: 999px;
  --title-size-desktop: clamp(1.45rem, 3.5vw, 1.95rem);
  --title-size-mobile: 1.4rem;
  --cta-font-desktop: clamp(1.05rem, 2vw, 1.25rem);
  --cta-font-mobile: clamp(1rem, 4.2vw, 1.125rem);
  --danger: #e53935;
  --font-ar: 'Almarai', 'Tajawal', 'Cairo', 'Noto Kufi Arabic', 'Noto Sans Arabic', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  direction: rtl;
}

.page {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 28px 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 24px 28px;
}

.section {
  padding: 8px 0;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.logo-section {
  text-align: center;
}

.logo-image {
  display: block;
  width: 100%;
  max-width: 160px;
  margin: 0 auto 18px;
  height: auto;
}

h1,
h2 {
  margin: 0 0 10px;
  color: var(--brand);
  line-height: 1.5;
  text-align: center;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h2 {
  font-size: var(--title-size-desktop);
  font-weight: 800;
  margin-bottom: 16px;
}

h3,
.section-title {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.5;
}

p,
li,
summary,
label,
legend,
input,
textarea,
button {
  font-size: 1.05rem;
}

p {
  margin: 0 0 10px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-inline-start: 1.5em;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: #0B7A2A;
  font-weight: 800;
}

.danger-note {
  color: var(--danger);
  font-weight: 700;
}

.vsl-video {
  margin: 16px auto 18px;
  border: 1px solid rgba(139, 195, 74, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.vsl-video wistia-player {
  display: block;
  width: 100%;
  max-width: 100%;
}

.vsl-video wistia-player[media-id='f0jvslx80l']:not(:defined) {
  display: block;
  padding-top: 56.25%;
  background: center / cover no-repeat url('https://fast.wistia.com/embed/medias/f0jvslx80l/swatch');
  filter: blur(5px);
}

.ba-item {
  margin-bottom: 18px;
}

.transformations-results {
  display: flex;
  flex-direction: column-reverse;
}

.ba-title {
  color: var(--muted);
  font-weight: 700;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.ba-box {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  min-height: 110px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-weight: 700;
}

.ba-image {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
}

.ba-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.ba-label {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: rgba(26, 26, 26, 0.72);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 22px;
  padding: 14px 30px;
  min-height: 54px;
  background: var(--cta-green);
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  text-decoration: none;
  font-size: var(--cta-font-desktop);
  font-weight: 800;
  line-height: 1.25;
  box-shadow: var(--cta-shadow);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cta-btn:hover {
  background: var(--cta-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.cta-btn:active {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(11, 122, 42, 0.28), var(--cta-shadow);
}

.cta-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cta-btn.is-loading {
  gap: 10px;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: button-spin 0.8s linear infinite;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #fcfcfc;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
}

.field {
  margin-bottom: 16px;
}

label,
legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.radio-field {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 500;
}

.radio-option input {
  width: auto;
  margin: 0;
}

.error {
  margin: 4px 0 0;
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 1.2em;
}

.submit-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.submit-status.is-success {
  color: var(--cta-green);
}

.submit-status.is-error {
  color: var(--danger);
}

.thank-card {
  text-align: right;
}

@media (max-width: 640px) {
  .card {
    padding: 20px 16px;
  }

  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .logo-image {
    max-width: 120px;
  }

  p,
  li,
  summary,
  label,
  legend,
  input,
  textarea,
  button {
    font-size: 1rem;
  }

  h2 {
    font-size: var(--title-size-mobile);
    margin-bottom: 14px;
  }

  h3,
  .section-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .cta-btn {
    width: fit-content;
    max-width: 92%;
    font-size: var(--cta-font-mobile);
    padding: 13px 22px;
    min-height: 50px;
    margin: 16px auto 20px;
  }
}


.strong {
  font-weight: bold;
}

.danger {
  color: red;
}

.ct-title {
  color: var(--brand);
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}
