/* Estilos generales - AIpornGeneratorMX.pw */

/* Importación de fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;700&display=swap');

/* Variables de colores - basados en bandera mexicana */
:root {
    --color-verde: #006847;
    --color-blanco: #FFFFFF;
    --color-rojo: #CE1126;
    --color-verde-claro: #4C9F70;
    --color-rojo-claro: #E14B5A;
    --color-texto: #333333;
    --color-texto-claro: #666666;
    --color-fondo: #F5F5F5;
    --sombra-suave: 0px 4px 10px rgba(0, 0, 0, 0.1);
    --sombra-media: 0px 6px 15px rgba(0, 0, 0, 0.15);
    --transicion: all 0.3s ease-in-out;
}

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

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
    background: var(--color-fondo);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-verde);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-verde-claro);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-verde), var(--color-rojo));
    margin: 0.8rem auto;
    border-radius: 2px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-verde);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: var(--transicion);
    border: none;
    font-family: 'Montserrat', sans-serif;
    box-shadow: var(--sombra-suave);
}

.btn:hover {
    background-color: var(--color-verde-claro);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--sombra-media);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-cta {
    background-color: var(--color-rojo);
}

.btn-cta:hover {
    background-color: var(--color-rojo-claro);
}

/* Header y navegación */
header {
    background: linear-gradient(135deg, var(--color-verde), var(--color-verde-claro));
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--sombra-suave);
}

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

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

.logo svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: var(--transicion);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100"><rect width="33.33%" height="100%" fill="%23006847" /><rect x="33.33%" width="33.33%" height="100%" fill="%23FFFFFF" /><rect x="66.66%" width="33.33%" height="100%" fill="%23CE1126" /></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 10px;
    width: 180px;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-rojo);
}

.hero-stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    border-top: 3px solid var(--color-verde);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.feature-icon {
    background-color: rgba(0, 104, 71, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-verde);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* How it Works */
.how-it-works {
    background-color: var(--color-fondo);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.step {
    flex: 0 0 calc(33.33% - 2rem);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, var(--color-verde), var(--color-verde-claro));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color-verde), var(--color-verde-claro));
    z-index: 0;
}

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

.step h3 {
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--color-rojo), var(--color-rojo-claro));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--color-texto);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-favicon {
    margin-top: 1rem;
    display: inline-block;
}

.footer-favicon svg {
    width: 40px;
    height: 40px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-verde);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: var(--transicion);
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .step::after {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-stat {
        width: 80%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .feature-card {
        text-align: center;
    }
    
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
}
