/* =====================================================================
   Computer Xperts — Alibaba section styles (css/alibaba.css)
   Loaded on the five Alibaba pages after css/site.css and css/section.css
   (hero, section menu, two-column blocks, band and call-to-action strip live there):
     alibaba-services.html, why-become-an-alibaba-gold-supplier.html,
     alibaba-minisite-design.html, alibaba-product-posting.html,
     alibaba-success-stories-page.html

   Alibaba orange is the accent here (it replaces red as --accent); site red stays for buttons.

   Contents
    1. Accent colours (the coloured strip, pale bands and bold band: css/section.css section 1)
    2. Page hero: Gold Supplier checklist, Minisite devices
    3. "What is Alibaba.com?" facts
    4. Alibaba Services: numbered service cards
    5. Gold Supplier: benefit cards, package prices picture
    6. Minisite Design: the minisite wall's extras
    7. Product Posting: the five offer cards
    8. "Why choose Computer Xperts" (all five pages)
    9. Responsive: 1180px, 1023px, 640px
   (client quote + video boxes: css/section.css)
   ===================================================================== */


/* 1. Accent colours ---------------------------------------------------- */
.alibaba {
  --accent: var(--alibaba);
  --accent-text: var(--alibaba-text);
  --accent-on-dark: #ffb27a;
  --accent-tint: var(--alibaba-tint);
  --accent-deep: #d94400;
  --accent-hi: #ffa733;
}


/* 2. Page hero ---------------------------------------------------------- */
/* Gold Supplier: badge picture + checklist */
.gs-badge { width: 220px; height: auto; margin-bottom: 14px; }
.gs-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 20px; }
.gs-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--white); font-size: 16px; font-weight: 700; line-height: 1.4; }
.gs-checks .ic { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--alibaba); color: var(--white); stroke-width: 3; }

/* Minisite Design hero: real minisite screenshots in flat 2D laptop + phone frames, with floating labels */
.mini-hero { position: relative; width: 100%; max-width: 580px; margin: 0 auto; aspect-ratio: 580 / 440; }
.mini-hero::after {   /* soft orange light behind the devices */
  content: ""; position: absolute; inset: 6% 4% 0 14%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 106, 0, .32), rgba(255, 106, 0, 0));
}
.mini-hero img { display: block; width: 100%; height: auto; }
.mini-hero__laptop { position: absolute; top: 4%; left: 14%; width: 82%; }
.mini-hero__screen {
  overflow: hidden; border: 8px solid #0d0d0d; border-top-width: 0; border-radius: 14px 14px 0 0;
  background: #0d0d0d; box-shadow: 0 0 0 1px #3a3a3a;
}
.mini-hero__bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 4px; }
.mini-hero__bar i { width: 7px; height: 7px; border-radius: 50%; background: #4a4a4a; }
.mini-hero__bar i:first-child { background: var(--alibaba); }
.mini-hero__bar span { flex: 1; height: 10px; margin: 0 30% 0 10px; border-radius: 5px; background: #2a2a2a; }
.mini-hero__base {
  height: 14px; margin: 0 -7%; border-radius: 2px 2px 14px 14px;
  background: linear-gradient(#4a4a4a, #222); box-shadow: 0 22px 34px -12px rgba(0, 0, 0, .85);
}
.mini-hero__phone {
  position: absolute; left: 2%; bottom: 3%; width: 25%; overflow: hidden;
  border: 6px solid #0d0d0d; border-top-width: 16px; border-bottom-width: 16px; border-radius: 22px;
  background: #0d0d0d; box-shadow: 0 0 0 1px #3a3a3a, 0 24px 40px -14px rgba(0, 0, 0, .8);
}
.mini-hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px;
  border-radius: 999px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); animation: chip-float 4s ease-in-out infinite;
}
.mini-hero__chip .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--alibaba); color: var(--white); stroke-width: 2.4; }
.mini-hero__chip--a { top: 0; left: 0; animation-delay: -1.2s; }
.mini-hero__chip--b { top: 34%; right: -2%; animation-delay: -2.4s; }
.mini-hero__chip--c { bottom: 0; right: 8%; animation-delay: -.6s; }
@keyframes chip-float { 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .mini-hero__chip { animation: none; } }


/* 3. "What is Alibaba.com?" facts ------------------------------------- */
.ali-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ali-fact { padding: 22px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.ali-fact:first-child { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ali-fact b { display: block; color: #e05a00;   /* Alibaba orange, a shade deeper so the big numbers pass contrast */ font-size: clamp(28px, 2.6vw, 36px); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; }
.ali-fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
.ali-fact:first-child span { color: #cfcfcf; }


/* 4. Alibaba Services: numbered service cards -------------------------- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 22px; align-items: start;
  padding: 24px 26px 28px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  transition: border-color .2s ease;
}
.svc-card:hover { border-color: var(--accent) #c4c4c4 #c4c4c4; }   /* the orange stripe stays */
.svc-card__art { grid-row: 1 / span 2; border-radius: 14px; background: #fafafa; }
.svc-card__art img,
.pkg-figure img { width: 100%; height: auto; }
.svc-card__num { align-self: end; margin-top: 18px; color: var(--alibaba-text); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.svc-card__title { margin-top: 4px; color: var(--ink); font-size: 22px; font-weight: 900; line-height: 1.25; }
.svc-card p { grid-column: 1 / -1; margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }


/* 5. Gold Supplier ------------------------------------------------------ */
/* benefit cards */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.benefit {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; align-items: start;
  padding: 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent);
}
.benefit:last-child:nth-child(odd) { grid-column: 1 / -1; }
.benefit img { grid-row: span 2; width: 64px; height: 64px; }
.benefit h2 { color: var(--ink); font-size: 20px; font-weight: 900; line-height: 1.3; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* package prices: the table picture from the FY26 catalogue */
.packages { scroll-margin-top: calc(var(--header-h, 90px) + 12px); }
.pkg-figure__link {
  display: block; overflow: hidden; border-radius: 14px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .5); transition: border-color .2s ease;
}
.pkg-figure__link:hover { border-color: var(--alibaba); }
.pkg-figure figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.pkg-figure figcaption .ic { width: 16px; height: 16px; color: var(--alibaba-text); }
.pkg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.pkg-foot p { color: var(--muted); font-size: 14.5px; }


/* 6. Minisite Design: example minisites ---------------------------------
   The orange wall band from the homepage (css/showcase.css section 1); here its copy also has the
   "Browse through …" note above the title and the links to the live minisites under the button. */
#examples { scroll-margin-top: calc(var(--header-h, 90px) + 12px); }
.ali-browse { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.ali-browse img { flex: none; width: 120px; height: auto; filter: brightness(0) invert(1); }   /* the Alibaba logo in white */
.ali-browse h3 { color: var(--white); font-size: clamp(17px, 1.5vw, 20px); font-weight: 800; line-height: 1.45; }
.wallsec__links { font-size: 15px; }
.wallsec__links a { color: var(--white); font-weight: 800; }


/* 7. Product Posting: the five offer cards ----------------------------- */
.offers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.offer {
  position: relative; grid-column: span 2; padding: 26px 24px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); transition: border-color .2s ease;
}
.offer:nth-child(n+4) { grid-column: span 3; }   /* 3 cards, then 2 wider ones */
.offer:hover { border-color: var(--accent) #c4c4c4 #c4c4c4; }
.offer__num { position: absolute; top: 18px; right: 22px; color: #ececec; font-size: 54px; font-weight: 900; line-height: 1; }
.offer__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--alibaba); color: var(--white); }
.offer__icon .ic { width: 40px; height: 40px; stroke-width: 1.8; }
.offer p { position: relative; margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }


/* 8. Why choose Computer Xperts ----------------------------------------- */
/* on every Alibaba page: the bold band in Alibaba orange (css/section.css section 1), white cards striped in orange */
.why-xp { padding: var(--section-y) 0; background: var(--accent-band); }
.why-xp__title { max-width: 760px; color: var(--white); font-size: clamp(26px, 2.8vw, 36px); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; }
.why-xp__title span { color: #ffe08a; }
.why-xp__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.why-xp__item {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 18px 24px;
  border-radius: 16px; background: var(--white); border-top: 4px solid var(--accent-hi); text-align: center;
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .55);
}
.why-xp__item img { width: 84px; height: 84px; }
.why-xp__item h3 { color: var(--ink); font-size: 17px; font-weight: 900; line-height: 1.3; }


/* 9. Responsive (in page order) ---------------------------------------- */
@media (max-width: 1180px) {
  .svc-list { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .benefits { grid-template-columns: 1fr; }
  .ali-browse { flex-direction: column; align-items: flex-start; gap: 16px; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer, .offer:nth-child(n+4) { grid-column: auto; }
  .offer:last-child { grid-column: 1 / -1; }
  .why-xp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  /* hero */
  .gs-checks { grid-template-columns: 1fr; }
  .gs-badge { width: 180px; }
  .mini-hero__screen { border-width: 0 5px; }
  .mini-hero__bar { height: 16px; }
  .mini-hero__base { height: 9px; }
  .mini-hero__chip { gap: 6px; padding: 5px 10px 5px 5px; font-size: 11.5px; }
  .mini-hero__chip .ic { width: 22px; height: 22px; padding: 4px; }
  /* shared */
  .ali-facts { gap: 10px; }
  .ali-fact { padding: 18px 16px; }
  /* Alibaba Services */
  .svc-card { grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px 22px; }
  .svc-card__num { margin-top: 8px; }
  .svc-card__title { font-size: 19px; }
  /* Gold Supplier */
  .benefit { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .benefit img { width: 52px; height: 52px; }
  /* Minisite Design: the screenshots become a sideways strip */
  .ali-browse img { width: 96px; }
  /* Product Posting */
  .offers { grid-template-columns: 1fr; gap: 12px; }
  .offer { padding: 22px 20px; }
  .offer__icon { width: 64px; height: 64px; border-radius: 17px; }
  .offer__icon .ic { width: 34px; height: 34px; }
  /* Why choose Computer Xperts */
  .why-xp__list { gap: 10px; }
  .why-xp__item { padding: 20px 12px; }
  .why-xp__item img { width: 64px; height: 64px; }
  .why-xp__item h3 { font-size: 15.5px; }
}
