/* Variables de colores */
:root {
    --primary-color: #F06292;
    --detail-color: #E7E7FF;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Navegación */
.main-nav {
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.main-nav.floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    background-color: var(--background-color);
    box-shadow: 0 2px 10px var(--shadow);
    animation: slideDown 0.3s ease-out;
}

.main-nav nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.logo img {
    height: 50px;
}

.menu {
    display: flex;
    list-style-type: none;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 60px 0;
}

.hero-text {
    flex: 1;
    padding-right: 60px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-image {
    max-width: 300px;
    height: auto;
    border-radius: 55px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: transform 0.3s ease;
    border: 12px solid #1c1c1e;
    position: relative;
}

/* Botón de silencio */
.mockup-image::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 100px;
    width: 3px;
    height: 20px;
    background-color: #1c1c1e;
    border-radius: 2px;
    box-shadow: -1px 0 2px rgba(0,0,0,0.3);
}

/* Botones de volumen */
.mockup-image::after {
    content: '';
    position: absolute;
    left: -14px;
    top: 140px;
    width: 3px;
    height: 50px;
    background-color: #1c1c1e;
    border-radius: 2px;
    box-shadow: -1px 0 2px rgba(0,0,0,0.3);
}

/* Botón de encendido */
.mockup-image .power-button {
    content: '';
    position: absolute;
    right: -14px;
    top: 100px;
    width: 3px;
    height: 35px;
    background-color: #1c1c1e;
    border-radius: 2px;
    box-shadow: 1px 0 2px rgba(0,0,0,0.3);
}

.mockup-image:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(240, 98, 146, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(240, 98, 146, 0.6);
}

.btn-secondary {
    background-color: var(--detail-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(231, 231, 255, 0.8);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 231, 255, 1);
}

/* Características */
.features {
    background-color: var(--detail-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Sección de Descarga */
.download {
    text-align: center;
    background-color: white;
}

.download p {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-button img {
    height: 50px;
    transition: transform 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

/* Sección Acerca de */
.about {
    background-color: var(--detail-color);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-logo {
    text-align: left;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 55px; /* Aumentado desde 40px */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Menú móvil */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 5px 10px var(--shadow);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateY(0);
    display: block;
}

.mobile-menu ul {
    list-style-type: none;
    padding: 0;
}

.mobile-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .app-stores {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0;
        padding: 8px 0;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-links a:last-child {
        border-bottom: none;
    }
    
    .footer-logo {
        text-align: center;
    }
}

/* Estilos para política de cookies */
.cookies-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cookies-content h2 {
    margin-top: 40px;
}

.cookies-content ul, .cookies-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.cookies-content li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Estilos para páginas legales */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.legal-text h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text p, .legal-text ul {
    margin-bottom: 20px;
}

.legal-text ul {
    padding-left: 20px;
}

.legal-text ul li {
    margin-bottom: 10px;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* Banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    box-shadow: 0 -2px 10px var(--shadow);
    padding: 15px 20px;
    z-index: 1001;
    display: none;
}

.cookie-banner.show {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-btn-settings {
    background-color: var(--detail-color);
    color: var(--text-color);
}

@media (max-width: 768px) {
    .cookie-banner.show {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Estilos para la página de privacidad */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-content h2 {
    margin-top: 40px;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}