/* Reseturi și Stiluri Generale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    background-color: #f4f7f6; /* Un gri foarte deschis pentru fundal */
    color: #333;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #007bff; /* Albastru principal pentru linkuri */
}

a:hover {
    text-decoration: underline;
}

/* Antet și Navigație */
header {
    background-color: #0056b3; /* Un albastru mai închis pentru antet */
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo-container a {
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
}

nav {
    background-color: #007bff; /* Albastru principal pentru navigație */
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #0056b3; /* Culoare de hover mai închisă */
    text-decoration: none;
    color: #e9ecef;
}

/* Container Principal */
main {
    max-width: 1300px; /* Lățime maximă puțin mai mare */
    margin: 2rem auto;
    padding: 0 1rem; /* Spațiere laterală pe mobil */
}

/* Secțiunea Hero */
#hero {
    text-align: center;
    padding: 2.5rem 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#hero h1 {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 0.75rem;
}

#hero p {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Secțiunea Listă Free Trials */
#free-trials-list {
    margin-bottom: 2rem;
}

#free-trials-list h2 {
    text-align: center;
    font-size: 2.2em;
    color: #0056b3;
    margin-bottom: 0.5rem;
}

#free-trials-list > p { /* Paragraful introductiv al secțiunii */
    text-align: center;
    font-size: 1.05em;
    color: #666;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid-ul de Profiluri */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* Spațiu între carduri */
}

/* Cardurile de Profil */
.profile-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Pentru a menține border-radius pentru imagine */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.profile-card img {
    width: 100%;
    height: 380px; /* Înălțime fixă pentru imagine */
    object-fit: cover; /* Acoperă spațiul, poate tăia imaginea */
    object-position: center top; /* Prioritizează partea de sus a imaginii */
    border-bottom: 1px solid #eee;
}

.profile-card .card-content {
    padding: 1rem 1.25rem;
    text-align: center;
    flex-grow: 1; /* Permite conținutului să umple spațiul */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-card h3 {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}

.profile-card .username {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.profile-card .trial-details {
    font-size: 0.9em;
    color: #4CAF50; /* Verde pentru a indica gratuitatea */
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.profile-card .description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1; /* Permite descrierii să se extindă */
    line-height: 1.5;
}

.profile-card .trial-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    margin-top: auto; /* Împinge butonul în jos */
}

.profile-card .trial-button:hover,
.profile-card .trial-button:focus {
    background-color: #0056b3;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Secțiunea SEO Content */
.seo-content {
    background-color: #ffffff;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    line-height: 1.7;
}

.seo-content h2 {
    font-size: 1.8em;
    color: #0056b3;
    text-align: center;
    margin-bottom: 1.5rem;
}

.seo-content h3 {
    font-size: 1.4em;
    color: #007bff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.seo-content p, .seo-content ul li {
    margin-bottom: 1rem;
    color: #444;
}

.seo-content ul {
    margin-left: 20px;
    list-style-type: disc; /* Sau square, circle */
}

/* Footer */
footer {
    background-color: #0056b3;
    color: #e9ecef;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #ade8f4; /* O culoare mai deschisă pentru linkurile din footer */
    text-decoration: underline;
}

footer a:hover {
    color: #ffffff;
}

/* Optimizări pentru Mobil (Media Queries) */

/* Tablete și dispozitive mai mici */
@media (max-width: 992px) {
    .profiles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    #hero h1 {
        font-size: 2.2em;
    }
    #free-trials-list h2 {
        font-size: 1.9em;
    }
    .profile-card img {
        height: 350px;
    }
}

/* Telefoane mobile */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    nav ul {
        flex-direction: column; /* Stivuiește linkurile pe mobil */
        gap: 0.5rem;
    }
    nav ul li a {
        display: block; /* Face linkurile să ocupe toată lățimea */
        text-align: center;
    }
    #hero h1 {
        font-size: 1.8em;
    }
    #hero p {
        font-size: 1em;
    }
    #free-trials-list h2 {
        font-size: 1.7em;
    }
    .profile-card img {
        height: 320px;
    }
    .profile-card .card-content {
        padding: 0.75rem 1rem;
    }
    .profile-card h3 {
        font-size: 1.15em;
    }
    .profile-card .trial-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9em;
    }
    .seo-content {
        padding: 1.5rem;
    }
    .seo-content h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .profiles-grid {
        grid-template-columns: 1fr; /* Un singur card pe rând */
        gap: 1rem;
    }
    .profile-card img {
        height: 300px;
    }
     header .logo-container a {
        font-size: 1.5em;
    }
}