/* =========================================
   AETERNITAS THERAPEUTICS - EXECUTIVE THEME
   Version: 4.0 (Deep Science)
   ========================================= */

:root {
    --bg-body: #020617;        /* Slate 950 (Casi negro, muy profesional) */
    --bg-panel: #0f172a;       /* Slate 900 */
    --border-color: rgba(255, 255, 255, 0.08); /* Bordes muy sutiles */
    
    --text-primary: #f8fafc;   /* Slate 50 */
    --text-secondary: #94a3b8; /* Slate 400 */
    --text-muted: #475569;     /* Slate 600 (Para disclaimers) */
    
    --accent: #38bdf8;         /* Sky 400 (Ciencia) */
    --accent-glow: rgba(56, 189, 248, 0.15);
    
    --gold: #d4af37;           /* Dorado metálico oscuro (No amarillo) */
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a { text-decoration: none; transition: all 0.3s ease; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600; /* Menos bold, más elegante */
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAVIGATION (GLASS) --- */
nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: var(--text-primary); 
    letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 12px;
}
.logo img { height: 28px; width: auto; opacity: 0.9; }
.logo span { color: var(--accent); font-weight: 400; opacity: 0.8; }

.nav-links a {
    color: var(--text-secondary);
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

.btn-nav {
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    color: var(--accent) !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
}
.btn-nav:hover { 
    background: var(--accent-glow); 
    border-color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, var(--bg-body) 60%);
}

.status-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }

.hero h1 { 
    font-size: 4rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    max-width: 900px; 
}

.hero p { 
    font-size: 1.2rem; 
    max-width: 600px; 
    margin-bottom: 3rem; 
    color: var(--text-secondary);
    font-weight: 300;
}

.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.btn-primary { 
    background: var(--text-primary); 
    color: var(--bg-body); 
    border: none; 
}
.btn-primary:hover { background: #cbd5e1; }

.btn-secondary { 
    background: transparent; 
    border: 1px solid var(--border-color); 
    color: var(--text-primary); 
    margin-left: 15px;
}
.btn-secondary:hover { border-color: var(--text-primary); }

/* --- SECTIONS & CARDS --- */
.section { padding: 120px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 80px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, 0.2); }
.card:hover::before { opacity: 1; }

.card-icon { font-size: 1.5rem; margin-bottom: 25px; color: var(--accent); }
.card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; line-height: 1.6; }

/* --- FOOTER (LEGAL STYLE) --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 40px;
    background: var(--bg-panel);
    font-size: 0.85rem;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
    margin-bottom: 50px;
}
.footer-legal {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: justify;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}