/* ===== Alwadi request service landing — premium App-focused composition ===== */

.rs-hero {
  position: relative;
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(0, 180, 216, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0, 119, 182, 0.35), transparent 50%),
    linear-gradient(145deg, #06101f 0%, #0b1b33 42%, #0a2740 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.rs-hero--success {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.rs-hero--compact .rs-hero__title {
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
}

.rs-hero__glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 55%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.18), transparent 70%);
  pointer-events: none;
}

.rs-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.45;
}

.rs-hero__orb--1 {
  width: 220px;
  height: 220px;
  top: -40px;
  inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.35), transparent 70%);
}

.rs-hero__orb--2 {
  width: 160px;
  height: 160px;
  bottom: 8%;
  inset-inline-start: 4%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
}

.rs-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.rs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.rs-hero__content {
  max-width: 560px;
}

.rs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e0f7ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.rs-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.rs-hero__title-accent {
  display: inline;
  color: #67e8f9;
}

.rs-hero__subtitle {
  margin: 0 0 1.5rem;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
  max-width: 34rem;
}

.rs-hero__note {
  margin: 1.1rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(186, 230, 253, 0.85);
}

.rs-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

/* ---------- Phone mockup (CSS frame — no third-party device PNG) ---------- */
.rs-phone {
  position: relative;
  width: min(290px, 72vw);
  margin: 0 auto;
}

.rs-phone__shadow {
  position: absolute;
  inset: 8% -8% -6%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}

.rs-phone__device {
  position: relative;
  z-index: 1;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.45s ease;
}

[dir="rtl"] .rs-phone__device {
  transform: perspective(1200px) rotateY(6deg) rotateX(2deg);
}

.rs-hero:hover .rs-phone__device {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

[dir="rtl"] .rs-hero:hover .rs-phone__device {
  transform: perspective(1200px) rotateY(2deg) rotateX(1deg) translateY(-4px);
}

.rs-phone__bezel {
  position: relative;
  border-radius: 2.15rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #1f2937 0%, #0f172a 45%, #111827 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 22px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rs-phone__notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 38%;
  height: 1.05rem;
  border-radius: 999px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.rs-phone__speaker {
  width: 28%;
  height: 0.22rem;
  border-radius: 999px;
  background: #1e293b;
}

.rs-phone__camera {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #67e8f9, #0369a1 55%, #0f172a 80%);
}

.rs-phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 1.7rem;
  aspect-ratio: 9 / 19.2;
  background: #020617;
}

.rs-phone__screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.rs-phone__home {
  position: absolute;
  bottom: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- Store badges ---------- */
.rs-store {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rs-store__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 168px;
  padding: 0.7rem 1.05rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.rs-store__btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(103, 232, 249, 0.55);
}

.rs-store__btn i {
  font-size: 1.55rem;
  line-height: 1;
}

.rs-store__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

[dir="rtl"] .rs-store__text {
  align-items: flex-end;
}

.rs-store__text small {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  opacity: 0.8;
  text-transform: uppercase;
}

.rs-store__text strong {
  font-size: 1.02rem;
  font-weight: 700;
}

.rs-store--dark .rs-store__btn {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
}

/* ---------- How it works ---------- */
.rs-steps {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.rs-steps__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.rs-steps__pill {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.rs-steps__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
}

.rs-steps__subtitle {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rs-steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rs-steps__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem 1.25rem 1.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rs-steps__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rs-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--accent-gradient);
}

.rs-steps__card-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-primary);
}

.rs-steps__card-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ---------- Form shell under hero ---------- */
.rs-form-section {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.rs-form-section .container {
  max-width: 980px;
}

.rs-form-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
}

.rs-form-shell__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light, var(--border));
}

.rs-form-shell__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: var(--text-primary);
}

.rs-form-shell__subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Soften old mreq section when used under new landing */
.rs-landing .mreq-section,
.rs-landing.mreq-section {
  padding: 0;
  background: transparent;
}

.rs-landing .mreq-card {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.rs-landing .mreq-card__header {
  display: none;
}

.rs-landing .feedback-card {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.rs-landing .feedback-card__header {
  display: none;
}

/* ---------- Bottom app CTA band ---------- */
.rs-app-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0, 180, 216, 0.25), transparent 55%),
    linear-gradient(120deg, #07111f 0%, #0c2340 100%);
}

.rs-app-cta__container {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.rs-app-cta__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.rs-app-cta__subtitle {
  margin: 0 0 1.25rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.65;
  max-width: 36rem;
}

.rs-app-cta__phone .rs-phone {
  width: min(230px, 58vw);
}

.rs-app-cta__phone .rs-phone__device {
  transform: none;
}

/* ---------- Success integration (premium stacked confirmation) ---------- */
.mreq-section--success {
  padding: 36px 0 64px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 180, 216, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.mreq-section--success .container-narrow,
.mreq-section--success .mreq-success-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.mreq-success--premium {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.mreq-success__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.mreq-success--premium .mreq-success__icon {
  margin-bottom: 1rem;
}

.mreq-success--premium .mreq-success__title {
  margin: 0 auto 1rem;
  max-width: 28ch;
  text-align: center;
}

.mreq-success--premium .mreq-success__number {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: min(100%, 280px);
  margin: 0 auto 1.1rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-style: solid;
}

.mreq-success--premium .mreq-success__number-value {
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  word-break: break-word;
}

.mreq-success--premium .mreq-success__subtitle {
  margin: 0 auto 1.35rem;
  max-width: 46ch;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mreq-success--premium .mreq-cost-card--success {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  text-align: start;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.mreq-success__appband {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.75fr);
  gap: 1.5rem 2rem;
  align-items: center;
  text-align: start;
  color: #f8fafc;
  background:
    radial-gradient(ellipse 55% 80% at 100% 20%, rgba(0, 180, 216, 0.28), transparent 55%),
    linear-gradient(135deg, #07111f 0%, #0c2340 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3.5vw, 2.1rem) clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

[dir="rtl"] .mreq-success__appband {
  background:
    radial-gradient(ellipse 55% 80% at 0% 20%, rgba(0, 180, 216, 0.28), transparent 55%),
    linear-gradient(225deg, #07111f 0%, #0c2340 100%);
}

.mreq-success__appband-eyebrow {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e0f7ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mreq-success__appband .mreq-success__apps-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  text-align: start;
}

.mreq-success__appband .mreq-success__apps-hint {
  margin: 0 0 1.1rem;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
  text-align: start;
}

.mreq-success__chips {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mreq-success__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mreq-success__chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #062033;
  background: #67e8f9;
}

.mreq-success__appband-phone {
  display: flex;
  justify-content: center;
}

.mreq-success__appband-phone .rs-phone {
  width: min(210px, 56vw);
}

.mreq-success__appband-phone .rs-phone__device {
  transform: none;
}

.mreq-success--premium .mreq-success__actions {
  justify-content: center;
  margin-top: 0.25rem;
}

.mreq-success--premium .mreq-success__actions .btn-outline {
  background: var(--bg-card);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .rs-hero__grid,
  .rs-app-cta__container {
    grid-template-columns: 1fr;
  }

  .mreq-success__appband {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mreq-success__appband-copy {
    order: 2;
  }

  .mreq-success__appband-phone {
    order: 1;
  }

  .mreq-success__appband .mreq-success__apps-title,
  .mreq-success__appband .mreq-success__apps-hint {
    text-align: center;
    margin-inline: auto;
  }

  .mreq-success__appband .rs-store,
  .mreq-success__chips {
    justify-content: center;
  }

  .rs-hero__content {
    max-width: none;
    text-align: center;
  }

  .rs-hero__subtitle,
  .rs-hero__note {
    margin-inline: auto;
  }

  .rs-store {
    justify-content: center;
  }

  .rs-hero__visual {
    min-height: 0;
    order: -1;
  }

  .rs-phone,
  .rs-app-cta__phone .rs-phone,
  .mreq-success__appband-phone .rs-phone {
    width: min(230px, 64vw);
  }

  .rs-phone__device,
  [dir="rtl"] .rs-phone__device,
  .rs-hero:hover .rs-phone__device,
  [dir="rtl"] .rs-hero:hover .rs-phone__device {
    transform: none;
  }

  .rs-steps__grid {
    grid-template-columns: 1fr;
  }

  .rs-app-cta__copy {
    text-align: center;
  }

  .rs-app-cta .rs-store {
    justify-content: center;
  }

  .rs-form-shell {
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .rs-hero {
    padding: 1.75rem 0 2.25rem;
  }

  .rs-phone {
    width: min(220px, 74vw);
  }

  .rs-store__btn {
    width: 100%;
    justify-content: center;
  }

  .rs-form-shell {
    padding: 1.1rem 0.95rem 1.35rem;
    border-radius: var(--radius-lg);
  }

  .mreq-success__card {
    padding: 1.35rem 1rem 1.5rem;
  }

  .mreq-success__appband {
    padding: 1.25rem 1rem 1.5rem;
  }

  .mreq-success--premium .mreq-success__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .rs-phone {
    width: min(200px, 78vw);
  }

  .rs-hero__title {
    font-size: 1.55rem;
  }
}
