* {
    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%;
    /* padding: 0 2rem; */
    padding: 0;
    position: relative;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;

    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 50;

}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}


nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    z-index: 999;
}

nav a:hover {
    color: #a7a7a7;
}

.btn-signin {
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
    z-index: 999;
}

.btn-signin: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%;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42af, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-sizing: 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.1rem;
    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.05rem;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started {
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 10;
    transition: background-color 0.2s ease;
}
.btn-get-started a{
    text-decoration: none;
}
.btn-signin-main a{
    text-decoration: none;
}

.btn-get-started:hover {
    background-color: #1a1a1a;
}

.btn-signin-main {
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.btn-signin-main:hover {
    background-color: gray;
}

.robot-3d {
    position: absolute;
    top: 30%;
    right: -20%;
}

@media (max-width: 1300px) {
    header {
        padding: 1rem 0.5rem;
    }

    .content {
        margin-top: 85%;
    }

    .robot-3d {
        transform: scale(0.8);
        top: -20%;
        right: 2%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0.1rem;
    }

    nav {
        display: none;
    }

    header h1 {
        font-size: 2rem;
    }

    .btn-signin {
        padding: 0.6rem 1.5rem;
    }

    .content {
        margin-top: 25rem;
    }

    .robot-3d {
        position: absolute;
        /* scale: 0.5;
        top: -5%;
        right: 0; */
        width: 100%;
        height: 60vh;   
        scale: 1;       
        top: 15%;
        right: auto;
    }

    .content {
        max-width: 30rem;
        margin-left: 10%;
    }

    .tag-box {
        width: 12rem;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .btn-get-started {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .btn-signin-main {
        font-size: 0.8rem;
        padding: 0.8rem 2rem;
    }
}


.features {
    background: black;
    padding: 5rem 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #e7e7e7;
    text-shadow: 0 0 10px rgba(128, 0, 255, 0.6);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #a87dff;
}

.card p {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.cards3d-container {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.cards3d {
    width: 100%;
    height: 600px;
    object-fit: fill;
    transform: scale(1.3); 
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* max-width: 1200px; */
    margin: auto 50px;
}

.footer-logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #00aaff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

