/* Features Page Specific Styles */

/* Hero section styling */
.features-hero {
    background: linear-gradient(135deg, #1a1f37 0%, #2a3158 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.features-hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.features-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Gradient text styling (matching homepage) */
.gradient-text {
    background: linear-gradient(45deg, #3d5afe, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Feature card enhancements */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
    border: none;
    height: 100%;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 254, 0.05) 0%, rgba(0, 198, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .btn-learn-more {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.feature-card:hover .btn-learn-more {
    opacity: 1;
    transform: translateY(0);
}

.feature-detail {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    opacity: 0;
}

.feature-card:hover .feature-detail {
    height: auto;
    opacity: 1;
    margin-top: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #3d5afe, #00c6ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1f37;
}

.feature-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section styling */
.feature-category {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.feature-category .container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Badge styling */
.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

.badge-pro {
    background-color: rgba(61, 90, 254, 0.1);
    color: #3d5afe;
}

.badge-ultimate {
    background-color: rgba(255, 153, 0, 0.1);
    color: #ff9900;
}

/* Feature Filter styling */
.feature-filter {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f2f5;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background-color: #e0e4e9;
}

.filter-tag.active {
    background: linear-gradient(135deg, #3d5afe 0%, #00c6ff 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(61, 90, 254, 0.3);
}

/* Testimonial styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid #3d5afe;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
    padding-left: 10px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -30px;
    color: rgba(61, 90, 254, 0.2);
    font-family: Georgia, serif;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-tabs .nav-pills .nav-link {
    color: #555;
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-tabs .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3d5afe 0%, #00c6ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 90, 254, 0.3);
}

.testimonial-tabs .nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(61, 90, 254, 0.1);
}

/* Industry-specific features styling */
.industry-tabs .nav-pills .nav-link {
    color: #555;
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.industry-tabs .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3d5afe 0%, #00c6ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 90, 254, 0.3);
}

.industry-tabs .nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(61, 90, 254, 0.1);
}

.industry-content {
    padding: 20px;
}

.industry-content h3 {
    margin-bottom: 15px;
    color: #1a1f37;
}

.industry-content .lead {
    margin-bottom: 25px;
    color: #555;
}

.industry-features {
    margin-top: 30px;
}

.industry-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.industry-feature-item i {
    font-size: 1.5rem;
    color: #3d5afe;
    margin-right: 15px;
    min-width: 30px;
}

.industry-feature-item h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.industry-feature-item p {
    margin-bottom: 0;
    color: #666;
}

.industry-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.industry-image img {
    transition: transform 0.5s ease;
    width: 100%;
}

.industry-image:hover img {
    transform: scale(1.03);
}

/* Video Tutorials styling */
.tutorial-categories .nav-pills .nav-link {
    color: #555;
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.tutorial-categories .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3d5afe 0%, #00c6ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 90, 254, 0.3);
}

.tutorial-categories .nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(61, 90, 254, 0.1);
}

.video-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(61, 90, 254, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
    background: rgba(61, 90, 254, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h5 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1f37;
}

.video-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.video-duration {
    display: inline-block;
    color: #888;
    font-size: 0.85rem;
}

.video-duration i {
    margin-right: 5px;
}

/* Integrations styling */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.integration-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.integration-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #3d5afe;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-item h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.integration-item p {
    font-size: 0.9rem;
    color: #666;
}

.integration-categories .nav-pills .nav-link {
    color: #555;
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.integration-categories .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3d5afe 0%, #00c6ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(61, 90, 254, 0.3);
}

.integration-categories .nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(61, 90, 254, 0.1);
}

/* Roadmap styling */
.roadmap-timeline {
    position: relative;
    padding: 30px 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    background: linear-gradient(180deg, #3d5afe 0%, #00c6ff 100%);
    border-radius: 4px;
}

.roadmap-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 60px;
}

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

.roadmap-point {
    position: absolute;
    left: 42px;
    top: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid #3d5afe;
    z-index: 1;
}

.roadmap-item.current .roadmap-point {
    background: #3d5afe;
    box-shadow: 0 0 0 4px rgba(61, 90, 254, 0.3);
}

.roadmap-content {
    background: white;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.roadmap-date {
    display: inline-block;
    background: rgba(61, 90, 254, 0.1);
    color: #3d5afe;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.roadmap-content h4 {
    margin-bottom: 20px;
    color: #1a1f37;
}

.roadmap-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.roadmap-feature {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.roadmap-feature h5 {
    margin: 10px 0;
    font-weight: 600;
    color: #1a1f37;
}

.roadmap-feature p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status.completed {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.status.in-progress {
    background-color: rgba(255, 152, 0, 0.15);
    color: #FF9800;
}

.status.planned {
    background-color: rgba(33, 150, 243, 0.15);
    color: #2196F3;
}

.roadmap-disclaimer {
    color: #777;
    font-size: 0.9rem;
    font-style: italic;
}

/* Multiple CTAs styling */
.cta-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-card.featured {
    border: 2px solid #3d5afe;
    box-shadow: 0 10px 25px rgba(61, 90, 254, 0.15);
}

.cta-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3d5afe 0%, #00c6ff 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(61, 90, 254, 0.3);
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(61, 90, 254, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    font-size: 2.5rem;
    color: #3d5afe;
}

.cta-card h4 {
    margin-bottom: 15px;
    color: #1a1f37;
}

.cta-card p {
    color: #666;
    margin-bottom: 20px;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.cta-features li {
    margin-bottom: 10px;
    color: #555;
}

.cta-features li i {
    color: #4CAF50;
    margin-right: 10px;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: auto;
}

.cta-subtext {
    color: #777;
    font-size: 0.9rem;
    margin-top: 20px;
}

.cta-subtext a {
    color: #3d5afe;
    text-decoration: none;
    font-weight: 600;
}

.cta-subtext a:hover {
    text-decoration: underline;
}

/* FAQ styling */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: #1a1f37;
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: #3d5afe;
    background-color: rgba(61, 90, 254, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(61, 90, 254, 0.1);
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 20px 25px;
    background-color: white;
}

.accordion-body p {
    color: #555;
    margin-bottom: 15px;
}

.accordion-body ul {
    padding-left: 20px;
}

.accordion-body li {
    margin-bottom: 8px;
    color: #666;
}

/* Feature Request styling */
.request-form-container,
.top-requests-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-request-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.feature-request-item:last-child {
    border-bottom: none;
}

.feature-request-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.feature-request-item h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.request-category {
    display: inline-block;
    font-size: 0.8rem;
    padding: 3px 8px;
    background: rgba(61, 90, 254, 0.1);
    color: #3d5afe;
    border-radius: 12px;
    margin-bottom: 8px;
}

.vote-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vote-btn {
    background: none;
    border: none;
    color: #3d5afe;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.vote-btn:hover {
    transform: translateY(-2px);
    color: #00c6ff;
}

.vote-count {
    font-weight: bold;
    color: #555;
}

/* Section background colors */
.ml-models-section {
    background-color: rgba(25, 103, 210, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Improve card stacking on mobile */
    .feature-card {
        margin-bottom: 20px;
    }
    
    .industry-feature-card {
        margin-bottom: 20px;
        height: auto;
    }
    
    /* Adjust feature grid for mobile */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust roadmap for mobile */
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .roadmap-point {
        left: 22px;
    }
    
    .roadmap-item {
        padding-left: 60px;
    }
    
    .roadmap-features {
        grid-template-columns: 1fr;
    }
    
    /* Adjust CTA cards for mobile */
    .cta-card {
        height: auto;
        margin-bottom: 20px;
    }
    
    /* Adjust feature filter for mobile */
    .filter-container {
        padding: 15px 10px;
    }
    
    .tags-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-tag {
        margin: 5px 3px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    /* Improve section spacing on mobile */
    .section-with-particles {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Adjust integration icons for mobile */
    .integration-icon {
        width: 60px;
        height: 60px;
        margin: 10px;
    }
    
    /* Optimize particles for mobile */
    .particles-canvas {
        opacity: 0.4;
    }
    
    /* Adjust modal content for mobile */
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    /* Improve feature tabs for mobile */
    .nav-pills {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-pills .nav-item {
        margin-bottom: 10px;
    }
}

.ml-models-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 103, 210, 0.1) 0%, rgba(61, 90, 254, 0.08) 100%);
    z-index: -1;
}

.visualizations-section {
    background-color: rgba(255, 153, 0, 0.05);
}

.visualizations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1) 0%, rgba(255, 123, 0, 0.08) 100%);
    z-index: -1;
}

.data-inspection-section {
    background-color: rgba(76, 175, 80, 0.05);
}

.data-inspection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(27, 94, 32, 0.08) 100%);
    z-index: -1;
}

.data-analysis-section {
    background-color: rgba(156, 39, 176, 0.05);
}

.data-analysis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(103, 58, 183, 0.08) 100%);
    z-index: -1;
}

.advanced-features-section {
    background-color: rgba(0, 150, 136, 0.05);
}

.advanced-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.1) 0%, rgba(0, 121, 107, 0.08) 100%);
    z-index: -1;
}

/* CTA section styling */
.features-cta {
    background: linear-gradient(135deg, #1a1f37 0%, #2a3158 100%);
    padding: 4rem 0;
    color: white;
    border-radius: 15px;
    margin: 3rem 0;
}

.features-cta h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Button styling */
.btn-gradient {
    background: linear-gradient(45deg, #3d5afe, #00c6ff);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 90, 254, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 90, 254, 0.4);
    color: white;
}

/* Feature list styling */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3d5afe;
    font-weight: bold;
}
