﻿* {
    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: 1;
    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
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.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; /* fixed typo: 'insert' -> 'inset' */
    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: 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;
    transition: background-color 0.2s ease;
}

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

.btn-signing-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;
}

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


/* Lighter horizontal cards layout */
.features {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Reduced gap */
    padding: 1.5rem; /* Less padding */
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
}

    .features::-webkit-scrollbar {
        display: none;
    }

.feature-card {
    background: rgba(0, 0, 0, 0.5); /* More transparent */
    border-radius: 12px; /* Smaller radius */
    padding: 1.25rem; /* Less padding */
    min-width: 240px; /* Narrower cards */
    transition: all 0.2s ease; /* Faster transition */
    text-align: center;
    backdrop-filter: blur(5px); /* Less blur */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtler border */
    flex-shrink: 0;
}

    .feature-card:hover {
        transform: translateY(-5px); /* Smaller hover effect */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Lighter shadow */
    }

.card-image {
    width: 100%;
    height: 140px; /* Smaller images */
    object-fit: cover;
    border-radius: 8px; /* Smaller radius */
    margin-bottom: 1rem; /* Less margin */
}

.card-title {
    font-size: 1.1rem; /* Smaller text */
    margin-bottom: 0.75rem; /* Less space */
    color: #fff;
    font-weight: 500; /* Medium instead of bold */
}

.card-description {
    color: #ddd; /* Slightly brighter */
    line-height: 1.4;
    font-size: 0.85rem; /* Smaller text */
    font-weight: 300; /* Lighter weight */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .features {
        padding: 1rem;
        gap: 0.75rem;
    }

    .feature-card {
        min-width: 200px; /* Even narrower */
        padding: 1rem;
    }

    .card-image {
        height: 120px;
    }
}

/* Additional styles for divider and card positioning */
.divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 3rem auto;
}

.features-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    scroll-margin-top: 80px; /* Prevents heading from being hidden under fixed headers */
}

/* Add these styles */
.services-heading {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
}



/* Robot Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Robot Container Styles */
#robot-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Robot */
#animated-robot {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

#animated-robot:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* Robot Details */
#robot-details h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white;
}

#robot-details p {
    margin: 5px 0 0 0;
    font-size: 16px;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: white;
}

/* Ensure the container has relative positioning for absolute positioning to work */
.container {
    position: relative;
    min-height: 100vh;
}



.btn-get-started {
    /* Ensure smooth scrolling behavior */
    scroll-behavior: smooth;
}