/* Import base styles from main portfolio */
@import url('../../css/style.css');

/* ===========================
   HERO OVERRIDES FOR MOT À MOT
   =========================== */
.hero {
    text-align: center;
    padding: 10rem 3rem 6rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.app-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.device-mockup {
    margin-top: 4rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.device-mockup img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features-section {
    padding: 6rem 3rem;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.how-it-works {
    padding: 6rem 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    color: var(--text-main);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

/* ===========================
   SCREENSHOTS SECTION
   =========================== */
.screenshots-section {
    padding: 6rem 3rem;
    background: white;
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    margin-top: 3rem;
    scrollbar-width: none;
}

.screenshots-slider::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 280px;
    scroll-snap-align: center;
    text-align: center;
}

.screenshot img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.screenshot-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
    padding: 6rem 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===========================
   TECH STACK SECTION
   =========================== */
.tech-section {
    padding: 6rem 3rem;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tech-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    padding: 6rem 3rem;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   MOBILE RESPONSIVENESS
   =========================== */
@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .app-icon {
        font-size: 4rem;
    }

    .features-grid,
    .steps-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .screenshot {
        flex: 0 0 250px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}