/* 首页样式 — 浅色科技风（Hero深底 + 其余浅底 + 青绿主色 + 重度动效） */
:root {
  --h-bg: #fafcff;
  --h-bg-soft: #f0f5fa;
  --h-bg-dark: #030b1a;
  --h-primary: #00d4aa;
  --h-primary-l: #0ef6cc;
  --h-primary-d: #009d7e;
  --h-gold: #f0c040;
  --h-text: #0a1e3d;
  --h-text2: #4a5e7a;
  --h-text3: #8a9bb5;
  --h-border: #e2eaf2;
  --h-border-glow: rgba(0,212,170,.15);
  --h-card: #ffffff;
  --h-card-shadow: 0 4px 20px rgba(0,212,170,.06);
  --h-navy: #0a1428;
  --h-font: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--h-font); font-size: 16px; line-height: 1.7; color: var(--h-text); background: var(--h-bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--h-border); transition: background .3s; }
.site-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--h-primary), transparent); opacity: .3; }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 12px rgba(0,212,170,.2); }
.brand-text { font-size: 18px; font-weight: 700; color: var(--h-text); letter-spacing: .5px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a.menu-link { color: var(--h-text2); font-size: 15px; padding: 8px 16px; border-radius: 6px; transition: .2s; white-space: nowrap; }
.main-nav > a.menu-link:hover { color: var(--h-primary-d); background: rgba(0,212,170,.06); }
.nav-dd { position: relative; margin-left: 8px; }
.nav-dd > button { background: none; border: 1px solid var(--h-border-glow); color: var(--h-primary-d); font-size: 14px; font-family: inherit; cursor: pointer; padding: 8px 16px; border-radius: 20px; transition: .2s; }
.nav-dd > button:hover { background: rgba(0,212,170,.06); border-color: var(--h-primary); }
.nav-dd-menu { display: none; position: absolute; right: 0; top: 48px; background: var(--h-card); border: 1px solid var(--h-border); border-radius: 8px; box-shadow: 0 12px 40px rgba(0,30,61,.1); min-width: 170px; padding: 8px 0; z-index: 120; }
.nav-dd.open .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 10px 20px; color: var(--h-text2); font-size: 14px; transition: .15s; }
.nav-dd-menu a:hover { background: rgba(0,212,170,.06); color: var(--h-primary-d); }
.menu-toggle { display: none; background: none; border: 0; color: var(--h-text); cursor: pointer; padding: 4px; }
.mobile-nav { display: none; }

/* ─── Hero (deep dark block) ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 72px; background: var(--h-bg-dark); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100%; height: 100%; display: block; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(0,212,170,.06) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(240,192,64,.04) 0%, transparent 50%); z-index: 1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; }
.hero-orb-1 { width: 400px; height: 400px; right: -100px; top: 15%; background: radial-gradient(circle, rgba(0,212,170,.1) 0%, transparent 70%); animation: orb-float 8s ease-in-out infinite; }
.hero-orb-2 { width: 300px; height: 300px; left: -80px; bottom: 10%; background: radial-gradient(circle, rgba(240,192,64,.06) 0%, transparent 70%); animation: orb-float 10s ease-in-out infinite reverse; }
@keyframes orb-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-copy { max-width: 640px; }
.hero-line { will-change: transform, opacity; }
.hero-copy .eyebrow { font-size: 14px; font-weight: 600; color: var(--h-primary); letter-spacing: 2px; margin-bottom: 16px; display: inline-block; padding: 4px 12px; border: 1px solid rgba(0,212,170,.3); border-radius: 20px; background: rgba(0,212,170,.06); }
.hero-copy h1 { font-size: 48px; line-height: 1.2; font-weight: 700; color: #f0f4ff; margin-bottom: 20px; }
.hero-copy h1 span.glow { color: var(--h-primary-l); text-shadow: 0 0 20px rgba(0,212,170,.3); }
.hero-copy p { font-size: 17px; line-height: 1.8; color: rgba(200,220,240,.8); margin-bottom: 36px; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-glow { display: inline-flex; align-items: center; gap: 8px; background: var(--h-primary); color: #030b1a; font-size: 15px; font-weight: 600; padding: 14px 32px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit; position: relative; overflow: hidden; transition: box-shadow .3s, transform .2s; }
.btn-glow:hover { box-shadow: 0 0 24px rgba(0,212,170,.4), 0 4px 16px rgba(0,212,170,.2); transform: translateY(-1px); }
.btn-glow::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%); transform: rotate(45deg) translateX(-100%); transition: none; }
.btn-glow:hover::after { transform: rotate(45deg) translateX(100%); transition: transform .6s; }
.btn-ghost-h { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #f0f4ff; font-size: 15px; padding: 14px 32px; border-radius: 8px; border: 1px solid rgba(200,220,240,.25); cursor: pointer; font-family: inherit; transition: .2s; }
.btn-ghost-h:hover { border-color: var(--h-primary); color: var(--h-primary-l); background: rgba(0,212,170,.05); }
.btn-outline-h { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--h-primary-d); font-size: 15px; padding: 14px 32px; border-radius: 8px; border: 1px solid var(--h-border-glow); cursor: pointer; font-family: inherit; transition: .2s; }
.btn-outline-h:hover { border-color: var(--h-primary); color: var(--h-primary); background: rgba(0,212,170,.04); }

/* ─── Section Common (light) ─── */
.sec { padding: 120px 0; position: relative; }
.sec-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--h-primary), transparent); opacity: .15; margin: 0 auto; max-width: 800px; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-size: 36px; font-weight: 700; color: var(--h-text); margin-bottom: 16px; }
.sec-head p { font-size: 16px; color: var(--h-text2); max-width: 600px; margin: 0 auto; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ─── What is GEO ─── */
.what-sec { background: var(--h-bg-soft); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card { background: var(--h-card); border: 1px solid var(--h-border); border-radius: 10px; padding: 32px 28px; position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s; will-change: transform; }
.cap-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(0,212,170,.04) 0%, transparent 60%); opacity: 0; transition: opacity .3s; }
.cap-card:hover { border-color: rgba(0,212,170,.25); box-shadow: 0 8px 32px rgba(0,212,170,.08); transform: translateY(-3px); }
.cap-card:hover::before { opacity: 1; }
.cap-card .ic-wrap { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(0,212,170,.08); margin-bottom: 18px; color: var(--h-primary); }
.cap-card h4 { font-size: 18px; font-weight: 700; color: var(--h-text); margin-bottom: 10px; }
.cap-card p { font-size: 14px; line-height: 1.7; color: var(--h-text2); margin: 0; }

/* ─── Products ─── */
.prod-sec { background: var(--h-bg); }
.ptabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.ptab { border: 1px solid var(--h-border); color: var(--h-text2); background: transparent; border-radius: 8px; padding: 12px 28px; font-size: 15px; font-family: inherit; cursor: pointer; transition: .25s; }
.ptab:hover { border-color: rgba(0,212,170,.3); color: var(--h-text); }
.ptab.on { background: rgba(0,212,170,.08); border-color: var(--h-primary); color: var(--h-primary-d); font-weight: 600; }
.prod-panel { max-width: 1000px; margin: 0 auto; background: var(--h-card); border: 1px solid var(--h-border); border-radius: 12px; padding: 44px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; animation: panel-in .4s ease; box-shadow: var(--h-card-shadow); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.prod-panel h3 { font-size: 24px; color: var(--h-text); margin-bottom: 10px; }
.prod-panel .tagline { color: var(--h-text2); margin-bottom: 20px; }
.sell li { position: relative; padding-left: 20px; margin: 10px 0; color: var(--h-text2); font-size: 15px; }
.sell li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--h-primary); box-shadow: 0 0 6px var(--h-primary); }
.more-link { display: inline-block; margin-top: 24px; color: var(--h-primary-d); font-weight: 600; font-size: 15px; transition: .2s; }
.more-link:hover { color: var(--h-primary); }
.lk-list { display: flex; flex-direction: column; gap: 12px; }
.lk { display: flex; align-items: center; gap: 12px; background: var(--h-bg-soft); border: 1px solid var(--h-border); padding: 16px 20px; border-radius: 8px; transition: .2s; }
.lk:hover { border-color: rgba(0,212,170,.25); background: rgba(0,212,170,.03); }
.lk .t { flex: 1; }
.lk .t strong { color: var(--h-text); font-size: 15px; display: block; }
.lk .t span { font-size: 13px; color: var(--h-text3); }
.lk .go { background: var(--h-primary); color: #fff; border-radius: 6px; padding: 9px 18px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: .2s; }
.lk .go:hover { box-shadow: 0 0 12px rgba(0,212,170,.3); }

/* ─── Resources ─── */
.res-sec { background: var(--h-bg-soft); }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.res-card { background: var(--h-card); border: 1px solid var(--h-border); border-radius: 10px; padding: 32px 20px; text-align: center; transition: .3s; position: relative; overflow: hidden; }
.res-card::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 60%; height: 2px; background: linear-gradient(90deg, transparent, var(--h-primary), transparent); transform: translateX(-50%) scaleX(0); transition: transform .3s; }
.res-card:hover { border-color: rgba(0,212,170,.25); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,212,170,.08); }
.res-card:hover::after { transform: translateX(-50%) scaleX(1); }
.res-icon { color: var(--h-primary); margin-bottom: 16px; }
.res-icon svg { width: 36px; height: 36px; }
.res-card h4 { font-size: 15px; color: var(--h-text); margin-bottom: 8px; }
.res-card p { font-size: 13px; line-height: 1.6; color: var(--h-text2); margin: 0; }

/* ─── Knowledge Base ─── */
.kb-sec { background: var(--h-bg); }
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kb-card { background: var(--h-card); border: 1px solid var(--h-border); border-radius: 10px; padding: 28px; transition: .3s; }
.kb-card:hover { border-color: rgba(0,212,170,.25); box-shadow: 0 4px 24px rgba(0,212,170,.08); transform: translateY(-3px); }
.kb-card .meta { font-size: 12px; color: var(--h-text3); margin-bottom: 12px; }
.kb-card h4 { font-size: 17px; color: var(--h-text); margin-bottom: 10px; line-height: 1.4; }
.kb-card p { font-size: 14px; line-height: 1.7; color: var(--h-text2); margin-bottom: 14px; }
.kb-card a.read { color: var(--h-primary-d); font-weight: 600; font-size: 14px; transition: .2s; }
.kb-card a.read:hover { color: var(--h-primary); }

/* ─── CTA ─── */
.cta-sec { background: var(--h-bg-dark); border-top: 1px solid var(--h-border-glow); }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 30px; font-weight: 700; color: #f0f4ff; margin-bottom: 16px; }
.cta-inner p { font-size: 16px; color: rgba(200,220,240,.7); margin-bottom: 32px; line-height: 1.8; }

/* ─── Footer ─── */
.site-footer { background: var(--h-navy); border-top: 1px solid var(--h-border-glow); padding: 40px 0; }
.footer-bottom p { font-size: 14px; color: var(--h-text3); text-align: center; }
.footer-bottom a { color: rgba(200,220,240,.7); transition: .2s; }
.footer-bottom a:hover { color: var(--h-primary); }
.footer-bottom .sep { margin: 0 12px; opacity: .4; }
.footer-bottom .note { display: block; margin-top: 10px; font-size: 12px; opacity: .5; }

/* ─── Utilities ─── */
.demo-flag { position: fixed; right: 12px; top: 84px; z-index: 150; background: var(--h-card); border: 1px solid var(--h-border-glow); color: var(--h-text3); font-size: 12px; padding: 4px 10px; border-radius: 6px; box-shadow: var(--h-card-shadow); }
.demo-panel { position: fixed; right: 12px; bottom: 12px; z-index: 150; background: var(--h-card); border: 1px solid var(--h-border-glow); border-radius: 8px; padding: 12px 16px; font-size: 13px; color: var(--h-text2); }
.demo-panel strong { color: var(--h-text); display: block; margin-bottom: 4px; }
.demo-panel a { display: block; margin: 4px 0; color: var(--h-primary-d); }
.demo-panel a:hover { color: var(--h-primary); }
.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 200; background: var(--h-card); border: 1px solid var(--h-primary); color: var(--h-primary-d); padding: 10px 24px; border-radius: 8px; font-size: 14px; display: none; box-shadow: 0 4px 24px rgba(0,212,170,.15); }
.toast.show { display: block; }
.kb-more, .res-more { text-align: center; margin-top: 40px; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 36px; }
}
@media (max-width: 767px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { backdrop-filter: blur(8px); }
  .mobile-nav { display: none; background: var(--h-card); border-top: 1px solid var(--h-border); padding: 12px 24px 20px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; color: var(--h-text2); padding: 10px 0; font-size: 15px; }
  .hero { min-height: 80vh; }
  .hero-copy h1 { font-size: 28px; }
  .hero-orb-1, .hero-orb-2 { display: none; }
  .sec { padding: 80px 0; }
  .sec-head h2 { font-size: 26px; }
  .cap-grid, .kb-grid, .res-grid { grid-template-columns: 1fr; }
  .prod-panel { grid-template-columns: 1fr; padding: 28px 20px; }
  .ptabs { gap: 8px; }
  .ptab { padding: 10px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-orb-1, .hero-orb-2 { animation: none; }
  .btn-glow::after { display: none; }
  @keyframes panel-in { from { opacity: 1; transform: none; } }
}
