/* ROOT BLOCK */
.script-landing-block {
  direction: rtl;
  font-family: var(--primary-font, system-ui);
  color: var(--text-color);
  padding-block: 3rem 4rem;
  background:
    radial-gradient(circle at top, rgba(0, 0, 0, 0.02), transparent 55%),
    radial-gradient(circle at bottom, rgba(0, 0, 0, 0.02), transparent 60%);
}

.script-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* GENERIC SECTION STYLES */
.script-landing-block section {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2.2rem 2rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* subtle top accent line */
.script-landing-block section::before {
  content: "";
  position: absolute;
  inset-inline: 1.5rem;
  inset-block-start: 0.8rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0.16;
}

/* Section header */
.section-header {
  margin-bottom: 1.5rem;
}

.section-header.center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.03);
  color: var(--primary-color);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--heading-font, var(--primary-font, system-ui));
  color: var(--heading-color);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.9;
}

/* Cards base style */
.card-title {
  font-family: var(--heading-font, var(--primary-font, system-ui));
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--heading-color);
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.85;
  opacity: 0.9;
}

/* Hoverable cards */
.audience-card,
.tech-card,
.feature-card {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.audience-card:hover,
.tech-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
  border-color: rgba(0, 0, 0, 0.06);
}

/* ===== Audience Section ===== */
.audience-modern {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* ===== Capabilities Section ===== */
.capabilities-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.capabilities-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.capabilities-list li {
  position: relative;
  padding-inline-end: 1.4rem;
}

.capabilities-list li::before {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.capabilities-list h3 {
  font-family: var(--heading-font, var(--primary-font, system-ui));
  font-size: 0.94rem;
  margin-bottom: 0.15rem;
  color: var(--heading-color);
}

.capabilities-list p {
  font-size: 0.88rem;
  line-height: 1.9;
  opacity: 0.9;
}

/* image placeholder */
.image-placeholder {
  width: 100%;
  min-height: 230px;
  border-radius: 1.6rem;
  border: 1px dashed rgba(0, 0, 0, 0.06);
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.03), transparent 55%),
    #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.8;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  animation: float-soft 9s ease-in-out infinite;
}

/* ===== Tech Section ===== */
.tech-modern {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* ===== Features Section ===== */
.features-modern {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* ===== Steps / Flow Section ===== */
.flow-modern {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.steps-line {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.steps-line li {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.steps-line li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  inset-inline-end: 1rem;
  inset-block-start: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary-color);
}

.steps-line li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
  border-color: rgba(0, 0, 0, 0.06);
}

.steps-line h3 {
  font-family: var(--heading-font, var(--primary-font, system-ui));
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  padding-inline-end: 2.5rem;
  color: var(--heading-color);
}

.steps-line p {
  font-size: 0.88rem;
  line-height: 1.9;
  opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-modern {
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.03), transparent 55%),
    #ffffff;
}

.cta-content {
  max-width: 640px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.4rem;
}

/* Buttons (نفس روح أزرار الموقع) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.23);
}

.btn-ghost {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: rgba(0, 0, 0, 0.08);
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

/* Plans link */
.link-plans {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--primary-color);
}

.link-plans:hover {
  text-decoration: underline;
}

/* ===== Animations ===== */
@keyframes float-soft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .script-landing-block section {
    padding: 2rem 1.6rem;
  }

  .audience-grid,
  .tech-grid,
  .features-grid,
  .steps-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-modern {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .script-container {
    padding-inline: 1.1rem;
  }

  .script-landing-block section {
    padding: 1.8rem 1.3rem;
    border-radius: 1.4rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .audience-grid,
  .tech-grid,
  .features-grid,
  .steps-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}




















/* صفحة الباقات */
.plans-page {
  direction: rtl;
  padding-block: 3.5rem 4rem;
  font-family: var(--primary-font, system-ui);
  color: var(--text-color);
}

.plans-container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ===== Header ===== */
.plans-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.plans-tag {
  display: inline-flex;
  padding: 0.35rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
  margin-bottom: 0.6rem;
}

.plans-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 0.4rem;
}

.plans-desc {
  line-height: 1.9;
  font-size: 0.98rem;
  opacity: 0.85;
}

/* ===== Cards Grid ===== */
.plans-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch; /* مهم علشان الكروت تبقى نفس الارتفاع */
}

/* ===== Plan Card ===== */
.plan-card {
  background: #ffffff;
  border-radius: 1.6rem;
  padding: 2rem 1.7rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;

  /* علشان كلهم نفس الطول والزرار ينزل تحت */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.08);
}

/* Plan label */
.plan-label {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: #fff;
}

.plan-label.basic {
  background: var(--primary-color);
  opacity: 0.8;
}

.plan-label.pro {
  background: var(--primary-color);
}

.plan-label.premium {
  background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
}

/* Plan titles */
.plan-name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--heading-color);
}

.plan-short {
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

/* Plan features */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.plan-features li {
  position: relative;
  padding-inline-end: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.85;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  inset-inline-end: 0;
  top: 0.1rem;
  font-size: 0.85rem;
  color: var(--secondary-color);
}

/* CTA Button */
.plan-btn {
  display: inline-flex;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;

  /* يخلي الزرار ينزل لآخر الكارت */
  margin-top: auto;
}

.plan-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-card {
    border-radius: 1.4rem;
    padding: 1.7rem 1.4rem;
  }

  .plans-title {
    font-size: 1.6rem;
  }
}