/* Automation Tools Lexikon Styles */

/* ============================================
   DIRECTORY PAGE STYLES
   ============================================ */

/* Hero Section */
.tools-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1b1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tools-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.tools-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.tools-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 196, 77, 0.15);
    border: 1px solid rgba(255, 196, 77, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.tools-badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.tools-badge span {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.tools-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.tools-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section */
.tools-filters {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1b1a 100%);
    border-bottom: 1px solid rgba(255, 196, 77, 0.2);
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filters-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.search-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 196, 77, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.sort-select {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    cursor: pointer;
    min-width: 180px;
}

.sort-select option {
    background: var(--text-dark);
    color: var(--bg-white);
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-pill i {
    font-size: 0.875rem;
    opacity: 0.7;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.category-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

.category-pill.active i {
    opacity: 1;
}

.results-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.results-count span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Tools Grid Section */
.tools-grid-section {
    padding: 60px 0 80px;
    background:
        radial-gradient(ellipse 1200px 800px at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #1a1b1a 0%, var(--text-dark) 100%);
    min-height: 60vh;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Tool Card */
.tool-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 196, 77, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.tool-card-header {
    position: relative;
    padding: 24px 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tool-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tool-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.tool-card-logo.placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.tool-card-logo.placeholder i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.tool-card-title-group {
    flex: 1;
    min-width: 0;
}

.tool-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 196, 77, 0.15);
    color: var(--primary-color);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tool-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
    margin: 0;
    line-height: 1.3;
}

.tool-card-content {
    padding: 16px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-card-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tool-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.tool-card-footer {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.tool-card-stats i {
    margin-right: 4px;
}

.tool-card-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.tool-card-action i {
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-card-action i {
    transform: translateX(4px);
}

/* Featured Tool Card */
.tool-card.featured::before {
    content: 'Empfohlen';
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--primary-color);
    color: var(--text-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* ============================================
   DETAIL PAGE STYLES
   ============================================ */

/* Breadcrumb (inside header - matches workflow-detail) */
.tool-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    padding-top: 100px;
}

.tool-detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tool-detail-breadcrumb a:hover {
    color: var(--primary-color);
}

.tool-detail-breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.tool-detail-breadcrumb span {
    color: var(--bg-white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .tool-detail-breadcrumb {
        padding-top: 80px;
        margin-bottom: 20px;
        font-size: 0.8125rem;
        gap: 8px;
        flex-wrap: wrap;
    }

    .tool-detail-breadcrumb a {
        padding: 4px 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .tool-detail-breadcrumb i {
        font-size: 0.625rem;
    }
}

/* Tool Header */
.tool-header {
    padding: 20px 0 60px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1b1a 100%);
}

@media (max-width: 768px) {
    .tool-header {
        padding: 20px 0 40px;
    }
}

.tool-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tool-header-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tool-header-top {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.tool-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tool-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.tool-logo.placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.tool-logo.placeholder i {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.tool-title-group {
    flex: 1;
}

.tool-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 196, 77, 0.15);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
}

.tool-category-badge i {
    font-size: 0.75rem;
}

.tool-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin: 0 0 8px;
    line-height: 1.2;
}

.tool-tagline-main {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.tool-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Icon Button (for share) */
.tool-header-actions .btn-icon {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--bg-white);
}

.tool-header-actions .btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tool-header-screenshot {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 280px;
}

.tool-header-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.tool-header-screenshot.placeholder {
    aspect-ratio: 16/10;
    min-height: 320px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 196, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 196, 77, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, #252625 0%, #1a1b1a 100%);
    position: relative;
    overflow: hidden;
}

.tool-header-screenshot.placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.tool-header-screenshot.placeholder i {
    font-size: 4rem;
    color: rgba(255, 196, 77, 0.3);
    position: relative;
    z-index: 1;
    padding: 24px;
    background: rgba(255, 196, 77, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 196, 77, 0.2);
}

/* Tool Content Section */
.tool-content-section {
    padding: 60px 0;
    background:
        radial-gradient(ellipse 1200px 800px at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #1a1b1a 0%, var(--text-dark) 100%);
}

.tool-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.tool-main-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.tool-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Sticky group for sidebar blocks */
.sidebar-sticky-group {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Sticky only on desktop */
@media (min-width: 1025px) {
    .sidebar-sticky-group {
        position: sticky;
        top: 100px;
        align-self: flex-start;
        width: 100%;
    }
}

/* Content Blocks */
.content-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.content-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.content-block-header i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 196, 77, 0.15);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
}

.content-block-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin: 0;
}

.content-block-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.content-block-body p {
    margin-bottom: 16px;
}

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

/* Description */
.tool-description {
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item i {
    color: var(--success-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.pricing-tier {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    border-color: rgba(255, 196, 77, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.pricing-tier.highlighted {
    border-color: var(--primary-color);
    background: rgba(255, 196, 77, 0.1);
}

.pricing-tier-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.pricing-tier-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-tier-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-tier-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pros-list,
.cons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pros-list h3,
.cons-list h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-list h3 {
    color: var(--success-color);
}

.cons-list h3 {
    color: #ef4444;
}

.pros-list li,
.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.pros-list li i {
    color: var(--success-color);
    margin-top: 4px;
}

.cons-list li i {
    color: #ef4444;
    margin-top: 4px;
}

/* Use Cases */
.use-cases-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.use-case-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.use-case-item i {
    color: var(--primary-color);
    margin-top: 4px;
}

.use-case-item span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sidebar Blocks */
.sidebar-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.sidebar-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-block h3 i {
    color: var(--primary-color);
}

/* CTA Sidebar */
.cta-sidebar {
    background: linear-gradient(135deg, rgba(255, 196, 77, 0.15) 0%, rgba(255, 196, 77, 0.05) 100%);
    border-color: rgba(255, 196, 77, 0.3);
}

.cta-sidebar p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta-sidebar .btn {
    width: 100%;
}

/* Related Workflows Sidebar */
.related-workflow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-workflow-item:last-child {
    margin-bottom: 0;
}

.related-workflow-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.related-workflow-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.related-workflow-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bg-white);
    margin: 0 0 4px;
}

.related-workflow-info span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Quick Links */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quick-link i {
    width: 20px;
    text-align: center;
}

/* Related Tools Section */
.related-tools-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1b1a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-tools-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-tools-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.related-tools-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* CTA Section */
.tools-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #C99A38 100%);
    color: var(--text-dark);
    padding: 5rem 0;
    text-align: center;
}

.tools-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.tools-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.tools-cta-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.tools-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tools-cta-buttons .btn {
    transition: all 0.3s ease !important;
    transform: translateY(0) !important;
}

.tools-cta-buttons .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(16, 18, 17, 0.3) !important;
}

.tools-cta-buttons .btn:active {
    transform: translateY(0) !important;
}

/* Loading & Empty States */
.loading-state,
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-state p {
    color: rgba(255, 255, 255, 0.7);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 24px;
    opacity: 0.3;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.6);
}

/* Pagination */
#pagination-container {
    margin-top: 48px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--bg-white);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

/* Skeleton Loading */
.tool-card-skeleton {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
}

.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Utilities */
.hidden {
    display: none !important;
}

/* ============================================
   SHARE MODAL
   ============================================ */

.tool-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tool-share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tool-share-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1b1a 0%, #252625 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.tool-share-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-share-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

.tool-share-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.tool-share-modal-header > i {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.tool-share-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.tool-share-modal-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.tool-share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.tool-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bg-white);
}

.tool-share-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tool-share-option i {
    font-size: 2rem;
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.tool-share-option:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Social media brand colors on hover */
#share-linkedin:hover i {
    color: #0077b5;
}

#share-twitter:hover i {
    color: #ffffff;
}

#share-facebook:hover i {
    color: #1877f2;
}

#share-whatsapp:hover i {
    color: #25d366;
}

#share-email:hover i {
    color: var(--primary-color);
}

#share-copy:hover i {
    color: var(--primary-color);
}

.tool-share-link-container {
    display: flex;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tool-share-link-container input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--bg-white);
    font-family: 'Monaco', 'Courier New', monospace;
}

.tool-share-link-container .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .tool-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tool-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tool-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tools-hero {
        padding: 100px 0 40px;
    }

    .tools-hero h1 {
        font-size: 2rem;
    }

    .tools-hero p {
        font-size: 1rem;
    }

    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: none;
    }

    .category-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .category-pill {
        flex-shrink: 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-sidebar {
        grid-template-columns: 1fr;
    }

    .tool-name {
        font-size: 1.75rem;
    }

    .tool-header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-logo {
        width: 80px;
        height: 80px;
    }

    .tool-header-actions .btn-icon {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 24px;
    }

    .tools-cta-content h2 {
        font-size: 1.75rem;
    }

    .pagination {
        gap: 4px;
        flex-wrap: wrap;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .tool-card-header {
        padding: 20px 20px 0;
    }

    .tool-card-content {
        padding: 12px 20px 20px;
    }

    .tool-card-footer {
        padding: 12px 20px;
    }

    .tool-card-logo {
        width: 56px;
        height: 56px;
    }

    .tool-card-name {
        font-size: 1.125rem;
    }

    /* Share Modal Responsive */
    .tool-share-modal-content {
        padding: 24px;
    }

    .tool-share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tool-share-option {
        padding: 20px 12px;
        font-size: 0.8125rem;
    }

    .tool-share-option i {
        font-size: 1.75rem;
    }

    .tool-share-link-container {
        flex-direction: column;
        padding: 20px;
    }

    .tool-share-link-container .btn {
        width: 100%;
    }
}
