/* 
   Undresser Colombia - Hoja de Estilos Principal
   Colores inspirados en la bandera colombiana:
   - Amarillo: #FCD116
   - Azul: #003893
   - Rojo: #CE1126
*/

/* Reset Básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de Root */
:root {
    --amarillo: #FCD116;
    --azul: #003893;
    --rojo: #CE1126;
    --blanco: #ffffff;
    --negro: #121212;
    --gris-claro: #f8f8f8;
    --gris-medio: #e0e0e0;
    --gris-oscuro: #333333;
    --sombra-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --sombra-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --sombra-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transicion: all 0.3s ease;
}

/* Estilos Base */
html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--azul);
    transition: var(--transicion);
}

a:hover {
    color: var(--amarillo);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.6rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.4rem;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--amarillo), var(--azul), var(--rojo));
    border-radius: 4px;
}

/* Botones */
.btn {
    display: inline-block;
    background: var(--azul);
    color: var(--blanco);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transicion);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--azul), var(--amarillo));
    box-shadow: 0 4px 15px rgba(0, 56, 147, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 56, 147, 0.4);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--azul);
    color: var(--azul);
}

.btn-outline:hover {
    background: var(--azul);
    color: var(--blanco);
}

/* Header y Navegación */
header {
    background-color: var(--blanco);
    box-shadow: var(--sombra-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--negro);
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    margin-right: 12px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--negro);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--amarillo), var(--azul), var(--rojo));
    transition: var(--transicion);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 32px;
    height: 26px;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--azul);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transicion);
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* Sección Hero */
.hero {
    background: linear-gradient(135deg, rgba(252, 209, 22, 0.2) 0%, rgba(0, 56, 147, 0.05) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    right: -150px;
    top: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 209, 22, 0.2) 0%, rgba(252, 209, 22, 0) 70%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 17, 38, 0.2) 0%, rgba(206, 17, 38, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 .highlight {
    color: var(--azul);
    position: relative;
    display: inline-block;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: var(--amarillo);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.6;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    color: var(--gris-oscuro);
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 56, 147, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 56, 147, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 56, 147, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Sección de Características */
.features {
    background-color: var(--blanco);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: var(--blanco);
    border-radius: var(--radius);
    box-shadow: var(--sombra-md);
    padding: 30px;
    text-align: center;
    transition: var(--transicion);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--amarillo), var(--azul), var(--rojo));
    transition: var(--transicion);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transicion);
}

.feature-icon.yellow {
    background-color: rgba(252, 209, 22, 0.1);
    color: var(--amarillo);
}

.feature-icon.blue {
    background-color: rgba(0, 56, 147, 0.1);
    color: var(--azul);
}

.feature-icon.red {
    background-color: rgba(206, 17, 38, 0.1);
    color: var(--rojo);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h3 {
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--gris-oscuro);
}

/* Sección de Cómo Funciona */
.how-it-works {
    background-color: var(--gris-claro);
    position: relative;
}

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

.step {
    display: flex;
    background-color: var(--blanco);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--sombra-sm);
    transition: var(--transicion);
    position: relative;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--sombra-md);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--amarillo), var(--azul));
    color: var(--blanco);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: var(--transicion);
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step:nth-child(2) .step-number {
    background: linear-gradient(135deg, var(--azul), var(--rojo));
}

.step:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--rojo), var(--amarillo));
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Sección de Preguntas Frecuentes */
.faq {
    background-color: var(--blanco);
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    background-color: var(--blanco);
    overflow: hidden;
    box-shadow: var(--sombra-sm);
    border-left: 4px solid var(--amarillo);
}

.faq-item:nth-child(2) {
    border-left-color: var(--azul);
}

.faq-item:nth-child(3) {
    border-left-color: var(--rojo);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transicion);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    transition: var(--transicion);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--azul);
    transition: var(--transicion);
}

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

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--gris-oscuro);
}

.faq-item.active .faq-question {
    background-color: rgba(0, 56, 147, 0.05);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* Footer */
footer {
    background-color: var(--negro);
    color: var(--blanco);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand {
    margin-left: 15px;
}

.footer-brand h3 {
    color: var(--blanco);
    margin-bottom: 5px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: var(--blanco);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--amarillo), var(--azul), var(--rojo));
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--blanco);
    opacity: 0.7;
    transition: var(--transicion);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--amarillo);
    padding-left: 5px;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--blanco);
        flex-direction: column;
        gap: 10px;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    nav.active .nav-menu {
        right: 0;
    }
    
    .step {
        padding: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        padding: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
