/*
Theme Name: Solución de Problemas WordPress
Description: Tema moderno y profesional enfocado en solución de problemas de WordPress
Author: Mejor Mantenimiento WP
Version: 1.0.0
Text Domain: solucion-problemas
*/

:root {
    --primary-color: #1e40af;
    --secondary-color: #059669;
    --accent-color: #dc2626;
    --text-color: #1f2937;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Header Styles - Minimalist for Landing Page */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center; /* Centrar navegación */
    align-items: center;
    width: 100%;
}

.site-logo {
    display: none; /* Ocultar título del sitio */
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Ocultar navegación si está vacía */
.main-navigation:empty {
    display: none;
}

/* Header más delgado para landing page */
@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
        min-height: 50px;
    }
    
    .main-navigation ul {
        gap: 1rem;
    }
}

/* Landing Page Optimizations */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons Enhancement */
.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
    background: #b91c1c;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Trust Indicators */
.trust-section {
    background: var(--white);
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    padding: 1rem;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.trust-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Services Section - Landing Page Optimized */
.services-section {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.service-description {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-link {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-company {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Back to Top Button - Simplified */
#back-to-top {
    transition: all 0.3s ease !important;
}

/* Form Messages */
.form-message {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border-left: 4px solid #10b981;
}

.form-message-error {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    border-left: 4px solid #ef4444;
}

.form-message p {
    margin: 0;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form State Enhancements */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
    border-color: var(--primary-color);
}

/* Urgency Button States */
.urgency-critical {
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    animation: pulse 2s infinite;
}

.urgency-high {
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
}

.urgency-medium {
    background: linear-gradient(135deg, #1e40af, #059669) !important;
}

.urgency-low {
    background: linear-gradient(135deg, #059669, #047857) !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Form Improvements */
@media (max-width: 768px) {
    .form-message {
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* GDPR Section Styles */
.gdpr-section {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid #e3f2fd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gdpr-section:hover {
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.1);
}

.gdpr-checkbox label {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    color: #2c3e50 !important; /* Texto más oscuro y legible */
    font-weight: 500;
}

.gdpr-checkbox label:hover {
    color: #1976d2;
}

.gdpr-checkbox input[type="checkbox"] {
    accent-color: #2196f3;
    cursor: pointer;
}

.gdpr-info {
    background: rgba(248, 249, 250, 0.9) !important;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #e0e0e0;
}

.gdpr-info,
.gdpr-info p,
.gdpr-info li {
    color: #1a202c !important; /* Mucho más oscuro */
    font-weight: 600 !important; /* Más grueso */
}

.gdpr-info strong {
    color: #000000 !important; /* Negro puro */
    font-weight: 700 !important;
}

.gdpr-info ul {
    list-style: none;
    margin: 0.5rem 0;
    padding: 0;
}

.gdpr-info li {
    margin: 0.3rem 0;
    padding-left: 0.5rem;
}

#privacy-policy-details {
    border: 1px solid #e0e0e0;
    animation: slideDown 0.3s ease;
    background: #ffffff !important;
}

#privacy-policy-details,
#privacy-policy-details p,
#privacy-policy-details h5 {
    color: #374151 !important; /* Mejorar contraste */
}

#privacy-policy-details h5 {
    color: #1f2937 !important;
    font-weight: 600;
}

#privacy-policy-details::-webkit-scrollbar {
    width: 6px;
}

#privacy-policy-details::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#privacy-policy-details::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#privacy-policy-details::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
        padding: 1rem;
    }
}

/* GDPR Mobile Responsive */
@media (max-width: 768px) {
    .gdpr-section {
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .gdpr-checkbox label {
        font-size: 0.9rem;
    }
    
    .gdpr-info {
        font-size: 0.8rem;
    }
    
    #privacy-policy-details {
        font-size: 0.8rem;
        max-height: 150px;
    }
}

/* GDPR Link Styles */
.gdpr-section a {
    color: #2196f3;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.gdpr-section a:hover {
    color: #1976d2;
    text-decoration: none;
}

/* =========================
   COOKIE BANNER STYLES - ALTA PRIORIDAD
   ========================= */

.cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    color: white !important;
    z-index: 10000 !important;
    padding: 1.5rem !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: none !important;
}

.cookie-banner.show {
    transform: translateY(0) !important;
    display: block !important;
}

.cookie-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem !important;
}

.cookie-text {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex: 1 !important;
}

.cookie-icon {
    font-size: 2.5rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.cookie-message h4 {
    margin: 0 0 0.5rem 0 !important;
    font-size: 1.2rem !important;
    color: #ecf0f1 !important;
}

.cookie-message p {
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: #bdc3c7 !important;
}

.cookie-actions {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
}

.cookie-btn-primary,
.cookie-btn-secondary {
    padding: 0.8rem 1.5rem !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: white !important;
}

.cookie-btn-primary:hover {
    background: linear-gradient(135deg, #229954, #27ae60) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4) !important;
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    margin-top: 1.5rem !important;
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    color: #2c3e50 !important;
    animation: slideDown 0.3s ease !important;
    display: none !important;
}

.cookie-settings-panel h4 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.cookie-slider {
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.cookie-slider:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    left: 2px;
    top: 2px;
    transition: all 0.3s ease;
}

.cookie-toggle input:checked + .cookie-slider {
    background: #2ecc71;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background: #95a5a6;
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-info strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #2c3e50;
    font-size: 1rem;
}

.cookie-info p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-panel-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Cookie Policy Link (Fixed Position) */
.cookie-policy-link {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-policy-link a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.cookie-policy-link:hover {
    background: rgba(44, 62, 80, 1);
    transform: translateY(-2px);
}

.cookie-policy-link a:hover {
    color: #3498db;
}

/* Responsive Design for Cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn-primary,
    .cookie-btn-secondary {
        width: 100%;
    }
    
    .cookie-settings-panel {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .cookie-panel-actions {
        flex-direction: column;
    }
    
    .cookie-policy-link {
        left: 10px;
        bottom: 10px;
        padding: 0.4rem 0.8rem;
    }
    
    .cookie-policy-link a {
        font-size: 0.75rem;
    }
}

/* =============================================================================
   404 ERROR PAGE STYLES - ENHANCED & ROBUST VERSION
   ============================================================================= */

/* Reset and wrapper */
.error-404-wrapper {
    width: 100%;
    background: #f8fafc;
}

/* Hero Section - Main 404 */
.error-404-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.error-404-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.error-404-container, .container-404 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* Visual Elements */
.error-404-visual {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.error-404-circle {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.error-404-number {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    font-family: 'Arial', sans-serif;
}

.error-404-emoji {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: bounce404 2s infinite;
}

@keyframes bounce404 {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* Particles */
.error-404-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: float404 4s infinite ease-in-out;
}

.particle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 15%; animation-delay: 1s; }
.particle-3 { bottom: 40%; left: 15%; animation-delay: 2s; }
.particle-4 { bottom: 20%; right: 25%; animation-delay: 3s; }

@keyframes float404 {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-30px) scale(1.3); opacity: 1; }
}

/* Content */
.error-404-content {
    text-align: center;
    color: white;
}

.error-404-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.error-404-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.error-404-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-404 {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.2rem 2.5rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btn-404::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-404:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-emergency {
    background: rgba(220, 38, 38, 0.95);
    color: white;
    border-color: rgba(220, 38, 38, 0.5);
}

.btn-emergency:hover {
    background: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Navigation Section */
.error-404-navigation {
    padding: 4rem 2rem;
    background: white;
}

.nav-404-title {
    text-align: center;
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 3rem;
    font-weight: 600;
}

.nav-404-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.nav-404-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.nav-404-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-404-card:hover::before {
    transform: scaleX(1);
}

.nav-404-card:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.nav-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.nav-404-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1f2937;
}

.nav-404-card p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Emergency Contact Section */
.emergency-contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 2rem;
}

.emergency-header {
    text-align: center;
    margin-bottom: 4rem;
}

.emergency-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emergency-title {
    font-size: 3rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emergency-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Emergency Grid */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.emergency-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.emergency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.emergency-card:hover::before {
    transform: scaleX(1);
}

.emergency-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.priority-card {
    border-left: 5px solid #dc2626;
}

.general-card {
    border-left: 5px solid #2563eb;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 3.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.emergency-icon {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
}

.general-icon {
    background: linear-gradient(135deg, #eff6ff, #bfdbfe);
}

.priority-badge, .general-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge {
    background: #dc2626;
    color: white;
}

.general-badge {
    background: #2563eb;
    color: white;
}

.card-content h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid #e5e7eb;
}

.feature-list li {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Contact Buttons */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    background: none;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.emergency-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.general-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.general-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

/* Trust Stats */
.trust-stats-404 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.trust-stat {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

/* Why Choose Section */
.why-choose-404 {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 5rem 2rem;
    color: white;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-choose-header h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-choose-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid-404 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-404 {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-404:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-404 h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-404 p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .error-404-hero {
        min-height: 70vh;
        padding: 3rem 1rem;
    }
    
    .error-404-circle {
        width: 180px;
        height: 180px;
    }
    
    .error-404-number {
        font-size: 3.5rem;
    }
    
    .error-404-emoji {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
    }
    
    .error-404-title {
        font-size: 2.5rem;
    }
    
    .error-404-subtitle {
        font-size: 1.1rem;
    }
    
    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-404 {
        width: 100%;
        max-width: 350px;
    }
    
    .nav-404-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-title {
        font-size: 2.5rem;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .emergency-card {
        padding: 2rem;
    }
    
    .trust-stats-404 {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
    }
    
    .features-grid-404 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-404 {
        padding: 2rem;
    }
    
    .why-choose-header h3 {
        font-size: 2rem;
    }
}
