/* Features Page Styles */
.features-hero {
    background: #1E1E2D;
    color: white;
    padding: 120px 0;
    text-align: left;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.features-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0;
}

.hero-left {
    width: 100%;
    text-align: left;
    padding-top: 60px;
}

.hero-left h1 {
    font-size: 34px;
    line-height: 1.2;

    font-weight: 600;
}

.hero-right {
    width: 100%;
    max-width: 900px;
    text-align: left;
}

.hero-right h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1A62FF;
}

.hero-right p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    width: 100%;
    text-align: left;

}

.hero-cta p {
    font-size: 20px;
    margin-bottom: 24px;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-demo {
    background: #2196F3;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-trial {
    background: transparent;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s;
}

/* Features Section */
.features-section {
    background: #fff;
    padding: 80px 0 60px 0;
}

.features-section .features-header {
    text-align: center;
    margin-bottom: 40px;
}

.features-section .features-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #111;
}

.features-section .features-desc {
    font-size: 1.15rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    overflow-x: unset;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: justify-content 1.5s ease;
}

/* Add justify-content: flex-end when tab-it-admin is active */
.features-tabs:has(#tab-it-admin.active) {
    justify-content: flex-end;
}

.features-tabs:has(#tab-finance.active) {
    justify-content: flex-end;
}

.features-tabs::-webkit-scrollbar {
    height: 0px;
    background: transparent;
}

.features-tabs::-webkit-scrollbar-thumb {
    background: transparent;
}

.features-tab {
    flex-shrink: 0;
    display: flex;
    border: 1.5px solid #dbeafe;
    background: #fff;
    color: #20345E;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    outline: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.03);
}

.features-tab.active,
.features-tab:focus {
    border-color: #1A62FF;
    color: #1A62FF;
    background: #fff;
    box-shadow: 0 0 0 4px #e6f0ff;
    font-weight: 600;
    z-index: 1;
}

.features-tab img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(16%) sepia(16%) saturate(1162%) hue-rotate(182deg) brightness(95%) contrast(90%);
}

.features-tab.active img,
.features-tab:focus img {
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1942%) hue-rotate(211deg) brightness(97%) contrast(101%);
}

.features-card-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background: #fff;
    border-radius: 18px;

    padding: 48px 40px;
    max-width: 950px;
    margin: 0 auto;
}

.features-card-img {
    flex: 1 1 20px;
    min-width: 480px;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-card-img img {
    width: 100%;
    border-radius: 14px;

}

.features-card-content {
    flex: 1 1 340px;
    min-width: 460px;
    max-width: 1080px;
}

.features-card-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #111;
}

.features-card-content p {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.features-card-content .learn-more {
    color: #1A62FF;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.features-card-content .learn-more:hover {
    color: #20345E;
}

.features-card-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.features-card-nav button {
    background: #f3f6fa;
    border: none;
    color: #1A62FF;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.features-card-nav button:hover {
    background: #e6f0ff;
    color: #20345E;
}

@media (max-width: 900px) {
    .features-card-area {
        flex-direction: column;
        padding: 32px 10px;
        gap: 32px;
    }

    .features-card-img,
    .features-card-content {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 992px) {
    .hero-content {
        max-width: 90%;
    }

    .features-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 80px 0;
        min-height: auto;
    }

    .hero-content {
        gap: 24px;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .hero-right h3 {
        font-size: 20px;
    }

    .hero-right p {
        font-size: 16px;
    }

    .hero-cta {
        margin-top: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-demo,
    .btn-trial {
        width: auto;
        text-align: center;
    }

    .features-tabs {
        flex-wrap: wrap;
    }



}

.demo-section {
    background: url('../images/ai-footer.webp') center center/cover no-repeat;
}