/* ==========================================================
   BLUEPRINT ESTRATÉGICO - Seção Sobre
   Visual: Painel de Controle Técnico / Esquema de Engenharia
   ========================================================== */

/* ========== Background (Technical Grid) ========== */
.blueprint-section {
    position: relative;
    padding: 120px 20px;
    background: #0a0a0a;
    overflow: hidden;
}

/* Grid Milimetrado */
.blueprint-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(122, 76, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 76, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

/* Vinheta (Sombras nos Cantos) */
.blueprint-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.blueprint-container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== Glass Card Unificado ========== */
.blueprint-glass-card {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(122, 76, 255, 0.15);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Cantos Técnicos (Detalhes de Esquema) */
.blueprint-glass-card::before,
.blueprint-glass-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(122, 76, 255, 0.3);
}

.blueprint-glass-card::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.blueprint-glass-card::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* ========== Layout Flexbox (Esquerda | Direita) ========== */
.blueprint-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 50px;
}

/* ========== Esquerda: DNA/Missão ========== */
.blueprint-mission {
    flex: 1;
}

.blueprint-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7A4CFF;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(122, 76, 255, 0.1);
    border: 1px solid rgba(122, 76, 255, 0.2);
    border-radius: 4px;
}

.blueprint-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blueprint-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    text-align: justify;
}

/* ========== Direita: Ecossistema Tech ========== */
.blueprint-ecosystem {
    flex: 1;
    position: relative;
}

.ecosystem-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    display: block;
}

/* Grid de Tecnologias (2x2) */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
}

.tech-node {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(122, 76, 255, 0.2);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-node:hover {
    border-color: rgba(122, 76, 255, 0.6);
    background: rgba(122, 76, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(122, 76, 255, 0.2),
        inset 0 1px 0 rgba(122, 76, 255, 0.1);
}

.tech-node i {
    font-size: 36px;
    color: #7A4CFF;
    margin-bottom: 12px;
    display: block;
}

.tech-node span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Linhas de Conexão entre Nós */
.tech-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(122, 76, 255, 0.3) 25%,
        rgba(122, 76, 255, 0.3) 75%,
        transparent 100%
    );
    z-index: -1;
}

.tech-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(122, 76, 255, 0.3) 25%,
        rgba(122, 76, 255, 0.3) 75%,
        transparent 100%
    );
    z-index: -1;
}

/* ========== Rodapé: Métricas de Performance ========== */
.blueprint-metrics {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(122, 76, 255, 0.1);
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(122, 76, 255, 0.1);
    border: 1px solid rgba(122, 76, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.metric-icon i {
    font-size: 20px;
    color: #7A4CFF;
}

.metric-item:hover .metric-icon {
    background: rgba(122, 76, 255, 0.2);
    border-color: rgba(122, 76, 255, 0.6);
    box-shadow: 0 0 20px rgba(122, 76, 255, 0.3);
    transform: scale(1.1);
}

.metric-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-sublabel {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .blueprint-glass-card {
        padding: 50px 40px;
    }

    .blueprint-content {
        gap: 50px;
    }

    .blueprint-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blueprint-section {
        padding: 80px 20px;
    }

    .blueprint-glass-card {
        padding: 40px 30px;
    }

    .blueprint-content {
        flex-direction: column;
        gap: 40px;
    }

    .blueprint-title {
        font-size: 32px;
    }

    .blueprint-description {
        font-size: 15px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tech-node {
        padding: 20px;
    }

    .tech-node i {
        font-size: 30px;
    }

    .blueprint-metrics {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .blueprint-section {
        padding: 60px 15px;
    }

    .blueprint-glass-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .blueprint-glass-card::before,
    .blueprint-glass-card::after {
        width: 15px;
        height: 15px;
    }

    .blueprint-glass-card::before {
        top: 15px;
        left: 15px;
    }

    .blueprint-glass-card::after {
        bottom: 15px;
        right: 15px;
    }

    .blueprint-title {
        font-size: 28px;
    }

    .blueprint-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .tech-grid {
        gap: 10px;
    }

    .tech-node {
        padding: 16px;
    }

    .tech-node i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .tech-node span {
        font-size: 11px;
    }

    .metric-icon {
        width: 40px;
        height: 40px;
    }

    .metric-icon i {
        font-size: 18px;
    }

    .metric-label {
        font-size: 12px;
    }

    .metric-sublabel {
        font-size: 10px;
    }
}
