/* Estilos para undressingCO.pw - Sitio web de desnudos IA para Colombia */

/* Variables de colores inspirados en la bandera colombiana */
:root {
    --amarillo: #FCD116;
    --azul: #003893;
    --rojo: #CE1126;
    --claro: #FFFFFF;
    --oscuro: #111111;
    --gris: #444444;
    --gris-claro: #F5F5F5;
    --sombra: rgba(0, 0, 0, 0.1);
    --gradiente: linear-gradient(135deg, var(--amarillo) 0%, var(--azul) 50%, var(--rojo) 100%);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--oscuro);
    background-color: var(--claro);
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--azul);
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Contenedor principal */
.contenedor {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px var(--sombra);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--azul);
}

.logo span {
    color: var(--rojo);
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-image: var(--gradiente);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Sección Hero */
.seccion-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(170deg, rgba(252, 209, 22, 0.1), rgba(206, 17, 38, 0.05));
}

.seccion-hero .contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-contenido {
    max-width: 600px;
}

.hero-contenido h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradiente);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-contenido p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gris);
}

.hero-botones {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.boton-primario {
    display: inline-block;
    background: var(--rojo);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(206, 17, 38, 0.3);
    transition: all 0.3s ease;
}

.boton-primario:hover {
    background: var(--azul);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 56, 147, 0.4);
}

.boton-texto {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--azul);
    transition: gap 0.3s ease;
}

.boton-texto:hover {
    gap: 0.8rem;
}

.flecha {
    transition: transform 0.3s ease;
}

.boton-texto:hover .flecha {
    transform: translateX(3px);
}

.hero-grafico {
    position: relative;
}

.hero-svg {
    filter: drop-shadow(0 10px 20px var(--sombra));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Estadísticas */
.estadisticas {
    background-color: var(--azul);
    color: white;
    padding: 2.5rem 0;
}

.estadisticas .contenedor {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.estadistica h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--amarillo);
}

.estadistica p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Encabezados de sección */
.seccion-encabezado {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.seccion-encabezado h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.seccion-encabezado h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-image: var(--gradiente);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.seccion-encabezado p {
    font-size: 1.2rem;
    color: var(--gris);
}

/* Sección de características */
.seccion-caracteristicas {
    padding: 5rem 0;
    background-color: var(--gris-claro);
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.caracteristica-tarjeta {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--sombra);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caracteristica-tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--sombra);
}

.icono {
    margin-bottom: 1.5rem;
}

.caracteristica-tarjeta h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.caracteristica-tarjeta p {
    color: var(--gris);
}

/* Sección Cómo Funciona */
.seccion-como-funciona {
    padding: 5rem 0;
}

.pasos-contenedor {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.paso {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--sombra);
}

.paso-icono {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradiente);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.paso-separador {
    width: 50px;
    height: 3px;
    background-image: var(--gradiente);
    position: relative;
}

.paso-separador::before,
.paso-separador::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--amarillo);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.paso-separador::before { left: 0; }
.paso-separador::after { right: 0; }

.paso h3 {
    margin-bottom: 0.5rem;
    color: var(--azul);
}

.cta-centrado {
    text-align: center;
    margin-top: 3rem;
}

/* Sección Preguntas */
.seccion-preguntas {
    padding: 5rem 0;
    background-color: var(--gris-claro);
}

.preguntas-lista {
    max-width: 800px;
    margin: 0 auto;
}

.pregunta-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px var(--sombra);
    overflow: hidden;
}

.pregunta-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.pregunta-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.pregunta-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

.pregunta-toggle::before,
.pregunta-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--rojo);
    transition: all 0.3s ease;
}

.pregunta-toggle::before {
    width: 100%;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.pregunta-toggle::after {
    width: 3px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.pregunta-item.activo .pregunta-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.pregunta-respuesta {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pregunta-item.activo .pregunta-respuesta {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

/* CTA Final */
.cta-final {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(170deg, rgba(0, 56, 147, 0.05), rgba(206, 17, 38, 0.1));
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-final p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--gris);
}

/* Footer */
footer {
    background-color: var(--oscuro);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo h3 {
    margin: 1rem 0 0.5rem;
    color: var(--claro);
}

.footer-logo p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links h4,
.footer-legal h4,
.footer-keywords h4 {
    color: var(--amarillo);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-legal a {
    color: var(--claro);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--amarillo);
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.keywords-cloud span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .seccion-hero .contenedor {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-contenido {
        margin: 0 auto;
    }
    
    .hero-botones {
        justify-content: center;
    }
    
    .estadisticas .contenedor {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header .contenedor {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .pasos-contenedor {
        grid-template-columns: 1fr;
    }
    
    .paso-separador {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .estadisticas .contenedor {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
