/* Importar tipografía moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-dark: rgba(0, 0, 0, 0.8);
    --accent-blue: #0071e3; /* Azul estilo Apple */
    --text-white: #f5f5f7;
    --text-gray: #a1a1a6;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #000;
    height: 1vh; /* Solo para probar el scroll */
}

/* Navbar con efecto de cristal (Blur) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 48px;
    background-color: var(--bg-dark);
    backdrop-filter: blur(20px); /* Efecto clave de Apple */
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo del Logo */
.logo {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.brackets {
    color: var(--accent-blue);
}

.dev-text {
    font-weight: 300;
    color: var(--text-gray);
    font-size: 1.5rem;
    margin-left: 4px;
}

/* Enlaces de navegación */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-white);
}

/* Botón de contacto destacado */
.btn-contact {
    background-color: var(--accent-blue);
    color: white !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.btn-contact:hover {
    opacity: 0.8;
}

/* --- Tablets (768px o menos) --- */
@media screen and (max-width: 768px) {
    .nav-container {
        width: 85%; /* Un poco más de margen en los lados */
    }
    
    .nav-links {
        gap: 15px; /* Reducimos el espacio entre links */
    }

    .nav-links a {
        font-size: 0.75rem; /* Fuente ligeramente más pequeña */
    }

    .dev-text {
        display: none; /* Ocultamos "Developer" para ahorrar espacio en el logo */
    }
}

/* --- Móviles (480px o menos) --- */
@media screen and (max-width: 480px) {
    .navbar {
        height: 52px; /* Un poco más alto para facilitar el toque táctil */
    }

    .nav-container {
        justify-content: center; /* Centramos el logo en móvil al estilo Apple */
    }

    /* Ocultamos los links de texto para usar un icono de menú (opcional)
       o simplemente simplificamos la navegación */
    .nav-links {
        position: fixed;
        top: 52px;
        left: 0;
        width: 100%;
        height: 0; /* Se activa con JS o un checkbox */
        background-color: #000;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    /* Clase para mostrar el menú (se activaría con JavaScript) */
    .nav-links.active {
        height: 100vh;
        padding-top: 20px;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem; /* Texto más grande para dedos */
        color: var(--text-white);
    }

    .btn-contact {
        background-color: transparent;
        padding: 0;
        color: var(--accent-blue) !important; /* El botón se vuelve un link azul */
    }
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    color: var(--text-white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

/* Título principal estilo Apple (grande y audaz) */
h1 {
    font-size: 5rem; /* Muy grande en escritorio */
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtítulo */
.sub-headline {
    font-size: 1.5rem;
    color: var(--text-gray);
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 40px;
}

.blue-text {
    color: var(--accent-blue);
    font-weight: 400;
}

/* Etiqueta de Estado */
.status-container {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #ff9f0a; /* Naranja de alerta/mantenimiento */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #ff9f0a;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-white);
    font-weight: 400;
}

/* --- Animaciones --- */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fade-in 1.2s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fade-in 1.2s ease-out 0.5s forwards;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Responsive Hero --- */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    .sub-headline {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.8rem;
    }
}