* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #07c160;
  --text: #1a1a1a;
  --text-2: #666;
  --text-3: #999;
  --bg: #fff;
  --bg-soft: #f7f8fa;
  --border: #eee;
  --radius: 12px;
  --header-h: 65px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(255,255,255,.85); backdrop-filter: blur(12px); z-index: 100; border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--border); }
.nav { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 40px; }
.nav-logo img { height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px; font-size: 14px; color: var(--text-2); border-radius: 8px; cursor: pointer; transition: color .15s; }
.nav-item:hover .nav-link, .nav-item.active .nav-link { color: var(--text); }
.nav-item.active .nav-link { font-weight: 600; }
.nav-item.active .nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--primary); }
.nav-item .arrow { transition: transform .2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 20px; font-size: 14px; border-radius: 999px; transition: all .15s; }
.btn-primary { background: #111; color: #fff; }
.btn-primary:hover { background: #333; }
.btn-primary:active { transform: scale(.97); }
.btn-text { color: var(--text); }
.btn-text:hover { background: var(--bg-soft); }
.btn-outline { border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-lg { padding: 12px 32px; font-size: 15px; }
.btn.block { width: 100%; margin-top: 12px; }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.1); opacity: 0; visibility: hidden; transition: all .2s; z-index: 50; }
.has-dropdown:hover .dropdown, .download-wrap:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cards-dropdown { display: flex; gap: 12px; padding: 12px; width: 460px; }
.promo-card { flex: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.promo-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.promo-thumb img { width: 100%; height: 90px; object-fit: cover; }
.promo-body { padding: 10px 12px; }
.promo-title { font-size: 14px; font-weight: 600; }
.promo-link { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--text-3); }
.list-dropdown { width: 260px; padding: 8px; display: flex; flex-direction: column; }
.dropdown-item { padding: 9px 12px; font-size: 13px; color: var(--text-2); border-radius: 8px; }
.dropdown-item:hover { background: var(--bg-soft); color: var(--text); }

/* Download dropdown */
.download-wrap { position: relative; }
.download-dropdown { width: 340px; padding: 20px; display: flex; flex-direction: column; gap: 14px; border-radius: 16px; }
.dl-group-title { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.dl-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; font-size: 14px; color: var(--text); background: var(--bg-soft); border-radius: 10px; text-align: left; transition: background .15s; }
.dl-item:hover { background: #eff0f2; }
.dl-item:active { transform: scale(.98); }
.dl-item img { width: 20px; height: 20px; }
.dl-item .badge { margin-left: auto; font-style: normal; font-size: 12px; color: var(--primary); white-space: nowrap; }
.qr-item .qr-pop { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); width: 120px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transition: all .2s; }
.qr-item:hover .qr-pop { opacity: 1; visibility: visible; }
.qr-pop img { width: 100%; height: auto; }

/* Mobile */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; padding: 24px; overflow-y: auto; z-index: 99; }
.mobile-menu.open { display: block; }
.mobile-link { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
.mobile-link.parent { color: var(--text-2); }
.mobile-sublink { display: block; padding: 10px 16px; font-size: 14px; color: var(--text-2); }

/* Hero */
.hero { padding: calc(var(--header-h) + 80px) 24px 0; text-align: center; background: linear-gradient(180deg, #f2fbf6 0%, #fff 60%); overflow: hidden; }
.hero-title { font-size: 84px; font-weight: 550; letter-spacing: -1px; }
.hero-title .accent { color: var(--primary); }
.hero-desc { margin: 20px auto 0; max-width: 680px; font-size: 16px; color: var(--text-2); }
.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-online { font-size: 14px; color: var(--text-2); border-bottom: 1px solid transparent; }
.hero-online:hover { color: var(--primary); }
.hero-shot { max-width: 960px; margin: 56px auto 0; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -12px 48px rgba(0,0,0,.08); }
.hero-shot img { width: 100%; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.eyebrow { font-size: 13px; color: var(--primary); font-weight: 600; letter-spacing: 1px; }
.eyebrow span { color: var(--text-3); font-weight: 400; margin-left: 6px; }
.section h2 { font-size: 36px; margin-top: 10px; }
.section-desc { margin: 14px auto 0; max-width: 560px; color: var(--text-2); font-size: 15px; }

/* Scenario tabs */
.tabs { margin: 36px auto 0; display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 999px; }
.tab { padding: 8px 24px; font-size: 14px; color: var(--text-2); border-radius: 999px; transition: all .2s; }
.tab.active { background: #111; color: #fff; }
.scene-panels { margin-top: 40px; position: relative; }
.scene-panel { display: none; align-items: center; gap: 48px; text-align: left; animation: fadeIn .3s ease; }
.scene-panel.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.scene-text { flex: 0 0 340px; }
.scene-text h3 { font-size: 26px; }
.scene-sub { margin-top: 6px; font-size: 16px; color: var(--text); font-weight: 500; }
.scene-text p:last-child { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.scene-img { flex: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.scene-img img { width: 100%; }

/* Ecosystem */
.ecosystem { background: var(--bg-soft); max-width: none; }
.ecosystem > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.eco-marquee { margin: 48px auto 0; max-width: 960px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.eco-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.eco-track:hover { animation-play-state: paused; }
.eco-group { display: flex; gap: 24px; padding-right: 24px; }
.eco-card { display: flex; align-items: center; justify-content: center; width: 180px; height: 73px; background: #fff; border: 1px solid var(--border); border-radius: 14px; flex-shrink: 0; }
.eco-card img { max-width: 70%; max-height: 60%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Privacy */
.privacy-cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.privacy-card { padding: 32px 24px; background: var(--bg-soft); border-radius: var(--radius); text-align: left; transition: transform .2s, box-shadow .2s; }
.privacy-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.privacy-card img { width: 40px; height: 40px; }
.privacy-card h3 { margin-top: 16px; font-size: 17px; }
.privacy-card p { margin-top: 8px; font-size: 13px; color: var(--text-2); }

/* Download section */
.download { background: linear-gradient(180deg, #fff, #f2fbf6); max-width: none; }
.download > * { max-width: 1052px; margin-left: auto; margin-right: auto; }
.dl-cols { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; }
.dl-col h4 { font-size: 14px; color: var(--text-3); margin-bottom: 12px; }
.dl-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; margin-bottom: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: all .15s; text-align: left; }
.dl-btn:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(7,193,96,.12); }
.dl-btn:active { transform: scale(.98); }
.dl-btn > img:first-child { width: 26px; height: 26px; }
.dl-btn span { flex: 1; display: flex; flex-direction: column; }
.dl-btn strong { font-size: 15px; }
.dl-btn small { font-size: 12px; color: var(--text-3); }
.dl-qr { width: 40px; height: 40px; border-radius: 6px; }

/* Footer */
.footer { background: #111; color: #ccc; padding: 64px 24px 32px; }
.footer-main { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.footer-brand img { height: 32px; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 16px; font-size: 13px; color: #888; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h5 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #999; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid #333; font-size: 12px; color: #777; text-align: center; }
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: #aaa; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: #111; color: #fff; padding: 10px 24px; border-radius: 999px; font-size: 14px; opacity: 0; visibility: hidden; transition: all .25s; z-index: 200; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

@media (max-width: 860px) {
  .nav-menu, .nav-actions { display: none; }
  .menu-toggle { display: flex; }
  .nav { justify-content: space-between; }
  .hero-title { font-size: 44px; }
  .section { padding: 64px 20px; }
  .section h2 { font-size: 26px; }
  .scene-panel { flex-direction: column; gap: 24px; }
  .scene-text { flex: none; }
  .privacy-cards { grid-template-columns: 1fr; }
  .dl-cols { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* Scenarios layout (original) */
.scenarios { max-width: 1200px; text-align: left; }
.scenarios .eyebrow { text-align: left; }
.scenarios .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-top: 10px; }
.scenarios .section-head h2 { font-size: 52px; font-weight: 600; margin-top: 0; flex-shrink: 0; }
.scenarios .section-head .section-desc { margin: 0 0 8px; max-width: 400px; text-align: left; }
.scenarios .tabs { margin: 40px 0 0; display: inline-flex; }
.scenarios .scene-panels { margin-top: 32px; }
.scenarios .scene-panel { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 0 0 0 72px; gap: 64px; align-items: stretch; overflow: hidden; }
.scenarios .scene-text { flex: 0 0 300px; padding: 72px 0; align-self: center; }
.scenarios .scene-text h3 { font-size: 32px; font-weight: 600; }
.scenarios .scene-sub { font-size: 18px; margin-top: 10px; }
.scenarios .scene-img { box-shadow: none; border-radius: 0; display: flex; }
.scenarios .scene-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .scenarios .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .scenarios .section-head h2 { font-size: 34px; }
  .scenarios .scene-panel { padding: 32px 24px; gap: 28px; }
}
/* Corner badge */
.scene-panel { position: relative; }
.corner-badge { position: absolute; top: 20px; right: 20px; z-index: 5; padding: 4px 12px; font-size: 12px; color: #fff; background: var(--primary); border-radius: 999px; cursor: default; }
.badge-tip { position: absolute; top: calc(100% + 8px); right: 0; width: 220px; padding: 10px 14px; font-size: 12px; line-height: 1.6; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: all .2s; }
.corner-badge:hover .badge-tip { opacity: 1; visibility: visible; transform: translateY(0); }
/* Section head layout for privacy & download */
.privacy, .download { text-align: left; }
.privacy .eyebrow, .download .eyebrow { text-align: left; }
.privacy .section-head, .download .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-top: 10px; }
.privacy .section-head h2, .download .section-head h2 { font-size: 52px; font-weight: 600; margin-top: 0; flex-shrink: 0; }
.privacy .section-head .section-desc { margin: 0 0 8px; max-width: 400px; text-align: left; }
@media (max-width: 860px) {
  .privacy .section-head, .download .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .privacy .section-head h2, .download .section-head h2 { font-size: 34px; }
}
.dl-cols.single { grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* OS cards */
.os-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 52px 16px 32px; background: var(--bg-soft); border: 1px solid transparent; border-radius: 16px; transition: all .15s; }
.os-card:hover { border-color: rgba(7,193,96,.35); }
.os-card:active { transform: scale(.98); }
.os-card img { width: 44px; height: 44px; }
.os-card strong { font-size: 16px; font-weight: 600; }
.os-card.current { background: rgba(7,193,96,.06); border-color: rgba(7,193,96,.2); }
.os-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; color: var(--primary); background: rgba(7,193,96,.14); padding: 4px 16px; border-radius: 0 0 10px 10px; white-space: nowrap; }
@media (max-width: 860px) { .dl-cols.single { grid-template-columns: 1fr; } }
/* Logo name */
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-name { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.footer-logo-wrap { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-wrap .logo-name { color: #fff; font-size: 22px; }
/* Promo thumb (code-drawn) */
.promo-thumb { position: relative; height: 90px; overflow: hidden; }
.promo-thumb::after { content: ""; position: absolute; right: -30px; top: -40px; width: 180px; height: 180px; border-radius: 50%; opacity: .5; filter: blur(2px); }
.thumb-blue { background: linear-gradient(120deg, #dfe5fb 0%, #eef1fd 60%, #f5f7ff 100%); }
.thumb-blue::after { background: radial-gradient(circle at 60% 40%, #c3cdf5 0%, transparent 65%); }
.thumb-green { background: linear-gradient(120deg, #d9efe4 0%, #e8f6ee 60%, #f3faf6 100%); }
.thumb-green::after { background: radial-gradient(circle at 60% 40%, #b9e4cd 0%, transparent 65%); }
.thumb-pill { position: absolute; top: 8px; left: 8px; padding: 1px 7px; font-size: 9px; font-weight: 700; letter-spacing: .3px; border-radius: 5px; background: rgba(255,255,255,.85); }
.thumb-blue .thumb-pill { color: #5a6fc8; }
.thumb-green .thumb-pill { color: #3d9e74; }
.thumb-tag { position: absolute; top: 10px; right: 10px; padding: 2px 9px; font-size: 11px; font-weight: 600; border: 1.5px solid; border-radius: 7px; }
.thumb-blue .thumb-tag { color: #5a6fc8; border-color: #5a6fc8; }
.thumb-green .thumb-tag { color: #3d9e74; border-color: #3d9e74; }
.thumb-text { position: absolute; left: 12px; bottom: 10px; }
.thumb-text small { display: block; font-size: 10px; letter-spacing: .4px; }
.thumb-blue .thumb-text small { color: #8a97d8; }
.thumb-green .thumb-text small { color: #7cbfa0; }
.thumb-text b { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.thumb-blue .thumb-text b { color: #4b5fbf; }
.thumb-green .thumb-text b { color: #2f9168; }