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

:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff00ff;
    --accent-color: #7b2cbf;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 25, 0.8);
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --glow-cyan: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    --glow-magenta: 0 0 10px var(--secondary-color), 0 0 20px var(--secondary-color), 0 0 40px var(--secondary-color);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 255, 0.08) 0%, transparent 60%);
}

.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.glitch {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    position: relative;
    text-align: center;
    color: var(--text-primary);
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color),
        2px 2px 0 var(--secondary-color),
        -2px -2px 0 #00ff88;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            2px 2px 0 var(--secondary-color),
            -2px -2px 0 #00ff88;
    }
    92% {
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            -2px 2px 0 var(--secondary-color),
            2px -2px 0 #00ff88;
    }
    94% {
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            2px -2px 0 var(--secondary-color),
            -2px 2px 0 #00ff88;
    }
    96%, 98% {
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            2px 2px 0 var(--secondary-color),
            -2px -2px 0 #00ff88;
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00ff88;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(14px, 9999px, 127px, 0); }
    5% { clip: rect(68px, 9999px, 4px, 0); }
    10% { clip: rect(39px, 9999px, 86px, 0); }
    15% { clip: rect(5px, 9999px, 147px, 0); }
    20% { clip: rect(96px, 9999px, 58px, 0); }
    25% { clip: rect(1px, 9999px, 23px, 0); }
    30% { clip: rect(85px, 9999px, 14px, 0); }
    35% { clip: rect(62px, 9999px, 106px, 0); }
    40% { clip: rect(34px, 9999px, 13px, 0); }
    45% { clip: rect(115px, 9999px, 59px, 0); }
    50% { clip: rect(19px, 9999px, 92px, 0); }
    55% { clip: rect(77px, 9999px, 3px, 0); }
    60% { clip: rect(48px, 9999px, 125px, 0); }
    65% { clip: rect(103px, 9999px, 19px, 0); }
    70% { clip: rect(2px, 9999px, 64px, 0); }
    75% { clip: rect(125px, 9999px, 48px, 0); }
    80% { clip: rect(53px, 9999px, 79px, 0); }
    85% { clip: rect(92px, 9999px, 31px, 0); }
    90% { clip: rect(16px, 9999px, 112px, 0); }
    95% { clip: rect(139px, 9999px, 6px, 0); }
    100% { clip: rect(77px, 9999px, 95px, 0); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 12px;
    margin-top: 15px;
    text-transform: uppercase;
    opacity: 0.9;
    text-align: center;
}
.content-area {
    margin-top: 100px;
}
.version-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.pulse-ring {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.ai-badge {
    padding: 6px 16px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.features {
    margin-bottom: 80px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.download-section {
    margin-bottom: 80px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.title-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.download-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.3);
}

.download-card:hover .card-glow {
    opacity: 1;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 0, 255, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.platform-icon svg {
    width: 45px;
    height: 45px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.platform-icon.apple {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--primary-color);
}

.platform-icon.apple svg {
    color: var(--primary-color);
}

.platform-icon.portable {
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--accent-color);
}

.platform-icon.portable svg {
    color: var(--accent-color);
}

.download-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.download-card[data-platform="mac-arm"] .platform-icon,
.download-card[data-platform="mac-intel"] .platform-icon {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--primary-color);
}

.download-card[data-platform="mac-arm"] .platform-icon svg,
.download-card[data-platform="mac-intel"] .platform-icon svg {
    color: var(--primary-color);
}

.download-card[data-platform="mac-arm"]:hover .platform-icon,
.download-card[data-platform="mac-intel"]:hover .platform-icon {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.download-card[data-platform="portable"] .platform-icon {
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--accent-color);
}

.download-card[data-platform="portable"] .platform-icon svg {
    color: var(--accent-color);
}

.download-card[data-platform="portable"]:hover .platform-icon {
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.4);
}

.download-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.version-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.3);
}

.download-btn .arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.download-card:hover .download-btn {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.5);
}

.download-card:hover .arrow-icon {
    transform: translateX(5px);
}

.requirements {
    background: var(--bg-card);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
}

.requirements-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.req-icon {
    font-size: 2.5rem;
}

.req-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.req-content span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 1280px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 6px;
    }
    
    .section-title {
        font-size: 1.5rem;
        gap: 20px;
    }
    
    .title-line {
        width: 50px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    .glitch {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
}

.quick-download-section {
    text-align: center;
    margin: 40px 0;
}

.download-controls {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 15px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 
        0 0 20px rgba(0, 243, 255, 0.1),
        inset 0 0 30px rgba(0, 243, 255, 0.05);
}

.system-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.selector-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}

.system-select {
    padding: 12px 40px 12px 15px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300f3ff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.system-select:hover {
    background-color: rgba(0, 243, 255, 0.15);
    border-color: rgba(0, 243, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.system-select:focus {
    border-color: var(--primary-color);
    box-shadow: 
        0 0 20px rgba(0, 243, 255, 0.4),
        inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.system-select option {
    background: var(--bg-dark);
    color: white;
    padding: 12px;
    font-size: 0.9rem;
}

.quick-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #00f3ff, #ff00ff, #7b2cbf);
    background-size: 200% 200%;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 15px rgba(0, 243, 255, 0.4),
        0 0 30px rgba(255, 0, 255, 0.3);
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.quick-download-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.quick-download-btn:hover {
    transform: scale(1.02);
    box-shadow: 
        0 0 25px rgba(0, 243, 255, 0.6),
        0 0 50px rgba(255, 0, 255, 0.4),
        0 0 75px rgba(123, 44, 191, 0.2);
}

.quick-download-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-text {
    font-weight: bold;
    letter-spacing: 2px;
}

.quick-download-tip {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .download-controls {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .system-selector {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .selector-label {
        font-size: 0.85rem;
    }
    
    .system-select {
        width: 100%;
        min-width: auto;
        padding: 10px 35px 10px 12px;
        font-size: 0.85rem;
    }
    
    .quick-download-btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 1rem;
        justify-content: center;
    }
    
    .btn-icon {
        font-size: 1.1rem;
    }
}
