:root {
    --bg: #0d0d0d;
    --bg-nav: #0d1108;
    --bg-elevated: #1a1a1a;
    --bg-card: #262626;
    --border: #4d4d4d;
    --text: #f2f2f2;
    --text-muted: #a5a5a5;
    --lime: #96e972;
    --lime-deep: #82e23d;
    --lime-soft: #efe866;
    --mint: #40f8c1;
    --green-dark: #1c6212;
    --ink: #0d1108;
    --grad-main: linear-gradient(101.13deg, #a7e826 1.43%, #40f8c1 92.34%);
    --grad-hero: linear-gradient(282.8deg, #efe866 4.71%, #82e23d 89.31%);
    --grad-card: linear-gradient(167.28deg, #26441d 2.84%, #101512 84.11%);
    --grad-cta: linear-gradient(105.95deg, #a7e826 26.24%, #40f8c1 98.2%);
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-glow: 0 0 40px rgba(167, 232, 38, 0.18);
    --primary-color: #0d0d0d;
    --secondary-color: #96e972;
    --text-primary: #f2f2f2;
    --text-secondary: #a5a5a5;
}

html {
    scroll-behavior: smooth;
}

html:not(.i18n-ready) body {
    opacity: 0;
}

body {
    font-family: "PingFang SC", "SF Pro Display", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(900px 480px at 12% -10%, rgba(167, 232, 38, 0.12), transparent 55%),
        radial-gradient(700px 420px at 92% 8%, rgba(64, 248, 193, 0.08), transparent 50%),
        var(--bg);
    line-height: 1.65;
    padding-top: 72px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(150, 233, 114, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 233, 114, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    z-index: 0;
}

#navbar-container,
main,
.site-footer,
.qrcode-modal {
    position: relative;
    z-index: 1;
}

.navbar {
    background: rgba(13, 17, 8, 0.86) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(77, 77, 77, 0.55);
    box-shadow: none;
    padding: 0.7rem 0;
}

.navbar.is-scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.navbar .container,
.navbar .container-fluid {
    max-width: 1180px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.4rem 0.85rem !important;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(150, 233, 114, 0.1);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding: 3px;
    border: 1px solid #4d4d4d;
    border-radius: 999px;
    background: #1a1a1a;
}

.lang-switch button {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.lang-switch button.is-active {
    background: var(--grad-main);
    color: var(--ink);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 80px;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-section::before {
    width: 360px;
    height: 360px;
    left: -80px;
    top: -40px;
    background: rgba(239, 232, 102, 0.16);
}

.hero-section::after {
    width: 320px;
    height: 320px;
    right: -60px;
    bottom: -80px;
    background: rgba(64, 248, 193, 0.12);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lime);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.kicker::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--grad-main);
}

.hero-section h1,
.display-4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.lead,
.hero-section .lead {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin: 0 8px 8px 0;
    border-radius: 999px;
    border: 0.5px solid #96e972;
    color: var(--lime);
    background: rgba(13, 17, 8, 0.4);
    font-size: 13px;
}

.btn-light,
.btn-glow,
.btn-primary {
    background: var(--grad-main) !important;
    border: 0 !important;
    color: var(--ink) !important;
    font-weight: 600;
    border-radius: 999px !important;
    padding: 12px 26px;
    box-shadow: var(--shadow-glow);
}

.btn-light:hover,
.btn-glow:hover,
.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: var(--ink) !important;
}

.btn-ghost {
    background: transparent !important;
    border: 0.5px solid #96e972 !important;
    color: var(--lime) !important;
    font-weight: 600;
    border-radius: 999px !important;
    padding: 12px 26px;
}

.btn-ghost:hover {
    background: rgba(150, 233, 114, 0.1) !important;
    color: #fff !important;
}

.hud-frame {
    position: relative;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(38, 68, 29, 0.45), rgba(16, 21, 18, 0.8));
    border: 0.5px solid rgba(150, 233, 114, 0.28);
    box-shadow: var(--shadow-glow);
}

.hud-frame img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.hud-frame::before,
.hud-frame::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid #a7e826;
}

.hud-frame::before {
    top: 8px;
    left: 8px;
    border-right: 0;
    border-bottom: 0;
}

.hud-frame::after {
    right: 8px;
    bottom: 8px;
    border-left: 0;
    border-top: 0;
}

.section {
    padding: 88px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.7), rgba(13, 13, 13, 0.2));
}

.section-title,
h2 {
    color: #fff;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.section-title::after {
    display: none;
}

.feature-card,
.screenshot-card,
.team-card,
.feature-highlight,
.stat-card {
    background: var(--grad-card);
    border: 0.5px solid rgba(77, 77, 77, 0.9);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.screenshot-card:hover,
.team-card:hover,
.feature-highlight:hover,
.stat-card:hover {
    transform: translateY(-8px);
    border-color: #96e972;
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(167, 232, 38, 0.12);
    color: var(--lime);
    font-size: 1.5rem;
    margin-bottom: 18px;
    text-shadow: none;
}

.intro-panel,
.solution-intro,
.team-intro,
.join-section,
.download-section {
    background: #1a1a1a;
    border: 0.5px solid #4d4d4d;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 2.9px 2.9px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: var(--text-muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad-main);
}

.hero-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.hero-steps span {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.hero-steps i {
    color: var(--lime);
    font-style: normal;
}

.screenshot-img {
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #101512;
}

.screenshot-img img {
    width: 100%;
    height: auto;
    display: block;
}

.qr-code-card {
    background: #fff;
    color: #1a1a1a;
    border-radius: 20px;
    padding: 28px 22px;
    text-align: center;
    height: 100%;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    border-radius: 12px;
    overflow: hidden;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer,
.footer {
    background: var(--bg-nav);
    color: var(--text);
    padding: 42px 0 24px;
    margin-top: 40px;
    border-top: 1px solid #262626;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.social-links a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #262626;
    border: 0.5px solid #4d4d4d;
}

.social-links a:hover {
    color: var(--ink) !important;
    background: var(--grad-main);
    border-color: transparent;
}

.qrcode-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}

.qrcode-content {
    position: relative;
    margin: 10% auto;
    padding: 28px 22px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    background: #1a1a1a;
    border: 0.5px solid #96e972;
    border-radius: 20px;
    box-shadow: var(--shadow-glow);
}

.qrcode-close {
    position: absolute;
    top: 8px;
    right: 16px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.qrcode-content img {
    max-width: 260px;
    width: 100%;
    border-radius: 12px;
    margin-top: 16px;
}

.qrcode-content h5 {
    color: var(--lime);
}

.wechat-icon-wrapper {
    position: relative;
    display: inline-block;
}

.wechat-qr-tooltip {
    display: none;
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    min-width: 200px;
    padding: 16px;
    text-align: center;
    background: #1a1a1a;
    border: 0.5px solid #96e972;
    border-radius: 16px;
    z-index: 20;
}

.wechat-qr-tooltip img {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    margin-top: 8px;
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--lime);
    margin-bottom: 14px;
}

.value-item p,
.feature-card p,
.screenshot-card p,
.feature-highlight p {
    color: var(--text-muted);
}

.join-section strong {
    color: var(--lime);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.7s ease forwards;
}

[data-reveal="2"] { animation-delay: 0.08s; }
[data-reveal="3"] { animation-delay: 0.16s; }
[data-reveal="4"] { animation-delay: 0.24s; }

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }

    .hero-section {
        padding: 56px 0 48px;
    }

    .intro-panel,
    .solution-intro,
    .team-intro,
    .join-section,
    .download-section {
        padding: 28px 20px;
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .lang-switch {
        margin: 12px 0 0;
    }
}
