:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #5d5dff; /* Насичений фіолетово-синій */
    --accent-dark: #4b4bdf;
    --card-bg: #1e1e1e;
    --border-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.4rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

/* --- Hero Section (Header) --- */

.hero {
    text-align: center;
    padding: 80px 0 60px;
}

/* --- Download Button --- */

.download-box {
    margin: 40px auto;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(93, 93, 255, 0.4);
}

.primary-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.meta {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
}

/* --- Screenshot --- */

.screenshot-placeholder {
    margin-top: 50px;
}

.main-screenshot {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.caption {
    color: #777;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* --- Features Section --- */

.features {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-item p {
    color: #b0b0b0;
}

/* --- Footer --- */

.footer {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid var(--border-color);
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-color);
}

/* --- CSK Badge --- */
.csk-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(93, 93, 255, 0.05); /* var(--accent-color) with low opacity */
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px dashed rgba(93, 93, 255, 0.4);
    width: max-content;
    transition: transform 0.3s ease;
}

.hero .csk-badge {
    margin-top: 25px; /* Add margin when inside the hero section */
}

.csk-badge:hover {
    transform: translateY(-2px);
}

.csk-badge .icon {
    font-size: 1.1rem;
    margin-right: 10px;
    filter: grayscale(0.5);
}

.csk-badge .text {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--text-color);
}

.csk-badge a {
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(93, 93, 255, 0.6);
    transition: all 0.3s ease;
    margin-left: 4px;
    color: var(--text-color);
}

.csk-badge a:hover {
    color: var(--accent-color);
    border-bottom-color: transparent;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }

    .main-screenshot {
        max-width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .download-count-meta {
        font-size: 1rem;
        color: #b0b0b0; /* Світліший колір */
    }

    #download-count {
        font-weight: 800;
        color: var(--accent-color); /* Колір акценту */
    }
}