/* Resources Page - Clean & Professional Redesign */

.resources-page {
    background-color: var(--surface-base);
    /* Ensure consistent dark background */
}

/* Hero Section */
.resources-hero {
    padding: var(--space-4xl) 0;
    background: radial-gradient(circle at top center, rgba(0, 194, 168, 0.08) 0%, transparent 50%);
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.resources-hero__title {
    font-size: 3rem;
    /* Large, bold title */
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.resources-hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tools Grid Section */
.tools-section {
    padding: var(--space-4xl) 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    /* Distinct spacing */
}

/* Tool Card - Simple & Clean */
.tool-card {
    background: var(--surface-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-teal-500);
    box-shadow: var(--shadow-card);
}

/* Card Header with Icon */
.tool-card__header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.tool-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 194, 168, 0.1);
    color: var(--accent-teal-500);
    border-radius: 12px;
    /* Soft square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Muted icon style for disabled items */
.tool-card.is-disabled .tool-card__icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* Card Content */
.tool-card__body {
    padding: 0 var(--space-xl) var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: var(--space-xs);
}

.tool-card__description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    /* Pushes footer down */
}

/* Card Footer/Actions */
.tool-card__footer {
    border-top: 1px solid var(--border-soft);
    padding: var(--space-md) var(--space-xl);
    background: rgba(255, 255, 255, 0.01);
}

.tool-card__status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-teal-500);
}

.tool-card.is-disabled .tool-card__status {
    color: var(--text-muted);
}

/* CTA Section */
.resources-cta {
    text-align: center;
    padding: var(--space-4xl) 0;
    background: var(--surface-card-strong);
    /* Slightly lighter block */
    border-top: 1px solid var(--border-soft);
}

.resources-cta h2 {
    color: var(--text-strong);
    margin-bottom: var(--space-md);
}

.resources-cta p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}