:root {
    --primary-color: #4B4DED;
    --background-color: #191919;
    --text-color: #FFFFFF;
    --card-background: #141414;
    --Main_Colors_001: #363DEC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 100;
    background-color: var(--background-color);
    border-bottom: 1px solid #27272b;
    backdrop-filter: blur(10px);
}

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

.logo img {
    height: 40px;
}

main {
    min-height: 100vh;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-between; */
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
}

.content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding-top: 10vh;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #000000;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: #000000;
}

#terrain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.examples {
    display: grid;
    text-align: left;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
    position: relative;
}

.example-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    height: auto;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-radius: 8px;
    background: var(--Darken_001, #ffffff);
    /* box-shadow: 0px 1px 4px 0px rgba(95, 114, 161, 0.25) inset; */
}

.example-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.example-card h3 {
    margin-bottom: 0.25rem;
    color: #000000;
}

.example-card p {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
    color: #000000;
}

.cta-button, .primary-button {
    background: var(--Main_Colors_001);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 19px 0px rgba(92, 86, 244, 0.25), 0px 1px 1px 0px rgba(160, 184, 255, 0.25) inset;
}

.cta-button::before, .primary-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(92, 86, 244, 0.3) 50%,
        rgba(160, 184, 255, 0.2) 60%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.5s ease;
}

.cta-button:hover, .primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0px 4px 25px 0px rgba(92, 86, 244, 0.45),
        0px 1px 1px 0px rgba(160, 184, 255, 0.45) inset,
        0 0 15px rgba(92, 86, 244, 0.3);
    animation: holo-pulse 2s infinite;
}

.cta-button:hover::before, .primary-button:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    transition: transform 1s ease;
}

@keyframes holo-pulse {
    0% {
        box-shadow: 
            0px 4px 25px 0px rgba(92, 86, 244, 0.45),
            0px 1px 1px 0px rgba(160, 184, 255, 0.45) inset,
            0 0 15px rgba(92, 86, 244, 0.3);
    }
    50% {
        box-shadow: 
            0px 4px 30px 0px rgba(92, 86, 244, 0.6),
            0px 1px 2px 0px rgba(160, 184, 255, 0.6) inset,
            0 0 25px rgba(92, 86, 244, 0.5);
    }
    100% {
        box-shadow: 
            0px 4px 25px 0px rgba(92, 86, 244, 0.45),
            0px 1px 1px 0px rgba(160, 184, 255, 0.45) inset,
            0 0 15px rgba(92, 86, 244, 0.3);
    }
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.collaborative-cursor {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.1s ease-out;
    display: flex;
    align-items: center;
    gap: 8px;
    top: 0;
    left: 0;
}

.cursor-pointer {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-pointer img {
    width: 16px;
    height: 16px;
    filter: invert(89%) sepia(19%) saturate(532%) hue-rotate(192deg) brightness(103%) contrast(103%);
}

.cursor-label {
    background: var(--background-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .examples {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .content {
        padding-top: 5vh;
    }
}
