/* Styles spécifiques pour la page d'accueil */

/* Hero Section */
.hero-section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Luckiest Guy', cursive;
    line-height: 1.2;
}

.hero-subtitle {
    /* An h1 since it became the page heading: the top margin is pinned to the
       one the <p> it replaces had, so nothing moves on screen. */
    margin-top: 1em;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.android-notice {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero-section {
        margin: 2rem auto;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    background-color: var(--background);
    padding: 2rem 2rem;
}

.feature-highlight {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.feature-highlight h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-highlight p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .feature-highlight h2 {
        font-size: 1.4rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

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

/* Popular Samples */
.popular-samples {
    padding: 4rem 0;
    background-color: var(--surface);
}

.samples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .samples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .samples-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sample-card {
    background-color: var(--background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sample-card:hover {
    transform: translateY(-5px);
}

.sample-card-content {
    padding: 1.5rem;
}

.sample-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.sample-topic {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mini-player {
    margin-bottom: 1rem;
}

.sample-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sample-link:hover {
    text-decoration: underline;
}

.no-samples {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background-color: var(--background);
    border-radius: 12px;
}

.cta-container {
    text-align: center;
    padding: 2rem;
    background-color: var(--background);
    border-radius: 12px;
    margin-top: 2rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Premium Section */
.premium-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.premium-content {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.premium-features {
    max-width: 600px;
    margin: 0 auto;
}

.premium-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.premium-list li {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.premium-list li i {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.premium-cta {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--background);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--text-secondary);
    text-align: right;
    font-weight: 500;
}

/* Download Section */
.download-section {
    padding: 4rem 0;
    background-color: var(--background);
    text-align: center;
}

.download-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.large-buttons {
    justify-content: center;
}

.large-buttons .store-button {
    width: 200px;
    height: 60px;
}

/* Footer */
.site-footer {
    background-color: var(--surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: auto;
    margin-right: 1rem;
}

.footer-title {
    font-family: 'Luckiest Guy', cursive;
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* App Showcase Section */
.app-showcase {
    padding: 2rem 0;
    margin-top: 0;
    background: transparent;
    overflow: hidden;
}

.screenshots-grid {
    display: flex;
    flex-direction: row;
    /* Strict row layout */
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.app-screenshot {
    /* Strict sizing constraints */
    width: 200px;
    max-width: 30vw;
    /* Ensure they shrink on very small screens */
    height: auto;
    object-fit: contain;

    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    transition: transform 0.3s ease;
}

/* Desktop Hover Effects */
@media (min-width: 768px) {
    .app-screenshot:hover {
        transform: translateY(-10px) scale(1.05);
        z-index: 10;
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .screenshots-grid {
        gap: 10px;
        padding: 0.5rem;
    }

    .app-screenshot {
        border-width: 1px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}
