:root {
  --ink: #08111f;
  --muted: #5d6878;
  --line: rgba(15, 23, 42, .12);
  --blue: #2563eb;
  --cyan: #38bdf8;
  --orange: #f97316;
  --pink: #db2777;
  --paper: #f7f9fd;
  --dark: #071120;
  --glass: rgba(255, 255, 255, .76);
  --shadow: 0 24px 70px rgba(8, 17, 31, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Readex Pro", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 18px 24px auto 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 22px;
  background: rgba(7,17,32,.62);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header nav { display: flex; gap: 22px; font-size: 14px; color: rgba(255,255,255,.78); }
.site-header nav a:hover { color: #fff; }
.header-cta {
  padding: 10px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(37,99,235,.34);
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 48px;
  padding: 116px clamp(22px, 6vw, 90px) 44px;
  overflow: hidden;
  background: #071120;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,17,32,.96) 0%, rgba(7,17,32,.76) 38%, rgba(7,17,32,.28) 62%, rgba(7,17,32,.88) 100%),
    linear-gradient(180deg, rgba(7,17,32,.22), rgba(7,17,32,.62)),
    url("/assets/hero-social-command.webp") center / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.hero-copy { position: relative; color: #fff; max-width: 760px; }
.hero h1 {
  font-family: "Noto Kufi Arabic", "Readex Pro", system-ui, sans-serif;
  margin: 0 0 22px;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}
.hero p { margin: 0; max-width: 680px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 23px); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 16px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--orange)); box-shadow: 0 18px 38px rgba(37,99,235,.28); }
.btn.ghost { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.btn.light { color: var(--ink); background: #fff; }
.btn.full { width: 100%; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
  max-width: 680px;
}
.hero-proof div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
}
.hero-proof strong { display: block; font-size: 28px; line-height: 1; }
.hero-proof span { color: rgba(255,255,255,.7); font-size: 13px; }

.platform-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 28px clamp(22px, 6vw, 90px);
  color: #fff;
  background: #071120;
  border-top: 1px solid rgba(255,255,255,.08);
}
.platform-band p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.social-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}
.facebook { background: #1877f2; }
.instagram { background: radial-gradient(circle at 30% 100%, #feda75, #d62976 45%, #4f5bd5); }
.tiktok { background: linear-gradient(135deg, #010101, #25f4ee 52%, #fe2c55); }
.linkedin { background: #0a66c2; font-size: 18px; }
.x { background: #111827; }
.youtube { background: #ff0033; font-size: 18px; }

.product-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; animation: float 7s ease-in-out infinite; }
.orbit.one { width: 420px; height: 420px; }
.orbit.two { width: 560px; height: 220px; transform: rotate(-22deg); animation-delay: -2s; }
.mockup {
  position: relative;
  width: min(520px, 100%);
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.mockup-top { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #253044; direction: ltr; }
.mockup-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.mockup-top span:nth-child(2) { background: var(--cyan); }
.mockup-top span:nth-child(3) { background: var(--pink); }
.mockup-top b { margin-left: auto; font-size: 13px; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signal-card, .reply-feed, .creative-card, .mini-calendar {
  min-height: 150px;
  border-radius: 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
}
.signal-card { background: linear-gradient(135deg, #0f172a, #1d4ed8); color: #fff; }
.signal-card small, .signal-card em { display:block; color: rgba(255,255,255,.72); font-style: normal; }
.signal-card strong { display:block; font-size: 24px; margin: 18px 0 8px; }
.mini-calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: center; }
.mini-calendar span { height: 42px; border-radius: 12px; background: #e8eef8; }
.mini-calendar .active { background: linear-gradient(135deg, var(--blue), var(--orange)); }
.reply-feed { grid-column: span 2; display: grid; gap: 9px; }
.reply-feed p { margin: 0; padding: 10px 12px; border-radius: 14px; background: #eef4ff; font-size: 13px; color: #334155; }
.reply-feed p:nth-child(2) { margin-right: 45px; background: #fff4e8; }
.creative-card { display: none; }

.section { padding: 92px clamp(22px, 6vw, 90px); }
.section-title { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.section-title.narrow { margin: 0; text-align: right; }
.section h2 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 52px); line-height: 1.18; font-weight: 900; }
h1, h2, h3 {
  font-family: "Noto Kufi Arabic", "Readex Pro", system-ui, sans-serif;
}
.section-title p, .pricing-head p, .dream p { color: var(--muted); font-size: 18px; margin: 0; }

.intro { background: #fff; }
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-strip article, .price-card, .capability-list div, .timeline article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 48px rgba(8,17,31,.07);
}
.value-strip article { padding: 28px; border-radius: 24px; }
.value-strip span { color: var(--blue); font-weight: 900; }
h3 { margin: 12px 0 8px; font-size: 24px; }
.value-strip p, .timeline p, .price-card p { margin: 0; color: var(--muted); }

.pain-story,
.response-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 42px;
  align-items: center;
  background: linear-gradient(180deg, #fff, #edf4ff);
}
.story-copy,
.response-copy {
  max-width: 680px;
}
.story-copy h2,
.response-copy h2 {
  margin: 0 0 16px;
}
.story-copy p,
.response-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}
.story-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
  color: #334155;
  font-weight: 700;
}
.story-copy li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  margin-left: 8px;
}
.story-image,
.response-image {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow);
  background: #0f172a;
}
.story-image img,
.response-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0f172a;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  background: linear-gradient(180deg, #f7f9fd, #edf4ff);
}

.response-showcase {
  grid-template-columns: minmax(340px, 1.05fr) minmax(0, .95fr);
  background: #091324;
  color: #fff;
}
.response-copy p { color: rgba(255,255,255,.72); }
.live-replies {
  display: grid;
  gap: 12px;
}
.live-replies div {
  padding: 15px 17px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
}
.live-replies strong {
  display: block;
  color: #fff;
}
.live-replies span {
  color: rgba(255,255,255,.72);
}
.capability-list { display: grid; gap: 12px; }
.capability-list div {
  padding: 18px 20px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
}
.capability-list b { font-size: 18px; }
.capability-list span { color: var(--muted); }

.workflow { background: #fff; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.timeline article { padding: 24px; border-radius: 24px; position: relative; overflow: hidden; }
.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.pricing { background: #091324; color: #fff; }
.pricing-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 18px; }
.pricing-head h2 { margin: 0 0 10px; }
.pricing-head p, .price-disclaimer { color: rgba(255,255,255,.68); }
.pricing-controls { display: flex; gap: 12px; flex-wrap: wrap; }
.segmented { display: flex; padding: 5px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); }
.segmented button {
  border: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.segmented button.active { color: #071120; background: #fff; }
.geo-note { margin: 0 0 22px; color: #b9c8dd; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
.price-card.featured { background: linear-gradient(145deg, rgba(37,99,235,.28), rgba(249,115,22,.18)); box-shadow: 0 28px 80px rgba(37,99,235,.20); }
.ribbon { position: absolute; top: 18px; left: 18px; color: #fff; background: rgba(249,115,22,.92); padding: 7px 12px; border-radius: 12px; font-size: 13px; font-weight: 900; }
.price-card h3 { margin-top: 14px; }
.price { margin: 22px 0; font-size: 42px; font-weight: 900; line-height: 1.1; }
.price small { display:block; font-size: 14px; color: rgba(255,255,255,.62); font-weight: 700; margin-top: 8px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; color: rgba(255,255,255,.78); }
.price-card li::before { content: "✓"; color: var(--cyan); font-weight: 900; margin-left: 8px; }
.price-disclaimer { margin: 18px 0 0; }

.testimonials {
  background: linear-gradient(180deg, #fff, #f7f9fd);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-grid article {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(8,17,31,.07);
}
.testimonial-grid p {
  margin: 0 0 22px;
  color: #263244;
  font-size: 18px;
  font-weight: 700;
}
.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}
.testimonial-grid span {
  color: var(--muted);
}

.dream {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 50%, rgba(56,189,248,.22), transparent 30%),
    linear-gradient(135deg, #1d4ed8, #0f172a 58%, #f97316);
}
.dream div { max-width: 820px; }
.dream p { color: rgba(255,255,255,.78); }

.contact-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}
.contact-options div:first-child {
  max-width: 720px;
}
.contact-options h2 {
  margin: 0 0 10px;
}
.contact-options p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn.dark {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.form-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(249,115,22,.22), transparent 26%),
    radial-gradient(circle at 12% 62%, rgba(37,99,235,.26), transparent 30%),
    linear-gradient(135deg, #071120 0%, #101b33 55%, #edf4ff 100%);
}
.form-header {
  position: sticky;
  inset: 18px 24px auto 24px;
  margin: 18px 24px 0;
}
.form-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 92px 22px 26px;
  text-align: center;
  color: #fff;
}
.form-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 900;
}
.form-hero p {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}
.standalone-form {
  max-width: 1040px;
  margin: 0 auto 80px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.standalone-form iframe { display: block; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 6vw, 90px);
  color: #cbd5e1;
  background: #071120;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.offer-toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 45;
  width: min(360px, calc(100vw - 44px));
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, rgba(8,17,31,.96), rgba(29,78,216,.92));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.offer-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.offer-toast strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Kufi Arabic", "Readex Pro", system-ui, sans-serif;
  font-size: 20px;
}
.offer-toast p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.76);
}
.offer-toast .btn { width: 100%; }
.popup-close {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255,255,255,.12);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3,7,18,.68);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.exit-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.exit-card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(249,115,22,.26), transparent 30%),
    linear-gradient(145deg, #071120, #111f3a);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.exit-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
}
.exit-card p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.76);
  font-size: 18px;
}
.exit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-18px) rotate(4deg); } }

@media (max-width: 980px) {
  .site-header { inset: 10px 10px auto 10px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .product-stage { min-height: 410px; }
  .value-strip, .timeline, .price-grid { grid-template-columns: 1fr; }
  .split, .pain-story, .response-showcase { grid-template-columns: 1fr; }
  .capability-list div { grid-template-columns: 1fr; gap: 4px; }
  .pricing-head, .dream, .contact-options { flex-direction: column; align-items: stretch; }
  .platform-band { flex-direction: column; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand span { display: none; }
  .header-cta { padding: 9px 12px; font-size: 13px; }
  .hero { padding-inline: 18px; }
  .hero-copy { width: 100%; min-width: 0; text-align: center; }
  .hero h1 { max-width: 340px; margin-inline: auto; font-size: 30px; line-height: 1.22; }
  .hero p { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { grid-template-columns: 1fr; }
  .mockup-grid { grid-template-columns: 1fr; }
  .reply-feed { grid-column: auto; }
  .section { padding: 68px 18px; }
  .site-footer { flex-direction: column; }
  .contact-actions .btn { flex: 1 1 100%; }
  .offer-toast {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
  .exit-card {
    padding-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
