/* Modern card-based grid layout */
.nfz-components-section {
    padding: 3rem 0;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.component-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.component-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.component-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.component-card:hover img {
    transform: scale(1.05);
}

.component-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.component-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.3;
}

.component-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.component-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.component-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

.component-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Section */
.service-cta-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #111827 70%, #0f172a 100%);
    border-radius: 1rem;
    padding: 3rem 1rem 2.5rem;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.service-cta-section .cta-hexagons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.service-cta-section .cta-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.service-cta-section .cta-accent {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2563eb, #3b82f6, #2563eb, transparent);
    border-radius: 0 0 2px 2px;
    z-index: 1;
}

.service-cta-section h2,
.service-cta-section p,
.service-cta-buttons-large {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .service-cta-section {
        padding: 4.5rem 2rem 4rem;
    }
}

.service-cta-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .service-cta-section h2 {
        font-size: 2.25rem;
    }
}

.service-cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.service-cta-buttons-large {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .service-cta-buttons-large {
        flex-direction: row;
    }
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: white;
    color: #111827;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    width: auto;
    border: none;
    cursor: pointer;
}

.btn-cta-primary:hover {
    background: #f3f4f6;
    color: #111827;
    box-shadow: 0 30px 40px -10px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s;
    width: auto;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.btn-cta-primary svg,
.btn-cta-secondary svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s;
}

.btn-cta-primary:hover svg,
.btn-cta-secondary:hover svg {
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .service-cta-section {
        padding: 2rem 1rem 1.5rem;
    }
    .service-cta-section .cta-accent {
        left: 5%;
        right: 5%;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .components-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .component-image-wrapper {
        height: 220px;
    }

    .component-content {
        padding: 1.5rem;
    }

    .component-content h3 {
        font-size: 1.35rem;
    }

    .component-content p {
        font-size: 0.9rem;
    }
}
