:root {
  --pink: #E43377;
  --pink-bright: #F55D9B;
  --plum: #26072B;
  --plum-2: #481348;
  --blush: #F9E9EF;
  --surface: #FFF9FB;
  --white: #FFFFFF;
  --text: #26072B;
  --muted: #756470;
  --green: #17a66a;
  --shadow: 0 18px 60px rgba(72,19,72,.12);
  --shadow-soft: 0 8px 28px rgba(72,19,72,.09);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(245,93,155,.16), transparent 29rem),
    radial-gradient(circle at 85% 7%, rgba(228,51,119,.12), transparent 26rem),
    linear-gradient(180deg, #fffafb 0%, #fff 42%, #fdf3f7 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid rgba(228,51,119,.35); outline-offset: 4px; }

.container { width: min(1440px, calc(100% - 56px)); margin-inline: auto; }
.section { position: relative; }
.page-glow { position: fixed; pointer-events: none; z-index: -1; filter: blur(1px); }
.page-glow--a { width: 540px; height: 540px; top: -220px; left: -180px; background: radial-gradient(circle, rgba(245,93,155,.15), transparent 68%); }
.page-glow--b { width: 520px; height: 520px; bottom: -260px; right: -180px; background: radial-gradient(circle, rgba(72,19,72,.12), transparent 68%); }

.site-header {
  position: relative;
  z-index: 20;
  padding: 14px 0;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(72,19,72,.07);
  backdrop-filter: blur(18px);
}
.header-inner { display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 26px; }
.brand img { width: 220px; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(20px, 2vw, 38px); font-weight: 600; color: #3d1b42; }
.desktop-nav a { position: relative; padding: 9px 0; }
.desktop-nav a:first-child::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: 0; border-radius: 6px; background: var(--pink); }
.desktop-nav a:hover { color: var(--pink); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; color: white; font-weight: 700; border-radius: 14px; background: linear-gradient(135deg, #ee3b7d, #c80964); box-shadow: 0 12px 28px rgba(228,51,119,.24); }

.hero { padding: 38px 0 8px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 85%; background: linear-gradient(125deg, rgba(249,233,239,.8), rgba(255,255,255,.55)); border-radius: 0 0 64px 64px; z-index: -1; }
.hero-grid { min-height: 660px; display: grid; grid-template-columns: 1.02fr 1.1fr 1.12fr; align-items: center; gap: 22px; }
.hero-media { position: relative; }
.hero-media--doctor { align-self: stretch; display: flex; align-items: flex-end; }
.hero-media--doctor img { width: 100%; max-height: 620px; object-fit: cover; object-position: 47% 20%; border-radius: 36px 36px 10px 10px; mix-blend-mode: multiply; }
.hero-media--platform img { width: 100%; filter: drop-shadow(0 26px 38px rgba(38,7,43,.18)); border-radius: 28px; }
.hero-copy { text-align: center; padding: 22px 8px; }
.launch-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; border: 1px solid rgba(228,51,119,.35); border-radius: 999px; color: #421044; font-weight: 700; background: rgba(255,255,255,.64); box-shadow: var(--shadow-soft); }
.hero h1 { margin: 18px auto 12px; font-size: clamp(42px, 4.3vw, 72px); line-height: 1.12; letter-spacing: -.02em; color: var(--plum); }
.hero h1 span { color: #9d165f; font-family: Inter, sans-serif; font-size: .75em; }
.hero-lead { margin: 0 auto; max-width: 700px; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.65; font-weight: 700; }
.hero-sub { margin: 10px auto 0; max-width: 680px; font-size: 18px; line-height: 1.8; color: #4e3651; }
.hero-emphasis { display: inline-block; margin: 16px auto 4px; color: var(--pink); font-weight: 700; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 16px; font-weight: 700; font-size: 18px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: linear-gradient(135deg, #ef3479, #bd075d); box-shadow: 0 16px 35px rgba(200,9,100,.24); }
.button--ghost { color: var(--pink); border: 1.5px solid rgba(228,51,119,.8); background: rgba(255,255,255,.58); }
.contact-strip { display: inline-flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; min-height: 52px; padding: 0 22px; border-radius: 16px; background: rgba(255,255,255,.85); box-shadow: var(--shadow-soft); font-weight: 700; }
.contact-strip .divider { width: 1px; height: 28px; background: rgba(72,19,72,.18); }
.phone-link { display: inline-flex; align-items: center; gap: 9px; }
.whatsapp-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: #1fbd68; }
.hero-copy small { display: block; margin-top: 7px; color: var(--muted); }

.services { padding: 58px 0 40px; }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 48px); color: var(--plum); }
.section-heading p { margin: 8px auto 0; color: var(--muted); font-size: 17px; max-width: 720px; }
.section-heading > span { display: inline-block; width: 64px; height: 2px; margin: 0 14px 10px; background: linear-gradient(90deg, transparent, var(--pink)); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 210px; padding: 26px 20px; text-align: center; border: 1px solid rgba(228,51,119,.12); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.icon-ring { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; color: var(--pink); font-size: 32px; font-weight: 700; background: linear-gradient(145deg, #fff, #ffe6ef); box-shadow: inset 0 0 0 1px rgba(228,51,119,.12); }
.service-card h3 { margin: 0; font-size: 23px; }
.service-card p { margin: 7px 0 0; color: var(--muted); line-height: 1.7; }

.benefits { padding: 36px 0 70px; }
.benefits-grid { display: grid; grid-template-columns: .75fr 2fr; align-items: start; gap: 26px; }
.section-heading--side { text-align: right; padding: 28px; border-radius: var(--radius-xl); background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(249,233,239,.86)); box-shadow: var(--shadow-soft); }
.section-heading--side h2 { font-size: 36px; }
.benefit-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.benefit-card { padding: 25px 18px; text-align: center; border-radius: var(--radius-lg); background: rgba(255,255,255,.84); border: 1px solid rgba(72,19,72,.08); box-shadow: var(--shadow-soft); }
.benefit-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px; color: var(--pink); font-size: 29px; background: #ffe9f1; }
.benefit-card h3 { margin: 0; font-size: 20px; }
.benefit-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }

.trust { padding: 0 0 52px; }
.trust-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 38px 46px; border-radius: 30px; background: linear-gradient(135deg, #fff, #fff4f8); box-shadow: var(--shadow); border: 1px solid rgba(228,51,119,.1); }
.eyebrow { color: var(--pink); font-weight: 700; }
.trust-panel h2 { margin: 4px 0 8px; font-size: 36px; }
.trust-panel p { margin: 0; max-width: 900px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.trust-mark { font-size: 88px; color: var(--pink); }

.final-cta { padding: 0 0 54px; }
.final-cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; padding: 38px 48px; border-radius: 32px; color: white; background: radial-gradient(circle at 85% 10%, rgba(245,93,155,.32), transparent 22rem), linear-gradient(120deg, var(--plum), #5f0b5e 58%, #8f105e); box-shadow: 0 24px 60px rgba(38,7,43,.22); }
.eyebrow--light { color: #ffb7d2; }
.final-cta-panel h2 { margin: 4px 0 8px; font-size: 34px; }
.final-cta-panel p { margin: 0; color: rgba(255,255,255,.82); }
.button--light { color: #a10b5e; background: white; min-width: 250px; }

.site-footer { padding: 26px 0 36px; border-top: 1px solid rgba(72,19,72,.08); background: rgba(255,255,255,.62); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.footer-inner img { width: 180px; }
.footer-inner p { margin: 0; color: var(--muted); flex: 1; }
.footer-links { display: flex; gap: 18px; font-weight: 700; }
.footer-inner small { width: 100%; text-align: center; color: #8a7687; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 220px 1fr auto; }
  .desktop-nav { gap: 18px; font-size: 14px; }
  .hero-grid { grid-template-columns: .85fr 1.15fr; }
  .hero-media--platform { grid-column: 1 / -1; max-width: 700px; margin-inline: auto; }
  .hero-media--doctor img { max-height: 520px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .section-heading--side { text-align: center; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 190px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { order: 1; }
  .hero-media--doctor { order: 2; justify-content: center; }
  .hero-media--platform { order: 3; }
  .hero-media--doctor img { max-width: 560px; max-height: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-cards { grid-template-columns: repeat(2, 1fr); }
  .final-cta-panel { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 28px, 680px); }
  .site-header { padding: 9px 0; }
  .header-inner { gap: 12px; }
  .brand img { width: 160px; }
  .header-cta { min-height: 44px; padding: 0 15px; font-size: 14px; }
  .hero { padding-top: 20px; }
  .hero::before { border-radius: 0 0 34px 34px; }
  .hero-grid { gap: 12px; }
  .hero-copy { padding: 12px 0 0; }
  .launch-badge { padding: 8px 16px; font-size: 14px; }
  .hero h1 { font-size: clamp(37px, 11vw, 56px); margin-top: 14px; }
  .hero h1 span { display: block; font-size: .62em; margin-bottom: 5px; }
  .hero-lead { font-size: 20px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 56px; }
  .contact-strip { width: 100%; padding: 0 12px; gap: 11px; font-size: 14px; }
  .hero-media--doctor { margin-top: 4px; }
  .hero-media--doctor img { border-radius: 28px; }
  .hero-media--platform { margin-top: 4px; }
  .services { padding-top: 42px; }
  .section-heading h2 { font-size: 32px; }
  .service-grid { gap: 12px; }
  .service-card { min-height: 190px; padding: 20px 12px; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 14px; }
  .icon-ring { width: 62px; height: 62px; font-size: 26px; }
  .benefit-cards { gap: 10px; }
  .benefit-card { padding: 18px 10px; }
  .benefit-card h3 { font-size: 17px; }
  .benefit-card p { font-size: 14px; }
  .trust-panel, .final-cta-panel { padding: 28px 22px; border-radius: 24px; }
  .trust-panel { grid-template-columns: 1fr; text-align: center; }
  .trust-mark { font-size: 60px; }
  .trust-panel h2, .final-cta-panel h2 { font-size: 28px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-inner p { flex-basis: 100%; }
}

@media (max-width: 460px) {
  .container { width: calc(100% - 20px); }
  .brand img { width: 132px; }
  .header-cta { font-size: 12px; padding: 0 11px; }
  .hero h1 { font-size: 40px; }
  .hero-emphasis { font-size: 14px; }
  .contact-strip { flex-wrap: wrap; min-height: auto; padding: 10px; }
  .contact-strip .divider { display: none; }
  .service-grid, .benefit-cards { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 176px; }
  .service-card p, .benefit-card p { line-height: 1.55; }
  .footer-links { width: 100%; justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Desktop launch composition lock: preserve mobile/tablet rules below 1024px. */
@media (min-width: 1024px) {
  .container { width: min(1480px, calc(100% - 64px)); }

  .hero { padding: 24px 0 10px; }
  .hero::before { height: 92%; }
  .hero-grid {
    min-height: 540px;
    grid-template-columns: .92fr 1.12fr 1.08fr;
    align-items: center;
    gap: clamp(18px, 2vw, 30px);
    direction: ltr;
  }

  .hero-copy {
    direction: rtl;
    padding: 14px 0;
  }

  .hero-media--doctor {
    align-self: center;
    height: 520px;
    min-width: 0;
    overflow: hidden;
    border-radius: 34px 34px 16px 16px;
  }

  .hero-media--doctor img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: inherit;
  }

  .hero-media--platform {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
    align-self: center;
    min-width: 0;
  }

  .hero-media--platform img {
    width: 100%;
    border-radius: 24px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: clamp(42px, 3.65vw, 60px);
    line-height: 1.08;
  }

  .hero-lead {
    max-width: 610px;
    font-size: clamp(19px, 1.45vw, 24px);
    line-height: 1.55;
  }

  .hero-sub {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-emphasis { margin-top: 12px; }
  .hero-actions { margin-top: 14px; }
  .contact-strip { margin-top: 14px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: clamp(40px, 3.2vw, 52px); }
  .hero h1 span { font-size: .7em; }
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .button {
    min-width: 0;
    min-height: 54px;
    padding-inline: 18px;
    font-size: 16px;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .header-inner { direction: ltr; }
  .desktop-nav, .header-cta { direction: rtl; }
}
