
/* FUENTE ESTILO iOS / APPLE & GOOGLE FONTS (Caveat para simular Earth and Sky) */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Paleta basada en el icono: Tonos de azul profundo, negro y blanco/plata */
    --accent-silver: #a8b8c8;
    --text-bright: #ffffff;
    --brand-blue: #0a192f;
    --blue-glow: #4facfe;
    --bg-dark: #02040a;
    --glass-bg: rgba(10, 15, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Outfit", "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* FONDO DINÁMICO (Tonos del icono: negro a azul oscuro a gris/plata) */
.dynamic-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    background: linear-gradient(-45deg, #000000, #040c18, #0a192f, #2c3e50);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.35;
    animation: floatBlob 22s infinite alternate ease-in-out;
}
.blob-1 { top: -15%; left: 10%; width: 450px; height: 450px; background: rgba(10, 25, 47, 0.6); }
.blob-2 { bottom: -15%; right: 5%; width: 550px; height: 550px; background: rgba(168, 184, 200, 0.15); animation-delay: -6s; }
.blob-3 { top: 40%; left: 70%; width: 350px; height: 350px; background: rgba(79, 172, 254, 0.15); animation-duration: 26s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 80px) scale(1.15); }
    100% { transform: translate(-40px, -60px) scale(0.9); }
}

/* ANIMACIÓN INTRO - EARTH AND SKY STYLE (SM) */
#intro-loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

.sm-logo-intro {
    font-family: 'Earth and Sky', 'Caveat', cursive;
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--text-bright);
    opacity: 0;
    transform: scale(0.6);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    animation: introSM 3.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sm-subtitle {
    font-size: 1.2rem;
    letter-spacing: 12px;
    color: var(--accent-silver);
    margin-top: -10px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInSub 1.5s 1.8s ease forwards;
}

@keyframes introSM {
    0% { opacity: 0; transform: scale(0.6); filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.2)); }
    30% { opacity: 1; transform: scale(1.05); }
    70% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)); }
    100% { opacity: 0; transform: scale(1.3); filter: blur(15px); }
}

@keyframes fadeInSub {
    to { opacity: 0.8; }
}

/* NAVEGACIÓN */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 4, 10, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-container .sm-badge {
    font-family: 'Earth and Sky', 'Caveat', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
}

/* MAIN CONTENT ANIMATIONS */
main {
    flex: 1;
    padding: 70px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 50px;
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.title-glow {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--text-bright), var(--accent-silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.subtitle-hero {
    text-align: center;
    font-size: 1.35rem;
    color: var(--accent-silver);
    font-style: italic;
    margin-bottom: 25px;
}

/* GRID LAYOUTS */
.rich-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.rich-card {
    background: linear-gradient(145deg, rgba(15, 25, 40, 0.85), rgba(5, 10, 20, 0.95));
    border: 1px solid rgba(168, 184, 200, 0.2);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.rich-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--text-bright);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.2);
}

.rich-card h3 {
    font-size: 1.8rem;
    color: var(--text-bright);
    margin-bottom: 15px;
}

.rich-card h4 {
    font-size: 1.4rem;
    color: var(--blue-glow);
    margin-bottom: 12px;
}

.rich-card p, .rich-card li {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* AVISO DE DESARROLLO / TALENTO */
.dev-banner {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.4), rgba(79, 172, 254, 0.1));
    border: 1px dashed var(--accent-silver);
    border-radius: 18px;
    text-align: center;
}

.dev-banner h4 {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.dev-banner p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.6;
}

/* BOTONES */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: linear-gradient(45deg, var(--text-bright), var(--accent-silver));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-glow:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
    color: #000;
}

/* CONTACTO / AUDICIONES */
.email-link {
    font-size: 1.8rem;
    color: var(--blue-glow);
    text-decoration: none;
    font-weight: bold;
    padding: 15px 30px;
    border: 2px dashed var(--blue-glow);
    border-radius: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}
.email-link:hover {
    background: rgba(79, 172, 254, 0.15);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
}

/* FOOTER */
footer {
    background: rgba(2,4,10,0.9);
    padding: 30px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}
footer p { color: #777; font-size: 0.9rem; }
