/* ==================== Reset & Base ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #6c3ce0;
    --primary-light: #8b5cf6;
    --primary-dark: #4c1d95;
    --accent: #f43f5e;
    --accent-gold: #f59e0b;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(255,255,255,0.05);
    --bg-card-hover: rgba(255,255,255,0.1);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-bright: #ffffff;
    --border: rgba(255,255,255,0.08);
    --border-glow: rgba(108,60,224,0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 30px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(108,60,224,0.3);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(108,60,224,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(244,63,94,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245,158,11,0.05) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==================== Navigation ==================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(10,10,26,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
}
.nav-logo img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-bright); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(108,60,224,0.4);
    transition: var(--transition);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(108,60,224,0.6);
}
.nav-cta::after { display: none !important; }

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}
.menu-toggle span {
    width: 24px; height: 2px;
    background: var(--text-bright);
    transition: var(--transition);
    border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,10,26,0.3) 0%, var(--bg-dark) 100%);
    z-index: 0;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
    animation: heroScale 20s ease-in-out infinite alternate;
}
@keyframes heroScale {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108,60,224,0.2);
    border: 1px solid var(--border-glow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero-title .gradient-text {
    background: linear-gradient(135deg, #c084fc, #8b5cf6, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 25px rgba(108,60,224,0.5);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(108,60,224,0.7);
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--text-bright);
}
.btn-outline:hover {
    border-color: var(--primary-light);
    background: rgba(108,60,224,0.1);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-stat {
    text-align: center;
}
.hero-stat .stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c084fc, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== Section Common ==================== */
.section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ==================== Features Section ==================== */
.features {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15,15,35,1) 50%, var(--bg-dark) 100%);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 0% 0%, rgba(108,60,224,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
}
.feature-icon.purple { background: rgba(108,60,224,0.2); color: #a78bfa; }
.feature-icon.rose { background: rgba(244,63,94,0.2); color: #fda4af; }
.feature-icon.amber { background: rgba(245,158,11,0.2); color: #fcd34d; }
.feature-icon.emerald { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.feature-icon.sky { background: rgba(14,165,233,0.2); color: #7dd3fc; }
.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-bright);
    margin-bottom: 8px;
    position: relative;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

/* ==================== Characters Section ==================== */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.character-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 9/16;
}
.character-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.character-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.character-card:hover img { transform: scale(1.08); }
.character-card .char-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--text-bright);
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}
.character-card:hover .char-name { opacity: 1; transform: translateY(0); }

/* ==================== Screenshots Section ==================== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.screenshot-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border);
}
.screenshot-card:hover {
    transform: scale(1.03);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}
.screenshot-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Lightbox */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    font-size: 2rem; color: #fff; cursor: pointer;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ==================== Benefits Section ==================== */
.benefits {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15,15,35,1) 50%, var(--bg-dark) 100%);
}
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.benefit-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    align-items: flex-start;
}
.benefit-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(245,158,11,0.15);
    transform: translateX(6px);
}
.benefit-num {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-gold), #fbbf24);
    color: #1a1a2e;
    display: flex;
    align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}
.benefit-content h4 {
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.benefit-content p { color: var(--text-muted); font-size: 0.9rem; }

/* ==================== Video Section ==================== */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border);
    transition: var(--transition);
    background: #000;
}
.video-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-glow); }
.video-card video { width: 100%; display: block; }
.video-card .video-label {
    padding: 16px 20px;
    background: rgba(0,0,0,0.6);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== Guide Section ==================== */
.guide-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15,15,35,1) 50%, var(--bg-dark) 100%);
}
.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.guide-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.guide-tab:hover {
    border-color: var(--primary-light);
    color: var(--text-bright);
}
.guide-tab.active {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-color: var(--primary-light);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108,60,224,0.4);
}
.guide-content {
    max-width: 1000px;
    margin: 0 auto;
}
.guide-panel {
    display: none;
}
.guide-panel.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}
.guide-panel-title {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.guide-panel-title::before {
    content: '';
    width: 4px; height: 24px;
    background: linear-gradient(180deg, var(--primary-light), var(--accent));
    border-radius: 2px;
}
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.guide-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.guide-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 25px rgba(108,60,224,0.15);
}
.guide-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.guide-agent-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
}
.guide-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}
.guide-badge.easy {
    background: rgba(16,185,129,0.15);
    color: #6ee7b7;
}
.guide-badge.hard {
    background: rgba(245,158,11,0.15);
    color: #fcd34d;
}
.guide-badge.medium {
    background: rgba(14,165,233,0.15);
    color: #7dd3fc;
}
.guide-badge.burst {
    background: rgba(244,63,94,0.15);
    color: #fda4af;
}
.guide-badge.sustain {
    background: rgba(139,92,246,0.15);
    color: #c4b5fd;
}
.guide-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.guide-card-text .highlight {
    color: var(--accent-gold);
    font-weight: 600;
}
.guide-card-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.guide-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.guide-detail-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.guide-detail-value {
    font-size: 0.9rem;
    color: var(--text-bright);
    font-weight: 500;
    text-align: right;
}
.guide-detail-value.text-green { color: #6ee7b7; }
.guide-detail-value.text-red { color: #fda4af; }
.guide-tip {
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--accent-gold);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}
.guide-tip svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Team Composition */
.team-comp {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}
.team-core, .team-mates, .team-subs {
    margin-bottom: 20px;
}
.team-core:last-child, .team-mates:last-child, .team-subs:last-child {
    margin-bottom: 0;
}
.team-label {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.team-agents {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.team-agent {
    background: rgba(139,92,246,0.12);
    color: #c4b5fd;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139,92,246,0.2);
}
.team-agent.main {
    background: linear-gradient(135deg, rgba(244,63,94,0.2), rgba(108,60,224,0.2));
    color: #fda4af;
    border-color: rgba(244,63,94,0.4);
    font-weight: 700;
}
.team-agent.sub {
    background: rgba(148,163,184,0.08);
    color: var(--text-muted);
    border-color: rgba(148,163,184,0.15);
}

/* Analysis */
.guide-analysis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.analysis-block {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.analysis-block.pros {
    background: rgba(16,185,129,0.06);
    border-color: rgba(16,185,129,0.15);
}
.analysis-block.cons {
    background: rgba(244,63,94,0.06);
    border-color: rgba(244,63,94,0.15);
}
.analysis-block h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.analysis-block.pros h4 svg { color: #6ee7b7; }
.analysis-block.cons h4 svg { color: #fda4af; }
.analysis-block p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* Summary */
.guide-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.guide-summary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary-light), var(--accent-gold));
}
.guide-summary h4 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}
.guide-summary p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ==================== Download QR Popup (Hero) ==================== */
.download-btn-wrap {
    position: relative;
    display: inline-flex;
}
.qr-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
    pointer-events: none;
    width: 160px;
}
.qr-popup::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}
.download-btn-wrap:hover .qr-popup {
    opacity: 1;
    visibility: visible;
}
.qr-popup img,
.qr-popup canvas {
    display: block;
    width: 140px;
    height: 140px;
}

/* ==================== CTA QR ==================== */
.cta-qr {
    margin-top: 40px;
    text-align: center;
    position: relative;
}
.cta-qr-code {
    display: inline-block;
    background: #fff;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.cta-qr-code img,
.cta-qr-code canvas {
    display: block;
    width: 160px;
    height: 160px;
}
.cta-qr p {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==================== CTA Section ==================== */
.cta-section {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,60,224,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 16px;
    position: relative;
}
.cta-section p {
    color: var(--text-muted);
    margin-bottom: 40px;
    position: relative;
    font-size: 1.1rem;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.btn-lg {
    padding: 18px 48px;
    font-size: 1.15rem;
}

/* ==================== Footer ==================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
    text-align: center;
}
.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }
.friend-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 20px;
    font-size: 0.82rem;
}
.friend-links-title {
    color: var(--text-muted);
    opacity: 0.7;
    font-weight: 600;
}
.friend-links a {
    color: var(--text-muted);
    opacity: 0.55;
    transition: var(--transition);
    white-space: nowrap;
}
.friend-links a:hover {
    color: var(--primary-light);
    opacity: 1;
}
.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==================== Animations ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .characters-grid { grid-template-columns: repeat(3, 1fr); }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stats { gap: 32px; }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid.cols-2 { grid-template-columns: 1fr; }
    .guide-analysis { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,26,0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 1000;
    }
    .nav-links a { font-size: 1.1rem; }
    .menu-toggle { display: flex; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .characters-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshots-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .video-grid { grid-template-columns: 1fr; }
    .benefits-list { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stat { min-width: 80px; }
    .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .guide-grid, .guide-grid.cols-2 { grid-template-columns: 1fr; }
    .guide-tabs { gap: 6px; }
    .guide-tab { padding: 10px 18px; font-size: 0.85rem; }
    .team-comp { padding: 20px; }
    .footer-links { gap: 16px; }
    .cta-section { padding: 80px 0; }
}
/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(108,60,224,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(108,60,224,0.6);
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .download-btn-wrap { width: 100%; }
    .download-btn-wrap .btn { width: 100%; justify-content: center; }
    .download-btn-wrap .qr-popup { display: none; }
    .btn { width: 100%; justify-content: center; }
    .characters-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-stats { gap: 20px; }
    .hero-stat .stat-num { font-size: 1.5rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 80%; }
}
