/* ============================================
   POSTAL VIVA - ESTILOS GLOBALES
   ============================================ */

:root {
    --sepia: #8B6F47;
    --crema: #F5E6D3;
    --rojo-postal: #C73E3A;
    --morado: #6B4C9A;
    --azul-neon: #4A90E2;
    --rosa-neon: #E94B8B;
    --negro-suave: #1A1A1A;
    --gris-texto: #4A4A4A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--negro-suave);
    background: var(--crema);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--crema) 0%, #E8D5B7 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(139, 111, 71, 0.03) 40px, rgba(139, 111, 71, 0.03) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(139, 111, 71, 0.03) 40px, rgba(139, 111, 71, 0.03) 41px);
    pointer-events: none;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    position: relative;
    z-index: 10;
}

.nav-logo img {
    display: block;
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--negro-suave);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--rojo-postal);
}

.btn-nav {
    background: var(--rojo-postal);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: transform 0.3s !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 48px;
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 9vw, 120px);
    line-height: 0.9;
    letter-spacing: 4px;
    color: var(--rojo-postal);
    margin-bottom: 16px;
    text-shadow: 4px 4px 0 rgba(107, 76, 154, 0.2);
}

.eslogan {
    font-family: 'Caveat', cursive;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--morado);
    margin-bottom: 32px;
}

.hero-desc {
    font-size: 17px;
    color: var(--gris-texto);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-botones {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-principal {
    background: var(--rojo-postal);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(199, 62, 58, 0.3);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(199, 62, 58, 0.4);
}

.btn-principal.grande {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-secundario {
    background: transparent;
    color: var(--negro-suave);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--negro-suave);
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-secundario:hover {
    background: var(--negro-suave);
    color: white;
}

.hero-nota {
    font-size: 14px;
    color: var(--gris-texto);
    opacity: 0.8;
}

/* Reproductor de ejemplo */
.ejemplo-audio {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 2px dashed var(--sepia);
    max-width: 420px;
    backdrop-filter: blur(10px);
}

.ejemplo-label {
    font-size: 14px;
    color: var(--sepia);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 20px;
    background: var(--negro-suave);
    color: var(--crema);
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.btn-play:hover {
    background: var(--rojo-postal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 62, 58, 0.3);
}

#icono-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--rojo-postal);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.btn-play:hover #icono-play {
    background: white;
    color: var(--rojo-postal);
    transform: scale(1.1);
}

/* ============================================
   CASSETTE
   ============================================ */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-imagen {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(139, 111, 71, 0.25));
    transition: transform 0.5s;
}

.hero-imagen:hover {
    transform: scale(1.05) rotate(-2deg);
}

.cassette {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 380 / 240;
    background: #2A2A2A;
    border-radius: 12px;
    padding: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transform: rotate(-3deg);
    transition: transform 0.5s;
}

.cassette:hover {
    transform: rotate(0deg) scale(1.05);
}

.cassette-top {
    height: 20px;
    background: linear-gradient(180deg, #3A3A3A, #2A2A2A);
    border-radius: 6px 6px 0 0;
    margin-bottom: 8px;
}

.cassette-label {
    background: var(--crema);
    padding: 16px;
    border-radius: 6px;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cassette-label::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px;
    height: 2px;
    background: var(--rojo-postal);
}

.cassette-title {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    color: var(--rojo-postal);
    font-weight: 700;
}

.cassette-sub {
    font-size: 12px;
    color: var(--sepia);
    letter-spacing: 2px;
    margin-top: 4px;
}

.cassette-bottom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 12px;
    padding: 0 40px;
}

.cassette-hole {
    width: 50px;
    height: 50px;
    background: #1A1A1A;
    border-radius: 50%;
    border: 4px solid #3A3A3A;
    position: relative;
}

.cassette-hole::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #4A4A4A;
    border-radius: 50%;
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

section {
    padding: 100px 0;
}

section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: 2px;
    color: var(--rojo-postal);
    text-align: center;
    margin-bottom: 16px;
}

.subtitulo {
    text-align: center;
    color: var(--gris-texto);
    font-size: 18px;
    margin-bottom: 60px;
    font-style: italic;
}

/* ============================================
   ASÍ ERA EN LOS 80 - NEÓN
   ============================================ */

.ochenta {
    background: #0A0A1A;
    color: var(--crema);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.ochenta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(233, 75, 139, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233, 75, 139, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.ochenta::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(circle at 15% 25%, rgba(74, 144, 226, 0.25), transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(233, 75, 139, 0.25), transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(107, 76, 154, 0.15), transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: neonPulse 6s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.ochenta .container {
    position: relative;
    z-index: 1;
}

.ochenta h2 {
    color: #E94B8B;
    text-shadow:
        0 0 8px rgba(233, 75, 139, 0.9),
        0 0 20px rgba(233, 75, 139, 0.7),
        0 0 40px rgba(233, 75, 139, 0.5),
        0 0 80px rgba(233, 75, 139, 0.3);
    animation: neonGlow 2.5s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes neonGlow {
    from {
        text-shadow:
            0 0 8px rgba(233, 75, 139, 0.9),
            0 0 20px rgba(233, 75, 139, 0.7),
            0 0 40px rgba(233, 75, 139, 0.5),
            0 0 80px rgba(233, 75, 139, 0.3);
    }
    to {
        text-shadow:
            0 0 12px rgba(233, 75, 139, 1),
            0 0 30px rgba(233, 75, 139, 0.9),
            0 0 60px rgba(233, 75, 139, 0.6),
            0 0 100px rgba(233, 75, 139, 0.4);
    }
}

.ochenta .subtitulo {
    color: var(--crema);
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
    position: relative;
    z-index: 1;
}

.grid-ochenta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.item-ochenta {
    background: #FFFFFF;
    border: 2px solid #F0E6D8;
    padding: 36px 28px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 20px rgba(74, 144, 226, 0.15),
        inset 0 0 20px rgba(74, 144, 226, 0.03);
    position: relative;
    overflow: hidden;
}

.item-ochenta::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg,
        transparent,
        #4A90E2,
        #E94B8B,
        #4A90E2,
        transparent
    );
    background-size: 200% 100%;
    animation: neonSweep 3s linear infinite;
}

@keyframes neonSweep {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.item-ochenta:hover {
    background: #FFF8F0;
    border-color: #F4A261;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(244, 162, 97, 0.2);
}

.icono-wrapper {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.icono-wrapper .icono {
    font-size: 64px;
    line-height: 1;
    filter: drop-shadow(0 0 15px rgba(74, 144, 226, 0.6));
    transition: all 0.4s;
}

.item-ochenta:hover .icono-wrapper .icono {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 25px rgba(233, 75, 139, 0.8));
}

.icono-imagen {
    width: 96px;
    height: 96px;
    max-width: 96px;
    max-height: 96px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.7));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-ochenta:hover .icono-imagen {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 30px rgba(233, 75, 139, 0.9));
}

.item-ochenta h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #4A90E2;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
    transition: all 0.3s;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    text-align: center;
}

.item-ochenta:hover h3 {
    color: #E94B8B;
    text-shadow: 0 0 15px rgba(233, 75, 139, 0.9);
}

.item-ochenta p {
    color: var(--crema);
    opacity: 0.85;
    font-size: 15px;
    line-height: 1.7;
    transition: opacity 0.3s;
    text-align: center;
}

.item-ochenta:hover p {
    opacity: 1;
}

/* ============================================
   QUÉ ES
   ============================================ */

.que-es {
    background: var(--crema);
}

.que-es .grande {
    font-size: 22px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 24px;
    color: var(--gris-texto);
    line-height: 1.7;
}

.que-es strong {
    color: var(--rojo-postal);
}

/* ============================================
   CÓMO FUNCIONA
   ============================================ */

.como-funciona {
    background: linear-gradient(180deg, var(--crema), #E8D5B7);
}

.pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.paso {
    text-align: center;
    padding: 32px 20px;
}

.paso-num {
    width: 70px;
    height: 70px;
    background: var(--rojo-postal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(199, 62, 58, 0.3);
}

.paso h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--negro-suave);
}

.paso p {
    color: var(--gris-texto);
    font-size: 15px;
}

/* ============================================
   FUNCIONALIDADES
   ============================================ */

.funcionalidades {
    background: var(--crema);
}

.grid-func {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.func {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.func:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(199, 62, 58, 0.15);
}

.check {
    color: var(--rojo-postal);
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.func p {
    color: var(--gris-texto);
    font-size: 16px;
}

/* ============================================
   GÉNEROS
   ============================================ */

.generos {
    background: linear-gradient(135deg, var(--morado), var(--rojo-postal));
    color: white;
}

.generos h2 {
    color: white;
}

.generos .subtitulo {
    color: white;
    opacity: 0.9;
}

.grid-generos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.genero {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: default;
}

.genero:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ============================================
   PRECIOS
   ============================================ */

.precios {
    background: var(--crema);
}

.grid-precios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.precio-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s;
}

.precio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.precio-card.destacado {
    border: 3px solid var(--rojo-postal);
    box-shadow: 0 8px 40px rgba(199, 62, 58, 0.2);
}

.precio-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rojo-postal);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.precio-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    text-align: center;
}

.precio {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    color: var(--rojo-postal);
    text-align: center;
    line-height: 1;
    margin-bottom: 8px;
}

.precio-desc {
    text-align: center;
    color: var(--gris-texto);
    font-size: 14px;
    margin-bottom: 24px;
}

.precio-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.precio-card li {
    padding: 8px 0;
    color: var(--gris-texto);
    font-size: 15px;
}

.precio-card .btn-principal,
.precio-card .btn-secundario {
    width: 100%;
    text-align: center;
}

.nota-precio {
    text-align: center;
    color: var(--gris-texto);
    font-size: 15px;
    font-style: italic;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    background: linear-gradient(180deg, #E8D5B7, var(--crema));
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 24px;
    background: white;
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--rojo-postal);
}

.faq-item p {
    color: var(--gris-texto);
    font-size: 15px;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
    background: var(--negro-suave);
    color: white;
    text-align: center;
}

.cta-final h2 {
    color: white;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #0F0F0F;
    color: var(--crema);
    padding: 60px 0 30px;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--rojo-postal);
    font-weight: 400;
}

.footer-col h4 img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-col a {
    display: block;
    color: var(--crema);
    text-decoration: none;
    opacity: 0.7;
    margin-bottom: 8px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--azul-neon);
}

.footer-col p {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--crema);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding-top: 24px;
    text-align: center;
    opacity: 0.6;
    font-size: 13px;
}

.footer-bottom p {
    margin-bottom: 4px;
    color: var(--crema);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-links {
        gap: 16px;
        font-size: 13px;
    }

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-imagen {
        max-width: 320px;
    }

    .cassette {
        max-width: 320px;
        transform: rotate(0deg);
    }

    .cassette-label {
        padding: 10px;
        height: 80px;
    }

    .cassette-title {
        font-size: 24px;
    }

    .cassette-sub {
        font-size: 10px;
    }

    .cassette-bottom {
        padding: 0 20px;
        margin-top: 8px;
    }

    .cassette-hole {
        width: 36px;
        height: 36px;
        border-width: 3px;
    }

    .cassette-hole::after {
        width: 16px;
        height: 16px;
    }

    .hero-botones {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-principal,
    .btn-secundario {
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .ejemplo-audio {
        max-width: 100%;
        margin: 24px auto 0;
    }

    section {
        padding: 60px 0;
    }

    .grid-precios {
        grid-template-columns: 1fr;
    }

    .grid-ochenta {
        grid-template-columns: 1fr;
    }

    .pasos {
        grid-template-columns: 1fr;
    }

    .grid-func {
        grid-template-columns: 1fr;
    }

    .icono-wrapper {
        width: 72px;
        height: 72px;
    }

    .icono-wrapper .icono {
        font-size: 48px;
    }

    .icono-imagen {
        width: 72px;
        height: 72px;
        max-width: 72px;
        max-height: 72px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 24px;
    }
}