:root {
    --primary: #d4a843;
    --primary-dark: #b8912e;
    --accent: #e63946;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-section: #0d0d0d;
    --text: #e0d6c2;
    --text-muted: #9a8b7a;
    --border: #2a2218;
    --gold-grad: linear-gradient(135deg, #d4a843, #f0d68a, #b8912e);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.2);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid rgba(212, 168, 67, 0.5);
}
.nav-logo span {
    font-size: 1.45rem;
    font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-grad);
    transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-btn {
    padding: 11px 28px;
    background: var(--gold-grad);
    color: #1a1a1a;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    letter-spacing: 1px;
}
.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.75) 0%,
            rgba(10, 10, 10, 0.6) 50%,
            rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    border: 3px solid rgba(212, 168, 67, 0.6);
    margin-bottom: 24px;
    box-shadow: 0 0 60px rgba(212, 168, 67, 0.3);
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(212, 168, 67, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 3px;
    backdrop-filter: blur(10px);
    background: rgba(212, 168, 67, 0.05);
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: 4px;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(212, 168, 67, 0.4));
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 6px;
    font-weight: 300;
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(224, 214, 194, 0.7);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.hero-btn-wrap {
    position: relative;
    display: flex;
}
.hero-btn-wrap .btn-primary {
    margin: 0;
}
.btn-primary {
    padding: 14px 40px;
    background: var(--gold-grad);
    color: #1a1a1a;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 168, 67, 0.5);
}
.btn-outline {
    padding: 14px 40px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: rgba(212, 168, 67, 0.1);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.2);
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
}
.section-dark {
    background: var(--bg-section);
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    padding: 4px 16px;
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: 3px;
}
.section-title span {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* ===== Video Teaser ===== */
.video-section {
    padding: 0 0 100px;
}
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 67, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
}
.video-wrapper video {
    width: 100%;
    display: block;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: opacity 0.3s;
}
.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.play-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
}
.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 22px solid #1a1a1a;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 4px;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-grad);
    transition: width 0.4s;
}
.feature-card:hover::before {
    width: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.2);
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: 1px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== Benefits ===== */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}
.benefit-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.benefit-item:hover {
    border-color: rgba(212, 168, 67, 0.4);
    transform: translateX(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.benefit-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(212, 168, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(212, 168, 67, 0.3);
}
.benefit-info h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text);
}
.benefit-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Screenshots ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 980 / 520;
    border: 1px solid var(--border);
    transition: all 0.4s;
}
.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.screenshot-item:hover img {
    transform: scale(1.08);
}
.screenshot-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(212, 168, 67, 0.2);
}
.screenshot-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: transform 0.3s;
    pointer-events: none;
}
.screenshot-item:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Stats ===== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.05), rgba(212, 168, 67, 0.02));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item .stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}
.cta-card {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.08), rgba(212, 168, 67, 0.02));
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
}
.cta-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.cta-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== QR Code ===== */
.qrcode-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}
.qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}
.qrcode-popup.show {
    opacity: 1;
    visibility: visible;
}
.qrcode-popup canvas,
.qrcode-popup img {
    display: block;
    width: 140px;
    height: 140px;
}
.dl-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 0;
}
.dl-qrcode canvas,
.dl-qrcode img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(212, 168, 67, 0.35);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(212, 168, 67, 0.5);
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}
.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    margin-bottom: 16px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary);
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    margin-bottom: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.friend-links span {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.friend-links a {
    color: rgba(224, 214, 194, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}
.friend-links a:hover {
    color: var(--primary);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    #gallery .screenshots-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
    }
    .navbar.menu-open {
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(212, 168, 67, 0.2);
    }
    .menu-toggle {
        display: block;
    }
    .nav-btn {
        display: none;
    }
    .nav-links .nav-btn-mobile {
        display: block;
        text-align: center;
        padding: 12px 24px;
        background: var(--gold-grad);
        color: #1a1a1a;
        border-radius: 25px;
        font-weight: 700;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-btn-wrap {
        width: 100%;
    }
    .hero-btn-wrap .btn-primary {
        width: 100%;
        text-align: center;
    }
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    .footer-links {
        gap: 12px 16px;
    }
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 64px 0;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-item .stat-num {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cta-card {
        padding: 40px 24px;
    }
    .hero-icon {
        width: 72px;
        height: 72px;
    }
    .nav-logo span {
        font-size: 1.15rem;
    }
}
