/* Responsive Design */
@media (max-width: 1024px) {
    .main-content-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .content {
        margin-left: 0;
        margin-top: 2.5rem;
        max-width: 90vw;
        text-align: center;
    }
    .spline-robot {
        width: 80vw;
        min-width: 220px;
        max-width: 90vw;
        margin: 0 auto;
        justify-content: center;
    }
    .spline-robot spline-viewer {
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        height: 320px !important;
        min-width: 220px !important;
        max-width: 90vw !important;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 1rem 1rem;
        gap: 1rem;
    }
    nav {
        gap: 1.2rem;
        margin-left: 0;
    }
    .main-content-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .content h1 {
        font-size: 2.2rem;
    }
    .content {
        margin-left: 0;
        margin-top: 1.5rem;
        max-width: 98vw;
        text-align: center;
        padding: 0 0.5rem;
    }
    .description {
        font-size: 1rem;
        max-width: 95vw;
    }
    .buttons {
        flex-direction: column;
        gap: 0.7rem;
        align-items: center;
    }
    .spline-robot {
        width: 98vw;
        min-width: 120px;
        max-width: 98vw;
        margin: 0 auto;
        justify-content: center;
    }
    .spline-robot spline-viewer {
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        height: 180px !important;
        min-width: 120px !important;
        max-width: 98vw !important;
    }
}
.spline-robot spline-viewer::-webkit-scrollbar {
    display: none;
}

/* Hide the 'Made with Spline' button */
spline-viewer::part(branding),
spline-viewer::part(logo),
spline-viewer .spline-branding,
spline-viewer .spline-logo,
spline-viewer [data-testid="branding"],
spline-viewer [data-testid="logo"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
}
.main-flex {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main-content-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 2rem;
}

.spline-robot {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 44%;
    min-width: 320px;
    max-width: 420px;
    margin-right: 0;
}
.spline-robot spline-viewer {
    width: 100% !important;
    height: 420px !important;
    min-width: 320px !important;
    max-width: 420px !important;
    margin: 0 !important;
    position: static;
}

.spline-robot spline-viewer {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(20%, -50%);
}
@media (max-width: 1024px) {
    .spline-robot {
        position: static;
        height: auto;
        width: 80vw;
        min-width: 220px;
        max-width: 90vw;
        margin: 0 auto;
        justify-content: center;
    }
    .spline-robot spline-viewer {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        height: 320px !important;
        min-width: 220px !important;
        max-width: 90vw !important;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}
.image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}
.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
}
header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}
nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
    z-index: 999;
}
nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    color: inherit;
}
nav a:hover {
    color: #a7a7a7;
}
.btn-signing {
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.btn-signing:hover {
    background-color: white;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}
.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
    margin-top: 4.5rem;
}
.content {
    margin-bottom: 2.5rem;
}
.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}
.tag-box .tag{
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}
.tag-box .tag:hover {
    color: #5300a0;
}
.content h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}
.description {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}
.buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.btn-get-started {
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    margin-right: 1rem;
}
.btn-get-started:hover {
    background-color: #1a1a1a;
}
.btn-signing-main {
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    margin-left: 1rem;
}
.btn-signing-main:hover {
    background-color: gray;
}