/* =============================================
   SAS PLANNING - STYLES SUPPLÉMENTAIRES
   Hero, Pricing, Features, Error Pages
   ============================================= */

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.planning-preview {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.preview-header {
    background: #f1f5f9;
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.preview-content {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.preview-day {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 0.5rem;
}

.preview-day-header {
    font-weight: 600;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.preview-event {
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-align: center;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
    padding: 4rem 0;
    max-width: 1280px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 2rem 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* =============================================
   PRICING PAGE
   ============================================= */
.pricing-page {
    max-width: 1280px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    padding: 3rem 0;
}

.pricing-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pricing-card-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card-header h3 {
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.price-yearly {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.pricing-card-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-features .icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.pricing-features .icon.check {
    color: var(--success-color);
}

.pricing-features .icon.x {
    color: var(--text-muted);
}

.pricing-faq {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pricing-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
}

/* =============================================
   ERROR PAGES
   ============================================= */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.error-content {
    text-align: center;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* =============================================
   SETTINGS & PROFILE
   ============================================= */
.settings-page {
    max-width: 800px;
    margin: 0 auto;
}

.settings-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
}

.settings-section-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.settings-section-header h2 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.settings-section-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.settings-section-body {
    padding: 1.5rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .planning-preview {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        grid-column: span 1;
    }

    .preview-content {
        grid-template-columns: 1fr;
    }
}
