:root {
    --bg-color: #050505;
    --accent-primary: #00ff88;
    --accent-secondary: #00ccff;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, rgba(5, 5, 5, 0) 70%);
    top: -200px;
    right: -100px;
    z-index: 0;
    max-width: 100vw;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

.container {
    max-width: 900px;
    width: 100%;
    text-align: left;
}

.pre-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInDown 0.8s forwards;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInLeft 0.8s 0.2s forwards;
}

h1 span {
    display: inline;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
    border-left: 2px solid var(--accent-primary);
    padding-left: 20px;
    opacity: 0;
    animation: fadeInLeft 0.8s 0.4s forwards;
}

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s forwards;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
    background-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: 0 10px 20px rgba(0, 204, 255, 0.15);
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cube-wrapper {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 160px;
    height: 160px;
    z-index: -1;
}	
.cube {
    width: 100%;
    height: 100%;
}

.gear {
    transform-box: fill-box;
    transform-origin: center;
}

.gear-cw {
    animation: rotate-cw 8s linear infinite;
}

.gear-ccw {
    animation: rotate-ccw 6s linear infinite;
}

@keyframes rotate-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
    }
    .btn {
        text-align: center;
    }

    .bg-glow {
        width: 350px;
        height: 350px;
        top: -120px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .cube-wrapper {
        position: static;
        width: 90px;
        height: 90px;
        margin: 0 auto 1.5rem;
        z-index: 1;
    }

    .container {
        text-align: center;
    }

    .description {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
    }
}
