/* حركة وصور الصفحة الرئيسية: إضافات فقط، بنفس لغة التصميم */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, #9a80ff, #6b4aff); transform-origin: 100% 50%; transform: scaleX(0); pointer-events: none; }

/* مشهد الهيرو خلف الجوال */
.hero2-visual { position: relative; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.sc-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(107, 74, 255, .22); top: 50%; left: 50%; }
.sc-ring.r1 { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
.sc-ring.r2 { width: 600px; height: 600px; margin: -300px 0 0 -300px; border-style: solid; border-color: rgba(107, 74, 255, .08); }
.sc-obj { position: absolute; filter: drop-shadow(rgba(107, 74, 255, .28) 0 22px 22px); }
.sc-obj .ill { display: block; width: 100%; height: auto; }
.o-receipt { width: 112px; top: 40px; left: -6px; }
.o-cup { width: 132px; bottom: 36px; left: -26px; }
.o-bag { width: 118px; top: 210px; right: -52px; }
.phone-tilt { z-index: 2; }
.steam path { animation: steam 2.6s ease-in-out infinite; stroke-dasharray: 40; }
.steam path:nth-child(2) { animation-delay: -.8s; } .steam path:nth-child(3) { animation-delay: -1.6s; }
@keyframes steam { 0% { stroke-dashoffset: 40; opacity: 0; } 40% { opacity: 1; } 100% { stroke-dashoffset: -40; opacity: 0; } }

/* بطاقات الأنشطة */
.uses { overflow: hidden; }
.uses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.use-card { background: #fff; border: 1px solid #eef0f3; border-radius: 28px; padding: 24px 20px 28px; text-align: center; box-shadow: rgba(107, 74, 255, .12) 0 30px 50px -36px; transition: transform .25s ease, box-shadow .25s ease; }
.use-card:hover { transform: translateY(-6px); box-shadow: rgba(107, 74, 255, .28) 0 36px 56px -34px; }
.use-art { width: 150px; margin: 0 auto 8px; }
.use-art .ill { display: block; width: 100%; height: auto; }
.use-card h3 { font-size: 20px; line-height: 28px; margin: 4px 0 6px; }
.use-card p { color: var(--color-text-secondary); font-size: 15px; line-height: 26px; margin: 0; }

@media (max-width: 1023px) { .uses-grid { grid-template-columns: repeat(2, 1fr); } .sc-ring.r2 { display: none; } }
@media (max-width: 639px) {
  .uses-grid { gap: 14px; }
  .use-card { padding: 16px 12px 20px; border-radius: 22px; }
  .use-art { width: 112px; }
  .use-card h3 { font-size: 17px; line-height: 24px; }
  .use-card p { font-size: 13px; line-height: 22px; }
  .sc-ring.r1 { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .o-receipt { width: 64px; top: 10px; left: -2px; }
  .o-cup { width: 80px; bottom: 30px; left: -6px; }
  .o-bag { width: 72px; top: 150px; right: -4px; }
}
@media (prefers-reduced-motion: reduce) { .steam path { animation: none; } .scroll-progress { display: none; } }
.hero2 h1 { text-wrap: balance; }
.hero2-text.scrub { transition: none !important; }

/* خلفية الهيرو: صورة حقيقية مع تغبيش بسيط وطبقة بيضاء للقراءة */
.hero2::before { content: ""; position: absolute; inset: -12px; z-index: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.7) 45%, rgba(247,244,255,.38) 100%), url("../assets/hero-cafe-d.webp") center / cover no-repeat;
  filter: blur(3px); }
.hero2 .blob { z-index: 0; }
.hero2-in { z-index: 1; }
@media (max-width: 639px) { .hero2::before { background-image: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.62) 45%, rgba(247,244,255,.5) 100%), url("../assets/hero-cafe-m.webp"); } }
.hero2-cta { margin-bottom: 0; }

/* قسم عن المنصة */
.about { padding-bottom: 24px; }
.about .sec-head { margin-bottom: 28px; }
.about .lead { max-width: 640px; margin-inline: auto; }
.about-trust { justify-content: center; gap: 12px; margin: 0 !important; }
.about-trust li { background: #fff; border: 1px solid #eef0f3; border-radius: 9999px; padding: 10px 18px; box-shadow: rgba(107,74,255,.1) 0 18px 30px -22px; }

/* شريط الأنشطة: أسود ومنزّل شوي عن الهيرو */
.marquee { background: #0b0b0e; border-block: 0; margin-top: 44px; padding: 22px 0; }
.marquee span { color: #f4f2ff; }
@media (max-width: 639px) { .marquee { margin-top: 28px; padding: 18px 0; } }

/* قسم المقارنة: صورة مخبز حقيقية بشفافية خفيفة */
#compare { position: relative; overflow: hidden; background: transparent; }
#compare::before { content: ""; position: absolute; inset: -10px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(250,248,255,.74)), url("../assets/cmp-bakery-d.webp") center / cover no-repeat;
  filter: blur(2px); }
#compare > .container { position: relative; z-index: 1; }
@media (max-width: 639px) { #compare::before { background-image: linear-gradient(180deg, rgba(255,255,255,.82), rgba(250,248,255,.76)), url("../assets/cmp-bakery-m.webp"); } }

/* عروض مصورة: النص يمين والصورة يسار (ديسكتوب)، النص فوق والصورة تحت (جوال) */
.showcase { padding-block: 80px; }
.sc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.sc-row + .sc-row { margin-top: 88px; }
.sc-text .eyebrow { margin-bottom: 14px; }
.sc-text h2 { font-size: 36px; line-height: 52px; margin-bottom: 14px; }
.sc-text .lead { font-size: 18px; line-height: 32px; color: var(--color-text-secondary); margin: 0; max-width: 480px; }
.sc-img { margin: 0; border-radius: 32px; overflow: hidden; box-shadow: rgba(107,74,255,.35) 0 40px 70px -40px; border: 1px solid #efeaff; }
.sc-img img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { .sc-row { grid-template-columns: 1fr; gap: 28px; text-align: center; } .sc-text .lead { margin-inline: auto; } .sc-text h2 { font-size: 30px; line-height: 44px; } .sc-row + .sc-row { margin-top: 64px; } }
@media (max-width: 639px) { .showcase { padding-block: 56px; } .sc-text h2 { font-size: 26px; line-height: 38px; } .sc-text .lead { font-size: 16px; line-height: 28px; } .sc-img { border-radius: 24px; } }

/* ===== تواصل معنا ===== */
.contact .ct-card { background: #fff; border: 1px solid #ece7ff; border-radius: 28px; padding: 32px; box-shadow: 0 24px 48px -28px rgba(107, 74, 255, .28); position: relative; }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact textarea.input { resize: vertical; min-height: 130px; line-height: 1.7; }
.contact .input.is-bad { border-color: #d92d20; }
.ct-hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.ct-status { margin: 14px 0 0; font-size: 15px; min-height: 22px; }
.ct-status.ok { color: #067647; } .ct-status.bad { color: #d92d20; }
@media (max-width: 639px) { .ct-grid { grid-template-columns: 1fr; } .contact .ct-card { padding: 22px 18px; border-radius: 22px; } .contact .ct-card .btn { width: 100%; } }
