/* --- FUNKCIJŲ PUSLAPIS --- */
.features-page {
    padding: 60px 24px 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HERO SEKCIJA --- */
.features-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.features-hero .badge {
    background-color: #f1f5f9;
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 99px;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.features-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(to right, #4f46e5, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-hero p {
    font-size: 19px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* --- BENTO GRID (Greita apžvalga) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 120px;
}

.bento-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

.col-span-2 {
    grid-column: span 2;
}

.bg-indigo-light {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: #c7d2fe;
}

.bg-slate-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e2e8f0;
}

.bento-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

.bento-content h3 {
    font-size: 24px;
}
.bento-content p {
    font-size: 16px;
    max-width: 90%;
}

/* --- DETALIŲ FUNKCIJŲ BLOKAI --- */
.detailed-features {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-bottom: 120px;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse .feature-text {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feature-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.feature-text p {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
    position: relative;
    padding-left: 32px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--bg-white);
    background-color: var(--primary);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.feature-list strong {
    font-weight: 700;
    color: var(--text-dark);
}

.rounded-shadow-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* --- CTA SEKCIJA PUSLAPIO APAČIOJE --- */
.features-cta {
    text-align: center;
    background-color: var(--bg-white);
    padding: 80px 24px;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.03);
}

.features-cta h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.features-cta p {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .features-hero h1 {
        font-size: 38px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .feature-block, .feature-block.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .feature-text h2 {
        font-size: 30px;
    }
}