:root {
    --primary: #FF7F11;
    --secondary: #03045E;
    --accent: #B8FB3C;
    --dark: #292F36;
    --light: #F7F9F9;
    --text: #FFFFFF;
    
    --blue: #1E6F9F;
    --green: #2A9D8F;
    --blue-light: #0A0B6E;
    --blue-medium: #121380;
    --blue-dark: #05077A;
    
    /* COLORES MEJORADOS PARA TARJETAS */
    --card-blue: rgba(30, 60, 180, 0.45);
    --card-purple: rgba(120, 40, 200, 0.45);
    --card-teal: rgba(30, 150, 150, 0.45);
    --card-amber: rgba(220, 120, 20, 0.45);
    --card-rose: rgba(200, 50, 80, 0.45);
    --card-emerald: rgba(20, 150, 100, 0.45);
    
    /* SISTEMA DE DISEÑO */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.45);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* GRADIENTES */
    --gradient-primary: linear-gradient(135deg, var(--primary), #FF9E44, #FF7F11);
    --gradient-accent: linear-gradient(135deg, var(--accent), #C8FF5E, #B8FB3C);
    --gradient-hero: linear-gradient(135deg, var(--blue-dark), var(--secondary), var(--blue-light));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    
    /* EFECTOS GLASSMORPHISM */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --glass-backdrop: blur(20px) saturate(180%);
    
    /* ANIMACIONES */
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--secondary) 50%, var(--blue-light) 100%);
    background-attachment: fixed;
}

/* TIPOGRAFÍA BASE */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

p, li, span, label {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BOTONES BASE */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 20px rgba(255, 127, 17, 0.4);
    font-size: 1.1rem;
    gap: 0.75rem;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 127, 17, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(184, 251, 60, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 251, 60, 0.5);
}

/* SECTIONS BASE */
section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 1.25rem;
    font-weight: 800;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* RESPONSIVE BASE */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--blue-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}