:root {
  --purple: #7C3AED;
  --purple-deep: #5B21B6;
  --pink: #E040A0;
  --lavender: #F3EAFB;
  --lavender-2: #FBF5FF;
  --ink: #2D1B4E;
  --muted: #6B6478;
  --line: #EFE7F6;
  --card: #FFFFFF;
  --grad: linear-gradient(120deg, #7C3AED 0%, #E040A0 100%);
  --radius: 20px;
  --shadow: 0 18px 50px rgba(124, 58, 237, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
  font-family: 'Lato', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--lavender-2);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
html[dir="rtl"] body { font-family: 'Tajawal', sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 245, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 16px; height: 66px; }
.head-logo { height: 38px; width: auto; }
.head-spacer { margin-inline-start: auto; }
.lang-toggle {
  border: 1.5px solid var(--line); background: #fff; color: var(--purple-deep);
  font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 999px;
  letter-spacing: 0.4px; transition: border-color .15s, background .15s;
}
.lang-toggle:hover { border-color: var(--purple); background: var(--lavender); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 70px 0 64px;
  background:
    radial-gradient(900px 460px at 50% -8%, rgba(224,64,160,0.10), transparent 62%),
    radial-gradient(900px 520px at 50% 0%, rgba(124,58,237,0.10), transparent 60%);
}
.hero-logo { height: 132px; width: auto; margin: 0 auto 26px; }
.tagline {
  font-size: clamp(30px, 5vw, 46px); font-weight: 900; letter-spacing: -0.6px;
  margin: 0 0 14px; line-height: 1.1;
}
.tagline .accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 620px; margin: 0 auto 26px; font-size: 18px; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 800; font-size: 13.5px; color: var(--purple-deep);
  box-shadow: 0 6px 18px rgba(124,58,237,0.10);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

/* floating sparkles */
.spark { position: absolute; font-size: 20px; opacity: .5; animation: float 6s ease-in-out infinite; }
.spark.s1 { top: 20%; left: 12%; animation-delay: 0s; }
.spark.s2 { top: 30%; right: 14%; animation-delay: 1.2s; }
.spark.s3 { bottom: 22%; left: 20%; animation-delay: 2.4s; }
.spark.s4 { bottom: 28%; right: 22%; animation-delay: 0.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.tint { background: #fff; border-block: 1px solid var(--line); }
.eyebrow {
  text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--pink); margin: 0 0 8px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.section-title { text-align: center; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; margin: 0 0 40px; letter-spacing: -0.3px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: 0 6px 20px rgba(45,27,78,0.05);
  transition: transform .15s, box-shadow .15s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(124,58,237,0.28);
}
.step h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* occasions */
.occasions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.occasion {
  background: var(--lavender); color: var(--purple-deep);
  border-radius: 999px; padding: 11px 20px; font-weight: 800; font-size: 14.5px;
  border: 1px solid transparent; transition: border-color .15s;
}
.occasion:hover { border-color: var(--purple); }

/* value props */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { text-align: center; padding: 8px; }
.value .ic { font-size: 30px; margin-bottom: 10px; }
.value h4 { font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #EDE7F5; padding: 50px 0 26px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 30px 60px; align-items: flex-start; }
.foot-brand { max-width: 280px; }
.foot-logo { height: 40px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: .92; }
.foot-tag { font-size: 13.5px; color: #BBA9D6; font-style: italic; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 14.5px; color: #D9CCEA; transition: color .15s; }
.foot-links a:hover { color: #fff; }
.foot-col-title { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #9C8AB8; margin: 0 0 14px; }
.foot-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: #9C8AB8;
}
.admin-link { color: #9C8AB8; }
.admin-link:hover { color: #D9CCEA; text-decoration: underline; }

/* ---------- Sub-pages (about/contact/terms) ---------- */
.page { padding: 64px 0 80px; min-height: 60vh; }
.page h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin: 0 0 8px; }
.page .sub { color: var(--muted); margin: 0 0 30px; font-size: 16px; }
.page .body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 6px 20px rgba(45,27,78,0.05); }
.page .body p { color: var(--ink); }
.soon { display: inline-block; background: var(--lavender); color: var(--purple-deep); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.back { display: inline-block; margin-top: 26px; color: var(--purple-deep); font-weight: 800; }

/* lang visibility */
[data-ar] { display: none; }
html[dir="rtl"] [data-en] { display: none; }
html[dir="rtl"] [data-ar] { display: revert; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .steps, .values { grid-template-columns: 1fr; }
  .hero-logo { height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .spark { animation: none; }
  .step:hover { transform: none; }
}

/* OMNYATI PUBLIC PRE-LAUNCH CONTENT V3 */
.page .body h2 {
  margin: 24px 0 8px;
  font-size: 19px;
  font-weight: 900;
}
.page .body h2:first-child {
  margin-top: 0;
}
.page .body a {
  color: var(--purple-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page .body strong {
  font-weight: 900;
}
