:root {
    --bg: #0B0F19; --bg-dark: #0B0F19;
    --bg-card-dark: #1C2230; --bg-cloud: #F7F9FC;
    --fg: #0F172A; --fg-light: #FFFFFF;
    --muted: #F1F5F9; --muted-fg: #64748B; --muted-fg-light: #94A3B8;
    --accent: #0052FF; --accent-2: #2F6BFF; --accent-fg: #FFFFFF;
    --border: #E2E8F0; --border-dark: #2A3344;
    --card: #FFFFFF; --card-dark: #1C2230;
    --huawei-red: #C7000B; --huawei-red-dark: #8A0008; --huawei-red-light: #E60012;
    --tech-blue: #2F6BFF; --data-cyan: #00C2FF; --health-green: #00A86B;
    --gold: #F59E0B; --gold-light: #FCD34D;
    --font-display: "HarmonyOS Sans SC", "HarmonyOS Sans", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-body: "HarmonyOS Sans SC", "HarmonyOS Sans", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-mono: "HarmonyOS Sans SC", Consolas, "Courier New", monospace;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-accent: 0 4px 14px rgba(0,82,255,0.3);
    --shadow-accent-lg: 0 8px 24px rgba(0,82,255,0.4);
    --radius: 12px; --radius-lg: 16px; --radius-xl: 24px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg-light); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 50px 0; position: relative; }
.section-dark { background: var(--bg-dark); color: var(--fg-light); }
.section-bg-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); background: rgba(0,82,255,0.08); padding: 5px 12px; border-radius: 100px; margin-bottom: 16px; letter-spacing: 0.5px; }
.section-label-light { color: var(--accent-2); background: rgba(77,124,255,0.12); }
.section-title { font-family: var(--font-display); font-size: clamp(20px, 3vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-title-light { color: var(--fg-light); }
.section-desc { font-size: 15px; color: var(--muted-fg); max-width: 600px; margin: 0 auto; }
.section-desc-light { color: var(--muted-fg-light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 14px; border-radius: var(--radius); padding: 10px 22px; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s ease-out; white-space: nowrap; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-2); box-shadow: var(--shadow-accent-lg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg-light); border: 1px solid var(--border-dark); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--muted-fg-light); transform: translateY(-1px); }
.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-arrow { transition: transform 0.2s ease-out; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250,250,250,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: all 0.3s ease-out; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--fg); }
.logo-icon { font-size: 21px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--muted-fg); transition: color 0.2s ease-out; }
.nav-links a:hover { color: var(--fg); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--fg); border-radius: 2px; transition: all 0.3s ease-out; }

/* Hero */
.hero { padding: 70px 0 50px; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(0,82,255,0.08) 0%, rgba(77,124,255,0.05) 50%, transparent 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.glow-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; }
.glow-2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -100px; left: -100px; opacity: 0.2; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,82,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,82,255,0.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,82,255,0.08); border: 1px solid rgba(0,82,255,0.15); padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 24px; }
.pulse-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.hero-title-accent { color: var(--accent); }
.hero-subtitle { font-size: clamp(14px, 2vw, 17px); color: var(--muted-fg); margin-bottom: 28px; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-num small { font-size: 0.5em; font-weight: 600; }
.stat-label { font-size: 12px; color: var(--muted-fg); font-weight: 500; }

/* Topology Cards */
.topo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.topo-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; transition: all 0.3s ease-out; display: flex; flex-direction: column; gap: 8px; }
.topo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-2); }
.topo-card-featured { border-color: rgba(0,82,255,0.3); background: linear-gradient(135deg, rgba(0,82,255,0.03), var(--card)); }
.topo-card-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topo-badge { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.topo-badge-free { background: rgba(0,82,255,0.1); color: var(--accent); }
.topo-badge-hot { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: white; }
.topo-badge-soon { background: var(--muted); color: var(--muted-fg); }
.topo-diff { font-size: 10px; font-weight: 600; color: var(--muted-fg); background: var(--muted); padding: 3px 10px; border-radius: 100px; }
.topo-icon { font-size: 32px; margin-bottom: 4px; }
.topo-screenshot { margin: 4px 0 8px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.topo-screenshot img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform 0.3s ease-out; }
.topo-card:hover .topo-screenshot img { transform: scale(1.03); }
.topo-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.3; }
.topo-desc { font-size: 12px; color: var(--muted-fg); line-height: 1.5; flex: 1; }
.topo-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted-fg); }
.topo-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.topo-tags span { font-size: 10px; font-weight: 500; color: var(--accent); background: rgba(0,82,255,0.06); padding: 2px 8px; border-radius: 100px; }

/* Guide Cards */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card { background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 24px 20px; transition: all 0.3s ease-out; display: flex; flex-direction: column; gap: 8px; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.guide-card-featured { border-color: rgba(0,82,255,0.3); }
.guide-number { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent-2); }
.guide-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-light); line-height: 1.3; }
.guide-desc { font-size: 12px; color: var(--muted-fg-light); line-height: 1.5; flex: 1; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted-fg-light); }
.guide-sections { display: flex; flex-wrap: wrap; gap: 4px; }
.guide-sections span { font-size: 10px; color: var(--accent-2); }

/* Courseware */
.courseware-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.courseware-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: all 0.3s ease-out; }
.courseware-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-2); }
.courseware-icon { font-size: 36px; margin-bottom: 12px; }
.courseware-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.courseware-card p { font-size: 13px; color: var(--muted-fg); line-height: 1.5; margin-bottom: 12px; }
.courseware-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted-fg); margin-bottom: 16px; }

/* Usage */
.usage-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.usage-step { text-align: center; }
.usage-step-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; font-family: var(--font-display); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--shadow-accent); }
.usage-step h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--fg-light); margin-bottom: 8px; }
.usage-step p { font-size: 13px; color: var(--muted-fg-light); line-height: 1.6; }
.usage-step code { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); background: rgba(77,124,255,0.1); padding: 2px 6px; border-radius: 4px; }
.usage-tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.usage-tip { display: flex; align-items: center; gap: 10px; background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 14px 18px; }
.usage-tip-icon { font-size: 20px; flex-shrink: 0; }
.usage-tip span { font-size: 13px; color: var(--muted-fg-light); line-height: 1.5; }
.usage-tip strong { color: var(--fg-light); }
.usage-cli-preview { max-width: 700px; margin: 0 auto; background: #1a1a2e; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.cli-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #16162a; border-bottom: 1px solid #2a2a4a; }
.cli-dot { width: 12px; height: 12px; border-radius: 50%; }
.cli-dot-red { background: #ff5f56; }
.cli-dot-yellow { background: #ffbd2e; }
.cli-dot-green { background: #27c93f; }
.cli-title { font-size: 12px; color: var(--muted-fg-light); margin-left: 8px; font-family: var(--font-mono); }
.cli-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; color: #e0e0e0; line-height: 1.6; overflow-x: auto; }

/* CTA */
.cta-section { background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(77,124,255,0.05)); }
.cta-content { text-align: center; }
.cta-title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 12px; }
.cta-desc { font-size: 15px; color: var(--muted-fg); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--bg-dark); color: var(--muted-fg-light); padding: 48px 0 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand { }
.footer-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--fg-light); display: block; margin-bottom: 12px; }
.footer-logo .logo-accent { color: var(--huawei-red); }
.footer-brand p { font-size: 13px; color: var(--muted-fg-light); line-height: 1.6; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--fg-light); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted-fg-light); text-decoration: none; margin-bottom: 8px; transition: color 0.2s ease-out; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-motto { color: var(--accent-2); font-weight: 500; }

/* Fade In */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .topo-grid { grid-template-columns: repeat(3, 1fr); }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .topo-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: repeat(1, 1fr); }
    .courseware-grid { grid-template-columns: repeat(2, 1fr); }
    .usage-steps { grid-template-columns: 1fr; }
    .usage-tips { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 24px; gap: 12px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    .topo-grid { grid-template-columns: 1fr; }
    .courseware-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
}