/* ==========================================
   VARIABLES GLOBALES & RESET
   ========================================== */
:root {
    --bg-dark: #050816;
    --primary: #b33cff;
    --primary-hover: #c466ff;
    --secondary: #7f00ff;
    --accent: #00f2fe; /* Detalles sutiles elegantes */
    --text-white: #ffffff;
    --text-light: #a0aabf;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(179, 60, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.padding-section {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: clamp(3rem, 5vw, 4rem);
    letter-spacing: -1px;
}

/* ==========================================
   EFECTOS REVEAL (Animaciones al hacer scroll)
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s ease-out;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================
   1. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Reemplazar con tu imagen épica */
    background: url('../assets/img/serie-hero.png') center/cover no-repeat; 
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,8,22,0.4) 0%, rgba(5,8,22,1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 5px;
    text-shadow: 0 0 40px rgba(179, 60, 255, 0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: var(--text-white);
    opacity: 0.9;
}

.scroll-arrow {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--primary);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* ==========================================
   2. QUÉ ES GLZ CRAFT
   ========================================== */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(179, 60, 255, 0.15);
    border: 1px solid var(--glass-border);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ==========================================
   3. CARACTERÍSTICAS
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(179, 60, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(179, 60, 255, 0.4);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    line-height: 1.6;
    font-size: 1rem;
}

/* ==========================================
   4. CÓMO FUNCIONA (BLOQUES ALTERNADOS)
   ========================================== */
.alternating-blocks {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 8vw, 7rem);
}

.block-row {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 6vw, 5rem);
}

.block-row.reverse {
    flex-direction: row-reverse;
}

.block-text {
    flex: 1;
}

.block-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.block-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.block-img {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.block-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.block-row:hover .block-img img {
    transform: scale(1.05);
}

/* ==========================================
   5. ETAPAS DE LA SERIE
   ========================================== */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stage-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--stage-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
}

.stage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.04);
}

.stage-card i {
    font-size: 2.5rem;
    color: var(--stage-color);
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--stage-color));
}

.stage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.stage-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   6. PREGUNTAS FRECUENTES (ACORDEÓN)
   ========================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    line-height: 1.7;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(179, 60, 255, 0.1);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================
   7. CTA FINAL
   ========================================== */
.cta-section {
    position: relative;
    padding: clamp(6rem, 10vw, 10rem) 0;
    text-align: center;
    background: url('../assets/img/serie-cta.jpg') center/cover fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,8,22, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    font-weight: 900;
}

.btn-premium {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(179, 60, 255, 0.2);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-premium:hover {
    box-shadow: 0 0 30px rgba(179, 60, 255, 0.5);
    transform: translateY(-3px);
}

.btn-premium:hover::before {
    left: 0;
}

/* ==========================================
   RESPONSIVE QUERIES
   ========================================== */
@media (max-width: 992px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .block-row, .block-row.reverse {
        flex-direction: column;
    }
}