/* UK Business Tools Directory */

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #06b6d4;
    --accent-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    min-height: 100vh;
}

.ukbt-tool-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.ukbt-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ukbt-tool-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.ukbt-tool-card.featured::before {
    content: "FEATURED";
    position: absolute;
    top: 10px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 10;
}

.ukbt-tool-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.ukbt-tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.ukbt-tool-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ukbt-tool-title a:hover {
    color: var(--primary-color);
}

.ukbt-tool-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.ukbt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.ukbt-badge-free {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.ukbt-badge-freemium {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.ukbt-badge-paid {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

.ukbt-badge-ai {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.ukbt-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ukbt-rating-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.ukbt-tool-body {
    padding: 1.5rem;
}

.ukbt-tool-excerpt {
    color: var(--gray-600);
    font-size: 0.975rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ukbt-tool-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.ukbt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.975rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ukbt-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.ukbt-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.ukbt-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.ukbt-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.ukbt-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.ukbt-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.ukbt-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ukbt-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.ukbt-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.ukbt-stat {
    text-align: center;
}

.ukbt-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.ukbt-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.ukbt-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ukbt-category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ukbt-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.ukbt-category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.ukbt-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.ukbt-category-count {
    color: var(--gray-500);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .ukbt-hero-title {
        font-size: 2rem;
    }
    
    .ukbt-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}