/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    overflow-x: hidden;
    background: #000011;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 20, 0.8);
    overflow-x: hidden;
}

/* ===== FUNDO ESPACIAL ===== */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20;
    background: linear-gradient(135deg, #000011 0%, #001122 25%, #000033 50%, #001144 75%, #000022 100%);
    overflow: hidden;
}

.floating-stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.star:nth-child(odd) {
    animation-direction: reverse;
}

.star.small {
    width: 2px;
    height: 2px;
    animation-duration: 4s;
}

.star.medium {
    width: 3px;
    height: 3px;
    animation-duration: 6s;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.star.large {
    width: 4px;
    height: 4px;
    animation-duration: 8s;
    box-shadow: 0 0 10px rgba(114, 161, 222, 0.9);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.05);
        opacity: 1;
    }
}

.back-vid {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -15;
    background: radial-gradient(ellipse at center, rgba(114, 161, 222, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

/* ===== HEADER ===== */
header {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 70px;
    background-color: rgba(0, 0, 20, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(114, 161, 222, 0.3);
    z-index: 1000;
    border-bottom: 1px solid rgba(114, 161, 222, 0.2);
}

.left {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #72a1de, #4a8bc2);
    border-radius: 8px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(114, 161, 222, 0.5);
}

header ul {
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 40, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 15px rgba(114, 161, 222, 0.4);
    border: 1px solid rgba(114, 161, 222, 0.2);
}

header ul li {
    list-style: none;
}

header ul a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 10px;
}

header ul a:hover {
    text-shadow: 0 0 15px #72a1de;
    color: #72a1de;
}

.box-icons {
    display: flex;
    gap: 40px;
}

.box-icons p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 35px;
    height: 35px;
    border: 2px solid #72a1de;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
    background: rgba(0, 0, 40, 0.5);
}

.box-icons p:hover {
    background-color: #72a1de;
    color: black;
    box-shadow: 0 0 20px #72a1de;
    transform: scale(1.1);
}

/* ===== SIDEBAR ===== */
.menu-icon {
    font-size: 35px;
    cursor: pointer;
    display: none;
    color: #72a1de;
}

.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 70%;
    width: 0%;
    background-color: rgba(0, 0, 20, 0.95);
    z-index: 1500;
    box-shadow: 0 0 30px rgba(114, 161, 222, 0.5);
    backdrop-filter: blur(15px);
    opacity: 0;
    border-bottom-left-radius: 100%;
    transition: all 0.5s ease;
    border: 1px solid rgba(114, 161, 222, 0.3);
}

.close-icon {
    font-size: 50px;
    color: #72a1de;
    padding-left: 10px;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(114, 161, 222, 0.8);
}

.sidebar ul {
    padding-left: 20px;
}

.sidebar ul li {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    font-size: 30px;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.5);
    transition: 0.3s;
}

.sidebar ul li a:hover {
    color: #72a1de;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.8);
}

.social-sidebar {
    padding-left: 20px;
    margin-top: 60px;
}

.social-sidebar a {
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
    transition: 0.5s;
    color: #72a1de;
    text-shadow: 0 0 10px rgba(114, 161, 222, 0.5);
}

.social-sidebar a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.8);
}

.sidebar.open-sidebar {
    width: 80%;
    opacity: 1;
    bottom: 0;
    border-radius: 0;
}

/* ===== HERO SECTION - CORRIGIDA ===== */
.blackhole-box {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -10;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.2) 0%, rgba(0, 50, 100, 0.05) 30%, transparent 70%);
}

.blackhole-box::before {
    content: '';
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.3) 0%, rgba(114, 161, 222, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse-space 12s ease-in-out infinite;
}

@keyframes pulse-space {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(1.3) rotate(180deg); 
        opacity: 0.2; 
    }
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-info {
    position: relative;
    z-index: 10;
    opacity: 1;
    animation: heroInfoSlide 1.5s ease-out;
}

@keyframes heroInfoSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-info-title {
    color: #72a1de;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(114, 161, 222, 0.6);
    width: fit-content;
    max-width: 300px;
    background-color: rgba(0, 0, 40, 0.8);
    box-shadow: 0 0 20px rgba(114, 161, 222, 0.4);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-info h1 {
    font-size: clamp(32px, 5vw, 60px);
    max-width: 600px;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0 30px;
    opacity: 1;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.5);
}

.hero-info p {
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: clamp(16px, 2.5vw, 20px);
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-info button {
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    border: 2px solid rgba(114, 161, 222, 0.8);
    background-color: rgba(0, 0, 40, 0.8);
    box-shadow: 0 0 20px rgba(114, 161, 222, 0.4);
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-info button:hover {
    box-shadow: 0 0 30px rgba(114, 161, 222, 0.8);
    transform: translateY(-3px);
    background-color: rgba(114, 161, 222, 0.2);
}

.gradient {
    background: linear-gradient(to right,#00aaa7, #7e42a7, #6600c5, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

/* ===== CUBO MÁGICO - COMPLETAMENTE CORRIGIDO ===== */
.skills-video-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    z-index: 5;
    justify-self: center;
    align-self: center;
    animation: cubeBoxFloat 6s ease-in-out infinite;
}

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

.skills-video {
    height: 100%;
    width: 100%;
    position: relative;
    perspective: 1200px;
    perspective-origin: center center;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magic-cube {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeGlobalRotate 60s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes cubeGlobalRotate {
    0% { transform: rotateX(-15deg) rotateY(25deg); }
    12% { transform: rotateX(-15deg) rotateY(25deg); }
    25% { transform: rotateX(15deg) rotateY(115deg); }
    37% { transform: rotateX(15deg) rotateY(115deg); }
    50% { transform: rotateX(-10deg) rotateY(205deg); }
    62% { transform: rotateX(-10deg) rotateY(205deg); }
    75% { transform: rotateX(20deg) rotateY(295deg); }
    87% { transform: rotateX(20deg) rotateY(295deg); }
    100% { transform: rotateX(-15deg) rotateY(385deg); }
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    padding: 10px;
    box-sizing: border-box;
    transform-style: preserve-3d;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.cube-face.front {
    background: linear-gradient(135deg, rgba(97, 218, 251, 0.15), rgba(97, 218, 251, 0.08));
    border: 2px solid rgba(97, 218, 251, 0.4);
    transform: translateZ(150px);
    animation: faceFrontRotate 45s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(97, 218, 251, 0.3);
}

.cube-face.back {
    background: linear-gradient(135deg, rgba(104, 211, 145, 0.15), rgba(104, 211, 145, 0.08));
    border: 2px solid rgba(104, 211, 145, 0.4);
    transform: translateZ(-150px) rotateY(180deg);
    animation: faceBackRotate 50s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(104, 211, 145, 0.3);
}

.cube-face.right {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15), rgba(240, 147, 251, 0.08));
    border: 2px solid rgba(240, 147, 251, 0.4);
    transform: rotateY(90deg) translateZ(150px);
    animation: faceRightRotate 42s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(240, 147, 251, 0.3);
}

.cube-face.left {
    background: linear-gradient(135deg, rgba(79, 209, 199, 0.15), rgba(79, 209, 199, 0.08));
    border: 2px solid rgba(79, 209, 199, 0.4);
    transform: rotateY(-90deg) translateZ(150px);
    animation: faceLeftRotate 48s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(79, 209, 199, 0.3);
}

.cube-face.top {
    background: linear-gradient(135deg, rgba(251, 182, 206, 0.15), rgba(251, 182, 206, 0.08));
    border: 2px solid rgba(251, 182, 206, 0.4);
    transform: rotateX(90deg) translateZ(150px);
    animation: faceTopRotate 40s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(251, 182, 206, 0.3);
}

.cube-face.bottom {
    background: linear-gradient(135deg, rgba(254, 215, 170, 0.15), rgba(254, 215, 170, 0.08));
    border: 2px solid rgba(254, 215, 170, 0.4);
    transform: rotateX(-90deg) translateZ(150px);
    animation: faceBottomRotate 55s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(254, 215, 170, 0.3);
}

@keyframes faceFrontRotate {
    0%, 15% { transform: translateZ(150px) rotateZ(0deg); }
    25%, 40% { transform: translateZ(150px) rotateZ(90deg); }
    50%, 65% { transform: translateZ(150px) rotateZ(180deg); }
    75%, 90% { transform: translateZ(150px) rotateZ(270deg); }
    100% { transform: translateZ(150px) rotateZ(360deg); }
}

@keyframes faceBackRotate {
    0%, 20% { transform: translateZ(-150px) rotateY(180deg) rotateZ(0deg); }
    30%, 50% { transform: translateZ(-150px) rotateY(180deg) rotateZ(-90deg); }
    60%, 80% { transform: translateZ(-150px) rotateY(180deg) rotateZ(-180deg); }
    90%, 100% { transform: translateZ(-150px) rotateY(180deg) rotateZ(-270deg); }
}

@keyframes faceRightRotate {
    0%, 18% { transform: rotateY(90deg) translateZ(150px) rotateZ(0deg); }
    25%, 43% { transform: rotateY(90deg) translateZ(150px) rotateZ(120deg); }
    50%, 68% { transform: rotateY(90deg) translateZ(150px) rotateZ(240deg); }
    75%, 93% { transform: rotateY(90deg) translateZ(150px) rotateZ(360deg); }
    100% { transform: rotateY(90deg) translateZ(150px) rotateZ(480deg); }
}

@keyframes faceLeftRotate {
    0%, 25% { transform: rotateY(-90deg) translateZ(150px) rotateZ(0deg); }
    35%, 60% { transform: rotateY(-90deg) translateZ(150px) rotateZ(-135deg); }
    70%, 95% { transform: rotateY(-90deg) translateZ(150px) rotateZ(-270deg); }
    100% { transform: rotateY(-90deg) translateZ(150px) rotateZ(-360deg); }
}

@keyframes faceTopRotate {
    0%, 22% { transform: rotateX(90deg) translateZ(150px) rotateZ(0deg); }
    30%, 52% { transform: rotateX(90deg) translateZ(150px) rotateZ(180deg); }
    60%, 82% { transform: rotateX(90deg) translateZ(150px) rotateZ(360deg); }
    90%, 100% { transform: rotateX(90deg) translateZ(150px) rotateZ(540deg); }
}

@keyframes faceBottomRotate {
    0%, 30% { transform: rotateX(-90deg) translateZ(150px) rotateZ(0deg); }
    40%, 70% { transform: rotateX(-90deg) translateZ(150px) rotateZ(-160deg); }
    80%, 100% { transform: rotateX(-90deg) translateZ(150px) rotateZ(-320deg); }
}

.tech-icon {
    background: rgba(0, 0, 40, 0.9);
    border: 1px solid rgba(114, 161, 222, 0.6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: clamp(6px, 1.5vw, 8px);
    min-height: 45px;
    animation: iconFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes iconFloat {
    0%, 100% { transform: translateZ(0px) scale(1); }
    50% { transform: translateZ(8px) scale(1.02); }
}

.frontend { 
    color: rgba(97, 218, 251, 0.9); 
    border-color: rgba(97, 218, 251, 0.7);
    box-shadow: 0 0 10px rgba(97, 218, 251, 0.4);
}
.backend { 
    color: rgba(104, 211, 145, 0.9); 
    border-color: rgba(104, 211, 145, 0.7);
    box-shadow: 0 0 10px rgba(104, 211, 145, 0.4);
}
.mobile { 
    color: rgba(240, 147, 251, 0.9); 
    border-color: rgba(240, 147, 251, 0.7);
    box-shadow: 0 0 10px rgba(240, 147, 251, 0.4);
}
.database { 
    color: rgba(79, 209, 199, 0.9); 
    border-color: rgba(79, 209, 199, 0.7);
    box-shadow: 0 0 10px rgba(79, 209, 199, 0.4);
}
.cloud { 
    color: rgba(251, 182, 206, 0.9); 
    border-color: rgba(251, 182, 206, 0.7);
    box-shadow: 0 0 10px rgba(251, 182, 206, 0.4);
}
.tools { 
    color: rgba(254, 215, 170, 0.9); 
    border-color: rgba(254, 215, 170, 0.7);
    box-shadow: 0 0 10px rgba(254, 215, 170, 0.4);
}

.tech-icon:hover {
    background: rgba(114, 161, 222, 0.4);
    border-width: 2px;
    transform: scale(1.2) translateZ(15px);
    box-shadow: 0 8px 30px rgba(114, 161, 222, 0.8);
    z-index: 15;
}

.tech-symbol {
    font-size: clamp(10px, 2vw, 14px);
    margin-bottom: 2px;
    display: block;
}

.tech-name {
    font-size: clamp(5px, 1vw, 7px);
    opacity: 0.9;
    line-height: 1;
    display: block;
}

.scroll-down {
    grid-column: 1 / -1;
    justify-self: center;
    height: 50px;
    width: 30px;
    border: 2px solid rgba(114, 161, 222, 0.8);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(114, 161, 222, 0.6);
    z-index: 5;
    background: rgba(0, 0, 40, 0.5);
    margin-top: 20px;
    position: relative;
}

.scroll-down::before,
.scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid rgba(114, 161, 222, 0.8);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
}

.scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
}

@keyframes scroll-down {
    0% { opacity: 0; }
    30% { opacity: 1; }
    60% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

/* ===== SEÇÕES FLUTUANTES ===== */
.floating-section {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.space-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.floating-title {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.floating-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(114, 161, 222, 0.8);
    background: linear-gradient(45deg, #72a1de, #a1c4fd, #c2e9fb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.section-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== ESTATÍSTICAS FLUTUANTES ===== */
.floating-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 120px;
}

.stat-orb {
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 0, 40, 0.8), rgba(0, 0, 20, 0.4));
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.6s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    animation: floatOrb 8s ease-in-out infinite;
}

.stat-orb.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stat-orb:nth-child(even) {
    animation-delay: -4s;
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

.orb-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes orbGlow {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.stat-orb:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(114, 161, 222, 0.4);
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: clamp(40px, 8vw, 60px);
    margin-bottom: 20px;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.stat-number {
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 900;
    color: #72a1de;
    margin: 15px 0;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.8);
}

.stat-label {
    font-size: clamp(12px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== HISTÓRIA FLUTUANTE ===== */
.floating-story {
    margin-bottom: 120px;
}

.story-header {
    text-align: center;
    margin-bottom: 60px;
}

.story-title {
    font-size: clamp(24px, 5vw, 36px);
    color: #72a1de;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.6);
}

.timeline-orbit {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    max-width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    animation: timelineFloat 6s ease-in-out infinite;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    animation-delay: -2s;
}

.timeline-item:nth-child(even) {
    animation-delay: -4s;
}

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

.year-orb {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.8), rgba(114, 161, 222, 0.4));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(114, 161, 222, 0.6);
    animation: yearOrb 3s ease-in-out infinite;
}

@keyframes yearOrb {
    0%, 100% { box-shadow: 0 0 30px rgba(114, 161, 222, 0.6); }
    50% { box-shadow: 0 0 50px rgba(114, 161, 222, 0.9); }
}

.timeline-content h3 {
    font-size: 20px;
    color: #72a1de;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===== VALORES FLUTUANTES ===== */
.floating-values {
    margin-bottom: 120px;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-orb {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 0, 40, 0.9), rgba(0, 0, 20, 0.6));
    border-radius: 25px;
    padding: 40px 30px;
    backdrop-filter: blur(20px);
    transition: all 0.6s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: valueOrb 10s ease-in-out infinite;
}

.value-orb.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.value-orb:nth-child(odd) {
    animation-delay: -3s;
}

.value-orb:nth-child(even) {
    animation-delay: -6s;
}

@keyframes valueOrb {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    33% { transform: translateY(-10px) rotateY(5deg); }
    66% { transform: translateY(-5px) rotateY(-3deg); }
}

.value-orb:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 60px rgba(114, 161, 222, 0.3);
}

.value-icon {
    font-size: clamp(40px, 8vw, 60px);
    margin-bottom: 20px;
    display: block;
    animation: valueIcon 4s ease-in-out infinite;
}

@keyframes valueIcon {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.value-content h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: #72a1de;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.5);
}

.value-content p {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ===== TECH FLUTUANTE ===== */
.floating-tech {
    margin-bottom: 120px;
}

.tech-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-galaxy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-planet {
    position: relative;
    background: radial-gradient(circle, rgba(0, 0, 40, 0.8), transparent);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: techPlanet 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(114, 161, 222, 0.2);
}

.tech-planet.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-planet:nth-child(3n) {
    animation-delay: -2s;
}

.tech-planet:nth-child(3n+1) {
    animation-delay: -4s;
}

.tech-planet:nth-child(3n+2) {
    animation-delay: -6s;
}

@keyframes techPlanet {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
    75% { transform: translateY(-5px) rotate(2deg); }
}

.tech-planet:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 15px 40px rgba(114, 161, 222, 0.4);
}

.tech-planet span {
    display: block;
    font-size: clamp(10px, 2.5vw, 12px);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    font-weight: 600;
}

/* ===== SERVICE CATEGORIES MELHORADO ===== */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-orb {
    position: relative;
    background: radial-gradient(circle, rgba(0, 0, 40, 0.8), rgba(0, 0, 20, 0.4));
    border-radius: 25px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(15px);
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(114, 161, 222, 0.2);
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid rgba(114, 161, 222, 0.2);
}

.category-orb.animate {
    opacity: 1;
    transform: translateY(0);
}

.category-orb.active,
.category-orb:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(114, 161, 222, 0.4);
    background: radial-gradient(circle, rgba(114, 161, 222, 0.3), rgba(0, 0, 40, 0.6));
    border-color: rgba(114, 161, 222, 0.8);
}

.category-icon {
    font-size: clamp(25px, 6vw, 35px);
    margin-bottom: 15px;
    animation: categoryIcon 3s ease-in-out infinite;
    color: #72a1de;
}

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

.category-orb span {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.category-description {
    font-size: clamp(10px, 2vw, 12px);
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.4;
}
/* ===== CORREÇÃO DA NAVEGAÇÃO DE SERVIÇOS ===== */
.service-content {
    position: relative;
    min-height: 800px; /* Altura fixa para evitar saltos */
    overflow: hidden; /* Evitar overflow */
}

.service-galaxy {
    position: absolute; /* Posicionamento absoluto */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.service-galaxy.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 10;
}

/* Garantir que apenas a seção ativa seja interativa */
.service-galaxy:not(.active) {
    pointer-events: none;
}

.service-galaxy.active {
    pointer-events: auto;
}

/* Melhorar a transição dos category orbs  edia screen and (max-width: 768px) {*/
.category-orb {
    position: relative;
    z-index: 20; /* Sempre acima do conteúdo */
}

.category-orb.active {
    z-index: 25;
}

@keyframes galaxyFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(50px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: radial-gradient(circle, rgba(0, 0, 40, 0.6), transparent);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.category-header h2 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 15px;
    color: #72a1de;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.5);
}

.category-header p {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* ===== SERVICE ORBS MELHORADOS ===== */
.service-orb {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 0, 40, 0.9), rgba(0, 0, 20, 0.6));
    border-radius: 25px;
    padding: 35px 30px;
    backdrop-filter: blur(20px);
    transition: all 0.6s ease;
    cursor: pointer;
    animation: serviceOrb 12s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(114, 161, 222, 0.2);
}

.service-orb:nth-child(odd) {
    animation-delay: -4s;
}

.service-orb:nth-child(even) {
    animation-delay: -8s;
}

@keyframes serviceOrb {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-12px) rotateZ(1deg); }
    50% { transform: translateY(-8px) rotateZ(-0.5deg); }
    75% { transform: translateY(-15px) rotateZ(0.5deg); }
}

.service-orb:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 60px rgba(114, 161, 222, 0.3);
    border-color: rgba(114, 161, 222, 0.6);
}

.service-orb.featured {
    border-color: rgba(114, 161, 222, 0.5);
    box-shadow: 0 15px 40px rgba(114, 161, 222, 0.2);
}

.service-orb.premium {
    background: radial-gradient(circle at top left, rgba(40, 20, 0, 0.9), rgba(20, 10, 0, 0.6));
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(114, 161, 222, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    animation: badgePulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.service-orb.premium .service-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #000;
}

.service-icon {
    font-size: clamp(35px, 8vw, 50px);
    margin-bottom: 20px;
    display: block;
    animation: serviceIcon 6s ease-in-out infinite;
    color: #72a1de;
    text-align: center;
}

@keyframes serviceIcon {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(360deg); }
}

.service-orb h3 {
    font-size: clamp(18px, 4vw, 22px);
    color: #72a1de;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.5);
    text-align: center;
}

.service-orb p {
    font-size: clamp(13px, 3vw, 15px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
}

.service-features span {
    background: rgba(114, 161, 222, 0.2);
    color: #72a1de;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(114, 161, 222, 0.3);
}

.service-features span:hover {
    background: rgba(114, 161, 222, 0.4);
    transform: scale(1.05);
    border-color: rgba(114, 161, 222, 0.6);
}

.service-features span i {
    font-size: 12px;
}

.service-price {
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 900;
    color: #72a1de;
    text-align: center;
    padding: 12px;
    background: rgba(114, 161, 222, 0.1);
    border-radius: 12px;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.8);
    animation: priceGlow 3s ease-in-out infinite;
    margin-bottom: 20px;
    border: 2px solid rgba(114, 161, 222, 0.3);
}

@keyframes priceGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(114, 161, 222, 0.3); }
    50% { box-shadow: 0 0 25px rgba(114, 161, 222, 0.6); }
}

.service-action-btn {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(45deg, #72a1de, #4a8bc2);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(114, 161, 222, 0.6);
    background: linear-gradient(45deg, #4a8bc2, #72a1de);
}

.service-action-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(114, 161, 222, 0.4);
}

/* ===== SOLUÇÕES FLUTUANTES ===== */
.solutions-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-orb {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 0, 40, 0.9), rgba(0, 0, 20, 0.6));
    border-radius: 30px;
    padding: 40px 35px;
    backdrop-filter: blur(20px);
    transition: all 0.7s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    animation: solutionOrb 15s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.solution-orb.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.solution-orb:nth-child(2n) {
    animation-delay: -5s;
}

.solution-orb:nth-child(3n) {
    animation-delay: -10s;
}

@keyframes solutionOrb {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    20% { transform: translateY(-15px) rotateZ(1deg); }
    40% { transform: translateY(-8px) rotateZ(-0.5deg); }
    60% { transform: translateY(-20px) rotateZ(0.8deg); }
    80% { transform: translateY(-5px) rotateZ(-0.3deg); }
}

.solution-orb:hover {
    transform: translateY(-25px) scale(1.05);
    box-shadow: 0 30px 70px rgba(114, 161, 222, 0.3);
}

.solution-orb.premium {
    background: radial-gradient(circle at top left, rgba(40, 20, 0, 0.9), rgba(20, 10, 0, 0.6));
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
}

.solution-orb.featured {
    box-shadow: 0 20px 50px rgba(114, 161, 222, 0.2);
}

.solution-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(114, 161, 222, 0.9);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 700;
    text-transform: uppercase;
    animation: solutionBadge 3s ease-in-out infinite;
}

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

.solution-orb.premium .solution-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #000;
}

.solution-icon {
    font-size: clamp(40px, 8vw, 60px);
    margin-bottom: 25px;
    display: block;
    animation: solutionIcon 8s ease-in-out infinite;
}

@keyframes solutionIcon {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    25% { transform: rotateY(90deg) scale(1.05); }
    50% { transform: rotateY(180deg) scale(1); }
    75% { transform: rotateY(270deg) scale(1.05); }
}

.solution-orb h3 {
    font-size: clamp(20px, 5vw, 26px);
    color: #72a1de;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.5);
}

.solution-orb p {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.solution-features span {
    background: rgba(114, 161, 222, 0.2);
    color: #72a1de;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.solution-features span:hover {
    background: rgba(114, 161, 222, 0.4);
    transform: scale(1.1);
}

.solution-price {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 900;
    color: #72a1de;
    text-align: center;
    padding: 15px;
    background: rgba(114, 161, 222, 0.1);
    border-radius: 15px;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.8);
    animation: solutionPrice 4s ease-in-out infinite;
}

@keyframes solutionPrice {
    0%, 100% { box-shadow: 0 0 15px rgba(114, 161, 222, 0.3); }
    50% { box-shadow: 0 0 35px rgba(114, 161, 222, 0.7); }
}

/* ===== EQUIPA FLUTUANTE ===== */
.team-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-orb {
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 0, 40, 0.9), rgba(0, 0, 20, 0.6));
    border-radius: 30px;
    padding: 40px 35px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.7s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: founderOrb 12s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.founder-orb.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.founder-orb:nth-child(even) {
    animation-delay: -6s;
}

@keyframes founderOrb {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-12px) rotateZ(1deg); }
    50% { transform: translateY(-20px) rotateZ(-0.5deg); }
    75% { transform: translateY(-8px) rotateZ(0.5deg); }
}

.founder-orb:hover {
    transform: translateY(-25px) scale(1.05);
    box-shadow: 0 35px 80px rgba(114, 161, 222, 0.3);
}

.founder-avatar {
    position: relative;
    margin-bottom: 30px;
}

.avatar-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: avatarGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes avatarGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.avatar-content {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    background: linear-gradient(135deg, rgba(114, 161, 222, 0.8), rgba(114, 161, 222, 0.4));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(30px, 8vw, 50px);
    color: white;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(114, 161, 222, 0.6);
    animation: avatarPulse 3s ease-in-out infinite;
}

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

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 40, 0.9);
    border: 2px solid rgba(34, 197, 94, 0.8);
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-indicator span {
    font-size: clamp(8px, 2vw, 10px);
    color: #22c55e;
    font-weight: 600;
}

.founder-info h3 {
    font-size: clamp(22px, 5vw, 28px);
    color: #72a1de;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.5);
}

.founder-role {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding: 8px 15px;
    background: rgba(114, 161, 222, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.founder-info p {
    font-size: clamp(13px, 3vw, 15px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.expertise-constellation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.expertise-constellation span {
    background: rgba(0, 0, 60, 0.6);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.expertise-constellation span:hover {
    background: rgba(114, 161, 222, 0.3);
    transform: scale(1.05);
}

.founder-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 60, 0.4);
    border-radius: 15px;
}

.founder-stats .stat {
    text-align: center;
}

.founder-stats .stat-number {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 900;
    color: #72a1de;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.8);
    display: block;
}

.founder-stats .stat-label {
    font-size: clamp(10px, 2.5vw, 12px);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== CONTACTO FLUTUANTE ===== */
.contact-constellation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.contact-orb {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 0, 40, 0.9), rgba(0, 0, 20, 0.6));
    border-radius: 25px;
    padding: 35px 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.6s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: contactOrb 10s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-orb.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-orb:nth-child(2n) {
    animation-delay: -3s;
}

.contact-orb:nth-child(3n) {
    animation-delay: -6s;
}

@keyframes contactOrb {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-10px) rotateZ(1deg); }
    50% { transform: translateY(-18px) rotateZ(-0.5deg); }
    75% { transform: translateY(-5px) rotateZ(0.5deg); }
}

.contact-orb:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 60px rgba(114, 161, 222, 0.3);
}

.contact-glow {
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactGlow 5s ease-in-out infinite;
    z-index: -1;
}

@keyframes contactGlow {
    0%, 100% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.05; }
}

.contact-orb.whatsapp .contact-glow {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
}

.contact-orb.email .contact-glow {
    background: radial-gradient(circle, rgba(234, 88, 12, 0.3) 0%, transparent 70%);
}

.contact-orb.phone .contact-glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

.contact-orb.office .contact-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

.contact-icon {
    font-size: clamp(35px, 8vw, 50px);
    margin-bottom: 20px;
    animation: contactIcon 4s ease-in-out infinite;
}

@keyframes contactIcon {
    0%, 100% { transform: scale(1) rotateY(0deg); }
    50% { transform: scale(1.1) rotateY(180deg); }
}

.contact-orb h3 {
    font-size: clamp(18px, 4vw, 22px);
    color: #72a1de;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.5);
}

.contact-orb p {
    font-size: clamp(13px, 3vw, 15px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info span {
    display: block;
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(114, 161, 222, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 600;
    margin-top: 10px;
}

.status-badge.online {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.contact-action {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(45deg, #72a1de, #4a8bc2);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(114, 161, 222, 0.6);
}

/* ===== SOCIAL CONSTELLATION ===== */
.social-constellation {
    text-align: center;
    margin-bottom: 80px;
}

.social-constellation h3 {
    font-size: clamp(20px, 5vw, 28px);
    color: #72a1de;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(114, 161, 222, 0.6);
}

.social-orbits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-orb {
    position: relative;
    background: radial-gradient(circle, rgba(0, 0, 40, 0.8), rgba(0, 0, 20, 0.4));
    border-radius: 20px;
    padding: 25px 30px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.5s ease;
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(15px);
    animation: socialOrb 8s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-orb:nth-child(odd) {
    animation-delay: -2s;
}

.social-orb:nth-child(even) {
    animation-delay: -4s;
}

@keyframes socialOrb {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-8px) rotateZ(2deg); }
    50% { transform: translateY(-15px) rotateZ(-1deg); }
    75% { transform: translateY(-5px) rotateZ(1deg); }
}

.social-orb:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 20px 50px rgba(114, 161, 222, 0.4);
}

.social-orb.linkedin:hover {
    box-shadow: 0 20px 50px rgba(0, 119, 181, 0.4);
}

.social-orb.youtube:hover {
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4);
}

.social-orb.github:hover {
    box-shadow: 0 20px 50px rgba(51, 51, 51, 0.4);
}

.social-orb.facebook:hover {
    box-shadow: 0 20px 50px rgba(24, 119, 242, 0.4);
}

.social-orb i {
    font-size: clamp(25px, 6vw, 30px);
    margin-bottom: 10px;
    display: block;
    animation: socialIcon 3s ease-in-out infinite;
}

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

.social-orb span {
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 600;
}

/* ===== FOOTER FLUTUANTE ===== */
.floating-footer {
    background: radial-gradient(circle at center, rgba(0, 0, 40, 0.8), rgba(0, 0, 20, 0.4));
    padding: 60px 0 20px;
    margin-top: 100px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.floating-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(114, 161, 222, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(114, 161, 222, 0.1) 100%);
    animation: footerGradient 10s ease-in-out infinite;
}

@keyframes footerGradient {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.footer-constellation {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-orb {
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #72a1de, #4a8bc2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 0 30px rgba(114, 161, 222, 0.6);
    animation: footerLogo 4s ease-in-out infinite;
}

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

.footer-logo h3 {
    font-size: clamp(20px, 5vw, 24px);
    color: #72a1de;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(114, 161, 222, 0.5);
}

.footer-logo h3 span {
    color: white;
}

.footer-logo p {
    font-size: clamp(12px, 3vw, 14px);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-links-constellation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-link-orb {
    background: rgba(0, 0, 40, 0.6);
    border-radius: 15px;
    padding: 25px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    animation: linkOrb 12s ease-in-out infinite;
}

.footer-link-orb:nth-child(2n) {
    animation-delay: -4s;
}

.footer-link-orb:nth-child(3n) {
    animation-delay: -8s;
}

@keyframes linkOrb {
    0%, 100% { transform: translateY(0px); }
    33% { transform: translateY(-5px); }
    66% { transform: translateY(-10px); }
}

.footer-link-orb:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(114, 161, 222, 0.3);
}

.footer-link-orb h4 {
    font-size: clamp(14px, 3vw, 16px);
    color: #72a1de;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(114, 161, 222, 0.5);
}

.footer-link-orb a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(12px, 2.5vw, 14px);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.footer-link-orb a:hover {
    color: #72a1de;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(114, 161, 222, 0.5);
}

.footer-link-orb span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(11px, 2.5vw, 13px);
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(114, 161, 222, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom span {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(12px, 2.5vw, 14px);
}

/* ===== BACK TO TOP FIXO ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.9), rgba(114, 161, 222, 0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(114, 161, 222, 0.4);
    opacity: 0;
    visibility: hidden;
    animation: backToTopFloat 4s ease-in-out infinite;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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

.back-to-top:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 20px 50px rgba(114, 161, 222, 0.6);
}

.back-to-top-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(114, 161, 222, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: backToTopGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes backToTopGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.1; }
}

.back-to-top i {
    font-size: 24px;
    color: white;
    animation: arrowBounce 2s ease-in-out infinite;
}

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

/* ===== RESPONSIVO MELHORADO ===== */

/* Tablets e telas médias */
@media screen and (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 100px 20px 50px;
    }
    
    .hero-info {
        order: 1;
    }
    
    .skills-video-box {
        order: 2;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .magic-cube {
        width: 250px;
        height: 250px;
    }

    .cube-face {
        width: 250px;
        height: 250px;
    }

    /* Ajustes das transformações do cubo */
    .cube-face.front { transform: translateZ(125px); }
    .cube-face.back { transform: translateZ(-125px) rotateY(180deg); }
    .cube-face.right { transform: rotateY(90deg) translateZ(125px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(125px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(125px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(125px); }

    .floating-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-constellation {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-galaxy {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    .solutions-constellation {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .team-constellation {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-constellation {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablets pequenos e mobile horizontal */
@media screen and (max-width: 768px) {

    .service-content {
        min-height: 600px;
    }
    
    .service-galaxy {
        position: relative; /* Relativo no mobile */
        transform: none;
    }
    
    .service-galaxy:not(.active) {
        display: none; /* Display none no mobile */
    }
    
    .service-galaxy.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    /* Header responsivo */
    header ul {
        display: none;
    }

    header .box-icons {
        display: none;
    }

    .menu-icon {
        display: inline;
    }

    /* Hero section responsivo */
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 100px 15px 30px;
        min-height: auto;
    }

    .hero-info-title {
        max-width: 280px;
        margin: 0 auto 20px;
        font-size: 12px;
        padding: 10px 15px;
    }

    /* Cubo mágico responsivo */
    .skills-video-box {
        max-width: 280px;
        height: 280px;
        margin: 20px auto;
    }

    .magic-cube {
        width: 200px;
        height: 200px;
    }

    .cube-face {
        width: 200px;
        height: 200px;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .cube-face.front { transform: translateZ(100px); }
    .cube-face.back { transform: translateZ(-100px) rotateY(180deg); }
    .cube-face.right { transform: rotateY(90deg) translateZ(100px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(100px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

    /* Seções flutuantes responsivas */
    .floating-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .timeline-orbit {
        flex-direction: column;
        gap: 25px;
    }

    .values-constellation {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-galaxy {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Serviços responsivos */
    .service-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-orb {
        padding: 20px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-orb {
        padding: 25px 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .category-header {
        padding: 20px;
    }

    .solutions-constellation {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .solution-orb {
        padding: 30px 25px;
        max-width: 400px;
        margin: 0 auto;
    }

    .team-constellation {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .founder-orb {
        max-width: 450px;
        margin: 0 auto;
        padding: 30px 25px;
    }

    .contact-constellation {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-orb {
        max-width: 400px;
        margin: 0 auto;
        padding: 25px 20px;
    }

    .footer-constellation {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links-constellation {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .social-orbits {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Mobile pequeno */
@media screen and (max-width: 480px) {
    /* Hero mobile */
    .hero {
        padding: 90px 10px 20px;
    }

    .hero-info-title {
        max-width: 260px;
        font-size: 11px;
        padding: 8px 12px;
    }

    /* Cubo mágico mobile */
    .skills-video-box {
        max-width: 220px;
        height: 220px;
    }

    .magic-cube {
    width: 150px;
    height: 150px;
}

.cube-face {
    width: 150px;
    height: 150px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
    padding: 8px;
}

.cube-face.front { transform: translateZ(75px); }
.cube-face.back { transform: translateZ(-75px) rotateY(180deg); }
.cube-face.right { transform: rotateY(90deg) translateZ(75px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
.cube-face.top { transform: rotateX(90deg) translateZ(75px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }

.tech-icon {
    font-size: 6px;
    min-height: 25px;
}

.tech-symbol {
    font-size: 8px;
}

.tech-name {
    font-size: 4px;
}

/* Seções mobile */
.floating-stats {
    grid-template-columns: 1fr;
    gap: 15px;
}

.stat-orb {
    padding: 25px 20px;
    max-width: 300px;
    margin: 0 auto;
}

.timeline-item {
    max-width: 280px;
    margin: 0 auto;
    padding: 20px 15px;
}

.value-orb {
    padding: 25px 20px;
    max-width: 320px;
    margin: 0 auto;
}

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

.tech-planet {
    padding: 15px 10px;
    max-width: 140px;
    margin: 0 auto;
}

/* Serviços mobile */
.service-categories {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto 60px;
}

.category-orb {
    padding: 20px 15px;
    text-align: center;
}

.category-description {
    display: none; /* Ocultar no mobile para economizar espaço */
}

.services-grid {
    gap: 20px;
}

.service-orb {
    padding: 20px 15px;
    max-width: 320px;
}

.service-features {
    gap: 6px;
}

.service-features span {
    font-size: 10px;
    padding: 4px 8px;
}

.service-price {
    font-size: 16px;
    padding: 10px;
}

.service-action-btn {
    padding: 12px 20px;
    font-size: 13px;
}

/* Soluções mobile */
.solution-orb {
    padding: 25px 20px;
    max-width: 320px;
}

.solution-features {
    gap: 6px;
    justify-content: center;
}

.solution-features span {
    font-size: 10px;
    padding: 5px 10px;
}

.solution-price {
    font-size: 16px;
    padding: 10px;
}

/* Equipa mobile */
.founder-orb {
    padding: 25px 20px;
    max-width: 320px;
}

.founder-info p {
    font-size: 14px;
}

.expertise-constellation {
    gap: 6px;
    justify-content: center;
}

.expertise-constellation span {
    font-size: 10px;
    padding: 5px 8px;
}

.founder-stats {
    padding: 15px;
    gap: 15px;
}

/* Contacto mobile */
.contact-orb {
    padding: 25px 20px;
    max-width: 320px;
}

.contact-action {
    padding: 12px 20px;
    font-size: 13px;
}

.social-orbits {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-orb {
    width: 200px;
    padding: 15px 20px;
}

/* Footer mobile */
.footer-links-constellation {
    grid-template-columns: 1fr;
    gap: 25px;
}

.footer-link-orb {
    padding: 20px 15px;
    text-align: center;
}

/* Back to top mobile */
.back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
}

.back-to-top i {
    font-size: 20px;
}
}

/* Mobile muito pequeno */
@media screen and (max-width: 360px) {
.skills-video-box {
    width: 180px;
    height: 180px;
}

.magic-cube {
    width: 120px;
    height: 120px;
}

.cube-face {
    width: 120px;
    height: 120px;
    gap: 2px;
    padding: 6px;
}

.cube-face.front { transform: translateZ(60px); }
.cube-face.back { transform: translateZ(-60px) rotateY(180deg); }
.cube-face.right { transform: rotateY(90deg) translateZ(60px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(60px); }
.cube-face.top { transform: rotateX(90deg) translateZ(60px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }

.tech-icon {
    min-height: 20px;
    font-size: 5px;
}

.service-categories {
    max-width: 280px;
}

.category-orb {
    padding: 15px 10px;
}

.service-orb,
.solution-orb,
.founder-orb,
.contact-orb {
    max-width: 280px;
    padding: 20px 15px;
}
}

/* Landscape mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
.hero {
    grid-template-columns: 1fr 1fr;
    padding: 80px 20px 20px;
    gap: 20px;
    align-items: center;
}

.hero-info {
    order: 1;
}

.skills-video-box {
    order: 2;
    width: 200px;
    height: 200px;
}

.magic-cube {
    width: 140px;
    height: 140px;
}

.cube-face {
    width: 140px;
    height: 140px;
}

.cube-face.front { transform: translateZ(70px); }
.cube-face.back { transform: translateZ(-70px) rotateY(180deg); }
.cube-face.right { transform: rotateY(90deg) translateZ(70px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(70px); }
.cube-face.top { transform: rotateX(90deg) translateZ(70px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(70px); }

.scroll-down {
    grid-column: 1 / -1;
    position: relative;
    margin: 20px auto 0;
}
}

/* Correções específicas para o cubo mágico responsivo */
@media screen and (max-width: 1024px) {
.skills-video-box {
    perspective: 1000px;
}

.magic-cube {
    animation-duration: 45s; /* Animação mais lenta em tablets */
}
}

@media screen and (max-width: 768px) {
.magic-cube {
    animation-duration: 30s; /* Ainda mais lenta no mobile */
}

.cube-face {
    border-width: 1px; /* Bordas mais finas no mobile */
}
}

/* Otimizações de performance para dispositivos móveis */
@media screen and (max-width: 768px) {
.floating-stars {
    display: none; /* Remover estrelas no mobile para melhor performance */
}

.tech-icon:hover {
    transform: scale(1.1); /* Reduzir efeitos hover no mobile */
}

.value-orb, .solution-orb, .service-orb {
    animation-duration: 8s; /* Animações mais rápidas no mobile */
}
}

/* Correções finais de z-index */
.hero {
    z-index: 10;
}

.skills-video-box {
    z-index: 5;
}

.floating-section {
    z-index: 2;
}

/* Garantir que o cubo não sobreponha o conteúdo */
@media screen and (max-width: 1200px) {
.skills-video-box {
    margin-bottom: 40px;
}
}

/* Correção específica para evitar sobreposição na seção About */
#about {
    margin-top: 50px;
    padding-top: 120px;
}

/* Garantir espaçamento adequado entre seções */
.floating-section + .floating-section {
    margin-top: 0;
}

/* Melhorar a responsividade do scroll down  .service-content { */
.scroll-down {
    margin-top: 40px;
}

@media screen and (max-width: 768px) {
.scroll-down {
    margin-top: 30px;
    position: relative;
    left: 0;
    transform: none;
    margin-left: auto;
    margin-right: auto;
}
}
