:root{
  --bg:#f7f8f8;
  --ink:#0b0b0b;
  --muted:#5a6b6a;
  --line:#e3e7e6;
  --surface:#ffffff;
  --topbar-bg: rgba(247, 248, 248, 0.92);
  --accent-pink: rgba(216, 80, 144, 0.48);
  --accent-gold: rgba(214, 177, 95, 0.34);
  --hero-gradient: linear-gradient(135deg, rgba(216, 80, 144, 0.38), rgba(214, 177, 95, 0.30));
  --btn-ghost-bg: #ffffff;
  --btn-ghost-ink: #0b0b0b;
  --btn-solid-bg: #0b0b0b;
  --btn-solid-ink: #ffffff;

  --zohra-fill:#caa46a;
  --zohra-stroke:#0b0b0b;

  --logo-slot-w: 110px;
  --logo-slot-h: 34px;
  --page-pad: clamp(16px, 2.4vw, 18px);
}

html[data-theme="dark"]{
  --bg:#0f1211;
  --ink:#f2f4f3;
  --muted:#aeb8b3;
  --line:#1e2422;
  --surface:#141918;
  --topbar-bg: rgba(15, 18, 17, 0.92);
  --accent-pink: rgba(255, 168, 206, 0.30);
  --accent-gold: rgba(255, 214, 150, 0.22);
  --hero-gradient: linear-gradient(135deg, rgba(255, 168, 206, 0.30), rgba(255, 214, 150, 0.22));
  --btn-ghost-bg: #141918;
  --btn-ghost-ink: #f2f4f3;
  --btn-solid-bg: #f2f4f3;
  --btn-solid-ink: #0f1211;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:
    radial-gradient(1400px 700px at 15% 0%, var(--accent-pink) 0%, transparent 65%),
    radial-gradient(1200px 650px at 85% 12%, var(--accent-gold) 0%, transparent 60%),
    var(--bg);
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  overflow-x:hidden;
}

body.home{
  background:
    radial-gradient(1000px 520px at 10% 5%, rgba(242, 230, 235, 0.85) 0%, transparent 60%),
    radial-gradient(1100px 560px at 90% 10%, rgba(243, 232, 222, 0.85) 0%, transparent 62%),
    linear-gradient(135deg, #f7f3f1 0%, #f5f0ea 52%, #f6f1f3 100%);
}

html[data-theme="dark"] body.home{
  background:
    radial-gradient(900px 520px at 10% 5%, rgba(46, 35, 41, 0.85) 0%, transparent 60%),
    radial-gradient(1000px 560px at 90% 10%, rgba(42, 36, 32, 0.85) 0%, transparent 62%),
    linear-gradient(135deg, #111311 0%, #141715 55%, #121413 100%);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
svg{max-width:100%}
button,input,select{font:inherit}

/* ===== INTRO ===== */
body.isIntro{ overflow:hidden; }

.intro{
  position:fixed;
  inset:0;
  z-index:999;
  background:var(--surface);
  display:grid;
  place-items:center;
}

body.introDone .intro{
  opacity:0;
  pointer-events:none;
  transition: opacity .35s ease;
}

/* hide site until intro ends */
.site{
  opacity:0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
}
body.introDone .site{
  opacity:1;
  transform: translateY(0);
}

/* ===== ZOHRA WORD ===== */
.zohraWord{
  width:min(520px, 86vw);
  height:auto;

  filter: drop-shadow(0 18px 30px rgba(0,0,0,.16));
  transform-origin: top left;
  opacity:.98;

  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 50%, transparent 100%);
  -webkit-mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 50%, transparent 100%);
  mask-size: 200% 100%;
  mask-position: 100% 0;
  mask-repeat: no-repeat;

  will-change: transform, -webkit-mask-position, mask-position;
}

html[data-theme="dark"] .zohraWord{
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.16)) brightness(1.15);
  opacity: 1;
}

/* fill animation */
.zohraWord.isFilling{
  animation: zohraFill 1.2s ease forwards;
}

@keyframes zohraFill{
  0%   { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}

/* ===== TOPBAR ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--topbar-bg);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.nav{
  max-width:1180px;
  margin:0 auto;
  padding:16px var(--page-pad);
  display:flex;
  align-items:center;
  gap:18px;
  position:relative;
}

.brandSlot{
  width:var(--logo-slot-w); /* logo placeholder */
  height:var(--logo-slot-h);
  display:flex;
  align-items:center;
  flex:0 0 auto;
  position:relative;
}

.navLinks{
  display:flex;
  gap:28px;
  color:var(--muted);
  font-size:14px;
  position:absolute;
  left:50%;
  transform: translateX(-50%);
}
.navLinks a:hover{color:var(--ink)}

.navActions{
  display:flex;
  align-items:center;
  gap:14px;
}
.signin{font-size:14px}

.iconBtn{
  width:38px; height:38px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.icon{width:20px; height:20px; color:var(--ink)}
.menuBtn{display:none}

/* ===== HERO ===== */
.hero{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(42px, 6vw, 64px) var(--page-pad) clamp(38px, 5vw, 54px);
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:54px;
  align-items:center;
}
.heroGridSingle{
  grid-template-columns: 1fr;
  justify-items:center;
}
.heroTitle{
  font-family: Georgia, "Times New Roman", serif;
  font-weight:700;
  font-size:clamp(42px, 6vw, 72px);
  line-height:1.02;
  letter-spacing:-1px;
  margin:0 0 22px;
}
.heroSlogan{
  font-family: "Momo Signature", "Cormorant Garamond", "Times New Roman", serif;
  font-weight:600;
  font-size:clamp(26px, 4vw, 48px);
  line-height:1.15;
  margin:0 0 26px;
  letter-spacing:0.2px;
  background: linear-gradient(90deg, rgba(216, 80, 144, 0.85), rgba(214, 177, 95, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heroBrand{
  position:relative;
  margin:0 0 18px;
  display:inline-flex;
  align-items:center;
}
.heroArabic{
  font-family: "Amiri", "Times New Roman", serif;
  font-size:clamp(48px, 6vw, 84px);
  line-height:1;
  color:color-mix(in srgb, var(--ink) 18%, transparent);
}
.heroName{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: "Momo Signature", "Cormorant Garamond", "Times New Roman", serif;
  font-weight:600;
  font-size:clamp(18px, 2.6vw, 22px);
  letter-spacing:0.4px;
  color:var(--ink);
}
.mutedItalic{font-style:italic; color:var(--muted)}
.heroSub{
  margin:0 0 28px;
  color:var(--muted);
  font-size:clamp(16px, 2vw, 18px);
  max-width:520px;
  line-height:1.6;
}

.ctaRow{display:flex; gap:14px; flex-wrap:wrap}
.founderLine{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  margin:0 0 18px;
  font-size:14px;
}

.btn{
  border-radius:999px;
  padding:14px 22px;
  border:1.5px solid #000;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
}
.btnSm{padding:8px 14px; font-size:13px}
.btnIcon .icon{width:18px; height:18px}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px) scale(.98)}
.btnGhost{background:var(--btn-ghost-bg); color:var(--btn-ghost-ink)}
.btnSolid{
  background:var(--btn-solid-bg);
  color:var(--btn-solid-ink);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.btnWhite{
  background:#fff;
  color:#000;
  border-color:#fff;
  justify-content:center;
  width:100%;
}
.arrow{font-size:18px}

/* Media */
.mediaCard{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background:var(--hero-gradient);
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.heroImg{width:100%; height:460px; object-fit:cover}
.heroLogoTarget{
  width:100%;
  height:100%;
  padding:34px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.zohraWord.inHero{
  width:100%;
  height:auto;
  position:relative;
  transform:none;
}
.heroMediaSolo .mediaCard{
  width:min(420px, 80vw);
  min-height:260px;
}
.reviewCard{
  position:absolute;
  left:28px;
  bottom:28px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:16px 16px 14px;
  width:min(320px, 78%);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.starRow{display:flex; gap:4px; align-items:center}
.star{width:18px;height:18px; fill:#000}
.reviewQuote{margin:10px 0 6px; font-weight:700; font-size:18px}
.reviewBy{margin:0; color:var(--muted); font-size:14px}

/* Sections */
.section{max-width:1180px; margin:0 auto; padding:70px var(--page-pad)}
#collections{
  background: linear-gradient(135deg, rgba(247, 233, 241, 0.85), rgba(248, 241, 230, 0.85));
  border-radius:32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
}
html[data-theme="dark"] #collections{
  background: linear-gradient(135deg, rgba(52, 35, 45, 0.88), rgba(42, 36, 30, 0.88));
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.cards3,
.collectionCard{
  background: transparent;
}
.sectionHead{text-align:center; margin-bottom:36px}
.sectionHead h2{
  font-family: Georgia, "Times New Roman", serif;
  font-size:clamp(30px, 4.2vw, 44px);
  margin:0 0 10px;
}
.sectionHead p{margin:0; color:var(--muted); font-size:16px}

.minimalGrid{
  max-width:760px;
  margin:0 auto;
  display:grid;
  gap:18px;
  font-size:20px;
  line-height:1.7;
  color:var(--muted);
}
.minimalGrid p{margin:0}
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:28px;
}
.collectionCard > img{
  border-radius:18px;
  height:320px;
  width:100%;
  object-fit:cover;
}
.productMedia{
  position:relative;
  overflow:hidden;
  height:300px;
  border-radius:18px;
  background:transparent;
  --tx: 0px;
  --ty: 0px;
}
.productImg{
  width:100%;
  height:100%;
  object-fit:contain;
  transform: translate3d(var(--tx), var(--ty), 0) scale(1);
  transition: transform 300ms ease;
  will-change: transform;
}
.productMedia.isHovering .productImg{
  transform: translate3d(var(--tx), var(--ty), 0) scale(1.08);
}
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:2000;
}
.lightbox.isOpen{
  opacity:1;
  pointer-events:auto;
}
.lightboxContent{
  position:relative;
  max-width:min(92vw, 960px);
  max-height:90vh;
}
.lightboxImg{
  width:100%;
  height:auto;
  max-height:90vh;
  object-fit:contain;
  border-radius:18px;
}
.lightboxClose{
  position:absolute;
  top:-14px;
  right:-14px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.5);
  background:#0b0b0b;
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}
body.lightboxOpen{overflow:hidden;}
.ccBody{padding:16px 2px}
.ccBody h3{
  font-family: Georgia, "Times New Roman", serif;
  margin:0 0 6px;
  font-size:28px;
}
.subLink{color:var(--muted); font-size:14px}
.subLink:hover{color:var(--ink)}
.productActions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.buyIcon{
  width:36px;
  height:36px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  display:grid;
  place-items:center;
  color:var(--ink);
}
.buyIcon .icon{width:18px; height:18px}
.productMedia .stockBadge{
  display:none;
}
.productCard.isSoldOut .productMedia::after{
  content:"";
  position:absolute;
  inset:auto 12px 12px auto;
  width:140px;
  height:70px;
  background: url("soldout.png") no-repeat center / contain;
  z-index:2;
  pointer-events:none;
}
.productCard.isSoldOut .productImg{
  filter: grayscale(0.15);
  opacity:0.7;
}
.productCard.isSoldOut .buyIcon{
  pointer-events:none;
  opacity:0.5;
}
.productCard.isSoldOut .productMedia .stockBadge{
  display:inline-flex;
}

.steps3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:34px;
  text-align:center;
}
.stepIcon{
  width:66px;
  height:66px;
  margin:0 auto 18px;
  border-radius:18px;
  background:#000;
  display:grid;
  place-items:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.stepIcon .icon{color:#fff; width:26px; height:26px}
.step h3{
  font-family: Georgia, "Times New Roman", serif;
  margin:0 0 10px;
  font-size:22px;
}
.step p{margin:0; color:var(--muted); line-height:1.6}

/* Waitlist dark */
.waitSection{
  background: radial-gradient(1200px 600px at 50% 20%, rgba(255,255,255,.18), rgba(255,255,255,0)) , #2b2220;
  color:#fff;
  padding:88px var(--page-pad);
}
.waitInner{max-width:780px; margin:0 auto; text-align:center}
.waitInner h2{
  font-family: Georgia, "Times New Roman", serif;
  font-size:clamp(36px, 5.2vw, 56px);
  margin:0 0 10px;
}
.waitInner p{
  margin:0 0 34px;
  color: rgba(255,255,255,.68);
  font-size:16px;
}
.waitForm{
  margin:0 auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:26px;
  text-align:start;
  max-width:520px;
  backdrop-filter: blur(10px);
}
.waitForm label{display:block; margin-bottom:14px}
.waitForm span{
  display:block;
  font-size:13px;
  color: rgba(255,255,255,.75);
  margin-bottom:8px;
}
.waitForm input, .waitForm select{
  width:100%;
  padding:14px 14px;
  border-radius:10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color:#fff;
  outline:none;
}
.formMsg{margin:12px 0 0; min-height:20px; font-size:13px; color: rgba(255,255,255,.78)}

.footer{border-top:1px solid var(--line); padding:20px var(--page-pad)}
.footerRow{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:18px; color:var(--muted); font-size:14px;
}
.footerLogo{
  width:96px;
  height:auto;
  opacity:.9;
  justify-self:start;
}
.footerIcon{width:38px; height:38px; justify-self:center}
.copy{justify-self:end; text-align:end}

/* Optional toggle */
.themeToggle{box-shadow:none}
.themeToggle .icon{width:20px; height:20px}

.scrollTop{
  position:fixed;
  bottom:18px;
  right:70px;
  z-index:90;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:999px;
  padding:12px;
  cursor:pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  display:grid;
  place-items:center;
  opacity:0;
  transform: translateY(8px);
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}
.scrollTop.isVisible{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.scrollTop .icon{width:20px; height:20px}

/* Mobile menu */
.mobileMenu{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:var(--surface);
  border-bottom:1px solid var(--line);
  box-shadow: 0 18px 36px rgba(0,0,0,.08);
  padding:14px var(--page-pad) 18px;
  transform: translateY(-8px);
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  transition: opacity .2s ease, transform .2s ease;
}
.mobileMenu a{
  display:block;
  padding:12px 6px;
  font-size:15px;
  color:var(--muted);
}
.mobileMenu a:hover{color:var(--ink)}
.mobileMenuBackdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.12);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:40;
}
body.menuOpen .mobileMenu{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
  visibility:visible;
}
body.menuOpen .mobileMenuBackdrop{
  opacity:1;
  pointer-events:auto;
}
body.menuOpen:not(.isIntro){
  overflow:hidden;
}

.iconBtn,
.menuBtn{
  min-width:44px;
  min-height:44px;
}

a:focus-visible,
button:focus-visible{
  outline:2px solid color-mix(in srgb, var(--ink) 70%, var(--accent-gold));
  outline-offset:3px;
  border-radius:12px;
}

/* Responsive */
@media (max-width: 1024px){
  .nav{justify-content:space-between}
  .navLinks{display:none}
  .menuBtn{
    display:grid;
    place-items:center;
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--surface);
  }
  .navActions{
    display:flex;
    margin-inline-start:0;
  }
  .brandSlot{
    position:absolute;
    left:50%;
    transform: translateX(-50%);
  }
  .heroImg{height:420px}
  .cards3{grid-template-columns: repeat(2, 1fr); gap:22px}
  .steps3{grid-template-columns: repeat(2, 1fr); gap:26px}
}

@media (max-width: 768px){
  .heroGrid{grid-template-columns:1fr; gap:24px}
  .heroText{text-align:center}
  .ctaRow, .founderLine{justify-content:center}
  .heroSub{margin-left:auto; margin-right:auto}
  .heroLogoTarget{padding:24px}
  .mediaCard{min-height:320px}
  .reviewCard{left:18px; bottom:18px}
  .steps3{grid-template-columns:1fr; gap:22px}
  .minimalGrid{max-width:42ch}
  .footerRow{grid-template-columns:1fr; text-align:center}
  .footerLogo{justify-self:center}
  .copy{justify-self:center; text-align:center}
}

@media (max-width: 640px){
  .productMedia{
    height:240px;
  }
  .cards3{grid-template-columns: 1fr; gap:18px}
}

@media (min-width: 769px){
  [data-lightbox]{ cursor: zoom-in; }
}

@media (max-width: 480px){
  .hero{
    padding-top:34px;
    padding-bottom:32px;
  }
  .heroBrand{justify-content:center}
  .heroArabic{font-size:clamp(40px, 10vw, 56px)}
  .heroName{font-size:18px}
  .heroSlogan{
    font-size:clamp(22px, 7vw, 32px);
    overflow-wrap:anywhere;
  }
  .heroSub{font-size:16px}
  .mediaCard{min-height:240px}
  .heroLogoTarget{padding:18px}
  .reviewCard{position:static; margin-top:16px; width:100%}
  .minimalGrid{max-width:38ch; gap:20px}
  .section{padding:56px var(--page-pad)}
  .steps3{gap:18px}
  .productCard{padding:8px}
  .footer{padding:16px var(--page-pad)}
  .footerLogo{width:78px}
  .footerIcon{width:46px; height:46px}
}

@media (min-width: 769px) and (max-width: 1024px){
  .section{padding:64px var(--page-pad)}
}
