/* 
 * DeepfakeES.love - Estilo principal
 * Diseño español con colores del país: rojo (#AA151B) y amarillo (#F1BF00)
 */

/* Fuentes y configuración básica */
:root {
    --color-red: #AA151B;
    --color-yellow: #F1BF00;
    --color-dark: #333333;
    --color-light: #FFFFFF;
    --color-gray: #F5F5F5;
    --color-gray-dark: #888888;
    --font-primary: 'Poppins', sans-serif;
    --shadow-main: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

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

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

/* Botones */
.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(135deg, var(--color-red), #D32F2F);
    color: var(--color-light);
    box-shadow: 0 4px 15px rgba(170, 21, 27, 0.3);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #D32F2F, var(--color-red));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(170, 21, 27, 0.4);
    color: var(--color-light);
}

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

.secondary-btn:hover {
    background: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-3px);
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-red);
}

.section-header h2 span {
    color: var(--color-red);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
}

/* Cabecera */
.site-header {
    padding: 20px 0;
    background-color: var(--color-light);
    box-shadow: var(--shadow-main);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

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

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

.nav-cta {
    background-color: var(--color-red);
    color: var(--color-light) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav-cta:hover {
    background-color: #D32F2F;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(170, 21, 27, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Sección Hero */
.hero-section {
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--color-red), var(--color-yellow), var(--color-red));
}

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

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
}

.stat-number .small {
    font-size: 1rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arch-wrap {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arch {
    position: absolute;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    border: 3px solid;
    border-bottom: none;
}

.arch-large {
    width: 300px;
    height: 150px;
    border-color: var(--color-red);
    bottom: 50px;
}

.arch-medium {
    width: 240px;
    height: 120px;
    border-color: var(--color-yellow);
    bottom: 80px;
}

.arch-small {
    width: 180px;
    height: 90px;
    border-color: var(--color-red);
    bottom: 110px;
}

.ai-face {
    position: absolute;
    bottom: 150px;
    z-index: 5;
}

/* Sección Sobre nosotros */
.about-section {
    background-color: var(--color-gray);
    position: relative;
    padding: 100px 0;
}

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

.about-content {
    padding-right: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-text {
    font-weight: 500;
}

.about-visual {
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arch-pattern {
    position: relative;
    width: 100%;
    height: 300px;
}

.arch-ornament {
    position: absolute;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    border: 2px solid;
    border-bottom: none;
    left: 50%;
    transform: translateX(-50%);
}

.arch-ornament-large {
    width: 300px;
    height: 150px;
    border-color: var(--color-red);
    bottom: 0;
}

.arch-ornament-medium {
    width: 240px;
    height: 120px;
    border-color: var(--color-yellow);
    bottom: 30px;
}

.arch-ornament-small {
    width: 180px;
    height: 90px;
    border-color: var(--color-red);
    bottom: 60px;
}

/* Sección Características */
.features-section {
    background-color: var(--color-light);
    position: relative;
}

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

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--color-red);
    transition: var(--transition);
    z-index: -1;
}

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

.feature-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.feature-icon-wrap {
    margin-bottom: 20px;
    background: var(--color-gray);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

/* Sección Cómo funciona */
.how-section {
    background-color: var(--color-gray);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-main);
    transition: var(--transition);
    flex: 1;
    position: relative;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-red);
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.step-card h3 {
    margin-bottom: 15px;
}

/* Sección Testimonios */
.testimonial-section {
    background-color: var(--color-light);
    position: relative;
}

.testimonial-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-main);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--color-yellow);
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.testimonial-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-rating {
    color: var(--color-yellow);
    font-size: 1.2rem;
}

/* Sección FAQ */
.faq-section {
    background-color: var(--color-gray);
    position: relative;
}

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

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

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: var(--transition);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-icon::before {
    width: 2px;
    height: 100%;
}

.accordion-icon::after {
    width: 100%;
    height: 2px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding-bottom: 20px;
}

.accordion-item.active .accordion-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Sección CTA */
.cta-section {
    background: linear-gradient(135deg, var(--color-red), #D32F2F);
    color: var(--color-light);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--color-light);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .primary-btn {
    background: var(--color-light);
    color: var(--color-red);
}

.cta-section .primary-btn:hover {
    background: var(--color-yellow);
    color: var(--color-dark);
}

/* Footer */
.site-footer {
    background-color: #212121;
    color: var(--color-light);
    padding: 60px 0 30px;
}

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

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

.footer-logo {
    width: 50px;
    height: 50px;
}

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

.brand-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

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

.footer-column h4 {
    color: var(--color-light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-red);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

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

.footer-column ul li a:hover {
    color: var(--color-yellow);
}

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

.keywords {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-light);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        gap: 30px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
}
