/* ============================================
   EastSolve — 官网样式
   科技感极简 · 深色 · 渐变光效
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: #07070b;
  color: #e8e8ee;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg__glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.bg__glow--1 { width: 600px; height: 600px; background: radial-gradient(circle, #6366f1, transparent 70%); top: -200px; left: -100px; }
.bg__glow--2 { width: 500px; height: 500px; background: radial-gradient(circle, #a855f7, transparent 70%); top: 200px; right: -150px; opacity: .35; }

.grad-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f0abfc 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: all .25s cubic-bezier(.4,0,.2,1); white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; box-shadow: 0 4px 20px rgba(99,102,241,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.5); }
.btn--ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #e8e8ee; backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all .3s ease; }
.nav.scrolled { background: rgba(7,7,11,.72); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.nav__logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-weight: 900; font-size: 17px; box-shadow: 0 2px 12px rgba(99,102,241,.4); }
.nav__logo-text { letter-spacing: -.02em; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 15px; font-weight: 500; color: #a8a8b3; transition: color .2s; position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #6366f1, #c084fc); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 100px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 600; transition: all .2s; }
.lang-toggle:hover { background: rgba(255,255,255,.1); }
.lang-toggle__active { color: #fff; }
.lang-toggle__sep { color: #555; }
.lang-toggle__inactive { color: #666; }
.lang-toggle.is-en .lang-toggle__active { color: #666; }
.lang-toggle.is-en .lang-toggle__inactive { color: #fff; }
.nav__menu { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__menu span { width: 22px; height: 2px; background: #e8e8ee; border-radius: 2px; transition: all .3s; }

.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; }
.hero__inner { max-width: 820px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 100px; background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.25); font-size: 13px; font-weight: 500; color: #a5b4fc; margin-bottom: 32px; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #818cf8; box-shadow: 0 0 12px #818cf8; animation: pulse 2s infinite; }
.hero__title { font-size: clamp(40px, 7vw, 80px); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 28px; }
.hero__desc { font-size: clamp(16px, 2vw, 20px); color: #a8a8b3; max-width: 620px; margin: 0 auto 40px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats { display: flex; gap: 48px; justify-content: center; }
.hero__stat { text-align: center; }
.hero__stat strong { display: block; font-size: 32px; font-weight: 800; background: linear-gradient(135deg, #fff, #a8a8b3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__stat span { font-size: 13px; color: #666; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; color: #555; letter-spacing: .1em; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, #555, transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%; background: #818cf8; animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.section { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 120px 24px; }
.section__head { text-align: center; margin-bottom: 64px; }
.section__tag { display: inline-block; padding: 6px 16px; border-radius: 100px; background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2); font-size: 13px; font-weight: 600; color: #a5b4fc; margin-bottom: 20px; letter-spacing: .02em; }
.section__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 16px; }
.section__sub { font-size: 18px; color: #a8a8b3; max-width: 560px; margin: 0 auto; }

.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about__text p { font-size: 18px; color: #c0c0cc; margin-bottom: 20px; line-height: 1.8; }
.about__values { display: flex; flex-direction: column; gap: 20px; }
.value { padding: 28px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: all .3s; }
.value:hover { background: rgba(255,255,255,.05); border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
.value__icon { font-size: 28px; margin-bottom: 12px; }
.value h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.value p { font-size: 15px; color: #999; line-height: 1.6; }

.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product { padding: 36px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); transition: all .3s; display: flex; flex-direction: column; }
.product:hover { border-color: rgba(99,102,241,.3); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.product--soon { border-style: dashed; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.015); }
.product__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product__emoji { font-size: 40px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: rgba(255,255,255,.05); }
.product__name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.product__status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.product__status-dot { width: 8px; height: 8px; border-radius: 50%; }
.product__status--live { color: #4ade80; }
.product__status--live .product__status-dot { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.product__status--soon { color: #fbbf24; }
.product__status--soon .product__status-dot { background: #fbbf24; }
.product__desc { font-size: 15px; color: #a8a8b3; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.product__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 12px; font-weight: 500; color: #c0c0cc; font-family: 'JetBrains Mono', monospace; }
.product__links { display: flex; gap: 20px; align-items: center; }
.product__link { font-size: 15px; font-weight: 600; color: #a8a8b3; transition: color .2s; }
.product__link:hover { color: #fff; }
.product__link--primary { color: #818cf8; }
.product__link--primary:hover { color: #a5b4fc; }

.capabilities__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap { padding: 32px 24px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: all .3s; }
.cap:hover { background: rgba(255,255,255,.05); border-color: rgba(99,102,241,.25); transform: translateY(-4px); }
.cap__num { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 600; color: #6366f1; margin-bottom: 16px; }
.cap h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cap p { font-size: 14px; color: #999; line-height: 1.6; }

.contact { text-align: center; }
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact__desc { font-size: 18px; color: #a8a8b3; margin: 20px 0 40px; line-height: 1.7; }
.contact__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.08); padding: 64px 24px 32px; margin-top: 40px; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { max-width: 280px; }
.footer__tag { font-size: 14px; color: #666; margin-top: 12px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer__col a { display: block; font-size: 14px; color: #888; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { max-width: 1200px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #555; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,7,11,.95); backdrop-filter: blur(20px); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__right .btn--sm { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .products__grid { grid-template-columns: 1fr; }
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 80px 20px; }
  .capabilities__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .hero__stat strong { font-size: 26px; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__cols { gap: 32px; }
}
