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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Header */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 0.2rem;
}

.logo-section h1 a {
    color: #f39c12;
    text-decoration: none;
}

.subtitle {
    font-size: 0.9rem;
    color: #bdc3c7;
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: #f39c12;
    border-bottom: 2px solid #f39c12;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f39c12;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #ecf0f1;
}

.app-badges {
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    background: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.badge:hover {
    transform: translateY(-2px);
}

.badge span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-light {
    background: white;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.support-item h3 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.btn-primary {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: #c0392b;
}

/* Privacy Cards */
.privacy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.privacy-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.privacy-card h3 {
    color: #27ae60;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* Legal Pages */
.legal-page {
    background: white;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-content h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.legal-section h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin: 1rem 0;
}

.legal-footer {
    background: #34495e;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

/* Contact Page */
.contact-page {
    background: white;
    min-height: 100vh;
}

.contact-hero {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    margin-bottom: 2rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section {
    padding: 2rem 0;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.contact-card h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: left;
}

.contact-details {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.contact-note {
    font-weight: 600;
    margin-top: 1rem;
    color: #e74c3c;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.faq-section .faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-section .faq-item h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-answer {
    margin-top: 0.5rem;
}

.faq-answer ol, .faq-answer ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

/* Support Hours */
.support-hours {
    padding: 2rem 0;
}

.support-hours h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

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

.hours-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #27ae60;
}

.hours-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hours-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

/* Emergency Contact */
.emergency-contact {
    padding: 2rem 0;
}

.emergency-card {
    background: #fee;
    border: 2px solid #e74c3c;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.emergency-card h2 {
    color: #e74c3c;
    margin-bottom: 1rem;
    text-align: center;
}

.emergency-note {
    font-style: italic;
    color: #c0392b;
    font-weight: 600;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f39c12;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f39c12;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-grid,
    .support-grid,
    .privacy-cards,
    .contact-grid,
    .faq-grid,
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .support-item,
    .contact-card {
        padding: 1.5rem;
    }
    
    .legal-section {
        padding: 1rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.support-item,
.privacy-card,
.contact-card {
    animation: fadeIn 0.6s ease-out;
}

/* Enlaces */
a {
    color: #3498db;
    transition: color 0.3s;
}

a:hover {
    color: #2980b9;
}

/* Listas mejoradas */
ul li {
    margin-bottom: 0.3rem;
}

ol li {
    margin-bottom: 0.3rem;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}