/* css/styles.css */
:root {
    --primary-gradient: linear-gradient(135deg, #2563eb, #1e40af);
    --secondary-gradient: linear-gradient(135deg, #64748b, #475569);
    --success-gradient: linear-gradient(135deg, #22c55e, #16a34a);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.site-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Títulos de sección */
.section-title {
    color: #1e40af;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #2563eb;
}

/* Grid de herramientas */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Tarjetas de herramientas */
.tool-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.tool-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-info h2 {
    color: #1e40af;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tool-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.site-footer {
    background: white;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: #64748b;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .site-header {
        padding: 2rem 0;
    }

    .site-header h1 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .section-title {
        margin: 1.5rem 0 1rem;
    }
}

/* Animación por secciones */
.tools-section:nth-child(1) { animation-delay: 0.1s; }
.tools-section:nth-child(2) { animation-delay: 0.2s; }
.tools-section:nth-child(3) { animation-delay: 0.3s; }

.tools-grid .tool-card:nth-child(1) { animation-delay: 0.1s; }
.tools-grid .tool-card:nth-child(2) { animation-delay: 0.2s; }
.tools-grid .tool-card:nth-child(3) { animation-delay: 0.3s; }
.tools-grid .tool-card:nth-child(4) { animation-delay: 0.4s; }
.tools-grid .tool-card:nth-child(5) { animation-delay: 0.5s; }
.tools-grid .tool-card:nth-child(6) { animation-delay: 0.6s; }