/* WorkOS-inspired Hero Styles for Nextec */

.workos-hero {
    position: relative;
    min-height: 100vh;
    /*background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a2f4a 100%);*/
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workos-hero-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 1000px;
    position: relative;
    z-index: 10;
}

.workos-hero-content {
    position: absolute;
    left: 150px;
    top: 45%;
    transform: translateY(-50%);
    z-index: 20;
    max-width: 600px;
    color: #29363d;
    text-align: left;
}

.workos-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -.07em;
    margin-bottom: 16px;
    font-size: 70px;
    line-height: 1.05;
}

.workos-hero-gradient {
    background: linear-gradient(116deg, #02b9f4, #a163f1 41%, #fb3b72 65%);
    /* background: linear-gradient(126deg, #a163f1, #02b9f4 31%, #fc3c73 55%, rgba(64, 223, 163, 0));
    /*background: linear-gradient(45deg, #a163f1, #6363f1 22%, #0499dd 41%, #f2719e 51%, #c62d56 60%, rgba(64, 223, 163, 0));
    /*    background: linear-gradient(45deg, #a163f1, #6363f1 22%, #3498ea 40%, #40df63 67%, rgba(64, 223, 163, 0));*/
    background-size: 150% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: intro-gradient 1.2s cubic-bezier(0.85, 0.26, 0.89, 0.93) 0.4s backwards;
}

@keyframes intro-gradient {
    0% {
        background-position: 300% 100%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.workos-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #656b8a;
    margin-bottom: 2rem;
    max-width: 500px;
}

.workos-hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.workos-btn-primary {
    background: #02b9f4;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: rgba(23, 6, 100, 0.035) 0px 24px 22px, rgba(23, 6, 100, 0.055) 0px 8.5846px 8.03036px, rgba(23, 6, 100, 0.067) 0px 4.77692px 3.89859px, rgba(23, 6, 100, 0.082) 0px 2.63479px 1.91116px, rgba(23, 6, 100, 0.12) 0px 1.15891px 0.755676px;
}

.workos-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: rgba(23, 6, 100, 0.05) 0px 32px 28px, rgba(23, 6, 100, 0.075) 0px 12px 12px, rgba(23, 6, 100, 0.09) 0px 6px 6px, rgba(23, 6, 100, 0.12) 0px 3px 3px;
}

.workos-btn-secondary {
    color: #02b9f4;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.workos-btn-secondary:hover {
    color: #b6bde2;
}

.workos-btn-secondary .chevron {
    transition: transform 0.2s ease;
}

.workos-btn-secondary:hover .chevron {
    transform: translateX(2px);
}

.workos-hero-graphic {
    position: absolute;
    top: 0;
    left: 100px;
    right: 65px;
    bottom: 0;
    height: 1000px !important;
    width: 1000px !important;
    max-width: 100%;
    margin: 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}


/* WebGL Graphics Container */

.webgl-graphics {
    width: 1000px !important;
    height: 1000px !important;
    position: relative;
    overflow: hidden;
    z-index: 5;
    /* Configurações específicas para as cores da Nextec */
    --nextec-primary: #049DD9;
    --nextec-secondary: #F23D7F;
    --nextec-accent: #05C7F2;
    --nextec-purple: #7B5DA6;
    --nextec-dark: #0F0F23;
    --nextec-gray: #1A1A2E;
}


/* Remove old 3D container styles - REPLACED WITH WEBGL */


/* .workos-3d-container {
  position: relative;
  width: 500px;
  height: 500px;
  perspective: 1000px;
}

.workos-3d-element {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
} */


/* @keyframes float {
  0%, 100% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(180deg); }
} - DISABLED FOR PERFORMANCE */


/* 3D Cubes - DISABLED FOR PERFORMANCE */

.workos-cube {
    display: none;
}


/* Particles - DISABLED FOR PERFORMANCE */

.workos-particles {
    display: none;
}

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

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
}

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

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 8s;
}

.workos-trusted-by {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workos-trusted-text {
    font-size: 0.875rem;
    color: #878ca6;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.workos-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    opacity: 0.6;
}

.workos-logo-grid img {
    height: 32px;
    width: auto;
    filter: grayscale(100%) brightness(2);
    transition: all 0.3s ease;
}

.workos-logo-grid img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}


/* Responsive Design */

@media (max-width: 768px) {
    .workos-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .workos-hero-title {
        font-size: 2.5rem;
    }
    .workos-hero-graphic {
        height: 400px;
        width: 400px;
        max-width: 100%;
        margin: 0 auto;
    }
    .webgl-graphics {
        width: 400px;
        height: 400px;
    }
    .workos-3d-container {
        width: 300px;
        height: 300px;
    }
    .workos-cube {
        width: 80px;
        height: 80px;
    }
    .cube-face {
        width: 80px;
        height: 80px;
    }
    .cube-face.front {
        transform: rotateY(0deg) translateZ(40px);
    }
    .cube-face.back {
        transform: rotateY(180deg) translateZ(40px);
    }
    .cube-face.right {
        transform: rotateY(90deg) translateZ(40px);
    }
    .cube-face.left {
        transform: rotateY(-90deg) translateZ(40px);
    }
    .cube-face.top {
        transform: rotateX(90deg) translateZ(40px);
    }
    .cube-face.bottom {
        transform: rotateX(-90deg) translateZ(40px);
    }
    .workos-hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .workos-hero-title {
        font-size: 2rem;
    }
    .workos-hero-description {
        font-size: 1.125rem;
    }
}