* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0a0e17;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 116, 139, 0.25);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 14, 23, 0.97);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-decoration: none;
    color: #d1d5db;
}

.logo::before {
    content: "◆";
    font-size: 1.9rem;
    color: #a5b4fc;
    font-weight: bold;
}

.logo span {
    background: linear-gradient(90deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.25s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #e0e7ff;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd);
    transition: width 0.35s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.97rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

/* Hero genérico para todas las páginas */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #0f172a 0%, #000 70%);
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 800;
    line-height: 0.92;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd, #f0abfc, #fda4af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.35rem;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

/* Footer */
footer {
    background: #0a0e17;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding: 90px 5% 50px;
    color: #94a3b8;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px 30px;
}

.footer-logo {
    font-size: 1.9rem;
    font-weight: 800;
    color: #d1d5db;
    margin-bottom: 1.4rem;
}

.footer-logo::before {
    content: "◆";
    color: #a5b4fc;
    margin-right: 10px;
}

footer h3 {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-size: 1.18rem;
    font-weight: 600;
}

footer ul {
    list-style: none;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.2s ease;
    display: block;
}

footer a:hover {
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    margin-top: 90px;
    padding-top: 50px;
    border-top: 1px solid rgba(100, 116, 139, 0.18);
    font-size: 0.95rem;
    color: #64748b;
}

/* Responsive básico */
@media (max-width: 900px) {
    .nav-container { height: 70px; }
    nav ul { gap: 24px; }
    .hero h1 { font-size: 4rem; }
}

@media (max-width: 640px) {
    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 5%;
    }
    nav {
        order: 3;
        width: 100%;
        margin-top: 12px;
    }
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .btn-primary { margin-top: 12px; }
}