﻿/* BTF Section 1 - Technology Features (Dark Mode) */

.btf-technology {
    padding: 15px 10px 10px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

    .btf-technology::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }

.btf-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Typography */
.btf-main-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: #000000;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.btf-subtitle {
    font-size: 15px;
    color: #000000;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Feature blocks */
.btf-feature-block {
    margin-bottom: 5px;
    text-align: center;
    position: relative;
    animation: btfFadeInUp 0.6s ease-out backwards;
}

    .btf-feature-block:nth-child(3) {
        animation-delay: 0.1s;
    }

    .btf-feature-block:nth-child(5) {
        animation-delay: 0.2s;
    }

    .btf-feature-block:nth-child(7) {
        animation-delay: 0.3s;
    }

/* Icon styling */
.btf-icon-wrapper {
    width: 72px; /* Dimensiune originală păstrată */
    height: 72px; /* Dimensiune originală păstrată */
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btf-icon {
    color: #ffffff;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MODIFICARE: Selector direct pe SVG cu !important pentru a forța redimensionarea */
.btf-icon-wrapper svg {
    width: 48px;
    height: 48px;
}

/* Metric badge */
.btf-metric-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #000000;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Feature content */
.btf-feature-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.btf-feature-text {
    font-size: 15px;
    line-height: 1.65;
    color: #000000;
    max-width: 340px;
    margin: 0 auto;
    font-weight: 400;
}

/* Text highlights */
.btf-metric {
    font-weight: 700;
    color: #DC2626;
    font-size: 16px;
}

.btf-benefit {
    font-weight: 600;
    color: #000000;
}

/* Separator dots */
.btf-separator {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 10px;
}

.btf-dot {
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
}

    .btf-dot:nth-child(2) {
        background: #000000;
    }

/* Animations */
@keyframes btfFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes btfPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btf-feature-block:first-of-type .btf-icon-wrapper {
    animation: btfPulse 3s ease-in-out infinite;
}

/* Touch feedback for mobile */
@media (hover: none) {
    .btf-feature-block {
        padding: 12px;
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 16px;
        transition: background 0.2s ease;
    }

        .btf-feature-block:active {
            background: rgba(255, 255, 255, 0.04);
        }
}

/* Responsive adjustments */
@media (min-width: 375px) {
    .btf-main-title {
        font-size: 28px;
    }

    .btf-feature-text {
        font-size: 16px;
    }
}

@media (min-width: 414px) {
    .btf-main-title {
        font-size: 30px;
    }

    .btf-feature-title {
        font-size: 20px;
    }
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .btf-technology {
        padding: 80px 40px 20px;
    }

    .btf-container {
        max-width: 720px;
    }

    .btf-main-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .btf-subtitle {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .btf-feature-block {
        margin-bottom: 12px;
    }

    .btf-icon-wrapper {
        width: 84px; /* Dimensiune originală păstrată */
        height: 84px; /* Dimensiune originală păstrată */
        margin-bottom: 28px;
    }

        /* MODIFICARE: Selector direct pe SVG cu !important pentru desktop */
        .btf-icon-wrapper svg {
            width: 58px;
            height: 58px;
        }

    .btf-feature-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .btf-feature-text {
        font-size: 17px;
        max-width: 480px;
    }

    .btf-metric {
        font-size: 18px;
    }
}

/* --- Stiluri complete pentru Secțiunea CTA --- */

/* Containerul principal al secțiunii */
.cta-focus-section-index {
    background-color: #0a0a0a;
    padding: 20px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Canvas-ul pentru particulele animate */
#embers-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Containerul pentru conținutul text și buton */
.cta-container-index {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1; /* Asigură că textul este deasupra canvas-ului */
    font-family: 'Inter';
}

/* Titlul principal */
.cta-title-index {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

/* Subtitlul */
.cta-subtitle-index {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Butonul principal cu efect de "glow" */
.cta-glow-button-index {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0a0a0a;
    background-image: linear-gradient(to top, #c10206 0%, #dc2626 150%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 22px; /* MODIFICAT PENTRU MOBIL */
    text-decoration: none;
    border: 2px solid #c10206;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-out, box-shadow 0.4s ease-in-out;
    box-shadow: 0 0 15px rgba(193, 2, 6, 0.6), 0 0 25px rgba(193, 2, 6, 0.5), inset 0 0 8px rgba(255, 100, 100, 0.3);
    animation: pulseGlow-index 2.5s infinite ease-in-out;
    font-family: 'Teko';
    white-space: nowrap; /* Asigură că textul nu se întrerupe */
}

    .cta-glow-button-index:hover {
        transform: translateY(-4px) scale(1.05);
        animation-play-state: paused;
        box-shadow: 0 0 30px rgba(193, 2, 6, 0.9), 0 0 50px rgba(193, 2, 6, 0.7), inset 0 0 12px rgba(255, 100, 100, 0.4);
    }

    .cta-glow-button-index:active {
        transform: translateY(-1px) scale(1.02);
    }

/* Animația de pulsare pentru "glow" */
@keyframes pulseGlow-index {
    0% {
        box-shadow: 0 0 15px rgba(193, 2, 6, 0.6), 0 0 25px rgba(193, 2, 6, 0.5), inset 0 0 8px rgba(255, 100, 100, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(193, 2, 6, 0.9), 0 0 45px rgba(193, 2, 6, 0.7), inset 0 0 10px rgba(255, 100, 100, 0.4);
    }

    100% {
        box-shadow: 0 0 15px rgba(193, 2, 6, 0.6), 0 0 25px rgba(193, 2, 6, 0.5), inset 0 0 8px rgba(255, 100, 100, 0.3);
    }
}

/* Clase pentru animația la derulare (scroll) */
.fade-in-element-index {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .fade-in-element-index.is-visible-index {
        opacity: 1;
        transform: translateY(0);
    }

/* Decalarea animației pentru fiecare element */
.cta-title-index.is-visible-index {
    transition-delay: 0.1s;
}

.cta-subtitle-index.is-visible-index {
    transition-delay: 0.2s;
}

.cta-glow-button-index.is-visible-index {
    transition-delay: 0.3s;
}

/* Ajustări pentru ecrane mai mari (desktop) */
@media (min-width: 768px) {
    .cta-focus-section-index {
        padding: 60px 20px;
    }

    .cta-title-index {
        font-size: 32px;
    }

    .cta-subtitle-index {
        font-size: 17px;
    }

    .cta-glow-button-index {
        font-size: 18px;
        padding: 14px 38px;
    }
}
