:root {
  --dark: #0b2a4f;       /* كحلي بيثيل */
  --dark-2: #082040;
  --ink: #1d2a3a;
  --muted: #5f6b7a;
  --line: #e3e8ef;
  --soft: #f3f7f8;
  --accent: #009e8c;     /* أخضر بيثيل */
  --accent-soft: #e0f4f1;
  --red: #e10600;        /* أحمر يوتيوب */
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 34px -14px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Tajawal", "Almarai", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.85;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Almarai", "Tajawal", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: 12px 28px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -8px rgba(225, 6, 0, .65); }
.btn-red:hover { background: #c50500; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-teal { background: var(--accent); color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 158, 140, .6); }
.btn-teal:hover { background: #008577; }
.btn-sm { padding: 6px 16px; font-size: .9rem; border-radius: 10px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; background: #fff;
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .18); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  border: 3px solid var(--dark); color: var(--red); font-size: .95rem; padding-inline-start: 3px;
}
.logo-text { font-family: "Almarai", sans-serif; font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.logo-text small { font-size: .95rem; font-weight: 700; color: var(--accent); }
.logo.light .logo-mark { border-color: #fff; }
.logo.light .logo-text { color: #fff; }
.menu { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: 1.02rem; }
.menu a { color: var(--accent); position: relative; padding: 4px 0; transition: color .2s; }
.menu a::after {
  content: ""; position: absolute; bottom: -2px; right: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
.menu a:hover, .menu a.active { color: var(--dark); }
.menu a:hover::after, .menu a.active::after { width: 100%; }
.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--dark); color: #fff; overflow: hidden;
  padding: 150px 0 150px;
}
.blob { position: absolute; background: rgba(255, 255, 255, .06); pointer-events: none; }
.b1 { width: 520px; height: 520px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; top: -160px; left: -140px; }
.b2 { width: 380px; height: 420px; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; bottom: -120px; right: -120px; }
.b3 { width: 180px; height: 220px; border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; top: 90px; left: 38%; background: rgba(255, 255, 255, .04); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hello { font-weight: 400; font-size: 1.35rem; color: #e9e9e9; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.25; margin: 4px 0 20px; }
.hero-text p { color: #e4e4e4; font-size: 1.05rem; margin-bottom: 12px; max-width: 560px; }
.hero-text b { color: #fff; }
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.hero-photo { position: relative; display: grid; place-items: center; min-height: 420px; }
.play-shape {
  position: absolute; width: 78%; aspect-ratio: 1; background: var(--red); border-radius: 28%;
  transform: rotate(-12deg) translate(-14%, 6%); opacity: .95;
}
.photo-frame {
  position: relative; width: 82%; aspect-ratio: 1; border-radius: 34% 34% 34% 34% / 30% 30% 38% 38%;
  overflow: hidden; background: #fff; border: 10px solid #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  display: grid; place-items: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-fallback { font-family: "Almarai", sans-serif; font-size: 9rem; font-weight: 800; color: var(--dark); }

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 110px; fill: #fff; }

/* ---------- Section titles ---------- */
.section { padding: 90px 0; }
.section.soft { background: var(--soft); }
.title-center { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 40px; }
.title-center span { color: var(--accent); }

/* ---------- Fields strip ---------- */
.strip { padding: 50px 0 70px; }
.fields { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 50px; }
.fields div {
  display: flex; align-items: center; gap: 10px; font-family: "Almarai", sans-serif; font-weight: 700;
  font-size: 1.2rem; color: #8a8f96; filter: grayscale(1); opacity: .85; transition: .25s;
}
.fields div:hover { filter: none; opacity: 1; color: var(--ink); }
.fields span { font-size: 1.8rem; }

/* ---------- Story (dark split) ---------- */
.story {
  background: var(--dark); color: #fff; padding: 80px 0; position: relative; overflow: hidden;
  border-radius: 60px 60px 0 0;
}
.story::before {
  content: ""; position: absolute; width: 460px; height: 460px; left: -120px; bottom: -200px;
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; background: rgba(255, 255, 255, .05);
}
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; position: relative; }
.story h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.5; margin-bottom: 14px; }
.story p { color: #e2e2e2; margin-bottom: 10px; }
.story-art { display: grid; place-items: center; }
.story-card {
  width: min(340px, 100%); aspect-ratio: 1.1; border-radius: 40px; background: #fff; color: var(--dark);
  display: grid; place-items: center; align-content: center; gap: 2px; transform: rotate(4deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); position: relative;
}
.story-card::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 90px; height: 90px; border-radius: 26px; background: var(--red); z-index: -1;
}
.story-card .big { font-family: Georgia, serif; font-size: 7rem; font-weight: 900; line-height: 1; border: 8px solid var(--dark); border-radius: 18px; padding: 0 22px; }
.story-card strong { font-size: 1.6rem; margin-top: 12px; direction: ltr; }
.story-card small { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 6px 26px -10px rgba(0, 0, 0, .22); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .3); }
.card-cover {
  height: 190px; display: grid; place-items: center; font-size: 3.4rem; position: relative;
  background: linear-gradient(135deg, #e0f4f1, #e3ebf5);
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.12rem; line-height: 1.6; color: var(--accent); }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); align-items: center; }
.tag { display: inline-block; padding: 1px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-weight: 800; color: #1f9d55; }
.link-btn { color: var(--accent); font-weight: 700; background: none; border: 0; font-family: inherit; font-size: .92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--red); }

.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -16px 0 34px; }
.filters button {
  background: #fff; border: 1px solid var(--line); color: var(--muted); font-family: inherit;
  padding: 6px 20px; border-radius: 999px; cursor: pointer; font-weight: 700; transition: .2s;
}
.filters button.on, .filters button:hover { color: #fff; background: var(--dark); border-color: var(--dark); }

.search-box { max-width: 480px; margin: -10px auto 34px; }
.search-box input, .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-family: inherit; font-size: 1rem; padding: 13px 18px; border-radius: 12px; outline: none; transition: border-color .2s;
}
.search-box input:focus, .contact-form :is(input, select, textarea):focus { border-color: var(--accent); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px; }

/* ---------- YouTube playlist (dark player like the reference) ---------- */
#youtube { padding-top: 10px; }
.yt-screen {
  display: grid; grid-template-columns: 1.7fr 1fr; background: #1e1e1e; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .5);
}
.yt-player iframe { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.yt-side { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.yt-side-head {
  background: var(--dark); color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.yt-side-head strong { font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-list { overflow-y: auto; flex: 1; max-height: 420px; }
.yt-item {
  width: 100%; display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; text-align: right;
  background: #fff; border: 0; border-bottom: 1px solid var(--line); padding: 10px 14px;
  color: var(--ink); font-family: inherit; cursor: pointer; transition: background .2s;
}
.yt-item:hover { background: var(--soft); }
.yt-item.on { background: var(--accent-soft); }
.yt-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.yt-item span { font-size: .86rem; font-weight: 700; line-height: 1.5; color: var(--accent); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-item small { display: block; color: var(--muted); font-weight: 400; font-size: .76rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-grid h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.contact-links { display: grid; gap: 12px; margin-top: 26px; }
.contact-links a {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  padding: 14px 18px; border-radius: 14px; font-weight: 700; transition: border-color .2s, transform .2s;
}
.contact-links a:hover { border-color: var(--accent); transform: translateX(-4px); }
.contact-links .ci { font-size: 1.4rem; }
.contact-links small { display: block; color: var(--muted); direction: ltr; text-align: right; font-weight: 400; }
.contact-form { display: grid; gap: 14px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form textarea { resize: vertical; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #ddd; padding-top: 50px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-social { text-align: center; }
.foot-social p { margin-bottom: 10px; font-size: .95rem; }
.socials { display: flex; gap: 12px; justify-content: center; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); font-size: .78rem; font-weight: 800; color: #fff; transition: .2s;
}
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.foot-copy { text-align: center; padding: 26px 0; font-size: .92rem; color: #bbb; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 34px; }
.foot-copy a { color: #fff; }
.foot-bar { height: 12px; background: var(--red); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 20, 20, .7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 22px; max-width: 760px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 36px; position: relative; animation: pop .25s ease;
}
.modal-close {
  position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--soft); border: 1px solid var(--line); color: var(--ink); cursor: pointer; font-size: 1rem;
}
.modal-box h2 { font-size: 1.6rem; line-height: 1.5; margin: 10px 0; color: var(--accent); }
.modal-box .content { color: #444; margin-top: 18px; }
.modal-box .content p { margin-bottom: 14px; }
.modal-box .content ul { padding-right: 22px; margin-bottom: 14px; }
.modal-box img { border-radius: 14px; margin: 14px 0; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--accent);
  box-shadow: 0 10px 28px -8px rgba(0, 158, 140, .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Followers counter ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -70px; }
.stats-box {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; background: #fff; border-radius: 24px;
  box-shadow: 0 24px 60px -24px rgba(11, 42, 79, .45); overflow: hidden;
}
.stat-total, .stat { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.stat-total { background: linear-gradient(135deg, var(--dark), #12406f); color: #fff; }
.stat-total strong { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; line-height: 1.1; font-family: "Almarai", sans-serif; }
.stat-total small { color: #cfe0f0; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: #7ff0dc; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #2ee6c5; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 197, .7); } 70% { box-shadow: 0 0 0 10px rgba(46, 230, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 197, 0); } }
.stat { border-inline-start: 1px solid var(--line); transition: background .2s; }
a.stat:hover { background: var(--soft); }
.stat strong { font-size: 1.9rem; font-weight: 900; color: var(--dark); line-height: 1.2; font-family: "Almarai", sans-serif; }
.stat small { color: var(--muted); font-weight: 700; }
.s-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #fff; margin-bottom: 6px; font-family: Arial, sans-serif; }
.stat.yt .s-ico { background: var(--red); }
.stat.fb .s-ico { background: #1877f2; font-size: 1.3rem; }
.stat.vid .s-ico { background: var(--accent-soft); }
.stats-updated { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 8px; min-height: 1.2em; }

/* ---------- Offers ---------- */
.offers { display: grid; gap: 18px; margin-bottom: 60px; }
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: linear-gradient(135deg, #fff7f0, #fff); border: 2px dashed #f2a65a; border-radius: 20px; padding: 20px 24px;
}
.offer-ico { font-size: 2.6rem; }
.offer h3 { font-size: 1.2rem; color: var(--dark); }
.offer p { color: var(--muted); }
.offer small { color: #c2410c; font-weight: 700; }
.offer-price { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 150px; }
.offer-price s { color: #999; }
.offer-price strong { font-size: 1.5rem; color: var(--red); font-weight: 900; }

/* ---------- Credentials & brand ---------- */
.badge {
  display: inline-block; background: rgba(0, 158, 140, .18); border: 1px solid rgba(0, 200, 175, .45);
  color: #bff3ea; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; margin-bottom: 18px;
}
.trust { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.trust div {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  padding: 8px 16px; border-radius: 12px; font-weight: 700; font-size: .95rem; display: flex; gap: 8px; align-items: center;
}
.play-shape { background: var(--accent); }
.photo-frame { aspect-ratio: 4 / 5; width: 78%; border-radius: 40px; }
.photo-frame img { object-position: center 18%; }
.services { list-style: none; display: grid; gap: 8px; margin: 14px 0 6px; }
.services li { background: rgba(255, 255, 255, .07); border-inline-start: 3px solid var(--accent); padding: 8px 14px; border-radius: 10px; color: #e8eef6; }
.story-card { aspect-ratio: 1; padding: 18px; overflow: hidden; }
.story-card img { width: 100%; height: 100%; object-fit: contain; }
.story-card::after { background: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .yt-screen { grid-template-columns: 1fr; }
  .yt-list { max-height: 360px; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .menu {
    position: fixed; top: 76px; inset-inline: 0; flex-direction: column; gap: 4px; padding: 16px 16px 24px;
    background: #fff; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .25);
    transform: translateY(-130%); transition: transform .3s; align-items: stretch; text-align: center;
  }
  .menu.open { transform: none; }
  .menu a { padding: 10px; }
  .menu a::after { display: none; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 120px 0 120px; }
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { min-height: 0; max-width: 380px; margin-inline: auto; width: 100%; order: -1; }
  .story { border-radius: 36px 36px 0 0; }
}
@media (max-width: 860px) {
  .stats-box { grid-template-columns: repeat(3, 1fr); }
  .stat-total { grid-column: 1 / -1; }
  .stat:nth-child(2) { border-inline-start: 0; }
  .offer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stat { padding: 18px 8px; }
  .stat strong { font-size: 1.35rem; }
  .stat small { font-size: .78rem; }
  .section { padding: 64px 0; }
  .fields { gap: 14px 26px; }
  .fields div { font-size: 1rem; }
  .photo-fallback { font-size: 6rem; }
  .modal-box { padding: 28px 20px; }
  .foot { justify-content: center; }
}
