:root {
    --bg-color: #0a0a0a;
    --accent-color: #FF6B00;
    --text-color: #ffffff;
    --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-system);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    cursor: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ruido granulado SVG */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity, 0.05);
    pointer-events: none;
    z-index: 9998;
}

a,
button {
    cursor: none;
}

#hero {
    position: relative;
    z-index: 1;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

#hero h1 {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

#hero p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.8;
    max-width: 600px;
}

#showcase-1 {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
}

/* Marquee Section Styles */
#marquee-section {
    padding: 4rem 0;
    margin: 4rem 0;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    background: rgba(255, 107, 0, 0.05);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.marquee-content {
    font-size: 8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    line-height: 1;
}

/* Contact Styles */
#contact {
    padding: 10rem 0;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.terminal-prefix {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-family: monospace;
    font-size: 1.5rem;
    pointer-events: none;
}

#contact-form input,
#contact-form textarea {
    background: transparent;
    width: 100%;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--accent-color);
    font-family: monospace;
    font-size: 1.5rem;
    padding: 0.5rem 0 0.5rem 2rem;
    /* Espacio para el prefijo > */
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

#contact-form textarea {
    resize: none;
    overflow: hidden;
    min-height: 50px;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-bottom: 1px solid var(--accent-color);
}

#form-console {
    font-family: monospace;
    color: var(--accent-color);
    margin-top: 1rem;
    min-height: 2em;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
        letter-spacing: -0.01em;
    }

    #hero p {
        font-size: 1.1rem;
        max-width: 90%;
        padding: 0 1rem;
    }

    .marquee-content {
        font-size: 4rem;
        /* Ajuste para móvil para que no sea inmanejable */
    }

    #contact {
        padding: 5rem 1rem;
    }

    #contact-form input,
    #contact-form textarea {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.2rem;
    }
}

/* Footer Styles */
footer {
    padding: 5rem 0;
    border-top: 1px solid #333;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

footer a {
    color: #888;
    text-decoration: none;
    font-family: monospace;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    cursor: pointer;
    /* Ensure pointer uses custom cursor if applied globally */
}

footer a:hover {
    color: var(--accent-color);
}