
/* ================= TOP BAR ================= */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;   /* IMPORTANT */
    margin: 0 auto;      
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4f46e5;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.back-home-btn:hover {
    background: #eef2ff;
}

/* ================= HERO ================= */
.features-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.features-hero h1 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.features-hero p {
    color: #666;
    max-width: 600px;
    margin: auto;
    line-height: 1.6;
}

/* ================= FEATURE SECTION ================= */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 80px;
    gap: 20px;
    max-width:1100px;
    margin: auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.feature-section.show {
    opacity: 1;
    transform: translateY(0);
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

/* ================= TEXT ================= */
.feature-text {
    max-width: 450px;
}

.feature-text h2 {
    font-size: 26px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-icon {
    width: 22px;
    height: 22px;
    color: #4f46e5;
}

.feature-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.feature-text ul {
    margin-top: 10px;
    padding-left: 18px;
}

.feature-text li {
    margin-bottom: 6px;
    color: #444;
    font-size: 14px;
}

/* ================= VISUAL ================= */
.feature-visual {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.35);
}

.feature-visual i {
    width: 140px;
    height: 140px;
    color: white;
}
.feature-visual::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
}

/* ================= CTA ================= */
.features-cta {
    text-align: center;
    padding: 80px 20px;

    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.features-cta h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.features-cta.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media(max-width: 900px) {
    .feature-section {
        flex-direction: column;
        text-align: center;
    }

    .feature-section.reverse {
        flex-direction: column;
    }

    .feature-text h2 {
        justify-content: center;
    }
}
/* WRAPPER */
.features-wrapper {
    position: relative;
}

/* DEFAULT STATE (dimmed = smoke effect) */
.feature-section {
    opacity: 0.25;
    filter: blur(3px);
    transform: scale(0.96);
    transition: all 0.6s ease;
}

/* ACTIVE (focused feature) */
.feature-section.active {
    opacity: 0.8;
    filter: blur(0);
    transform: scale(1);
}