/* ===== WISH Supply Chain — Design Tokens ===== */
:root {
  --navy: #14303e;
  --navy-2: #1b3a4b;
  --teal: #2a9d8f;
  --teal-dark: #218276;
  --gold: #d9a441;
  --ink: #22333b;
  --muted: #5d7280;
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --line: #e3ecec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 48, 62, .10);
  --shadow-lg: 0 20px 50px rgba(20, 48, 62, .18);
  --header-h: 72px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border: none; border-radius: 50px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:active { transform: scale(.96); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(42, 157, 143, .45); }

.btn-gold {
  background: linear-gradient(135deg, #e7b558 0%, var(--gold) 100%);
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px rgba(217, 164, 65, .5); }

.btn-outline { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

.btn-ghost { border: 2px solid rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }

/* Shine sweep on hover */
.btn::before {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::before { left: 120%; }

/* Pulse glow ring for key CTAs */
.btn-glow::after {
  content: ""; position: absolute; inset: -4px; border-radius: 60px;
  border: 2px solid rgba(42,157,143,.7); opacity: 0;
  animation: glowPulse 2.4s ease-out infinite; pointer-events: none;
}
.btn-gold.btn-glow::after { border-color: rgba(217,164,65,.8); }
.btn-light.btn-glow::after { border-color: rgba(255,255,255,.8); }
@keyframes glowPulse {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(20,48,62,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 44px; width: 44px; object-fit: cover; border-radius: 10px; }
.brand-text {
  font-size: 22px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 6px; letter-spacing: 1px;
}
.brand-text em {
  font-style: normal; font-size: 13px; font-weight: 600;
  color: var(--teal); letter-spacing: 1px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  color: var(--ink); font-size: 15px; font-weight: 600;
  position: relative; padding: 8px 0; transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width .25s;
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px;
  background: #fff; font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--ink); cursor: pointer; transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--teal); color: var(--teal); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 1200;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  max-height: 70vh; overflow-y: auto;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  padding: 10px 14px; border-radius: 8px; font-size: 14px;
  color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .15s;
}
.lang-item:hover { background: var(--bg-soft); }
.lang-item.active { color: var(--teal); font-weight: 700; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12,25,33,.82) 0%, rgba(20,48,62,.58) 55%, rgba(42,157,143,.30) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-tag {
  display: inline-block; letter-spacing: 2px;
  padding: 8px 20px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px; margin-bottom: 24px; backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(36px, 5.6vw, 58px); font-weight: 800;
  line-height: 1.15; margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px); max-width: 660px;
  color: rgba(255,255,255,.85); margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.85); animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ===== Stats ===== */
.stats {
  position: relative; z-index: 5;
  margin-top: -46px; padding-bottom: 20px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 40px 30px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 42px; font-weight: 800; color: var(--navy);
  display: flex; align-items: baseline; justify-content: center;
}
.stat-num span:last-child { color: var(--teal); font-size: 30px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-kicker {
  color: var(--teal); letter-spacing: 2px;
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: var(--navy); margin-bottom: 12px; line-height: 1.25;
}
.section-sub { font-size: 17px; color: var(--muted); }

/* Solutions cards */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.card {
  padding: 36px 30px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); }

/* ===== Advantages (dark) ===== */
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, #0b1d27 100%);
  color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-kicker { color: var(--gold); }
.adv-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px; text-align: center;
}
.adv-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(42,157,143,.18); border: 1px solid rgba(42,157,143,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin: 0 auto 20px;
}
.adv-icon svg { width: 28px; height: 28px; }
.adv-item h3 { font-size: 20px; margin-bottom: 12px; }
.adv-item p { font-size: 14px; color: rgba(255,255,255,.72); }
.adv-banner {
  margin-top: 56px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.adv-banner img { display:block; width: 100%; height: 380px; object-fit: cover; }

/* ===== About ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.about-text { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.about-list { margin-bottom: 30px; }
.about-list li {
  position: relative; padding-left: 30px;
  font-size: 16px; color: var(--ink); margin-bottom: 12px;
}
.about-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--teal); font-weight: 700;
}

/* ===== App Download ===== */
.section-app {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: #fff;
}
.app-grid {
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
}
.section-app .section-title { color: #fff; }
.section-app .section-kicker { color: var(--gold); }
.app-body .section-sub { color: rgba(255,255,255,.8); max-width: 520px; }
.app-actions { margin-top: 30px; }
.app-note { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 14px; }
.app-media img {
  width: min(340px, 78vw); aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== CTA ===== */
.cta {
  position: relative; overflow: hidden;
  padding: 110px 0; color: #fff;
}
.cta-bg { position: absolute; inset: 0; z-index: 1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,29,39,.92) 0%, rgba(20,48,62,.80) 55%, rgba(20,48,62,.62) 100%);
}
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,.75); margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }

/* ===== Footer ===== */
.footer { background: #0b1d27; color: #fff; padding: 70px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
}
.footer .brand-text { color: #fff; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.6);
  line-height: 1.7; max-width: 280px; margin-top: 16px;
}
.footer-col h4 { font-size: 15px; color: var(--gold); margin-bottom: 20px; }
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,.7);
  padding-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 50px; padding: 26px 0; text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }

/* ===== Value props ===== */
.values { padding: 80px 0 30px; }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.value h3 {
  font-size: 20px; font-weight: 800; color: var(--navy);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 3px solid var(--gold); display: inline-block;
}
.value p { font-size: 15px; color: var(--muted); }

/* ===== Soft section background ===== */
.section-soft { background: var(--bg-soft); }

/* ===== Section "more" link ===== */
.section-more { text-align: center; margin-top: 46px; }
.link-arrow {
  font-size: 17px; font-weight: 700; color: var(--teal);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s ease;
}
.link-arrow:hover { gap: 14px; color: var(--teal-dark); }

/* ===== Key areas list ===== */
.keyareas-list { max-width: 900px; margin: 0 auto; }
.keyarea {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.keyarea:last-child { border-bottom: none; }
.keyarea-num {
  font-size: 34px; font-weight: 800; color: var(--teal);
  line-height: 1; min-width: 64px;
}
.keyarea h3 { font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.keyarea p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ===== How we work steps ===== */
.section-dark .section-sub { color: rgba(255,255,255,.7); }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px;
}
.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--teal); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 18px;
}
.step h3 { font-size: 20px; color: #fff; margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,.72); }

/* ===== Industry tags ===== */
.industry-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; max-width: 900px; margin: 0 auto;
}
.industry-tag {
  padding: 12px 26px; border: 1.5px solid var(--teal); border-radius: 50px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  background: #fff; transition: all .25s ease; cursor: default;
}
.industry-tag:hover {
  background: var(--teal); color: #fff; transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42,157,143,.3);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== Responsive: tablet & mobile ===== */
@media screen and (max-width: 1024px) {
  .nav {
    position: fixed; top: var(--header-h); right: 0;
    width: min(360px, 84%); height: calc(100vh - var(--header-h));
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 8px; padding: 24px;
    transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.12);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav-actions-mobile {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 16px; padding-top: 20px;
  }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .about-grid, .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-grid { text-align: center; }
  .app-body .section-sub { margin-left: auto; margin-right: auto; }
  .app-media { display: flex; justify-content: center; }
  .app-media img { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (min-width: 1025px) {
  .nav-actions-mobile { display: none; }
}

@media screen and (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-content { padding-bottom: 60px; }
  .stats { margin-top: -30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 30px 20px; }
  .stat-num { font-size: 34px; }
  .values-grid { grid-template-columns: 1fr; gap: 24px; }
  .values { padding: 60px 0 20px; }
  .keyarea { flex-direction: column; gap: 10px; padding: 26px 0; }
  .keyarea-num { font-size: 26px; }
  .adv-banner img { height: 240px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media screen and (max-width: 480px) {
  .brand-text em { display: none; }
  .stat-num { font-size: 28px; }
  .card { padding: 26px 22px; }
  .hero-scroll { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-glow::after, .hero-scroll, .app-media img { animation: none; }
  html { scroll-behavior: auto; }
}
