:root {
    --bg: #08090e;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.09);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f7f8ff;
    --muted: #aeb5c7;
    --accent: #00e5ff;
    --accent-warm: #ffd166;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100%;
    font-family: "Poppins", "Microsoft YaHei", sans-serif;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #08090e 0%, #11151f 54%, #07070a 100%);
    background-size: 64px 64px, 64px 64px, auto;
    color: var(--text);
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
    z-index: 0;
    pointer-events: none;
}

body > nav,
main {
    position: relative;
    z-index: 1;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px clamp(20px, 5vw, 56px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: rgba(8, 9, 14, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.logo {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.hero {
    min-height: 92svh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 128px 24px 72px;
}

.hero-content {
    width: min(920px, 100%);
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--accent-warm);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-content h1 {
    margin-bottom: 24px;
    font-size: clamp(2.4rem, 8vw, 5.6rem);
    line-height: 1.05;
    font-weight: 600;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}

.hero-copy {
    max-width: 680px;
    margin: 0 auto 40px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn,
.ghost-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn {
    color: #061016;
    background: var(--accent);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}

.btn:hover,
.ghost-link:hover {
    transform: translateY(-2px);
}

.btn:hover {
    box-shadow: 0 0 34px rgba(0, 229, 255, 0.48);
}

.ghost-link {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.ghost-link:hover {
    background: var(--surface-strong);
}

.section-shell {
    padding: 76px clamp(20px, 6vw, 72px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 9, 14, 0.76);
}

.section-inner {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.section-inner h2 {
    margin-bottom: 24px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-copy {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.preview-item {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.preview-item span {
    display: block;
    margin-bottom: 22px;
    color: var(--accent);
    font-weight: 600;
}

.preview-item h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.preview-item p {
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 720px) {
    nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 94svh;
        padding-top: 156px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .ghost-link {
        width: min(100%, 320px);
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
