@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=JetBrains+Mono&family=Orbitron:wght@400;700&display=swap');

:root {
    --bg-dark: #0D0D0D;
    --bg-card: #1A1A1A;
    --matrix-green: #00FF41;
    --text-main: #E0E0E0;
    --text-muted: #888888;
}

html {
    /* Esto hace que 1rem = 10px (suponiendo base de 16px) */
    font-size: 62.5%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    /* 16px */
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Tipografías --- */
h1,
h2,
.logo {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.code-font {
    font-family: 'JetBrains Mono', monospace;
    color: var(--matrix-green);
}

/* --- Header & Nav --- */
header {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.1rem solid var(--bg-card);
}

.logo {
    font-size: 2.4rem;
}

.logo span {
    color: var(--matrix-green);
    text-shadow: 0 0 1rem var(--matrix-green);
}

/* --- Hero Section --- */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.hero h1 {
    font-size: 5.6rem;
    /* Gigante y pro */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--matrix-green);
}

.hero p {
    font-size: 1.8rem;
    max-width: 55rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
}

/* --- Botón Matrix --- */
.btn-primary {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: 0.1rem solid var(--matrix-green);
    color: var(--matrix-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--matrix-green);
    color: var(--bg-dark);
    box-shadow: 0 0 2.5rem var(--matrix-green);
}

/* --- Status Dot --- */
.status-dot {
    display: flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: var(--matrix-green);
}

.status-dot span {
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--matrix-green);
    border-radius: 50%;
    margin-right: 1rem;
    box-shadow: 0 0 0.8rem var(--matrix-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}