/* Centro de Ayuda - Estilo Moderno */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-white);
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 800;
}

header h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Quick Navigation */
.quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: white;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-nav a {
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.quick-nav a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Main Content */
main {
    padding: 50px 40px;
}

.help-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

h3 {
    color: var(--primary);
    font-size: 2.2em;
    margin-bottom: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

h3::before {
    content: '';
    width: 6px;
    height: 50px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

h4 {
    color: var(--text-dark);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Step Cards */
.step-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.step-content ul {
    margin-left: 20px;
    color: var(--text-gray);
}

.step-content li {
    margin-bottom: 8px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 2px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.feature-card h4 {
    color: var(--primary);
    margin-top: 0;
}

.feature-card ol,
.feature-card ul {
    margin-left: 25px;
    color: var(--text-gray);
}

.feature-card li {
    margin-bottom: 10px;
}

/* Icon List */
.icon-list {
    list-style: none;
    margin-left: 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

/* Color Palette */
.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.color-box {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-box.yellow {
    background: #fef08a;
}

.color-box.green {
    background: #86efac;
}

.color-box.blue {
    background: #93c5fd;
}

.color-box.pink {
    background: #f9a8d4;
}

.color-box.orange {
    background: #fdba74;
}

/* Info Box */
.info-box {
    background: #eff6ff;
    border-left: 4px solid var(--info);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.info-box p {
    margin: 0;
    color: var(--text-gray);
}

/* Tip */
.tip {
    background: #fef3c7;
    border-left: 4px solid var(--warning);
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
}

/* FAQ Items */
.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

.faq-item h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-gray);
    margin: 0;
}

.faq-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Shortcuts Grid */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.shortcut-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.shortcut-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.shortcut-key {
    display: inline-block;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    border: 2px solid var(--primary);
    font-family: monospace;
    font-size: 1.1em;
}

.shortcut-desc {
    color: var(--text-gray);
    font-size: 0.95em;
}

/* Troubleshoot Cards */
.troubleshoot-card {
    background: #fef2f2;
    border-left: 4px solid var(--danger);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.troubleshoot-card h4 {
    color: var(--danger);
    margin-top: 0;
    margin-bottom: 15px;
}

.troubleshoot-card ul {
    margin-left: 25px;
    color: var(--text-gray);
}

.troubleshoot-card li {
    margin-bottom: 8px;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid var(--primary);
}

.contact-card h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.contact-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-method p {
    margin: 0;
    color: var(--text-gray);
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    text-align: center;
}

.resource-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.resource-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.resource-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95em;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 40px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s;
}

footer a:hover {
    border-bottom-color: white;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 2.2em;
    }

    header h2 {
        font-size: 1.3em;
    }

    .quick-nav {
        padding: 20px 15px;
    }

    .quick-nav a {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    main {
        padding: 30px 20px;
    }

    h3 {
        font-size: 1.8em;
    }

    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .shortcuts-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    main {
        padding: 20px 15px;
    }

    h3 {
        font-size: 1.5em;
    }

    h3::before {
        width: 4px;
        height: 35px;
    }

    .feature-card,
    .step-card {
        padding: 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
