
/* ========================================
   MeetFest Landing Page Styles
   ======================================== */

@import url('./satoshi.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #A880AE;
    --secondary: oklch(75.844% 0.17251 328.16);
    --accent: #69B5E3;
    --background: #0c0c0c;
    --surface: #303031;
    --text: #FFFFFF;
    --text-secondary: #B8C1EC;
    --gradient: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    --gradient_uno: linear-gradient(90deg, var(--accent) 35%, var(--secondary) 65%);
} 

/* 1. Clases para color base */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--text); }

/* 2. Clases para HOVER (Efecto al pasar el ratón) */
.hover-primary:hover { color: var(--primary); }
.hover-secondary:hover { color: var(--secondary); }
.hover-accent:hover { color: var(--accent); }
.hover-white:hover { color: var(--text); }

/* 3. Transición suave (Opcional pero recomendado) */
app-icon, .icon-transition {
    transition: color 0.3s ease;
}

body {
    font-family: 'Satoshi-Variable', Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

app-icon {
    display: inline-flex; /* Mejor que inline-block para centrar SVGs */
    align-items: center;
    justify-content: center;
    line-height: 0; /* Evita espacios extra debajo del icono */
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-button {
    background: var(--gradient);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
}

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



.hero {
    height: 100vh;
    width: 100%;
    position: sticky; 
    top: 0;
    z-index: 0; /* Se queda detrás */
}

.hero-content {
    /* display: flex; */
    position: relative;
    z-index: 2;
}

.hero-text{
    padding-left: 5rem;
    padding-right: 1rem;
    transform: translateY(50px);
    position: relative;
    justify-content: start;
    align-content: center;
    height: 100vh;
    width: 100%;
    max-width: 80vw;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(4vw + 1rem, 5vw + 1rem, 8vw);
    line-height: clamp(1rem,5vw + 1.5rem,10rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.5dvw;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-store-button {
    background: var(--secondary);
    color: white;
    padding: 1rem 1.4rem 1.2rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1dvw;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
}

.app-store-button:hover {
    box-shadow: 0 0 1rem var(--secondary);
}


/**    FONDO HERO    **/
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.fade-surface{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(90deg, 
        rgba(12, 12, 12, 0.75) 35%, 
        rgba(12, 12, 12, 0) 100%
    );
}

.hero-image-container img{
    width: 120%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    
}

.main-content{
    position: relative;
    z-index: 1;
    background: var(--background);
    box-shadow: 0 -100px 100px rgba(0, 0, 0, 0.6);
}



/* ========================================
   STATS SECTION 
   ======================================== */

.stats-section {
    padding: 4rem 5rem;
    background: transparent;
}

.stats-container{
    width:50%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.stats-section h2{
    font-size: clamp(2rem,2vw + 1rem, 8rem);
    font-weight: 800;
    line-height: 1.1;
    text-align: end;
    background: var(--gradient_uno);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 4rem;
}

.stats-card-container {
    display: grid;
    grid-template-columns: minmax(20vw,25vw);
    gap: 2rem;
    align-content: center;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(12, 12, 12, 0.56);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stats-background{
position: absolute;
}

.stats-background img{
    min-height: 4vh;
    max-height: 80vh;
    z-index: 0;
    opacity: 0.15;
    position: relative;
    transform: translate(-20rem,-35rem);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #EA85E7;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

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

/* ========================================
   SCREENSHOTS GALLERY
   ======================================== */

.gallery-section {
    padding: 6rem 2rem;
    background: var(--surface);
}

.screenshots-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    -webkit-overflow-scrolling: touch;
}

.screenshots-slider::-webkit-scrollbar {
    height: 8px;
}

.screenshots-slider::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 10px;
}

.screenshots-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.screenshot-item {
    min-width: 250px;
    scroll-snap-align: center;
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.screenshot-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

.how-it-works {
    padding: 6rem 2rem;
}

.steps {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.step-number {
    min-width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-section {
    padding: 6rem 2rem;
    background: var(--surface);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    background: var(--background);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-festival {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   FESTIVAL GALLERY
   ======================================== */

.festival-gallery {
    padding: 6rem 2rem;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    padding: 1.5rem;
    transform: translateY(0);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(-10px);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 6rem 2rem;
    background: var(--surface);
}

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

.faq-item {
    background: var(--background);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.cta-section {
    padding: 6rem 2rem;
    background: var(--gradient);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section app-store-button {
    display: flex;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.cta-section .playstore-button {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.cta-section .playstore-button:hover {
    background: var(--primary);
    color: white;
    border: 2px solid white;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--surface);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.made-with {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.logo img {
    width: 50px;
    height: 50px;
}

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

@media (max-width: 768px) {
    .nav-container{
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-content: center;
        
    }

    .nav-container *{
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center
        ;
    }


}

/***HERO***/


@media (max-width: 768px) {
    .hero{
        height: 100vh;
        width: 100%;
    }
    .hero-content {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .hero-text{
        padding-left: 2rem;
        padding-right: 2rem;
        width: 100%;
        max-width: 100%;
        transform: translateY(0);
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
        line-height: 1;
        text-align: center;
    }

    .hero-text p {
        text-align: center;
        font-size: 1.1rem;
    }

    .hero-cta {
        align-items: center;
    }

    .hero-image-container{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    
    .hero-image-container img{
        height: 100vh;
        transform: translate(0,0);
        object-position: 55% 50%;

    }
    
    /*****STATS****/

    .stats-section{
        padding: 3rem 2rem;
        background: transparent;
    }

    .stats-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .stats-card-container{
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-items: center;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .stats-section h2{
        font-size: clamp(2rem, 5vw, 4rem);
        font-weight: 800;
        line-height: 1.1;
        text-align: center;
        background: var(--gradient_uno);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        padding-bottom: 2rem;
    }

    .stat-card {
        width: clamp(8rem, 45%, 14rem);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
        text-align: center;
        padding: 1.5rem 2rem;
    }



    .download-stats {
        justify-content: center;
    }

    .nav-container .cta-button {
        display: none;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

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

    .cta-section h2 {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-icon {
        display: none;
    }

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

@media (max-width: 480px) {
    .stats-card-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 20px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    background: white;
    color: #A880AE;
}


