/* =====================================================
   PÁGINAS LEGALES PREMIUM - LOWKEY
   Para: contact.html, privacy.html, terms.html
   ===================================================== */

/* ===== VARIABLES ===== */
:root {
    --neon: #00ff9c;
    --dark: #0b0b0b;
    --dark-soft: #141414;
    --dark-card: #1a1a1a;
    --border: rgba(255,255,255,0.1);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
}

/* ===== RESET PARA PÁGINAS LEGALES ===== */
.legal-page {
    background: var(--dark);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    padding: 0;
    margin: 0;
}

/* ===== BOTÓN VOLVER ===== */
.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(0,255,156,0.1);
    border-color: var(--neon);
    color: var(--neon);
    transform: translateX(-5px);
}

.back-btn i {
    font-size: 1rem;
}

/* ===== CONTAINER PRINCIPAL ===== */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 40px 80px;
}

/* ===== HEADER DE LA PÁGINA ===== */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.legal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(0,255,156,0.15) 0%, rgba(0,255,156,0.05) 100%);
    border: 2px solid rgba(0,255,156,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neon);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,255,156,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0,255,156,0); }
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.legal-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(0,255,156,0.08);
    border: 1px solid rgba(0,255,156,0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--neon);
}

/* ===== CONTENIDO ===== */
.legal-content {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    line-height: 1.8;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 40px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-content h2 i {
    color: var(--neon);
    font-size: 1.5rem;
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.legal-content h4 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.legal-content ul,
.legal-content ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.legal-content ul li,
.legal-content ol li {
    padding: 10px 0 10px 40px;
    position: relative;
    color: var(--text-secondary);
}

.legal-content ul li i {
    position: absolute;
    left: 10px;
    top: 14px;
    color: var(--neon);
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== BOXES ESPECIALES ===== */
.intro-box {
    background: rgba(0,255,156,0.05);
    border-left: 4px solid var(--neon);
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.intro-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.info-box {
    display: flex;
    gap: 20px;
    background: rgba(59,130,246,0.05);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background: rgba(59,130,246,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #3b82f6;
    font-size: 1.3rem;
}

.info-box-content h3 {
    margin-top: 0;
    color: #3b82f6;
}

.disclaimer-box {
    background: rgba(251,191,36,0.05);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.disclaimer-box i {
    color: #fbbf24;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-box p {
    margin: 0;
}

.highlight-box {
    background: rgba(0,255,156,0.08);
    border-left: 4px solid var(--neon);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.important-box {
    background: rgba(239,68,68,0.05);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.important-box i {
    color: #ef4444;
}

.important-box h3 {
    color: #ef4444;
    margin-top: 0;
}

/* ===== SECCIONES NUMERADAS ===== */
.legal-section {
    margin: 50px 0;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
}

.section-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark);
    border: 2px solid var(--neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon);
}

.section-content {
    margin-top: 20px;
}

/* ===== GRIDS ===== */
.purpose-grid,
.security-features,
.cookies-grid,
.rights-grid,
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.purpose-item,
.security-item,
.cookie-type,
.right-item,
.payment-method {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.purpose-item:hover,
.security-item:hover,
.cookie-type:hover,
.right-item:hover,
.payment-method:hover {
    background: rgba(0,255,156,0.05);
    border-color: rgba(0,255,156,0.3);
    transform: translateY(-5px);
}

.purpose-item i,
.security-item i,
.cookie-type i,
.right-item i,
.payment-method i {
    font-size: 2rem;
    color: var(--neon);
    margin-bottom: 15px;
    display: block;
}

.purpose-item h4,
.security-item h4,
.cookie-type h4,
.right-item h4,
.payment-method h4 {
    margin: 15px 0 10px;
    color: var(--text-primary);
}

.purpose-item p,
.security-item p,
.cookie-type p,
.right-item p,
.payment-method p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== BADGES ===== */
.cookie-badge,
.contact-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
}

.cookie-badge.required {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

.cookie-badge.optional {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}

.contact-badge {
    background: rgba(0,255,156,0.1);
    color: var(--neon);
}

.contact-badge.available {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}

/* ===== CONTACT PAGE ===== */
.contact-intro {
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    gap: 25px;
    margin: 40px 0;
}

.contact-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(0,255,156,0.3);
    transform: translateX(10px);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-card-icon.whatsapp {
    background: rgba(37,211,102,0.1);
    color: #25d366;
}

.contact-card-icon.email {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}

.contact-card-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.contact-card-content p {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--neon);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #00e68a;
    gap: 15px;
}

.contact-link i {
    font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq-section {
    margin: 50px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(0,255,156,0.03);
    border-color: rgba(0,255,156,0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.faq-question i {
    color: var(--neon);
    font-size: 1.2rem;
}

.faq-answer {
    padding-left: 40px;
    color: var(--text-secondary);
}

/* ===== THIRD PARTY LIST ===== */
.third-party-list {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.third-party-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.third-party-item i {
    color: var(--neon);
    font-size: 1.5rem;
    margin-top: 2px;
}

.third-party-item strong {
    display: block;
    margin-bottom: 5px;
}

.third-party-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== CTA BOX ===== */
.cta-box {
    text-align: center;
    padding: 40px;
    background: rgba(0,255,156,0.05);
    border: 1px solid rgba(0,255,156,0.2);
    border-radius: 16px;
    margin: 30px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--neon);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 20px 0 10px;
}

.cta-button:hover {
    background: #00e68a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,255,156,0.3);
}

.or-text {
    color: var(--text-secondary);
    margin: 10px 0;
}

.email-link {
    color: var(--neon);
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

/* ===== CONTACT FINAL BOX ===== */
.contact-final-box {
    background: linear-gradient(135deg, rgba(0,255,156,0.08) 0%, rgba(0,255,156,0.02) 100%);
    border: 1px solid rgba(0,255,156,0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 50px 0;
}

.contact-final-box h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-final-box h3 i {
    color: var(--neon);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.contact-options a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-options a:hover {
    background: rgba(0,255,156,0.1);
    border-color: var(--neon);
    color: var(--neon);
    transform: translateY(-3px);
}

/* ===== WARNING BOXES ===== */
.age-warning,
.responsibility-warning {
    display: flex;
    gap: 20px;
    background: rgba(239,68,68,0.08);
    border: 2px solid rgba(239,68,68,0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.age-warning i,
.responsibility-warning i {
    font-size: 2.5rem;
    color: #ef4444;
    flex-shrink: 0;
}

.age-warning h3,
.responsibility-warning h3 {
    margin: 0 0 10px 0;
    color: #ef4444;
}

.disclaimer-strong {
    background: rgba(239,68,68,0.08);
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.disclaimer-strong i {
    color: #ef4444;
    margin-right: 10px;
}

/* ===== PRODUCT INFO GRID ===== */
.product-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.product-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.product-info-item i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-info-item i.fa-check-circle {
    color: #22c55e;
}

.product-info-item i.fa-times-circle {
    color: #ef4444;
}

.product-info-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== ORDERED LIST ===== */
.ordered-list {
    list-style: decimal;
    padding-left: 40px;
}

.ordered-list li {
    padding: 8px 0;
    color: var(--text-secondary);
}

/* ===== SHIPPING OPTIONS ===== */
.shipping-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.shipping-option {
    padding: 25px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.shipping-option i {
    font-size: 2.5rem;
    color: var(--neon);
    margin-bottom: 15px;
    display: block;
}

.shipping-option h4 {
    margin: 15px 0 8px;
}

.shipping-option p {
    margin: 0;
    color: var(--text-secondary);
}

/* ===== PROCESS BOX ===== */
.process-box {
    background: rgba(0,255,156,0.05);
    border: 1px solid rgba(0,255,156,0.2);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.process-box h4 {
    margin: 0 0 20px 0;
    color: var(--neon);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== INFO BOX INLINE ===== */
.info-box-inline {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(59,130,246,0.05);
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.info-box-inline i {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-top: 2px;
}

.info-box-inline p {
    margin: 0;
}

/* ===== NOTE ===== */
.note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 2px solid var(--border);
}

/* ===== UPDATE NOTICE ===== */
.update-notice {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.update-notice p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.legal-footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border);
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.legal-footer p {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--neon);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00e68a;
}

.footer-links span {
    color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .back-btn {
        top: 20px;
        left: 20px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .back-btn span {
        display: none;
    }
    
    .legal-container {
        padding: 80px 20px 60px;
    }
    
    .legal-content {
        padding: 30px 25px;
    }
    
    .legal-title {
        font-size: 1.8rem;
    }
    
    .legal-subtitle {
        font-size: 0.95rem;
    }
    
    .legal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .legal-section {
        padding: 25px 20px;
    }
    
    .section-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 20px;
    }
    
    .purpose-grid,
    .security-features,
    .cookies-grid,
    .rights-grid,
    .payment-methods,
    .shipping-times {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-options a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-content h2 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
