/* OPAPS Landing Page Styles */

:root {
    --opaps-primary: #1976d2;
    --opaps-primary-dark: #1565c0;
    --opaps-secondary: #424242;
    --opaps-accent: #ff9800;
    --opaps-bg-light: #f5f5f5;
    --opaps-bg-white: #ffffff;
    --opaps-text-primary: #212121;
    --opaps-text-secondary: #757575;
    --opaps-success: #4caf50;
    --opaps-border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

/* General Section Styles */
.landing-section {
    padding: 80px 24px;
}

.landing-section-alt {
    padding: 80px 24px;
    background-color: var(--opaps-bg-light);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--opaps-text-primary);
    margin-bottom: 48px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--opaps-text-secondary);
    text-align: center;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--opaps-primary) 0%, var(--opaps-primary-dark) 100%);
    color: white;
    position: relative;
}

.hero-nav {
    position: absolute;
    top: 24px;
    right: 24px;
}

.hero-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    font-weight: 500;
}

.hero-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    font-size: 1.25rem;
    padding: 16px 48px !important;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: 12px;
    background: var(--opaps-bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 48px;
    color: var(--opaps-primary);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--opaps-text-primary);
    margin-bottom: 12px;
}

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

/* Steps/Timeline */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--opaps-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--opaps-text-primary);
    margin-bottom: 8px;
}

.step-description {
    color: var(--opaps-text-secondary);
    line-height: 1.6;
}

/* Pricing Table */
.pricing-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pricing-row {
    display: flex;
    padding: 16px 24px;
    background: var(--opaps-bg-white);
    border-bottom: 1px solid var(--opaps-border);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:nth-child(odd) {
    background: var(--opaps-bg-light);
}

.pricing-label {
    flex: 2;
    font-weight: 500;
    color: var(--opaps-text-primary);
}

.pricing-value {
    flex: 1;
    text-align: right;
    color: var(--opaps-primary);
    font-weight: 600;
}

.pricing-bonus {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--opaps-success) 0%, #388e3c 100%);
    border-radius: 12px;
    color: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-bonus-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.pricing-bonus-item {
    margin-bottom: 8px;
}

/* Timeline (How It Works) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--opaps-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--opaps-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 1;
}

.timeline-content {
    background: var(--opaps-bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Preparation Section */
.prep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.prep-card {
    background: var(--opaps-bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prep-image {
    height: 200px;
    background: var(--opaps-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--opaps-text-secondary);
}

.prep-content {
    padding: 24px;
}

.prep-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--opaps-text-primary);
}

.prep-description {
    color: var(--opaps-text-secondary);
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    background: var(--opaps-secondary);
    color: white;
    padding: 48px 24px;
    text-align: center;
}

.footer-email {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-email a {
    color: white;
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-app-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.footer-app-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Form Section */
.form-section {
    padding: 80px 24px;
    background: var(--opaps-bg-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--opaps-bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-step {
    margin-bottom: 32px;
}

.form-question {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--opaps-text-primary);
    margin-bottom: 16px;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-info {
    background: #e3f2fd;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--opaps-primary-dark);
}

/* Responsive - Tablettes */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .prep-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Responsive - Mobiles */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 16px;
    }

    .hero-nav {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 32px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .hero-cta {
        font-size: 1rem;
        padding: 12px 32px !important;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .landing-section,
    .landing-section-alt {
        padding: 48px 16px;
    }

    /* Cards grid */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        font-size: 36px;
    }

    /* Steps */
    .step-item {
        flex-direction: column;
        gap: 16px;
    }

    /* Timeline */
    .timeline {
        padding-left: 36px;
    }

    .timeline::before {
        left: 17px;
    }

    .timeline-marker {
        left: -36px;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 16px;
    }

    /* Pricing */
    .pricing-row {
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px;
    }

    .pricing-label {
        font-size: 0.95rem;
    }

    .pricing-value {
        text-align: left;
        font-size: 0.9rem;
    }

    .pricing-bonus {
        padding: 16px;
    }

    .pricing-bonus-title {
        font-size: 1rem;
    }

    .pricing-bonus-item {
        font-size: 0.9rem;
    }

    /* Prep grid */
    .prep-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prep-image {
        height: 150px;
    }

    .prep-content {
        padding: 16px;
    }

    /* Footer */
    .landing-footer {
        padding: 32px 16px;
    }

    .footer-email {
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    /* Form */
    .form-section {
        padding: 48px 16px;
    }

    .form-container {
        padding: 24px 16px;
    }
}

/* Responsive - Très petits écrans */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

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

    .landing-section,
    .landing-section-alt {
        padding: 32px 12px;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .timeline {
        padding-left: 32px;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-marker {
        left: -32px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .form-container {
        padding: 20px 12px;
    }
}
