/*
 * ChinaHub v2.6 — Premium Design System
 * Alibaba-inspired • World-class • Professional
 * ================================================
 */

/* ═══════════════════════════════════════════════
   1. CSS OVERRIDES — Alibaba Color System
═══════════════════════════════════════════════ */
:root {
  /* New Palette — Alibaba Orange + Navy */
  --ali-orange:     #FF6A00;
  --ali-orange-d:   #E05E00;
  --ali-orange-l:   #FF8C33;
  --ali-orange-bg:  rgba(255,106,0,.07);
  --ali-navy:       #001529;
  --ali-navy-2:     #002244;
  --ali-gold:       #FFB800;
  --ali-green:      #00A854;
  --ali-blue:       #1677FF;
  --ali-bg:         #F5F5F5;
  --ali-white:      #FFFFFF;
  --ali-border:     #E8E8E8;
  --ali-text:       #1A1A1A;
  --ali-text-2:     #666666;
  --ali-text-3:     #999999;

  /* Override brand colors globally */
  --pr:    var(--ali-orange);
  --pr-d:  var(--ali-orange-d);
  --pr-l:  var(--ali-orange-l);
  --pr-bg: var(--ali-orange-bg);
  --pr-shadow: 0 4px 18px rgba(255,106,0,.28);
  --bg:    var(--ali-bg);
  --card:  var(--ali-white);
  --bdr:   var(--ali-border);
  --t1:    var(--ali-text);
  --t2:    var(--ali-text-2);
  --t3:    var(--ali-text-3);
}

/* Body — light, clean */
body {
  background: #F5F5F5;
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
}

/* ═══════════════════════════════════════════════
   2. NAV — Premium Glassmorphism
═══════════════════════════════════════════════ */
.ch-top-bar {
  background: var(--ali-navy);
}
.ch-top-bar a, .ch-top-bar span, .ch-top-bar {
  color: rgba(255,255,255,.75) !important;
  font-size: 12px;
}
.ch-top-bar a:hover { color: var(--ali-gold) !important; }

.ch-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-bottom: 2px solid var(--ali-orange);
  position: sticky;
  top: 0;
  z-index: 500;
}
.ch-header.ch-nav-scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* Search bar — Alibaba style */
.ch-search-wrap {
  border: 2px solid var(--ali-orange) !important;
  border-radius: 4px !important;
  overflow: hidden;
}
.ch-search-btn {
  background: var(--ali-orange) !important;
  border-radius: 0 !important;
  font-weight: 800;
  min-width: 60px;
  font-size: 18px;
}
.ch-search-btn:hover { background: var(--ali-orange-d) !important; }

/* Cat nav */
.ch-cat-nav {
  background: var(--ali-navy);
}
.ch-cat-nav-list li a {
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.ch-cat-nav-list li a:hover,
.ch-cat-nav-list li a.active {
  color: var(--ali-gold) !important;
  border-bottom-color: var(--ali-gold) !important;
}

/* ═══════════════════════════════════════════════
   3. HERO — Full Premium
═══════════════════════════════════════════════ */
.ch-hero-wrap {
  position: relative;
  background: linear-gradient(135deg, #001529 0%, #002244 40%, #003566 70%, #1a4a8a 100%);
  min-height: 480px;
  overflow: hidden;
}

/* Animated background pattern */
.ch-hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 50%, rgba(255,106,0,.15) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 80% 20%, rgba(255,184,0,.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.ch-hero-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ali-orange), var(--ali-gold), var(--ali-orange), transparent);
}

.ch-hero-slide-bg {
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.12 !important;
  mix-blend-mode: luminosity;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  min-height: 440px;
  padding: 60px 0;
}

/* Hero pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,106,0,.15);
  border: 1px solid rgba(255,106,0,.4);
  color: var(--ali-orange-l);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: .3px;
}

/* Version badge */
.ch-hero-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--ali-gold), var(--ali-orange));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
  margin-right: 8px;
  letter-spacing: .5px;
}

/* Hero title */
.hero-h {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero-h span {
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Hero buttons */
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hbtn {
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.hbtn-primary {
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-orange-d));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,106,0,.4);
}
.hbtn-primary:hover {
  background: linear-gradient(135deg, var(--ali-orange-l), var(--ali-orange));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,106,0,.5);
}
.hbtn-ghost {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hbtn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-stat-item {
  padding: 12px 8px;
  text-align: center;
  background: rgba(255,255,255,.04);
  transition: background .2s;
}
.hero-stat-item:hover { background: rgba(255,106,0,.12); }
.hero-stat-item + .hero-stat-item {
  border-right: 1px solid rgba(255,255,255,.08);
}
[dir="ltr"] .hero-stat-item + .hero-stat-item {
  border-right: none;
  border-left: 1px solid rgba(255,255,255,.08);
}
.hsi-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--ali-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hsi-num span { font-size: 13px; color: var(--ali-orange-l); }
.hsi-lbl { font-size: 10px; color: rgba(255,255,255,.5); }

/* Hero image */
.hero-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.hero-img img {
  width: 100%; max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
  z-index: 1;
  transition: transform .5s;
}
.hero-img img:hover { transform: scale(1.02) translateY(-4px); }

/* Hero dots */
.hero-dots { bottom: 20px; }
.ch-hero-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.3);
  transition: all .3s;
  cursor: pointer;
}
.ch-hero-dot.active {
  background: var(--ali-orange);
  width: 24px;
  box-shadow: 0 0 8px rgba(255,106,0,.6);
}

/* Hero arrows */
.hero-arr {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: all .2s;
}
.hero-arr:hover {
  background: var(--ali-orange);
  border-color: var(--ali-orange);
  box-shadow: 0 4px 16px rgba(255,106,0,.4);
}

/* ═══════════════════════════════════════════════
   4. TRUST TICKER
═══════════════════════════════════════════════ */
.ch-trust-ticker {
  background: linear-gradient(135deg, var(--ali-navy), var(--ali-navy-2));
  padding: 10px 0;
  border-bottom: 2px solid var(--ali-orange);
}
.ch-trust-sep { color: var(--ali-orange); }
.ch-trust-track span:not(.ch-trust-sep) {
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   5. SECTION HEADERS
═══════════════════════════════════════════════ */
.ch-sec-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ali-text);
  position: relative;
  padding-bottom: 10px;
}
.ch-sec-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--ali-orange), var(--ali-gold));
  border-radius: 99px;
}
[dir="ltr"] .ch-sec-title::after { right: auto; left: 0; }

.ch-sec-link {
  color: var(--ali-orange);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.ch-sec-link:hover { gap: 8px; }

/* Section badge */
.ch-sec-badge-new {
  display: inline-block;
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-gold));
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════
   6. CATEGORIES
═══════════════════════════════════════════════ */
.cat-item {
  background: #fff;
  border: 1px solid var(--ali-border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all .2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cat-item:hover {
  border-color: var(--ali-orange);
  box-shadow: 0 6px 24px rgba(255,106,0,.12);
  transform: translateY(-3px);
}
.cat-icon {
  font-size: 32px;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,106,0,.08), rgba(255,184,0,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.cat-item:hover .cat-icon { transform: scale(1.12); }
.cat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ali-text);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════
   7. FLASH SALE
═══════════════════════════════════════════════ */
.flash-wrap {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 40%, #1a0000 100%);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.flash-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Crect x='0' y='0' width='20' height='20'/%3E%3Crect x='20' y='20' width='20' height='20'/%3E%3C/g%3E%3C/svg%3E");
}
.flash-hd { position: relative; z-index: 1; }
.flash-hd h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Countdown — big bold boxes */
.flash-cd { display: flex; align-items: center; gap: 4px; direction: ltr; }
.flash-cd span:not(.flash-cd-sep) {
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  font-family: 'Courier New', monospace;
  padding: 6px 10px;
  border-radius: 8px;
  min-width: 42px;
  text-align: center;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.flash-cd-sep { color: rgba(255,255,255,.7); font-size: 20px; font-weight: 900; }

/* Flash cards */
.flash-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
  text-decoration: none;
}
.flash-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.flash-badge {
  background: linear-gradient(135deg, var(--ali-gold), var(--ali-orange));
  color: #000;
  font-weight: 900;
  font-size: 11px;
}
.flash-name { color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; }
.flash-prices b { color: var(--ali-gold); font-size: 15px; }
.flash-prices s { color: rgba(255,255,255,.4); font-size: 11px; }

/* ═══════════════════════════════════════════════
   8. PRODUCT CARDS — Alibaba Style
═══════════════════════════════════════════════ */
.pc-wrap {
  background: #fff;
  border: 1px solid var(--ali-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all .22s;
  position: relative;
}
.pc-wrap:hover {
  border-color: var(--ali-orange);
  box-shadow: 0 8px 32px rgba(255,106,0,.12);
  transform: translateY(-4px);
}
.pc-img-wrap { background: #fafafa; }
.pc-img { transition: transform .4s; }
.pc-wrap:hover .pc-img { transform: scale(1.06); }

.pc-price { color: var(--ali-orange) !important; font-size: 17px !important; font-weight: 900 !important; }
.pc-compare { color: var(--ali-text-3) !important; font-size: 12px; }
.pc-disc {
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-orange-d));
  color: #fff !important;
  font-weight: 800;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
}
.pc-name { color: var(--ali-text); font-weight: 600; font-size: 13px; line-height: 1.4; }
.pc-name:hover { color: var(--ali-orange); }

/* Add to cart button */
.pc-btn-cart {
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-orange-d));
  color: #fff;
  border: none;
  border-radius: 0 0 8px 8px;
  width: 100%;
  padding: 10px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  display: none;
  font-family: 'Cairo', sans-serif;
}
.pc-wrap:hover .pc-btn-cart { display: block; }
.pc-btn-cart:hover { background: linear-gradient(135deg, var(--ali-orange-l), var(--ali-orange)); }

/* Stars */
.pc-stars { color: var(--ali-gold); font-size: 11px; }
.pc-sold { color: var(--ali-text-3); font-size: 11px; }
.pc-badge-hot { background: var(--ali-orange); color: #fff; }
.pc-badge-new { background: var(--ali-green); color: #fff; }
.pc-badge-best { background: var(--ali-navy); color: var(--ali-gold); }

/* ═══════════════════════════════════════════════
   9. PRODUCT TABS
═══════════════════════════════════════════════ */
.prd-tabs { border-bottom: 2px solid var(--ali-border); margin-bottom: 20px; }
.prd-tab-btn {
  color: var(--ali-text-2);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color .2s;
  font-family: 'Cairo', sans-serif;
}
.prd-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--ali-orange);
  transform: scaleX(0);
  transition: transform .2s;
}
.prd-tab-btn.active { color: var(--ali-orange); }
.prd-tab-btn.active::after { transform: scaleX(1); }
.prd-tab-btn:hover { color: var(--ali-orange); }

/* ═══════════════════════════════════════════════
   10. FLAGS TICKER
═══════════════════════════════════════════════ */
.ch-flags-sec {
  background: #fff;
  border-top: 1px solid var(--ali-border);
  border-bottom: 1px solid var(--ali-border);
  padding: 16px 0;
}
.ch-flags-title { color: var(--ali-text); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.ch-flag-emoji { font-size: 20px; }
.ch-flag-name { font-size: 11px; color: var(--ali-text-2); font-weight: 600; }

/* ═══════════════════════════════════════════════
   11. PARTNERS — World-class logos
═══════════════════════════════════════════════ */
.ch-partners-sec { background: #fff; }
.ch-partner-card {
  background: #fff;
  border: 1px solid var(--ali-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .22s;
  cursor: pointer;
}
.ch-partner-card:hover {
  border-color: var(--ali-orange);
  box-shadow: 0 6px 28px rgba(255,106,0,.12);
  transform: translateY(-4px);
}
.ch-pc-logo {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.ch-pc-name { font-size: 13px; font-weight: 700; color: var(--ali-text); }
.ch-pc-tag { font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 8px; margin-top: 4px; display: inline-block; }
.ch-tag-cn { background: rgba(255,106,0,.1); color: var(--ali-orange); }
.ch-tag-global { background: rgba(0,168,84,.1); color: var(--ali-green); }

/* ═══════════════════════════════════════════════
   12. WHY SECTION — Value Props
═══════════════════════════════════════════════ */
.ch-why-sec { background: linear-gradient(180deg, #F5F5F5 0%, #fff 100%); }
.ch-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ch-why-card {
  background: #fff;
  border: 1px solid var(--ali-border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all .22s;
  position: relative;
  overflow: hidden;
}
.ch-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ali-orange), var(--ali-gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s;
}
[dir="ltr"] .ch-why-card::before { transform-origin: left; }
.ch-why-card:hover { border-color: var(--ali-orange); box-shadow: 0 8px 32px rgba(255,106,0,.08); transform: translateY(-4px); }
.ch-why-card:hover::before { transform: scaleX(1); }

.ch-why-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  transition: transform .3s;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.ch-why-card:hover .ch-why-icon-wrap { transform: scale(1.1) rotate(-5deg); }

.ch-why-ttl { font-size: 15px; font-weight: 800; color: var(--ali-text); margin-bottom: 8px; }
.ch-why-sub { font-size: 12.5px; color: var(--ali-text-2); line-height: 1.6; margin-bottom: 12px; }
.ch-why-stat {
  font-size: 13px;
  font-weight: 900;
  color: var(--ali-orange);
  background: var(--ali-orange-bg);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
}

/* ═══════════════════════════════════════════════
   13. REVIEWS
═══════════════════════════════════════════════ */
.ch-review-card {
  background: #fff;
  border: 1px solid var(--ali-border);
  border-radius: 12px;
  padding: 20px;
  transition: all .2s;
}
.ch-review-card:hover {
  border-color: var(--ali-orange);
  box-shadow: 0 6px 24px rgba(255,106,0,.08);
  transform: translateY(-3px);
}
.ch-review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   14. CTA STRIP — Alibaba Style
═══════════════════════════════════════════════ */
.ch-cta-strip {
  background: linear-gradient(135deg, var(--ali-navy) 0%, #002f5e 50%, var(--ali-navy-2) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.ch-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 90% 50%, rgba(255,106,0,.12) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(255,184,0,.06) 0%, transparent 50%);
}
.ch-cta-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ali-orange), var(--ali-gold), var(--ali-orange), transparent);
}
.ch-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ch-cta-h {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.ch-cta-p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }
.ch-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.ch-cta-btn {
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-orange-d));
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,106,0,.4);
  transition: all .2s;
  display: inline-block;
}
.ch-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,106,0,.5); }
.ch-cta-btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: all .2s;
  display: inline-block;
}
.ch-cta-btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════════
   15. FOOTER
═══════════════════════════════════════════════ */
.ch-footer {
  background: var(--ali-navy);
  color: rgba(255,255,255,.65);
}
.ch-footer-top { border-bottom: 1px solid rgba(255,255,255,.06); }
.ch-footer-logo-txt {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}
.ch-footer-logo-txt b { color: var(--ali-orange); }
.ch-footer-logo-txt i { color: #fff; font-style: normal; }
.ch-footer-h { color: #fff; font-weight: 800; font-size: 14px; }
.ch-footer-link { color: rgba(255,255,255,.55); }
.ch-footer-link:hover { color: var(--ali-orange) !important; }
.ch-footer-bottom {
  background: rgba(0,0,0,.2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.ch-footer-copy { color: rgba(255,255,255,.4); font-size: 12px; }

/* ═══════════════════════════════════════════════
   16. WHATSAPP BUTTON
═══════════════════════════════════════════════ */
.ch-wa-float {
  position: fixed;
  bottom: 80px;
  left: 24px;
  width: 54px; height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 999;
  transition: all .2s;
  text-decoration: none;
}
[dir="rtl"] .ch-wa-float { left: auto; right: 24px; }
.ch-wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
.ch-wa-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.35);
  animation: wa-pulse 2s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   17. SCROLL REVEAL
═══════════════════════════════════════════════ */
.ch-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.ch-reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   18. SCROLL TO TOP
═══════════════════════════════════════════════ */
#ch-scroll-top {
  background: var(--ali-orange);
  box-shadow: 0 4px 16px rgba(255,106,0,.4);
}
#ch-scroll-top:hover {
  background: var(--ali-orange-d);
  box-shadow: 0 8px 24px rgba(255,106,0,.5);
}

/* ═══════════════════════════════════════════════
   19. VERSION BAR
═══════════════════════════════════════════════ */
#ch-ver-bar {
  background: linear-gradient(135deg, var(--ali-navy), #001f40);
  border-bottom: 1px solid rgba(255,106,0,.3);
}
.ch-ver-badge {
  background: linear-gradient(135deg, var(--ali-orange), var(--ali-gold));
  color: #000;
  font-weight: 900;
}
.ch-ver-cta {
  background: var(--ali-orange) !important;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}
.ch-ver-x { color: rgba(255,255,255,.5); }
.ch-ver-x:hover { color: #fff; }

/* ═══════════════════════════════════════════════
   20. MOBILE RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 32px 0;
    gap: 24px;
  }
  .hero-img { display: none; }
  .hero-h { font-size: 26px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ch-why-grid { grid-template-columns: 1fr 1fr; }
  .ch-cta-inner { flex-direction: column; text-align: center; }
  .ch-cta-btns { justify-content: center; }
  .ch-cta-h { font-size: 22px; }
}
@media (max-width: 480px) {
  .ch-why-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════
   21. CATEGORIES — Colored gradient cards (NEW v2.6)
═══════════════════════════════════════════════ */
.cats-grid-wrap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  padding: 4px 0 8px;
}
@media (max-width: 900px) { .cats-grid-wrap { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px) { .cats-grid-wrap { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
@media (max-width: 400px) { .cats-grid-wrap { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

.cat-card-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s;
}
.cat-card-new:hover { transform: translateY(-5px); }

.cat-icon-new {
  width: 100%;
  aspect-ratio: 1;
  max-width: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transition: box-shadow .22s, transform .22s;
  position: relative;
  overflow: hidden;
}
.cat-icon-new::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .2s;
}
.cat-card-new:hover .cat-icon-new::after { opacity: 1; }
.cat-card-new:hover .cat-icon-new {
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  transform: scale(1.06);
}

.cat-emoji-new {
  font-size: 30px;
  display: block;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
@media (max-width: 600px) {
  .cat-emoji-new { font-size: 24px; }
  .cat-icon-new { border-radius: 14px; }
}

.cat-name-new {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ali-text);
  text-align: center;
  line-height: 1.3;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80px;
}
.cat-card-new:hover .cat-name-new { color: var(--ali-orange); }
