/**
 * Tools Page — Page-specific styles
 */

.page-tools {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: #334155;
    background: #f8fafc;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Tool cards enhancements (base comes from global-v2) */
.tool-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    position: relative;
    border-top: 3px solid #e2e8f0;
}
.tool-card.teal   { border-top-color: #14b8a6; }
.tool-card.red    { border-top-color: #ef4444; }
.tool-card.purple { border-top-color: #8b5cf6; }
.tool-card.blue   { border-top-color: #3b82f6; }
.tool-card.green  { border-top-color: #10b981; }
.tool-card.orange { border-top-color: #f97316; }

.tool-icon {
    font-size: 2.25rem;
    margin-bottom: 14px;
}

/* Tool badges */
.tool-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-popular {
    background: rgba(245,158,11,0.1);
    color: #d97706;
}
.badge-free {
    background: rgba(16,185,129,0.1);
    color: #059669;
}
.badge-new {
    background: rgba(37,99,235,0.1);
    color: #2563eb;
}

.tool-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.3;
}
.tool-description {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Tool features list */
.tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
}
.tool-features li {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
    padding: 3px 0 3px 18px;
    position: relative;
}
.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.75rem;
}

.tool-cta {
    display: block;
    margin-top: 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    transition: color 0.2s;
}
.tool-card:hover .tool-cta {
    color: #1d4ed8;
}

/* Benefits section */
.benefits-section {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    padding: 80px 24px;
    margin-top: 20px;
}
.benefits-section .section-header h2 {
    color: #f1f5f9 !important;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 0;
}
.benefit-item {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.benefit-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
.benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.benefit-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 8px;
}
.benefit-description {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* CTA buttons */
.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.cta-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.cta-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245,158,11,0.4);
    color: white;
    text-decoration: none;
}
.cta-btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.15);
}
.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    text-decoration: none;
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}
.section-header p {
    font-size: 1rem;
    color: #475569;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .tool-card { padding: 22px 18px; }
}
