/* ===== CSS Variables ===== */
:root {
  --orange: #FF6B00;
  --orange-light: #ff9845;
  --dark: #0a0a0a;
  --card: #161616;
  --light: #f5f5f5;
  --gray: #a1a1a1;
  --green: #00B578;
  --douyin: #FE2C55;
  --meituan: #FFC300;
  --gray-800: #1f1f1f;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--light);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ===== Layout ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; position: relative; z-index: 10; }

/* ===== Scroll Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.nav-brand span {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff;
}

/* Nav Logo Animation */
.nav-logo-svg {
  overflow: visible;
  filter: drop-shadow(0 1px 3px rgba(255, 107, 0, 0.15));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
  animation: logo-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes logo-entrance {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-15deg);
    filter: drop-shadow(0 0 0 rgba(255, 107, 0, 0));
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 1px 3px rgba(255, 107, 0, 0.15));
  }
}

/* Subtle breathing glow */
.logo-main {
  animation: logo-glow 4s ease-in-out infinite;
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(255, 107, 0, 0)); }
  50%      { filter: drop-shadow(0 0 6px rgba(255, 107, 0, 0.35)); }
}

/* Steam: organic drift upward with gentle sway */
.logo-steam {
  transform-origin: 42px 32px;
  animation: steam-drift 3.5s ease-in-out infinite;
}
@keyframes steam-drift {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 1;   }
  30%  { transform: translateY(-1.5px) translateX(0.5px) scale(1.04); opacity: 0.85; }
  60%  { transform: translateY(-3px) translateX(-0.5px) scale(1.08); opacity: 0.6;  }
  100% { transform: translateY(0) translateX(0) scale(1);   opacity: 1;   }
}

/* Hover: spring bounce + warm glow burst + brand text highlight */
.nav-brand:hover .nav-logo-svg {
  transform: scale(1.18) rotate(-4deg);
  filter: drop-shadow(0 4px 16px rgba(255, 107, 0, 0.55))
          drop-shadow(0 0 8px rgba(255, 72, 0, 0.3));
}
.nav-brand span {
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.nav-brand:hover span {
  color: var(--orange-light);
  text-shadow: 0 0 18px rgba(255, 107, 0, 0.25);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--orange); }
.nav-cta {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255,107,0,0.4);
  transition: box-shadow 0.3s, transform 0.3s;
}
.nav-cta:hover {
  box-shadow: 0 0 25px rgba(255,107,0,0.6);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
}
.mobile-btn svg { width: 2rem; height: 2rem; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10,10,10,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}
.mobile-menu-close:hover { color: var(--orange); transform: rotate(90deg); }
.mobile-menu-close svg { width: 2.5rem; height: 2.5rem; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .mob-cta {
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: var(--orange);
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(255,107,0,0.4);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 80%, rgba(10,10,10,1) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.1);
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}
.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(135deg, #FF6B00 0%, #ff9845 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 40rem;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.btn-primary {
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: var(--orange);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255,107,0,0.3);
  transition: box-shadow 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(255,107,0,0.6);
  transform: translateY(-4px);
}
.btn-outline {
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  transition: background 0.3s, border-color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--orange);
}
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
  cursor: pointer;
}
.scroll-hint-inner {
  width: 2rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.375rem;
}
.scroll-hint-dot {
  width: 0.25rem;
  height: 0.75rem;
  background: var(--orange);
  border-radius: 9999px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Hero entry animation */
.hero-anim {
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 0.8s ease forwards;
}
.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.25s; }
.hero-anim:nth-child(3) { animation-delay: 0.4s; }
.hero-anim:nth-child(4) { animation-delay: 0.55s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Cards ===== */
.glow-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(255,107,0,0.1);
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.glow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255,107,0,0.15);
  border-color: rgba(255,107,0,0.4);
}
.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.75rem;
}
.card-icon.orange {
  background: rgba(255,107,0,0.2);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--orange);
}
.card-icon.green {
  background: rgba(0,181,120,0.2);
  border: 1px solid rgba(0,181,120,0.3);
  color: var(--green);
}
.card-bg-icon {
  position: absolute;
  right: -1rem;
  top: -1rem;
  font-size: 8rem;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}
.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.card p { color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-300);
}
.check-icon { flex-shrink: 0; width: 1rem; height: 1rem; }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
.section-header h2 .accent { color: var(--orange); }
.section-divider {
  width: 5rem;
  height: 4px;
  background: var(--orange);
  margin: 0 auto;
  border-radius: 2px;
}
.section-header p {
  margin-top: 1.5rem;
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Business Matrix ===== */
.biz-row {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: center;
}
.biz-row:last-child { margin-bottom: 0; }
.biz-img-wrap {
  width: 100%;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--gray-800);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.biz-img-wrap img { width: 100%; height: 400px; object-fit: cover; }
.biz-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: overlay;
}
.biz-img-overlay.orange { background: rgba(255,107,0,0.1); }
.biz-img-overlay.green { background: rgba(0,181,120,0.1); }
.biz-badge-float {
  position: absolute;
  z-index: 20;
  background: rgba(0,0,0,0.7);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.biz-badge-float.left { bottom: 1.5rem; left: 1.5rem; }
.biz-badge-float.right { bottom: 1.5rem; right: 1.5rem; text-align: right; }
.biz-badge-float p:first-child { color: #fff; font-weight: 700; }
.biz-badge-float p:last-child { font-size: 0.75rem; }
.biz-text { width: 100%; }
.biz-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.biz-tag.orange { background: rgba(255,107,0,0.1); color: var(--orange); }
.biz-tag.green { background: rgba(0,181,120,0.1); color: var(--green); }
.biz-text h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.biz-text > p {
  color: var(--gray);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.biz-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.biz-feature {
  background: var(--card);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-800);
}
.biz-feature h4 {
  color: #fff;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
}
.biz-feature p { font-size: 0.875rem; color: var(--gray-400); }

/* ===== Omnichannel Cards ===== */
.channel-card {
  text-align: center;
}
.channel-card .icon-wrap {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.channel-card:hover .icon-wrap { transform: scale(1.1); }
.channel-card .icon-wrap.douyin { background: rgba(254,44,85,0.1); }
.channel-card .icon-wrap.green {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgba(0,181,120,0.1);
}
.channel-card .icon-wrap.meituan { background: rgba(255,195,0,0.1); }
.channel-card h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.channel-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.channel-tag.douyin { background: rgba(254,44,85,0.2); color: var(--douyin); }
.channel-tag.green { background: rgba(0,181,120,0.2); color: var(--green); }
.channel-tag.meituan { background: rgba(255,195,0,0.2); color: var(--meituan); }
.channel-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
  text-align: left;
}
/* WeChat special border */
.channel-card.wechat {
  border-color: rgba(0,181,120,0.3);
  box-shadow: 0 0 30px rgba(0,181,120,0.05);
}
.channel-card.wechat .top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
}

/* ===== CTA / Contact ===== */
.cta-section {
  background: #050505;
  border-top: 1px solid var(--gray-800);
}
.cta-box {
  background: linear-gradient(to right, var(--card), #1a1310);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(255,107,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.cta-box h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-box > div:first-child p { color: var(--gray); font-size: 1.125rem; }
.cta-btn-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-btn {
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: var(--orange);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255,107,0,0.4);
  transition: box-shadow 0.3s, transform 0.3s;
}
.cta-btn:hover {
  box-shadow: 0 0 30px rgba(255,107,0,0.7);
  transform: scale(1.05);
}
.cta-hint { font-size: 0.75rem; color: var(--gray-500); }

/* ===== Footer ===== */
.footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand span { font-size: 1.25rem; font-weight: 900; color: #fff; letter-spacing: 0.15em; }
.footer-info { font-size: 0.875rem; color: var(--gray-500); text-align: center; }
.footer-info .sub { font-size: 0.75rem; opacity: 0.8; margin-top: 0.5rem; }
.footer-info a { transition: color 0.2s; }
.footer-info a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 1rem; }
.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover { background: var(--orange); color: #fff; }
.social-icon svg { width: 1.25rem; height: 1.25rem; }

/* ===== Media Queries ===== */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .biz-features { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .nav-links { display: flex; }
  .mobile-btn { display: none; }
  .card-grid-2 { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .biz-row { flex-direction: row; }
  .biz-row.reverse { flex-direction: row-reverse; }
  .biz-img-wrap { width: 50%; flex-shrink: 0; }
  .biz-text { width: 50%; }
  .cta-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 4rem; }
  .footer { flex-direction: row; justify-content: space-between; }
  .footer-info { text-align: left; }

  /* Desktop: enable glassmorphism */
  .nav {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
