* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #0b1220;
    color: #e6edf3;
}

/* GLASS HEADER */
.glass {
    backdrop-filter: blur(10px);
    background: rgba(10, 20, 40, 0.7);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-weight: bold; }

/* HERO */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at top, #1b3a5d, #0b1220);
}

.hero h1 {
    font-size: 32px;
}

.subtitle {
    max-width: 600px;
    margin: 20px auto;
    opacity: 0.8;
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    display: inline-block;
    transition: 0.3s;
}

.btn-secondary {
    color: #9ca3af;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* SECTIONS */
.section { padding: 60px 0; }
.section.alt { background: #111827; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* GRID */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* CARDS */
.card {
    background: #1f2937;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* MICROINTERACCIONES */
.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow:hover {
    box-shadow: 0 0 15px #3b82f6;
}

.glow {
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

/* STATS */
.stat {
    text-align: center;
}

.stat strong {
    font-size: 22px;
}

/* FORM */
.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #0f172a;
    color: white;
}

/* ANIMACIONES */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeIn {
    from {opacity:0;}
    to {opacity:1;}
}

@keyframes fadeUp {
    to {
        opacity:1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media(min-width:768px){
    .hero h1 { font-size: 42px; }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* Mensajes */
.form-status {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.form-status.loading {
    color: #3b82f6;
}

.form-status.success {
    color: #22c55e;
}

.form-status.error {
    color: #ef4444;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}