/* Custom CSS to enhance Bootstrap */

/* Animation for Vote and Save Buttons */
.action-button {
    position: relative;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.action-button.loading {
    opacity: 0.7;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.voted-animation {
    animation: vote-pulse 0.5s ease;
}

.unvoted-animation {
    animation: unvote-pulse 0.5s ease;
}

.saved-animation {
    animation: save-pulse 0.5s ease;
}

.unsaved-animation {
    animation: unsave-pulse 0.5s ease;
}

.count-change {
    animation: count-update 0.5s ease;
}

@keyframes vote-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background-color: var(--bs-warning); }
    100% { transform: scale(1); }
}

@keyframes unvote-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1); }
}

@keyframes save-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background-color: var(--bs-warning); }
    100% { transform: scale(1); }
}

@keyframes unsave-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1); }
}

@keyframes count-update {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0; transform: translateY(-5px); }
    51% { opacity: 0; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Tool card styling */
.tool-card {
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    background-color: var(--ideaify-bg-dark2);
}

.tool-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    border-color: rgba(254, 200, 77, 0.3);
}

.tool-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.tool-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tool-image {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.placeholder-icon {
    width: 100%;
    height: 100%;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Tool features */
.tool-name-wrapper {
    flex-grow: 1;
}

.tool-tag {
    display: inline-block;
    background-color: rgba(254, 200, 77, 0.1);
    color: var(--ideaify-yellow);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
    margin-bottom: 4px;
    border: 1px solid rgba(254, 200, 77, 0.2);
}

/* Tool link */
.tool-link {
    color: var(--ideaify-white);
    text-decoration: none;
    display: block;
}

.tool-link:hover h3 {
    color: var(--ideaify-yellow);
}

/* Tool statistics */
.tool-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    font-size: 0.9rem;
    color: var(--ideaify-gray-light);
}

.stat-item i {
    margin-right: 5px;
    color: var(--ideaify-yellow);
}

/* Tool actions */
.tool-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
    gap: 10px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--ideaify-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 6px 10px;
    min-width: 60px;
    transition: all 0.2s;
}

.action-button i {
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: var(--ideaify-white);
}

.action-button .count {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ideaify-white);
}

.vote-btn.active {
    background-color: rgba(254, 200, 77, 0.1);
}

.vote-btn.active i {
    color: var(--ideaify-yellow);
}

.vote-btn.active .count {
    color: var(--ideaify-yellow);
}

.save-btn.active {
    background-color: rgba(222, 101, 85, 0.1);
}

.save-btn.active i {
    color: var(--ideaify-red);
}

.save-btn.active .count {
    color: var(--ideaify-red);
}

.action-button:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    cursor: pointer;
}

.vote-btn:hover {
    background-color: rgba(254, 200, 77, 0.05);
}

.save-btn:hover {
    background-color: rgba(222, 101, 85, 0.05);
}

/* Category navigation */
.categories-nav {
    margin-bottom: 2rem;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: var(--ideaify-gray-light);
    border: 1px solid transparent;
}

.category-item:hover {
    background-color: rgba(254, 200, 77, 0.05);
    color: var(--ideaify-white);
}

.category-item.active {
    background-color: rgba(254, 200, 77, 0.1);
    color: var(--ideaify-yellow);
    border: 1px solid rgba(254, 200, 77, 0.2);
}

.category-icon {
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    color: var(--ideaify-yellow);
}

/* Tabs navigation */
.tools-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.tab-item {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    position: relative;
    color: var(--ideaify-gray-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.tab-item:hover {
    color: var(--ideaify-white);
}

.tab-item.active {
    color: var(--ideaify-yellow);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--ideaify-yellow);
}

/* Navbar styling */
.navbar {
    background-color: var(--ideaify-bg-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--ideaify-white) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--ideaify-yellow);
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--ideaify-gray-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}


/* Image modal styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1050;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    opacity: 1;
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1051;
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.modal-nav-btn:hover {
    background: var(--ideaify-yellow);
    color: var(--ideaify-black);
    transform: scale(1.1);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0;
}

.modal-image.loaded {
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 34px;
    cursor: pointer;
    z-index: 1051;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--ideaify-yellow);
    color: var(--ideaify-black);
}

/* Improve carousel styles */
.screenshot-carousel {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 0 40px;
    position: relative;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 800px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-nav button:hover {
    background: var(--ideaify-yellow);
    color: var(--ideaify-black);
    transform: translateY(-50%) scale(1.1);
}

.screenshot-nav button:active {
    transform: translateY(-50%) scale(0.95);
}

.screenshot-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

#screenshot-prev {
    left: 10px;
}

#screenshot-next {
    right: 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--ideaify-yellow) !important;
}

.navbar-banner {
    background-color: #FA4616;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.navbar-banner a {
    color: white;
    text-decoration: underline;
}

.underline {
    text-decoration: underline !important;
    -webkit-text-fill-color: unset !important;
    color: inherit !important;
}

.manual-highlight {
    display: inline-block;
    position: relative;
    color: #FEC84D !important;
    -webkit-text-fill-color: #FEC84D !important;
}

.manual-highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #FEC84D;
}

body {
    background-color: var(--ideaify-bg-dark);
    color: var(--ideaify-white);
    font-family: 'Inter', sans-serif;
}

/* Ideaify Brand Colors */
:root {
    --ideaify-yellow: #FEC84D;
    --ideaify-brown: #AF6C00;
    --ideaify-red: #DE6555;
    --ideaify-black: #000000;
    --ideaify-bg-dark: #060609;
    --ideaify-bg-dark2: #121212;
    --ideaify-gray-dark: #212327;
    --ideaify-gray-medium: #454649;
    --ideaify-gray-light: #AAADAF;
    --ideaify-white: #FFFFFF;
}

/* VSL Hero section styling */
.vsl-hero-section {
    background-color: var(--ideaify-bg-dark);
    color: white;
    padding: 5rem 0 4rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0wIDAgTDEwMDAgMTAwMCBNMCAxMDAwIEwxMDAwIDAiIHN0cm9rZT0iIzIxMjMyNyIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBvcGFjaXR5PSIwLjMiLz48cGF0aCBkPSJNMCAxMDAgTDEwMDAgMTEwMCBNMCAxMTAwIEwxMDAwIDEwMCIgc3Ryb2tlPSIjMjEyMzI3IiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIG9wYWNpdHk9IjAuMyIvPjxwYXRoIGQ9Ik0xMDAgMCBMMTEwMCAxMDAwIE0xMTAwIDAgTDEwMCAxMDAwIiBzdHJva2U9IiMyMTIzMjciIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4zIi8+PC9zdmc+');
    background-size: 100px 100px;
}

.vsl-hero-section .container {
    position: relative;
    z-index: 1;
}

.vsl-header-text {
    margin-bottom: 2.5rem;
}

/* Animated counter styling */
.animated-counter-label {
    display: inline-block;
    color: var(--ideaify-gray-light);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#userCounter {
    color: var(--ideaify-yellow);
    font-weight: 700;
}

/* Gradient heading */
.gradient-heading {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(120deg, #ffffff, var(--ideaify-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.vsl-subheading {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--ideaify-gray-light);
}

.vsl-video-container {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out forwards;
}

/* New button styles */
.vsl-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-cta {
    background-color: var(--ideaify-yellow);
    color: var(--ideaify-black);
    box-shadow: 0 4px 12px rgba(254, 200, 77, 0.3);
    border: none;
}

.primary-cta:hover {
    background-color: #ffd166;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(254, 200, 77, 0.4);
    color: var(--ideaify-black);
}

.secondary-cta {
    background-color: white;
    color: var(--ideaify-black);
    border: none;
    font-weight: 600;
}

.secondary-cta:hover {
    background-color: #ff3e3e;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 62, 62, 0.4);
    color: white;
}

/* Updated trusted by logos */
.white-logo {
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.white-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.trusted-by {
    margin-top: 4rem;
}

.trusted-by-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.trusted-logos img {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.trusted-logos img:hover {
    opacity: 1;
}

/* Tool detail page styling */
.tool-detail-header {
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--bs-secondary);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.video-container iframe,
.small-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.small-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(254, 200, 77, 0.1);
    color: var(--ideaify-yellow);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(254, 200, 77, 0.2);
}

.tool-detailed-description {
    line-height: 1.6;
    color: var(--bs-body-color);
}

.tool-detailed-description p {
    margin-bottom: 1rem;
}

.tool-detailed-description ul,
.tool-detailed-description ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.tool-detailed-description li {
    margin-bottom: 0.5rem;
}

.affiliate-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to right, var(--ideaify-yellow), #ffd166);
    color: var(--ideaify-black);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(254, 200, 77, 0.3);
    transition: all 0.3s ease;
}

.affiliate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(254, 200, 77, 0.4);
    color: var(--ideaify-black);
}

.gradient-button {
    background-image: linear-gradient(to right, var(--ideaify-yellow), #ffb347);
    color: var(--ideaify-black);
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 10px rgba(254, 200, 77, 0.3);
    transition: all 0.3s ease;
}

.gradient-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(254, 200, 77, 0.4);
    color: var(--ideaify-black);
}

.tool-detail-section {
    margin-bottom: 3rem;
}

/* Verified tag */
.verified-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(254, 200, 77, 0.1);
    color: var(--ideaify-yellow);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
    border: 1px solid rgba(254, 200, 77, 0.2);
}

.verified-tag i {
    margin-right: 4px;
    font-size: 10px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    .hero-section h3 {
        font-size: 1rem;
    }

    .tools-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Screenshots carousel styles */
.screenshot-carousel-container {
    margin-bottom: 2rem;
    position: relative;
}

.screenshot-carousel {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    scrollbar-width: none;     /* Hide scrollbar Firefox */
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    position: relative;
    width: 100%;
}

.screenshot-carousel::-webkit-scrollbar {
    display: none;  /* Hide scrollbar Chrome, Safari, Opera */
}

.screenshot-item {
    flex: 0 0 75%;
    scroll-snap-align: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: var(--ideaify-bg-dark2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 300px;
    height: 450px;
    max-width: 700px;
    margin: 0 auto;
}

.screenshot-item img, .screenshot-img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 6px;
}

.screenshot-item:hover img {
    transform: scale(1.02);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .screenshot-item {
        flex: 0 0 90%;
        height: 300px;
    }

    .screenshot-nav button {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .vsl-hero-section h1.gradient-heading {
        font-size: 2.2rem;
    }

    .animated-counter-label {
        font-size: 1rem;
    }

    .screenshot-carousel::before,
    .screenshot-carousel::after {
        width: 60px;
    }
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
}

.screenshot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    z-index: 10;
}

.screenshot-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.screenshot-nav button:hover {
    background-color: rgba(254, 200, 77, 0.8);
    color: var(--ideaify-black);
}

.screenshot-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.screenshot-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-indicators button.active {
    background-color: var(--ideaify-yellow);
    transform: scale(1.2);
}

/* Related tools slider */
.related-tools-slider {
    position: relative;
    margin-bottom: 30px;
}

#related-tools-carousel {
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
}

#related-tools-carousel::-webkit-scrollbar {
    display: none;  /* Hide scrollbar Chrome, Safari, Opera */
}

/* Optimized Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    will-change: transform;
    contain: content;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
    animation-duration: 0.6s;
    contain: strict;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Add animation delays for staggered effects */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* Carousel fade effects */
.screenshot-carousel::before,
.screenshot-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.screenshot-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(6, 6, 9, 1) 0%, rgba(6, 6, 9, 0) 100%);
}

.screenshot-carousel::after {
    right: 0;
    background: linear-gradient(90deg, rgba(6, 6, 9, 0) 0%, rgba(6, 6, 9, 1) 100%);
}