@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;800;900&display=swap');

:root {
    --bg-main: #F8FAFC;
    --maha-blue: #075096;      /* Color 4 */
    --maha-green-1: #51AD2E;   /* Color 1 */
    --maha-green-2: #419559;   /* Color 2 */
    --maha-teal: #1A9A72;      /* Color 3 */
    --glass-white: rgba(255, 255, 255, 0.8);
}

body {
    background-color: var(--bg-main);
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

/* --- Animaciones de Vida --- */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse-soft 8s ease-in-out infinite; }

/* --- Formas y Stickers Decorativos --- */
.shape-blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.15;
}

.sticker-icon {
    position: absolute;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
    transform: rotate(-15deg);
}

/* --- Tarjetas Evolucionadas --- */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(7, 80, 150, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--maha-green-1);
    box-shadow: 0 25px 50px -12px rgba(81, 173, 46, 0.2);
}

/* --- Elementos de Contraste --- */
.bg-gradient-maha {
    background: linear-gradient(135deg, var(--maha-blue) 0%, var(--maha-teal) 100%);
}

.text-gradient-green {
    background: linear-gradient(90deg, var(--maha-green-1), var(--maha-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-maha-dynamic {
    background: var(--maha-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px -5px rgba(7, 80, 150, 0.4);
}

.btn-maha-dynamic:hover {
    background: var(--maha-green-1);
    box-shadow: 0 15px 30px -5px rgba(81, 173, 46, 0.5);
    transform: translateY(-3px);
}

/* --- Secciones con Movimiento --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Estilo para las líneas decorativas */
.divider-line {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--maha-green-1), transparent);
    margin: 1.5rem 0;
}
