:root {
  --primary: #2980FE;
  --primary-dark: #0f5fd2;
  --text: #1f2937;
  --muted: #687385;
  --soft: #f4f7fb;
  --soft-blue: #eef6ff;
  --line: #e3eaf3;
  --white: #ffffff;
  --deep: #111827;
  --radius-lg: 28px;
  --radius-md: 22px;
  --shadow: 0 18px 50px rgba(41, 128, 254, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 48%, #ffffff 100%);
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 58px 0; }
.section-title { margin: 0 0 14px; font-size: clamp(28px, 5vw, 46px); line-height: 1.15; color: var(--deep); letter-spacing: -.03em; }
.section-lead { margin: 0 0 28px; color: var(--muted); font-size: 16px; max-width: 760px; }
.kicker, .category-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); background: #eef6ff; border: 1px solid #d9eaff; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; }
.kicker::before, .category-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(227,234,243,.85); backdrop-filter: blur(16px); }
.nav-shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--deep); letter-spacing: -.02em; }
.brand-logo, .footer-brand img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px rgba(41,128,254,.18); }
.brand-name { white-space: nowrap; }
.nav-toggle { border: 1px solid var(--line); background: var(--white); color: var(--deep); border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 76px; background: var(--white); padding: 14px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.site-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.site-nav a { padding: 9px 12px; border-radius: 999px; color: #425066; font-size: 14px; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); background: var(--soft-blue); }
.download-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; border: 1px solid var(--primary); box-shadow: 0 14px 32px rgba(41,128,254,.22); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.download-btn:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 20px 42px rgba(41,128,254,.28); }
.web3-hero { position: relative; padding: 54px 0 40px; overflow: hidden; }
.web3-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 10%, rgba(41,128,254,.16), transparent 34%), radial-gradient(circle at 85% 20%, rgba(41,128,254,.10), transparent 30%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-copy h1 { margin: 16px 0 18px; font-size: clamp(36px, 11vw, 68px); line-height: 1.05; letter-spacing: -.055em; color: var(--deep); }
.hero-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 24px 0; }
.security-tags, .floating-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.security-tags span, .floating-tags span, .mini-tag { border: 1px solid #d9eaff; background: rgba(255,255,255,.88); color: #2f5d9b; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; }
.hero-visual { position: relative; min-height: 380px; border-radius: 34px; background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%); border: 1px solid #dcecff; box-shadow: var(--shadow); display: grid; place-items: center; padding: 28px; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(41,128,254,.15); }
.hero-visual img { position: relative; max-height: 420px; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(41,128,254,.16)); }
.floating-tags { position: absolute; inset: auto 18px 18px 18px; justify-content: center; }
.ecosystem-nav { padding: 28px 0 60px; }
.ecosystem-grid, .category-grid { display: grid; gap: 16px; }
.ecosystem-card, .feature-card, .risk-card, .faq-item, .info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; box-shadow: 0 12px 32px rgba(17,24,39,.04); }
.ecosystem-card { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.ecosystem-card .mini-tag { width: fit-content; background: var(--soft-blue); color: var(--primary); }
.ecosystem-card h2, .feature-card h3, .info-card h3 { margin: 14px 0 8px; color: var(--deep); font-size: 21px; line-height: 1.25; }
.ecosystem-card p, .feature-card p, .risk-card p, .info-card p { color: var(--muted); margin: 0 0 14px; }
.text-link { color: var(--primary); font-weight: 800; }
.text-link::after { content: " →"; }
.split-section { display: grid; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.split-section.reverse { background: linear-gradient(145deg, #f7faff, #ffffff); }
.visual-card { border-radius: 26px; background: linear-gradient(145deg, #edf6ff, #ffffff); border: 1px solid #dcecff; padding: 22px; min-height: 260px; display: grid; place-items: center; }
.visual-card img { max-height: 360px; object-fit: contain; }
.check-list, .plain-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.check-list li, .plain-list li { position: relative; padding-left: 30px; color: #405066; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--soft-blue); color: var(--primary); display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.plain-list li::before { content: "•"; position: absolute; left: 8px; color: var(--primary); font-weight: 900; }
.privacy-section, .submit-chain-section, .developer-center-section, .safety-panel, .cta-section { border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(145deg, #ffffff, #f5f9ff); padding: 28px; box-shadow: 0 16px 42px rgba(41,128,254,.08); }
.privacy-grid, .submit-grid, .developer-grid { display: grid; gap: 16px; }
.developer-console { background: #f7faff; border: 1px solid #dcecff; color: #26364d; border-radius: 24px; padding: 20px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; }
.developer-console code { display: block; white-space: pre-wrap; }
.process-steps { display: grid; gap: 14px; counter-reset: step; }
.step-card { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 20px; position: relative; }
.step-number { width: 34px; height: 34px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 12px; }
.step-card h3 { margin: 0 0 8px; color: var(--deep); }
.step-card p { margin: 0 0 12px; color: var(--muted); }
.risk-grid { display: grid; gap: 14px; }
.risk-card { border-left: 4px solid var(--primary); }
.risk-card h3 { margin: 0 0 8px; color: var(--deep); }
.risk-card strong { display: block; color: var(--primary); margin-top: 10px; }
.faq-grid { display: grid; gap: 14px; }
.faq-item h3 { margin: 0 0 10px; color: var(--deep); font-size: 18px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-section { text-align: center; margin: 48px auto; }
.cta-section p { color: var(--muted); max-width: 700px; margin: 0 auto 22px; }
.page-hero { padding: 54px 0 28px; background: radial-gradient(circle at 10% 10%, rgba(41,128,254,.13), transparent 34%); }
.page-hero h1 { margin: 16px 0 14px; color: var(--deep); font-size: clamp(34px, 8vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 800px; margin: 0; }
.content-layout { display: grid; gap: 22px; align-items: start; padding: 30px 0 58px; }
.article-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.article-panel h2 { color: var(--deep); margin: 28px 0 10px; font-size: 25px; }
.article-panel h2:first-child { margin-top: 0; }
.article-panel p { color: #405066; margin: 0 0 16px; }
.side-panel { display: grid; gap: 14px; }
.notice-box { background: var(--soft-blue); border: 1px solid #d8eaff; color: #244c82; border-radius: 22px; padding: 18px; }
.notice-box h3 { margin: 0 0 8px; color: var(--deep); }
.download-page-card { max-width: 860px; margin: 28px auto 58px; text-align: center; }
.download-page-card .download-btn { margin: 8px auto 24px; }
.install-steps { display: grid; gap: 14px; text-align: left; margin-top: 22px; }
.install-step { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.about-values { display: grid; gap: 16px; margin-top: 22px; }
.site-footer { background: #f3f6fb; border-top: 1px solid var(--line); padding: 44px 0 0; color: #506075; }
.footer-grid { display: grid; gap: 26px; }
.footer-grid h2 { font-size: 15px; color: var(--deep); margin: 0 0 12px; }
.footer-grid a:not(.footer-brand) { display: block; color: #5b6879; margin: 8px 0; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { margin-top: 34px; padding: 18px; text-align: center; border-top: 1px solid var(--line); color: #708094; font-size: 13px; }
.footer-brand { margin-bottom: 12px; }
.page-visual-strip { display: grid; gap: 16px; margin: 24px 0; }
.strip-card { border-radius: 24px; background: linear-gradient(135deg, #eef6ff, #ffffff); border: 1px solid #dcecff; padding: 18px; }
.strip-card h3 { margin: 0 0 8px; color: var(--deep); }
.strip-card p { margin: 0; color: var(--muted); }

@media (min-width: 640px) {
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .risk-grid, .about-values, .page-visual-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 2px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .hero-grid { grid-template-columns: 1.03fr .97fr; }
  .web3-hero { padding: 86px 0 64px; }
  .ecosystem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ecosystem-card.wide { grid-column: span 2; }
  .split-section { grid-template-columns: 1fr 1fr; padding: 42px; }
  .split-section.reverse .visual-card { order: -1; }
  .privacy-grid, .submit-grid, .developer-grid { grid-template-columns: 1.05fr .95fr; }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .risk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr .8fr; }
  .section { padding: 76px 0; }
  .privacy-section, .submit-chain-section, .developer-center-section, .safety-panel, .cta-section { padding: 42px; }
}

@media (min-width: 1180px) {
  .ecosystem-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .ecosystem-card { grid-column: span 1; }
  .ecosystem-card.wide { grid-column: span 2; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 24px, 1120px); }
  .hero-visual { min-height: 310px; padding: 18px; border-radius: 26px; }
  .floating-tags { position: static; margin-top: 14px; }
  .download-btn { width: 100%; }
  .site-nav.is-open { grid-template-columns: 1fr; }
  .article-panel, .privacy-section, .submit-chain-section, .developer-center-section, .safety-panel, .cta-section { padding: 22px; }
}
