:root {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #6366f1;
    --card-bg: #ffffff;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    width: 90%;
    padding: 40px 20px;
    text-align: center;
}

header {
    margin-bottom: 50px;
}

.logo {
    font-size: 3rem;
    margin-bottom: 15px;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h2 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.btn-text {
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

/* Estilo para el componente de regreso */
.back-to-index-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #6366f1; /* Color índigo/acento */
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.back-link:hover {
    border-color: #6366f1;
    transform: translateX(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
}

.back-link span {
    font-size: 1.25rem;
}

footer {
    margin-top: 60px;
    font-size: 0.85rem;
    color: var(--text-muted);
}