/* Pakety home page (pakety.online). Built on site.css. */

body.home { background: var(--bg); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
}
.hero::before {
  /* A faint isometric grid, the language of the box mark. */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(30deg, rgba(11,11,12,.05) 1px, transparent 1px),
    linear-gradient(150deg, rgba(11,11,12,.05) 1px, transparent 1px);
  background-size: 46px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 72%);
}
.hero-in {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px;
  padding-top: 72px; padding-bottom: 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--yellow);
  font-weight: 700; font-size: 14px; line-height: 1;
  padding: 9px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.hero h1 {
  margin: 22px 0 0; font-weight: 900; color: var(--ink);
  font-size: clamp(38px, 6.2vw, 68px); line-height: 1.18; letter-spacing: -.5px;
}
.hero h1 .hl {
  background: linear-gradient(transparent 62%, rgba(255,255,255,.85) 62%, rgba(255,255,255,.85) 92%, transparent 92%);
  padding: 0 4px;
}
.hero .lead {
  margin: 20px 0 0; max-width: 34em;
  font-size: clamp(17px, 1.9vw, 20px); line-height: 1.8; color: #2A2A2F; font-weight: 500;
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 18px 10px 20px; border-radius: 14px; min-width: 164px;
  box-shadow: 0 6px 16px rgba(11,11,12,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11,11,12,.22); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.25; }
.store small { font-size: 12px; color: #BDBDC6; font-weight: 600; }
.store b { font-size: 18px; font-weight: 800; direction: ltr; text-align: right; }
/* The browser copy sits beside the stores, white so it reads as the
   third way in (owner 2026-12-04: «اطلب من المتصفح اجعله واضح بجانب
   شريط الاندرويد والابل ستور»). */
.store-web { background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(11,11,12,.10); }
.store-web:hover { box-shadow: 0 10px 22px rgba(11,11,12,.16); }
.store-web small { color: var(--muted); }
.store-web b { direction: rtl; }

/* Hero art: the box mark drawing itself, with what the app shows. */
.art { position: relative; height: 460px; }
/* The app icon in black with the yellow mark (owner 2026-12-04: «اجعل
   الايقونه سوداء واللوكو اصفر»), no white glow behind it. */
.art-icon {
  position: absolute; left: 50%; top: 50%;
  width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 72px; background: var(--ink);
  display: grid; place-items: center;
  transform: rotate(-6deg);
  box-shadow: 0 30px 60px rgba(11,11,12,.28);
}
.art-box { width: 190px; height: 190px; }
.art-box path {
  fill: none; stroke: var(--yellow); stroke-width: 2.6;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: draw 1.9s cubic-bezier(.6,.05,.25,1) .25s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.float {
  position: absolute; background: #fff; color: var(--ink);
  border-radius: 16px; box-shadow: 0 10px 30px rgba(11,11,12,.14);
  animation: bob 6s ease-in-out infinite;
}
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.chip i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
/* What Pakety brings, floating round the icon (owner 2026-12-04: «اضف
   مطاعم كوفيهات ملابس ايضا»). */
.c-veg     { top: 30px;    right: 8px;   animation-delay: -1s; }
.c-food    { top: 6px;     left: 54px;   animation-delay: -2.5s; }
.c-cafe    { top: 132px;   left: -14px;  animation-delay: -4s; }
.c-grocery { top: 156px;   right: -16px; animation-delay: -2s; }
.c-clothes { top: 248px;   left: -22px;  animation-delay: -5s; }
.c-cash    { bottom: 96px; right: -12px; animation-delay: -3s; }
.notif {
  bottom: 18px; left: 18px; width: 270px; padding: 12px 14px;
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center;
  animation-delay: -4s;
}
.notif .mark { width: 40px; height: 40px; border-radius: 11px; }
.notif .mark svg { width: 26px; height: 26px; }
.notif-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; line-height: 1.3; }
.notif-head b { color: var(--ink); }
.notif-text { font-size: 15px; font-weight: 700; line-height: 1.5; margin-top: 2px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .art-box path { animation: none; stroke-dashoffset: 0; }
  .float { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: 14px; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 4px 14px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.3; font-weight: 900; color: var(--ink); letter-spacing: -.3px; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 24px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.icon {
  width: 52px; height: 52px; border-radius: 15px; background: var(--yellow);
  display: grid; place-items: center;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 18px 0 6px; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.45; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--card); border-radius: 22px; padding: 30px 26px 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, arabic-indic);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font-weight: 900; font-size: 22px;
}
.step h3 { margin: 18px 0 6px; font-size: 21px; font-weight: 800; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Partners ---------- */
.partners { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.partners-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.partners .kicker { background: var(--yellow); }
.partners h2 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.3; font-weight: 900; color: #fff; }
.partners p.lead { margin: 14px 0 0; color: #C4C4CC; font-size: 18px; max-width: 34em; }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.path li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  background: #17171B; border: 1px solid #26262C; border-radius: 18px; padding: 14px 16px;
}
.path li b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 18px; font-weight: 900; }
.path li span { font-size: 17px; font-weight: 700; color: #fff; }
.path li small { display: block; font-size: 14px; font-weight: 500; color: #9B9BA5; }

/* ---------- Download ---------- */
.download { padding: 96px 0; }
.download-card {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--yellow);
  padding: 60px 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.download-card h2 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; line-height: 1.25; color: var(--ink); }
.download-card p { margin: 12px 0 0; font-size: 18px; color: #2A2A2F; font-weight: 500; }
.download-card .stores { margin-top: 26px; }
.download-mark { justify-self: center; width: 220px; height: 220px; border-radius: 52px; background: var(--ink); display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 24px 50px rgba(11,11,12,.25); }
.download-mark svg { width: 150px; height: 150px; }
.download-mark path { stroke: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 8px; padding-top: 48px; padding-bottom: 56px; }
  .art { height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .art-icon { width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 58px; }
  .art-box { width: 152px; height: 152px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .partners-in { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
  .download-card .stores { justify-content: center; }
  .download-mark { width: 150px; height: 150px; border-radius: 38px; order: -1; }
  .download-mark svg { width: 100px; height: 100px; }
}
@media (max-width: 640px) {
  .section, .download { padding: 68px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { justify-content: flex-start; }
  .art { height: 384px; margin-top: 18px; }
  .art-icon { width: 190px; height: 190px; margin: -112px 0 0 -95px; border-radius: 46px; }
  .art-box { width: 120px; height: 120px; }
  .chip { font-size: 13.5px; padding: 7px 12px; }
  .c-veg     { top: 12px;    right: 0; }
  .c-food    { top: 30px;    left: 0; }
  .c-cafe    { top: 112px;   left: -6px; }
  .c-grocery { top: 134px;   right: -6px; }
  .c-clothes { top: 206px;   left: -8px; }
  .c-cash    { bottom: 92px; right: -6px; }
  .notif { width: 248px; left: 50%; margin-left: -124px; bottom: 6px; }
}
