/**
 * ==============================================
 * PORTING SECTION CSS ÉPICO - DEPARTAMENTO TÉCNICO
 * ==============================================
 * 
 * Responsabilidade: Experiência cinematográfica tech com efeitos 3D
 * Paleta: Ciano/Azul Tech diferenciada do hero
 * Efeitos: Animações Matrix, partículas, transformações 3D
 * 
 * @package Nuntius Theme
 * @version 2.0.0 EPIC
 * @author Nuntius Team
 */

/* ===== SEÇÃO PRINCIPAL ÉPICA ===== */
.porting-epic-section {
    position: relative;
    padding: 60px 0;
    background: 
        radial-gradient(ellipse at top, #0a0f1c 0%, #0d1421 25%, #111827 50%, #0a0f1c 100%),
        linear-gradient(135deg, #0a0f1c 0%, #1e293b  50%, #0f172a 100%);
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: auto;
}

/* ===== CANVAS 3D E LAYERS DE PROFUNDIDADE ===== */
.porting-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.porting-depth-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.porting-depth-layer.layer-1 {
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: depthFloat1 8s ease-in-out infinite;
}

.porting-depth-layer.layer-2 {
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    animation: depthFloat2 12s ease-in-out infinite reverse;
}

.porting-depth-layer.layer-3 {
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    animation: depthFloat3 10s ease-in-out infinite;
}

/* ===== ANIMAÇÃO DE CÓDIGO MATRIX ===== */
.porting-code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.code-line {
    position: absolute;
    top: -100px;
    width: 2px;
    height: 100px;
    background: linear-gradient(transparent, #06b6d4, transparent);
    animation: codeRainFall 4s linear infinite;
}

.code-line:nth-child(1) { left: 10%; animation-delay: 0s; }
.code-line:nth-child(2) { left: 25%; animation-delay: 1s; }
.code-line:nth-child(3) { left: 50%; animation-delay: 2s; }
.code-line:nth-child(4) { left: 75%; animation-delay: 0.5s; }
.code-line:nth-child(5) { left: 90%; animation-delay: 1.5s; }

/* ===== CONTAINER PRINCIPAL ===== */
.porting-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* ===== HEADER CINEMATOGRÁFICO ===== */
.porting-header-cinematic {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.porting-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid #06b6d4;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #06b6d4;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.porting-title-epic {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    position: relative;
}

.title-tech {
    color: #06b6d4;
    text-shadow: 
        0 0 20px #06b6d4,
        0 0 40px #06b6d4,
        0 0 60px #06b6d4;
    animation: techGlow 3s ease-in-out infinite;
}

.title-separator {
    color: #0ea5e9;
    margin: 0 1rem;
    font-size: 0.8em;
    animation: separatorSpin 4s linear infinite;
}

.title-power {
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(6, 182, 212, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: powerPulse 2s ease-in-out infinite;
}

/* ===== ISAIAS LEAL - CTO HERO SECTION ===== */
.isaias-hero-container {
    position: relative;
    margin: 80px 0;
    padding: 60px 0;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.08), transparent);
}

.isaias-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 70%);
    filter: blur(60px);
    animation: spotlightPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.isaias-profile-epic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.isaias-avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.isaias-avatar-container .avatar-glow-ring {
    position: absolute;
    inset: -10px;
    border: 3px solid;
    border-radius: 50%;
    animation: ringRotate 8s linear infinite;
}

.isaias-avatar-container .avatar-glow-ring.ring-1 {
    border-color: #06b6d4 transparent #06b6d4 transparent;
    animation-duration: 8s;
}

.isaias-avatar-container .avatar-glow-ring.ring-2 {
    border-color: transparent #0ea5e9 transparent #0ea5e9;
    animation-duration: 6s;
    animation-direction: reverse;
}

.isaias-avatar-container .avatar-glow-ring.ring-3 {
    border-color: #22d3ee transparent #22d3ee transparent;
    animation-duration: 10s;
    inset: -20px;
}

.isaias-avatar-container .avatar-power-aura {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent);
    border-radius: 50%;
    filter: blur(20px);
    animation: auraPulse 3s ease-in-out infinite;
}

.isaias-avatar-epic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #06b6d4;
    box-shadow: 
        0 0 30px rgba(6, 182, 212, 0.6),
        0 0 60px rgba(14, 165, 233, 0.4),
        inset 0 0 20px rgba(34, 211, 238, 0.2);
    position: relative;
    z-index: 2;
    object-fit: cover;
}

/* Avatar Icon Style */
.isaias-avatar-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.95) 0%, 
        rgba(14, 165, 233, 0.95) 50%,
        rgba(34, 211, 238, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.isaias-avatar-icon .avatar-icon-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        rgba(34, 211, 238, 0.2) 0%, 
        transparent 70%);
    animation: iconBgPulseTech 3s ease-in-out infinite;
}

.isaias-avatar-icon .avatar-icon-main {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.9));
    animation: iconFloatTech 3s ease-in-out infinite;
    z-index: 2;
}

.isaias-avatar-icon .avatar-icon-text {
    font-size: 1.2rem;
    font-weight: 900;
    color: #22d3ee;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.8);
    z-index: 2;
}

@keyframes iconBgPulseTech {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes iconFloatTech {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.isaias-crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.8));
    animation: crownFloat 3s ease-in-out infinite;
    z-index: 3;
}

.isaias-credentials {
    text-align: left;
    max-width: 700px;
}

.isaias-name {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.isaias-title {
    font-size: 1.2rem;
    color: #22d3ee;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.isaias-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: center;
}

.isaias-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.isaias-stats .stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #06b6d4;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

.isaias-stats .stat-label {
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.7;
    letter-spacing: 2px;
    margin-top: 5px;
}

.isaias-stats .stat-divider {
    color: #0ea5e9;
    font-size: 1.5rem;
    opacity: 0.5;
}

.isaias-titles {
    display: flex;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.title-badge {
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(14, 165, 233, 0.1));
    border: 2px solid rgba(6, 182, 212, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.title-badge:hover {
    background: rgba(6, 182, 212, 0.25);
    border-color: #06b6d4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.isaias-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #fff;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 4px solid #06b6d4;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    line-height: 1.6;
}

/* Animações específicas para Isaias */
@keyframes spotlightPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes auraPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes crownFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.porting-subtitle-container {
    margin-top: 1rem;
    position: relative;
}

.porting-subtitle-epic {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.highlight-cyan {
    color: #06b6d4;
    font-weight: 800;
    text-shadow: 0 0 15px #06b6d4;
    animation: highlightGlow 2s ease-in-out infinite;
}

.highlight-neon {
    color: #0ea5e9;
    font-weight: 800;
    text-shadow: 
        0 0 20px #0ea5e9,
        0 0 40px #0ea5e9;
    animation: neonFlicker 3s ease-in-out infinite;
}

/* ===== DESCRIÇÃO PRINCIPAL ===== */
.services-porting-description {
    margin-bottom: 4rem;
}

.services-porting-intro {
    font-size: 1.2rem;
    color: #b9bbbe;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== SEÇÃO DE PLATAFORMAS ===== */
.services-porting-platforms {
    margin-bottom: 4rem;
}

.services-porting-platforms-title {
    font-size: 1.5rem;
    color: #5865f2;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.services-porting-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== CARDS DE PLATAFORMA ===== */
.services-porting-platform-card {
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.services-porting-platform-card:hover {
    transform: translateY(-5px);
    border-color: #5865f2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.services-porting-platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-porting-platform-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.services-porting-platform-desc {
    color: #b9bbbe;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

/* ===== COMPROMISSO ===== */
.services-porting-commitment {
    margin-bottom: 3rem;
}

.services-porting-commitment-text {
    font-size: 1.1rem;
    color: #b9bbbe;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== CTA DA SEÇÃO ===== */
.services-porting-cta {
    text-align: center;
}

.services-porting-cta-text {
    font-size: 1.3rem;
    color: #5865f2;
    font-weight: 600;
    margin: 0;
    padding: 1.5rem;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 10px;
    border-left: 4px solid #5865f2;
}

/* ===== ANIMAÇÃO DE BACKGROUND ===== */
.services-porting-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.services-porting-bg-particle {
    position: absolute;
    background: linear-gradient(45deg, rgba(88, 101, 242, 0.1), rgba(114, 137, 218, 0.1));
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.services-porting-bg-particle.particle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.services-porting-bg-particle.particle-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: -5%;
    animation-delay: 4s;
}

/* ===== ANIMAÇÕES KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.2;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .services-porting-section {
        padding: 80px 0;
    }
    
    .services-porting-container {
        padding: 0 20px;
    }
    
    .services-porting-icon {
        font-size: 3rem;
    }
    
    .services-porting-title {
        font-size: 2rem;
    }
    
    .services-porting-intro {
        font-size: 1.1rem;
    }
    
    .services-porting-platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-porting-platform-card {
        padding: 1.5rem;
    }
    
    .services-porting-bg-particle {
        display: none;
    }

    /* Isaias Leal responsive */
    .isaias-profile-epic {
        flex-direction: column;
        gap: 40px;
    }

    .isaias-credentials {
        text-align: center;
    }

    .isaias-stats {
        justify-content: center;
    }

    .isaias-titles {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .services-porting-title {
        font-size: 1.7rem;
    }
    
    .services-porting-intro {
        font-size: 1rem;
    }

    /* Isaias Leal mobile */
    .isaias-avatar-container,
    .isaias-avatar-epic {
        width: 120px;
        height: 120px;
    }

    .isaias-name {
        font-size: 1.8rem;
    }

    .isaias-quote {
        font-size: 1.1rem;
    }

    .isaias-stats .stat-value {
        font-size: 1.5rem;
    }
    
    .services-porting-platform-card {
        padding: 1.2rem;
    }
    
    .services-porting-cta-text {
        font-size: 1.1rem;
    }
}

/* ===== ESTILOS ÉPICOS ADICIONAIS ===== */

/* Showcase de Engines */
.porting-engines-showcase {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 15px;
    padding: 1.2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.engines-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #06b6d4;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.engines-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.engine-tag {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.2));
    border: 1px solid #06b6d4;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.engine-tag:hover {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

/* Universo de Plataformas */
.universe-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    text-align: center;
}

.universe-text {
    color: #e2e8f0;
}

.universe-highlight {
    color: #06b6d4;
    text-shadow: 0 0 20px #06b6d4;
    animation: universeGlow 3s ease-in-out infinite;
}

/* Grid 3D de Plataformas */
.platforms-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.platform-3d-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.6s ease;
    cursor: pointer;
}

.platform-3d-card:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

.card-3d-container {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.platform-3d-card:hover .card-3d-container {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* ===== CONTAINER DO ÍCONE - CORRIGIDO ===== */
.card-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    height: auto;
    min-height: auto;
}

.platform-icon-3d {
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.icon-orbit-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring.ring-1 {
    width: 60px;
    height: 60px;
    animation: orbitSpin 8s linear infinite;
}

.orbit-ring.ring-2 {
    width: 80px;
    height: 80px;
    animation: orbitSpin 12s linear infinite reverse;
}

.platform-title-3d {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #06b6d4;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.platform-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.spec-item {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: #06b6d4;
    color: #ffffff;
    transform: translateX(5px);
}

.platform-power-bar {
    width: 100%;
    height: 6px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.power-fill {
    height: 100%;
    border-radius: 3px;
    animation: powerCharge 3s ease-in-out infinite;
}

.console-power {
    background: linear-gradient(90deg, #06b6d4, #0ea5e9);
    width: 95%;
}

.pc-power {
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    width: 100%;
}

.mobile-power {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    width: 85%;
}

.cloud-power {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 90%;
}

/* Animações */
@keyframes universeGlow {
    0%, 100% { text-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4; }
    50% { text-shadow: 0 0 30px #06b6d4, 0 0 60px #06b6d4, 0 0 80px #06b6d4; }
}

@keyframes powerCharge {
    0% { opacity: 0.6; }
    50% { opacity: 1; box-shadow: 0 0 10px currentColor; }
    100% { opacity: 0.6; }
}

/* ===== ANIMAÇÕES FALTANDO ===== */
@keyframes orbitSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes depthFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes depthFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes depthFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes codeRainFall {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); }
    50% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.6); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes techGlow {
    0%, 100% { text-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4, 0 0 60px #06b6d4; }
    50% { text-shadow: 0 0 30px #06b6d4, 0 0 60px #06b6d4, 0 0 90px #06b6d4; }
}

@keyframes separatorSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes powerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes highlightGlow {
    0%, 100% { text-shadow: 0 0 15px #06b6d4; }
    50% { text-shadow: 0 0 25px #06b6d4, 0 0 35px #06b6d4; }
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ===== SEÇÃO DE IMPACTO/ESTATÍSTICAS ===== */
.porting-impact-section {
    margin: 4rem 0;
    text-align: center;
    position: relative;
}

.impact-stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.impact-stat {
    position: relative;
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #06b6d4;
    text-shadow: 
        0 0 20px #06b6d4,
        0 0 40px #06b6d4;
    line-height: 1;
    animation: statGlow 3s ease-in-out infinite;
}

.stat-plus,
.stat-percent {
    font-size: 1.5rem;
    color: #0ea5e9;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.impact-separator {
    font-size: 2rem;
    color: #06b6d4;
    font-weight: 900;
    animation: separatorPulse 2s ease-in-out infinite;
}

/* ===== SEÇÃO DE PROMESSA ÉPICA ===== */
.porting-promise-section {
    margin: 4rem 0;
    text-align: center;
    position: relative;
}

.promise-container {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.promise-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    animation: promiseScan 4s ease-in-out infinite;
}

.promise-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: badgeGlow 3s ease-in-out infinite;
}

.badge-lightning {
    font-size: 1.2rem;
    animation: lightningFlash 2s ease-in-out infinite;
}

.promise-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.promise-main {
    color: #e2e8f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.promise-separator {
    color: #06b6d4;
    margin: 0 1rem;
    font-size: 0.8em;
    animation: arrowMove 2s ease-in-out infinite;
}

.promise-result {
    color: #06b6d4;
    text-shadow: 
        0 0 20px #06b6d4,
        0 0 40px #06b6d4;
    animation: resultGlow 3s ease-in-out infinite;
}

.promise-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-red {
    color: #ef4444;
    font-weight: 800;
    text-shadow: 0 0 15px #ef4444;
}

/* ===== CTA ÉPICO FINAL ===== */
.porting-cta-epic {
    margin: 4rem 0;
    text-align: center;
}

.cta-power-container {
    position: relative;
    display: inline-block;
}

.porting-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 1.8rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.4),
        0 0 40px rgba(6, 182, 212, 0.2);
}

.porting-cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(6, 182, 212, 0.6),
        0 0 60px rgba(6, 182, 212, 0.4);
}

.cta-icon {
    font-size: 1.5rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-power-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.power-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(6, 182, 212, 0.6);
    border-radius: 50px;
    width: 100%;
    height: 100%;
    animation: waveExpand 3s ease-out infinite;
}

.power-wave.wave-1 {
    animation-delay: 0s;
}

.power-wave.wave-2 {
    animation-delay: 1s;
}

.power-wave.wave-3 {
    animation-delay: 2s;
}

/* ===== SISTEMA DE PARTÍCULAS TECH ===== */
.porting-fx-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #06b6d4;
    border-radius: 50%;
    animation: particleTechFloat 6s linear infinite;
}

.tech-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.tech-particle:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: 1.5s;
}

.tech-particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.tech-particle:nth-child(4) {
    top: 60%;
    right: 25%;
    animation-delay: 4.5s;
}

.tech-particle:nth-child(5) {
    bottom: 15%;
    right: 10%;
    animation-delay: 6s;
}

/* ===== ANIMAÇÕES ADICIONAIS ===== */
@keyframes statGlow {
    0%, 100% { 
        text-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4;
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px #06b6d4, 0 0 60px #06b6d4, 0 0 80px #06b6d4;
        transform: scale(1.05);
    }
}

@keyframes separatorPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes promiseScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); }
}

@keyframes lightningFlash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes resultGlow {
    0%, 100% { 
        text-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4;
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px #06b6d4, 0 0 60px #06b6d4, 0 0 80px #06b6d4;
        transform: scale(1.02);
    }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

@keyframes waveExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes particleTechFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}