/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #22223a;
    --text-primary: #e8e6f0;
    --text-secondary: #a09cb8;
    --text-muted: #6a6680;
    --accent-gold: #d4a843;
    --accent-gold-light: #f0cc6e;
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-cyan: #06d6f0;
    --accent-red: #ef476f;
    --accent-green: #06d6a0;
    --gradient-hero: linear-gradient(135deg, #1a1030 0%, #0d1b2a 30%, #1a0a20 60%, #0a1628 100%);
    --gradient-card: linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 214, 240, 0.04) 100%);
    --gradient-cta: linear-gradient(135deg, #8b5cf6 0%, #06d6f0 50%, #d4a843 100%);
    --gradient-text: linear-gradient(135deg, #f0cc6e, #8b5cf6, #06d6f0);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(139, 92, 246, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);
    --shadow-gold: 0 0 30px rgba(212, 168, 67, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-title: 'Georgia', 'Noto Serif SC', serif;
    --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --max-width: 1280px;
    --header-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== Starfield Background ===== */
.stars {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.4); }
}

/* ===== Header / Nav ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.header.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-subtle);
}
.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.4);
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s;
    border-radius: 4px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-download-btn {
    padding: 10px 24px;
    background: var(--gradient-cta);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}
.nav-download-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none; border: none;
    padding: 8px;
    z-index: 1001;
}
.mobile-menu-btn span {
    display: block;
    width: 26px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Sections ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    color: var(--accent-purple-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag.tag-gold {
    background: rgba(212,168,67,0.15);
    border-color: rgba(212,168,67,0.25);
    color: var(--accent-gold-light);
}
.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
    margin-bottom: 48px;
}
.section-desc.no-margin { margin-bottom: 0; }
.section-desc.cta-desc { max-width: 560px; margin: 0 auto; }

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--header-height) + 40px) 24px 60px;
    background: var(--gradient-hero);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(6, 214, 240, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 168, 67, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 50px;
    color: var(--accent-gold-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 28px;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 4px var(--accent-gold); }
    50% { box-shadow: 0 0 16px var(--accent-gold); }
}
.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    white-space: nowrap;
}
.hero-title .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
/* ===== Hero Download QR Popup ===== */
.hero-download-wrap {
    position: relative;
    display: inline-flex;
}
.hero-qr-popup {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    transform: translateX(-50%) translateY(8px);
    z-index: 100;
    box-shadow: var(--shadow-glow);
    pointer-events: none;
    white-space: nowrap;
}
.hero-download-wrap:hover .hero-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.hero-qr-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.hero-qr-canvas canvas,
.hero-qr-canvas img {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    font-family: var(--font-body);
}
.btn-primary {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(139, 92, 246, 0.5);
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}
.btn-lg { font-size: 1.1rem; padding: 16px 40px; }
.hero-media {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
}
.hero-banner {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    object-fit: cover;
    aspect-ratio: 1/1;
}
.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 90%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Stats Strip ===== */
.stats-strip {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 32px 24px;
}
.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item .stat-number {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ===== About Section ===== */
.about { background: var(--bg-primary); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.about-image-wrap img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}
.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, transparent 60%, rgba(10,10,15,0.4) 100%);
    pointer-events: none;
}
.about-text .highlight-box {
    padding: 20px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-purple);
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== Features Section ===== */
.features { background: var(--bg-secondary); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-cta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.feature-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== News Section ===== */
.news-section { background: var(--bg-primary); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.35s;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}
.news-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: var(--accent-purple);
    border-radius: 50px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}
.news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.news-card-body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s;
}
.news-card:hover .news-card-body h3 { color: var(--accent-purple-light); }
.news-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

/* ===== Benefits Section ===== */
.benefits { background: var(--bg-primary); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: all 0.3s;
    position: relative;
}
.benefit-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}
.benefit-card .benefit-num {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1.1rem;
}
.benefit-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}
.benefit-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(212, 168, 67, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 36px;
    text-align: center;
    border-radius: var(--radius-lg);
}
.benefit-highlight .big-text {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.benefit-highlight p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ===== Screenshots Gallery ===== */
.screenshots { background: var(--bg-secondary); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Promo Row ===== */
.promo-section {
    background: var(--bg-primary);
    padding: 40px 24px;
}
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.promo-grid img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

/* ===== Video Section ===== */
.video-section { background: var(--bg-primary); }
.video-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    gap: 24px;
}
.video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    aspect-ratio: 16/9;
}
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-label {
    position: absolute;
    top: 16px; left: 16px;
    padding: 6px 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta .section-title {
    margin-bottom: 16px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}
.cta-qr {
    margin-top: 36px;
    text-align: center;
}
.cta-qr-canvas {
    display: inline-block;
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.cta-qr-canvas canvas,
.cta-qr-canvas img {
    display: block;
}
.cta-qr-text {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.cta-info {
    margin-top: 28px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.cta-info strong { color: var(--accent-gold-light); }

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 24px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.footer-logo {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    list-style: none;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent-purple-light); }
.footer-friendly {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}
.footer-friendly-title {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.footer-friendly-links {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-friendly-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.25s;
    text-decoration: none;
}
.footer-friendly-links a:hover {
    color: var(--accent-purple-light);
    background: rgba(139, 92, 246, 0.1);
}
.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 20px;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
    pointer-events: none;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    color: #fff;
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 60px rgba(139,92,246,0.2);
}
.lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: none; border: none;
    z-index: 2;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--accent-purple); }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-subtitle { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-media { order: -1; }
    .hero-banner { max-height: 400px; object-fit: cover; }
    .about-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .promo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(10, 10, 15, 0.96);
        backdrop-filter: blur(20px);
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 1000;
    }
    .nav-links a { font-size: 1.2rem; }
    .mobile-menu-btn { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 64px 20px; }
    .hero { padding: calc(var(--header-height) + 20px) 20px 40px; }
    .stats-strip { padding: 24px 20px; }
    .promo-section { padding: 32px 20px; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-qr-popup { display: none; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .feature-card { padding: 24px 20px; }
    .benefit-card { padding: 20px; flex-direction: column; }
    .promo-grid { grid-template-columns: 1fr 1fr; }
}
