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

:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --secondary-color: #00d4aa;
    --accent-color: #ff6b6b;
    --bg-dark: #0a0a0f;
    --bg-card: #16161d;
    --bg-card-hover: #1e1e2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --border-color: #2a2a3a;
    --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #00d4aa 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    --gradient-card: linear-gradient(145deg, #16161d 0%, #1e1e2a 100%);
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 115, 232, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

header {
    position: relative;
    z-index: 1;
    padding: 40px 20px 30px;
    text-align: center;
    background: var(--gradient-card);
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.logo {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 8px 32px rgba(26, 115, 232, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(26, 115, 232, 0.3); }
    50% { box-shadow: 0 8px 48px rgba(26, 115, 232, 0.5); }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 4px;
    padding: 10px 16px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

nav a:hover {
    color: var(--text-primary);
    background: rgba(26, 115, 232, 0.2);
}

nav a.active {
    background: var(--primary-color);
    color: white;
}

main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-card li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--secondary-color);
    font-size: 16px;
}

.warning-icon {
    color: var(--accent-color);
    font-size: 16px;
}

.code-block {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    color: var(--text-secondary);
}

.code-block pre {
    margin: 0;
}

.code-block code {
    color: var(--text-primary);
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: rgba(26, 115, 232, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

td {
    color: var(--text-secondary);
}

tr:hover {
    background: rgba(26, 115, 232, 0.05);
}

footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 32px 20px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.download-banner {
    text-align: center;
    padding: 60px 20px;
    background: var(--gradient-card);
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.download-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.1) 0%, transparent 70%);
    animation: banner-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

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

.download-banner h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.download-banner p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.5);
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(26, 115, 232, 0.6);
}

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

.download-btn-icon {
    font-size: 1.5rem;
}

.download-info {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
}

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

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

.section-card ul {
    padding-left: 20px;
    margin-top: 12px;
}

.section-card li {
    color: var(--text-secondary);
    padding: 6px 0;
}

.warning-box {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.warning-box p {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.success-box {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.success-box p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .download-banner {
        padding: 40px 16px;
    }
    
    .download-banner h2 {
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    nav ul {
        gap: 2px;
    }
    
    nav a {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}