.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-button.active {
    border-bottom: 3px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
}
.success-box {
    border-left: 5px solid #10b981;
    background-color: #ecfdf5;
}
.warning-box {
    border-left: 5px solid #f59e0b;
    background-color: #fffbeb;
}
.error-box {
    border-left: 5px solid #ef4444;
    background-color: #fee2e2;
}
.info-box {
    border-left: 5px solid #3b82f6;
    background-color: #eff6ff;
}
.section-title {
    background-color: #e0f2fe;
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video Demo Section Animations */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Modal Animations */
.modal-content {
    transform: scale(0.95);
}

#demoVideoModal:not(.hidden) .modal-content {
    transform: scale(1);
}
.progress-bar {
    height: 4px;
    background-color: #e0f2fe;
    border-radius: 2px;
    margin-top: 8px;
}
.progress-bar-fill {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e40af;
}
.review-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
}
.highlight-box {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border-radius: 8px;
}
.feature-icon {
    font-size: 2rem;
    color: #3b82f6;
}
.search-section {
    background-color: #f8fafc;
    padding: 3rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
/* Blur effects for masked content */
.content-blur {
    filter: blur(5px);
    user-select: none;
    position: relative;
    cursor: help;
}

.content-blur:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background-color: #2d3748;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6c757d;
}

.modal-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 149, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.modal-icon i {
    color: #f59e0b;
    font-size: 24px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.modal-content {
    text-align: center;
    margin-bottom: 25px;
    color: #4a5568;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Fix for text cutoff issues with large headings */
h1, h2, h3, h4, h5, h6 {
    overflow: visible !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-title {
    overflow: visible !important;
    line-height: 1.3 !important;
    padding-bottom: 0.5rem !important;
}

.hero-title .block {
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Ensure proper spacing for text with descenders */
.text-gradient {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: visible;
}

/* Better text rendering for all large text */
.text-4xl, .text-5xl, .text-6xl {
    line-height: 1.3;
    overflow: visible;
    text-rendering: optimizeLegibility;
}
