@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spinGlobe {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.infra-section-unified {
    background: #000b18;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 85, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 198, 255, 0.05), transparent 25%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.infra-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.infra-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.infra-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.infra-tab-btn.active {
    background: linear-gradient(135deg, #0055ff 0%, #00c6ff 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(0, 85, 255, 0.4);
    transform: translateY(-2px);
}

.infra-tab-pane {
    display: none !important;
}

.infra-tab-pane.active {
    display: block !important;
}

.fade-in {
    animation: fadeInTab 0.5s ease forwards;
}

.header-3d {
    text-align: center;
    margin-bottom: 30px;
}

.badge-3d {
    display: inline-block;
    background: rgba(0, 198, 255, 0.1);
    color: #00c6ff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 198, 255, 0.2);
}

.header-3d h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.header-3d p {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-3d-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-3d-track {
    position: relative;
    height: 380px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.slide-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px) translateZ(-100px) rotateY(10deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 1;
}

.slide-3d.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateZ(0) rotateY(0deg);
    z-index: 2;
}

.slide-3d.exit-left {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px) translateZ(-100px) rotateY(-10deg);
    z-index: 1;
}

.slide-3d-text {
    flex: 1;
    padding-right: 15px;
}

.slide-tag {
    color: #00c6ff;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.slide-3d-text h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.1;
}

.slide-3d-text p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-gradient-viabilidade {
    background: linear-gradient(135deg, #0055ff 0%, #00c6ff 100%);
    color: #ffffff;
    border: none;
    padding: 14px 26px;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.3);
}

.btn-gradient-viabilidade:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.4);
}

.slide-3d-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.spin-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spin-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(0, 198, 255, 0.3);
    animation: spinGlobe 20s linear infinite;
}

.spin-wrapper::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.spin-wrapper img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.4));
}

.carousel-3d-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #0055ff;
    border-color: #0055ff;
    transform: scale(1.1);
}

.indicators-3d {
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00c6ff;
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(0, 198, 255, 0.5);
}

.teleporto-premium-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 1000px;
    margin: 0 auto;
}

.teleporto-content {
    flex: 1;
}

.section-tag {
    color: #00c6ff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    font-size: 0.85rem;
}

.teleporto-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
}

.teleporto-content p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.teleporto-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.t-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 198, 255, 0.1);
    color: #00c6ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    border: 1px solid rgba(0, 198, 255, 0.2);
}

.t-stat span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.teleporto-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.teleporto-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.teleporto-premium-box:hover .teleporto-img {
    transform: scale(1.05);
}

.teleporto-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 11, 24, 0.85);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatBadge 4s ease-in-out infinite;
}

.teleporto-badge i {
    color: #00c6ff;
    font-size: 1.1rem;
}

.teleporto-badge span {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 11, 24, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #001a33;
}

.modal-box h3 {
    color: #001a33;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.modal-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #0055ff;
    box-shadow: 0 5px 15px rgba(0, 85, 255, 0.1);
}

.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #25D366;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-info span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.contact-info strong {
    font-size: 1.05rem;
    color: #001a33;
    font-weight: 800;
}

.contact-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0055ff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon:hover {
    background: #0055ff;
    color: #ffffff;
    border-color: #0055ff;
}

@media (max-width: 992px) {
    .teleporto-premium-box {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    
    .slide-3d {
        flex-direction: column;
        text-align: center;
        transform: translateX(100px) rotateY(10deg);
    }

    .slide-3d.exit-left {
        transform: translateX(-100px) rotateY(-10deg);
    }

    .slide-3d-text {
        padding-right: 0;
    }

    .carousel-3d-track {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .infra-toggle-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .spin-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .teleporto-premium-box {
        padding: 25px 15px;
    }
}