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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9f6 100%);
    min-height: 100vh;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #5ba87e;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.section-text {
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-input {
    padding: 0.75rem 1rem;
    border: 2px solid #0B8040;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    max-width: 400px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #58a37a;
}

.sort-buttons {
    display: flex;
    gap: 1rem;
}

.sort-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #58a37a;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sort-button:hover {
    background: #0B8040;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

.download-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(133, 192, 160, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.download-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(133, 192, 160, 0.2);
    border-color: #0B8040;
}

.download-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: #58a37a;
    color: white;
    border-radius: 10px;
    margin-right: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.download-content {
    flex: 1;
    min-width: 0;
}

.download-link {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: #0B8040;
}

.download-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #f8fffe;
    border: 2px solid #0B8040;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0B8040;
    margin-left: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.download-icon:hover {
    background: #0B8040;
    color: white;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .download-item {
        padding: 1.25rem;
    }

    .download-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9rem;
        margin-right: 1rem;
    }

    .download-link {
        font-size: 1rem;
    }

    .download-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-text {
        margin-bottom: 2rem;
    }
}