/**
 * About Page Styles - Concept Lyvre
 * Design immersif et moderne
 */

/* ==========================================
   HERO SECTION
   ========================================== */

.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: var(--space-20) 0;
    overflow: hidden;
    background: var(--background);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, hsla(48, 100%, 50%, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, hsla(25, 100%, 45%, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.about-hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--accent);
    color: var(--background);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.about-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--foreground);
}

.about-hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-subtitle {
    font-size: var(--text-xl);
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */

.section-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--foreground);
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   IMAGE PLACEHOLDERS
   ========================================== */

.image-placeholder {
    background: var(--card);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--muted-foreground);
    padding: var(--space-8);
    min-height: 300px;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: var(--accent);
    background: hsla(48, 100%, 50%, 0.05);
}

.image-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
}

.image-placeholder span {
    font-size: var(--text-sm);
    font-weight: 500;
}

.image-placeholder.small {
    min-height: 180px;
    padding: var(--space-6);
}

.image-placeholder.small i {
    font-size: 2rem;
}

.image-placeholder.large {
    min-height: 400px;
}

.image-placeholder.fullwidth {
    min-height: 450px;
    width: 100%;
}

/* ==========================================
   VISION SECTION
   ========================================== */

.about-vision {
    padding: var(--space-20) 0;
    background: var(--background-alt);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .vision-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.vision-content .section-title {
    text-align: left;
}

.vision-text {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.vision-text strong {
    color: var(--foreground);
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.about-how {
    padding: var(--space-20) 0;
    background: var(--background);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

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

.how-card {
    position: relative;
    padding: var(--space-8);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
}

.how-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.how-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--background);
    margin-bottom: var(--space-6);
}

.how-number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--accent);
    opacity: 0.2;
}

.how-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-3);
}

.how-description {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.how-image {
    margin-top: auto;
}

/* ==========================================
   READERS & AUTHORS SECTIONS
   ========================================== */

.about-readers,
.about-authors {
    padding: var(--space-20) 0;
}

.about-readers {
    background: var(--background-alt);
}

.about-authors {
    background: var(--background);
}

.readers-grid,
.authors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .readers-grid,
    .authors-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.readers-content,
.authors-content {
    max-width: 550px;
}

.authors-intro {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--muted-foreground);
    line-height: 1.6;
}

.feature-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-list li strong {
    color: var(--foreground);
}

/* ==========================================
   BUILDER SHOWCASE SECTION
   ========================================== */

.about-builder {
    padding: var(--space-20) 0;
    background: var(--background-alt);
}

.builder-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

/* ==========================================
   BETA SECTION
   ========================================== */

.about-beta {
    padding: var(--space-16) 0;
    background: var(--background);
}

.beta-card {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-12);
    background: linear-gradient(135deg, hsla(48, 100%, 50%, 0.1), hsla(25, 100%, 45%, 0.05));
    border: 1px solid hsla(48, 100%, 50%, 0.2);
    border-radius: var(--radius-xl);
    text-align: center;
}

.beta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--background);
    margin: 0 auto var(--space-6);
}

.beta-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-4);
}

.beta-description {
    font-size: var(--text-base);
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.beta-description:last-of-type {
    margin-bottom: var(--space-8);
}

/* ==========================================
   VIDEO SECTION
   ========================================== */

.about-video {
    padding: var(--space-20) 0;
    background: var(--background-alt);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    background: var(--card);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-16);
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.video-play-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--background);
    margin-bottom: var(--space-4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px hsla(48, 100%, 50%, 0.4);
}

.video-play-button i {
    margin-left: 6px;
}

.video-label {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--foreground);
}

.video-instruction {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    margin-top: var(--space-4);
}

.video-instruction code {
    display: block;
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--muted);
    border-radius: var(--radius);
    font-size: var(--text-xs);
}

/* Video Embed (quand la vraie vidéo est ajoutée) */
.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    border: none;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.about-cta {
    padding: var(--space-20) 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 50%, hsla(221, 66%, 21%, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, hsla(48, 100%, 50%, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.about-cta .cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta .cta-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.about-cta .cta-description {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    margin-bottom: var(--space-8);
}

.about-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

/* ==========================================
   BUTTONS
   ========================================== */

.about-readers .btn-primary,
.about-cta .btn-primary,
.beta-card .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--background);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.4s ease;
}

.about-readers .btn-primary:hover,
.about-cta .btn-primary:hover,
.beta-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px hsla(48, 100%, 50%, 0.4);
}

.about-authors .btn-outline,
.about-cta .btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.about-authors .btn-outline:hover,
.about-cta .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: hsla(48, 100%, 50%, 0.05);
}

/* ==========================================
   SOCIAL SECTION
   ========================================== */

.about-social {
    padding: var(--space-20) 0;
    background: var(--background);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

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

.social-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.social-card:hover::before {
    opacity: 1;
}

/* Twitter/X */
.social-twitter::before {
    background: linear-gradient(135deg, hsla(203, 89%, 53%, 0.15), hsla(203, 89%, 53%, 0.05));
}
.social-twitter:hover {
    border-color: hsl(203, 89%, 53%);
}
.social-twitter .social-icon {
    background: linear-gradient(135deg, hsl(203, 89%, 53%), hsl(203, 89%, 40%));
}

/* Instagram */
.social-instagram::before {
    background: linear-gradient(135deg, hsla(340, 75%, 54%, 0.15), hsla(25, 100%, 50%, 0.1));
}
.social-instagram:hover {
    border-color: hsl(340, 75%, 54%);
}
.social-instagram .social-icon {
    background: linear-gradient(135deg, hsl(340, 75%, 54%), hsl(25, 100%, 50%), hsl(45, 100%, 50%));
}

/* Discord */
.social-discord::before {
    background: linear-gradient(135deg, hsla(235, 86%, 65%, 0.15), hsla(235, 86%, 65%, 0.05));
}
.social-discord:hover {
    border-color: hsl(235, 86%, 65%);
}
.social-discord .social-icon {
    background: linear-gradient(135deg, hsl(235, 86%, 65%), hsl(235, 86%, 50%));
}

/* TikTok */
.social-tiktok::before {
    background: linear-gradient(135deg, hsla(180, 100%, 50%, 0.1), hsla(340, 100%, 50%, 0.1));
}
.social-tiktok:hover {
    border-color: hsl(340, 100%, 50%);
}
.social-tiktok .social-icon {
    background: linear-gradient(135deg, hsl(180, 100%, 40%), hsl(340, 100%, 50%));
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.social-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 10;
}

.social-name {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2px;
}

.social-description {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    line-height: 1.4;
}

.social-cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.social-card:hover .social-cta {
    opacity: 1;
    transform: translateX(0);
}

.social-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-cta i {
    transform: translateX(4px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding: var(--space-16) 0;
    }
    
    .vision-grid,
    .readers-grid,
    .authors-grid {
        gap: var(--space-8);
    }
    
    .readers-content,
    .authors-content {
        order: 1;
    }
    
    .readers-image,
    .authors-image {
        order: 2;
    }
    
    .image-placeholder.large {
        min-height: 280px;
    }
    
    .video-placeholder {
        min-height: 350px;
        padding: var(--space-8);
    }
    
    .video-play-button {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .beta-card {
        padding: var(--space-8);
    }
    
    .about-cta .cta-actions {
        flex-direction: column;
    }
    
    .about-cta .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Social responsive */
    .social-card {
        padding: var(--space-4);
    }
    
    .social-cta {
        display: none;
    }
    
    .social-description {
        font-size: var(--text-xs);
    }
}
