/* ===================================================================
   TOOLS BASE - FOUNDATION STYLES
   Core variables, utilities, and shared elements for all tools pages
   Load this first on all tools pages
   =================================================================== */

/* ============ COMING SOON BADGE ============ */
.coming-soon-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 10px;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coming-soon-badge i {
    font-size: 0.7rem;
}

@media (max-width: 480px) {
    .coming-soon-badge {
        top: 0px;
        right: 6px;
    }
}

/* ============ SECTION HEADER (Common across pages) ============ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: var(--text-4xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Add top margin only for tools sections on hub page */
.popular-tools .section-header h2 {
    margin-top: var(--spacing-2xl);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ SECTION LAYOUTS ============ */
.tools-section {
    padding: var(--spacing-3xl) 0;
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.section-footer .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 14px 32px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.section-footer .btn-view-all:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    border-color: transparent;
}

.section-footer .btn-view-all i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.section-footer .btn-view-all:hover i {
    transform: translateX(4px);
}

/* ============ TRUST BADGE ============ */
.tool-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--success-gradient);
    color: white;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    margin-top: var(--spacing-md);
}

.tool-trust-badge i {
    font-size: var(--text-lg);
}

/* ============ NO RESULTS MESSAGE ============ */
.no-results {
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: var(--secondary-bg);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.no-results i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.no-results p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin: 0;
}

/* ============ TOOLS INFO SECTION ============ */
.tools-info-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: var(--text-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.seo-content p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-lg);
}

.seo-content p:last-child {
    margin-bottom: 0;
}

.seo-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.trust-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-left: 4px solid #10B981;
    border-radius: var(--radius-md);
    margin-top: var(--spacing-2xl);
    margin-bottom: 0;
}

.trust-box i {
    font-size: 2rem;
    color: #10B981;
    flex-shrink: 0;
}

.trust-box p {
    margin: 0;
    font-size: var(--text-lg);
    color: var(--text-primary);
}

.trust-box strong {
    color: #059669;
}

/* ═══════════════════════════════════════════════════════════
   TOOL SIBLING CTA  (shared cross-link component)
═══════════════════════════════════════════════════════════ */
.tool-sibling-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #F0FDF4;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    margin-top: 8px;
}

.tool-sibling-cta-icon {
    font-size: 1.5rem;
    color: #10B981;
    flex-shrink: 0;
}

.tool-sibling-cta-body {
    flex: 1;
}

.tool-sibling-cta-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary, #1E293B);
    margin: 0 0 2px;
}

.tool-sibling-cta-sub {
    font-size: 0.8125rem;
    color: var(--text-secondary, #64748B);
    margin: 0;
}

.tool-sibling-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #10B981;
    color: #fff;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}

.tool-sibling-link:hover {
    background: #059669;
    color: #fff;
}

@media (max-width: 640px) {
    .tool-sibling-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-sibling-link {
        align-self: stretch;
        justify-content: center;
    }
}