:root {
    --black: #050505;
    --dark-grey: #0c0c0c;
    --white: #ffffff;
    --accent: #ff9800;
    --accent-glow: rgba(255, 152, 0, 0.4);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --terminal-bg: #0c0c0c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5vh;
}

.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #050505 100%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.orb {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.12;
    animation: move 30s infinite alternate ease-in-out;
}

.orb:nth-child(1) {
    background: var(--accent);
    top: -300px;
    right: -200px;
}

.orb:nth-child(2) {
    background: var(--white);
    bottom: -350px;
    left: -250px;
    animation-duration: 40s;
    animation-direction: reverse;
}

.noise {
    position: absolute;
    inset: 0;
    background: url('https://grain-y.com/assets/grain.png');
    opacity: 0.04;
    pointer-events: none;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.1);
    }
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

header {
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.brand-logo {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--accent);
    filter: blur(50px);
    opacity: 0.15;
    z-index: -1;
}

.hero {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    width: 100%;
}

.title span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3.5rem;
    max-width: 580px;
    font-weight: 300;
    text-align: center;
}


/* Terminal Styles */
.terminal-container {
    margin: 2rem auto 0;
    width: 100%;
    max-width: 600px;
    background: var(--terminal-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-buttons span:nth-child(1) {
    background: #ff5f56;
}

.terminal-buttons span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-buttons span:nth-child(3) {
    background: #27c93f;
}

.terminal-title {
    margin-left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.2rem;
    white-space: pre;
}

.keyword {
    color: #c678dd;
}

.variable {
    color: #e06c75;
}

.string {
    color: #98c379;
}

.function {
    color: #61afef;
}

.method {
    color: #d19a66;
}

footer {
    margin-top: 8rem;
    padding-bottom: 4rem;
    width: 100%;
}

.social-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        padding: 2rem 0;
    }

    .container {
        width: 90%;
    }

    header {
        margin-bottom: 2rem;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        letter-spacing: 0.15rem;
        margin-bottom: 1.5rem;
    }

    .title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        margin-bottom: 1.2rem;
        line-height: 1.1;
    }

    .description {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .terminal-container {
        width: 100%;
        margin-top: 2rem;
    }

    .terminal-body {
        padding: 1.2rem;
        font-size: 0.75rem;
    }

    .code-line {
        white-space: pre-wrap;
        word-break: break-word;
    }

    footer {
        margin-top: 4rem;
        padding-bottom: 2rem;
    }

    .social-links {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .social-links a {
        font-size: 0.6rem;
        letter-spacing: 0.15rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }

    .terminal-title {
        display: none;
    }

    header {
        margin-bottom: 1.5rem;
    }
}