/* Get the App Page Styles */
.app-page {
    min-height: calc(100vh - 140px);
    background: #ffffff;
}

/* Intro Section */
.intro-section {
    padding: 80px 20px 60px;
    background: white;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.intro-content {
    max-width: 600px;
}

.intro-title {
    font-size: 46px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.2;
    color: #111827;
}

.intro-title .highlight {
    color: #ff4757;
}

.intro-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.intro-download {
    font-size: 16px;
    color: #374151;
    margin: 0 0 24px 0;
}

.intro-download strong {
    font-weight: 600;
    color: #111827;
}

.intro-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button-dark {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #111827;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.store-button-dark:hover {
    background: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.intro-phone {
    position: relative;
}

.phone-frame-large {
    width: 320px;
    height: 640px;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
}

.phone-screen-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
}

/* Reasons Section */
.reasons-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.reasons-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reasons-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 60px 0;
    color: #111827;
}

.reasons-title .highlight {
    color: #ff4757;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    align-items: center;
}

.reason-column {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.reason-card {
    background: #d3d3d36e;
    border-radius: 10px;
    padding: 16px 12px 0;
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 300px;
}

.reason-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Effet hover sur les téléphones */
.reason-column:first-child .reason-card:hover .phone-frame-small {
    transform: rotate(20deg);
}

.reason-column:last-child .reason-card:hover .phone-frame-small {
    transform: rotate(-20deg);
}

.reason-card-center:hover .phone-frame-medium {
    transform: scale(1.05);
}

.reason-card.reason-card-center {
    padding: 16px 12px;
    overflow: visible;
}

.reason-card.reason-card-center .reason-description {
    width: 70%;
    margin-bottom: 12px;
}

.reason-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
}

.reason-phone {
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.reason-phone-large {
    flex-shrink: 0;
    margin-top: 50px!important;
}

.phone-frame-small {
    width: 110px;
    height: 220px;
    background: #1f2937;
    border-radius: 20px;
    padding: 6px;
    position: absolute;
    top: 165px;
    transition: transform 0.3s ease;
}

/* Rotation pour colonne gauche - téléphones tournent vers la droite */
.reason-column:first-child .phone-frame-small {
    transform: rotate(-15deg);
}

/* Rotation pour colonne droite - téléphones tournent vers la gauche */
.reason-column:last-child .phone-frame-small {
    transform: rotate(15deg);
}

.phone-frame-medium {
    width: 140px;
    height: 280px;
    background: #1f2937;
    border-radius: 24px;
    padding: 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: 16px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.phone-notch-small {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 10px;
    background: #111827;
    border-radius: 0 0 6px 6px;
    z-index: 2;
}

.reason-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.reason-title .red {
    color: #ff4757;
}

.reason-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

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

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin: 0 0 32px 0;
    opacity: 0.95;
}

.hero-subtitle strong {
    font-weight: 600;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    transition: transform 0.2s, opacity 0.2s;
}

.store-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-button img {
    height: 50px;
    width: auto;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: white;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 60px 0;
    color: #111827;
}

.faq-title .highlight {
    color: #ff4757;
}

.faq-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

/* Phone Mockup */
.phone-mockup {
    position: sticky;
    top: 100px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #111827;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
}

/* FAQ Items */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: #ff4757;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-item.active .faq-question {
    color: #ff4757;
}

.faq-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: #6b7280;
    flex-shrink: 0;
    transition: all 0.2s;
}

.faq-item.active .faq-icon {
    background: #ff4757;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px 68px;
}

.faq-answer p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
    font-size: 14px;
    color: #9ca3af;
}

.footer-content div {
    margin: 0;
}

.footer-content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-content a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-phone {
        display: flex;
        justify-content: center;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reason-column {
        gap: 10px;
    }

    .reason-column {
        order: 1;
    }

    .reason-card-center {
        order: 2;
        padding: 30px 16px;
    }

    .faq-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phone-mockup {
        display: none;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 30px 20px 20px;
    }

    .intro-title {
        font-size: 24px;
    }

    .intro-description {
        font-size: 12px;
    }

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

    .intro-phone {
        display: none;
    }

    .reasons-section {
        padding: 30px 20px;
    }

    .reasons-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-section {
        padding: 28px 20px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .faq-section {
        padding: 40px 20px;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 12px 16px;
        font-size: 13px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 12px 48px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button img {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-question {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px 52px;
    }
}

