/*
 * Estilos para AIpornGeneratorCO.site
 * Paleta de colores: Rosa (#E91E63) y Amarillo (#FFC107)
 */

:root {
    --primary: #E91E63;
    --secondary: #FFC107;
    --accent: #03A9F4;
    --dark: #212121;
    --light: #FFFFFF;
    --gray: #757575;
    --light-gray: #F5F5F5;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    position: relative;
}

/* Fondo geométrico sutil para toda la página */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(233, 30, 99, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.03) 0%, transparent 50%);
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Barra de descuentos */
.discount-bar {
    background-color: var(--dark);
    color: var(--light);
    padding: 10px 0;
    text-align: center;
}

.discount-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.discount-label {
    background-color: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discount-text {
    font-size: 0.9rem;
}

/* Header y navegación */
.site-header {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-text {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-first {
    background: linear-gradient(45deg, var(--primary) 30%, var(--secondary) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-country {
    background-color: var(--primary);
    color: white;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 2px;
}

/* Menú hamburguesa para móvil */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 15;
}

.menu-icon .line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: var(--transition);
}

.menu-icon .line:nth-child(1) {
    top: 0;
}

.menu-icon .line:nth-child(2) {
    top: 8px;
}

.menu-icon .line:nth-child(3) {
    top: 16px;
}

.menu-toggle:checked ~ .menu-icon .line:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle:checked ~ .menu-icon .line:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .menu-icon .line:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Navegación */
.nav-list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-list a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav-list a:not(.btn-nav):hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--gradient);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.4);
}

/* Sección Hero */
.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(233, 30, 99, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    left: -3px;
    top: calc(50% - 3px);
}

.hero-text h1 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.25);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Patrón visual de Hero */
.pattern-bg {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.pattern-bg::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.3), transparent 70%);
    top: -30px;
    right: -30px;
    border-radius: 50%;
    z-index: -1;
}

/* Secciones generales */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--gradient);
    bottom: -10px;
    left: 20%;
    border-radius: 3px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Sección de características */
.features-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    z-index: 1;
}

/* Elementos decorativos */
.features-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49.5%, var(--light-gray) 50%);
    z-index: -1;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top right, transparent 49.5%, var(--light-gray) 50%);
    z-index: -1;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(233, 30, 99, 0.15);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
}

/* Sección de cómo usar */
.how-to-section {
    padding: 100px 0;
    position: relative;
}

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

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-marker {
    position: relative;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.step-marker::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--primary), rgba(233, 30, 99, 0.1));
    z-index: 1;
}

.step:last-child .step-marker::after {
    display: none;
}

.step-content {
    padding-top: 5px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
}

.cta-container {
    text-align: center;
}

/* Sección de preguntas frecuentes */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
}

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

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: rgba(233, 30, 99, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

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

.faq-toggle::before, .faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.faq-toggle::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-toggle::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

.faq-item.active .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--gray);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top left, var(--dark) 49.5%, transparent 50%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-icon {
    width: 60px;
    height: 60px;
}

.footer-title h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--light);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--gradient);
    left: 0;
    bottom: -8px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Estilos responsivos */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .pattern-bg {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Menú móvil */
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 10;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-list a.btn-nav {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-marker {
        margin: 0 auto 15px;
    }
    
    .step-marker::after {
        left: 50%;
        height: 30px;
        width: 2px;
        top: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
