/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zoom global de 0.67 para todas las páginas */
body {
    zoom: 0.67;
}

:root {
    /* Colores IESTP HUAYCAN - Paleta moderna y vibrante */
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --secondary-color: #10b981;
    --secondary-hover: #059669;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    /* Colores de fondo */
    --background-color: #0f172a;
    --background-dark: #0f172a;
    --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --surface-color: #1e293b;
    --surface-hover: #334155;
    --surface-glass: rgba(30, 41, 59, 0.95);
    
    /* Colores de texto */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Bordes y sombras mejoradas */
    --border-color: #334155;
    --border-light: #475569;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 40px -10px rgba(14, 165, 233, 0.4);
    --shadow-colored-hover: 0 20px 50px -10px rgba(14, 165, 233, 0.5);
    
    /* Bordes redondeados */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Transiciones suaves */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Fondo con imagen de campus IESTP Huaycan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.6);
    opacity: 0.5;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header mejorado con glassmorphism */
.header {
    text-align: center;
    padding: 50px 30px;
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px 0;
}

.welcome-section,
.login-container {
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255, 255, 255, 0.3);
    padding: 50px;
    max-width: 650px;
    margin: 0 auto 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.welcome-section:hover,
.login-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored-hover), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.welcome-section h2,
.login-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.welcome-section p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Info Section */
.info-section {
    margin-top: 40px;
}

.info-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 35px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    box-shadow: var(--shadow-colored);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.3);
}

.info-card h4 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 40px;
}

/* Messages */
.error-message {
    background-color: #fee2e2;
    color: var(--error-color);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 4px solid var(--error-color);
}

.success-message {
    background-color: #d1fae5;
    color: var(--success-color);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 4px solid var(--success-color);
}

.warning-message {
    background-color: #fef3c7;
    color: var(--warning-color);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 4px solid var(--warning-color);
}

/* Links */
.link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}


/* ============================================
   LANDING PAGE STYLES
   ============================================ */

.landing-page {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.3);
    z-index: 0;
    transform: scale(1.1);
}

/* Capa quitada para mostrar el fondo banner */

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.institution-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Hero Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float-shape 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
    animation-duration: 30s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.hero-stat-content {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: var(--surface-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.95));
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    opacity: 1;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-icon-blue {
    background: linear-gradient(135deg, #0284c7 0%, #0c4a6e 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3), 0 0 30px rgba(2, 132, 199, 0.2);
}

.feature-icon-blue::after {
    box-shadow: 0 0 40px rgba(2, 132, 199, 0.6);
}

.feature-icon-green {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3), 0 0 30px rgba(5, 150, 105, 0.2);
}

.feature-icon-green::after {
    box-shadow: 0 0 40px rgba(5, 150, 105, 0.6);
}

.feature-icon-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3), 0 0 30px rgba(124, 58, 237, 0.2);
}

.feature-icon-purple::after {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
}

.feature-icon-orange {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3), 0 0 30px rgba(234, 88, 12, 0.2);
}

.feature-icon-orange::after {
    box-shadow: 0 0 40px rgba(234, 88, 12, 0.6);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Info Section */
.info-section {
    padding: 80px 20px;
    background: var(--surface-color);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.process-step {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: var(--transition);
    overflow: visible;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(14, 165, 233, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.3));
}

.process-step h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-block {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.95));
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(14, 165, 233, 0.2);
    transition: var(--transition);
}

.info-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(14, 165, 233, 0.4);
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

.info-block-header svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 16px 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition-fast);
}

.info-list li:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li svg {
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Landing Footer */
.landing-footer {
    background: var(--background-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* ============================================
   ANIMATED BACKGROUND - COLOR BLOBS
   ============================================ */

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.color-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    mix-blend-mode: screen;
    animation: blob-float 30s infinite ease-in-out;
    will-change: transform;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -10%;
    left: -10%;
    animation-duration: 40s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: -10%;
    right: -10%;
    animation-duration: 45s;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 50s;
    animation-delay: 10s;
}

/* Blobs 4, 5, 6 removidos para mejor rendimiento */

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

/* ============================================
   FLOATING BUBBLES
   ============================================ */

.floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: bubble-rise 25s infinite ease-in-out;
    will-change: transform;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    left: 20%;
    bottom: -100px;
    animation-duration: 30s;
}

.bubble-2 {
    width: 80px;
    height: 80px;
    left: 60%;
    bottom: -100px;
    animation-duration: 35s;
    animation-delay: 5s;
}

/* Burbujas 3, 4, 5 removidas para mejor rendimiento */

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
        transform: translateY(-10vh) scale(1);
    }
    90% {
        opacity: 0.5;
        transform: translateY(-90vh) scale(0.9);
    }
    100% {
        transform: translateY(-110vh) scale(0);
        opacity: 0;
    }
}

/* Particles removed for better performance */

.login-page::before {
    content: '';
    position: fixed;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-image: url('../images/banner.jpg'), url('../images/iestp-huaycan-campus.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px) brightness(0.3);
    z-index: -2;
    transform: scale(1.1);
}

/* Capa quitada para mostrar el fondo banner */

.login-wrapper {
    position: relative;
    z-index: 1;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-white);
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Login Badges */
.login-badges {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.login-badge:nth-child(1) { animation-delay: 0.1s; }
.login-badge:nth-child(2) { animation-delay: 0.2s; }
.login-badge:nth-child(3) { animation-delay: 0.3s; }

.login-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.login-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.login-badge:hover::before {
    width: 200px;
    height: 200px;
}

.login-badge svg {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 3px currentColor);
}

.login-badge.badge-blue {
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.login-badge.badge-green {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.login-badge.badge-orange {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* pulse-glow removed for performance */

/* Login Info Cards */
.login-info-cards {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.login-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.login-info-card:nth-child(1) { animation-delay: 0.4s; }
.login-info-card:nth-child(2) { animation-delay: 0.5s; }

.login-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.login-info-card:hover::before {
    left: 100%;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(102, 126, 234, 0.3));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

/* icon-pulse removed for performance */

.info-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 6px 0;
}

.info-card-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

.login-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.3),
                0 0 60px rgba(102, 126, 234, 0.2),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    padding: 40px;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(102, 126, 234, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.login-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: center;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
}

.login-footer .link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-footer .link:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* ============================================
   LOGOUT BUTTON STYLES - EFECTO ROJO
   ============================================ */

/* Estilos específicos para el botón de cerrar sesión */
#logoutBtn {
    transition: all 0.3s ease !important;
    position: relative;
}

/* Hover effect - color rojo cuando pasa el cursor */
#logoutBtn:hover {
    background-color: #dc2626 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
}

/* Active effect - color rojo más oscuro cuando se presiona */
#logoutBtn:active {
    background-color: #b91c1c !important;
    color: white !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.6) !important;
}

/* Focus effect para accesibilidad */
#logoutBtn:focus {
    outline: 2px solid #fca5a5 !important;
    outline-offset: 2px !important;
}

/* Para botones con clase nav-link (páginas de admin) */
.nav-link#logoutBtn:hover {
    background-color: #dc2626 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
}

.nav-link#logoutBtn:active {
    background-color: #b91c1c !important;
    color: white !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.6) !important;
}

/* Para botones con clase btn-secondary (páginas de estudiantes) */
.btn-secondary#logoutBtn:hover {
    background-color: #dc2626 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
}

.btn-secondary#logoutBtn:active {
    background-color: #b91c1c !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.6) !important;
}

/* Efecto de brillo rojo al hacer clic */
#logoutBtn:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%);
    animation: ripple-logout 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes ripple-logout {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* ============================================
   EFECTOS ADICIONALES Y ANIMACIONES MODERNAS
   ============================================ */

/* Efecto de pulso suave para elementos importantes */
@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.02);
    }
}

/* Animación de entrada suave */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Aplicar animación de entrada a elementos principales */
.container > * {
    animation: fadeInScale 0.5s ease-out;
}

/* Efecto de brillo en hover para elementos interactivos */
.interactive-glow {
    position: relative;
    overflow: hidden;
}

.interactive-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.interactive-glow:hover::after {
    width: 300px;
    height: 300px;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-hover), var(--secondary-hover));
}

/* Efecto de texto con gradiente animado */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Efecto de partículas flotantes en el fondo (opcional) */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.5), transparent);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Mejora de accesibilidad - Focus visible mejorado */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Efecto de carga skeleton para contenido */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Mejora visual para estados de carga */
.loading-state {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Efecto de sombra dinámica en scroll */
.scroll-shadow {
    position: relative;
}

.scroll-shadow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.scroll-shadow.scrolled::before {
    opacity: 1;
}


/* Ocultar burbujas flotantes y blobs de fondo */
.floating-bubbles,
.bubble,
.animated-background,
.color-blob {
    display: none !important;
}

/* ==================== NAVIGATION BAR ==================== */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.landing-navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: var(--transition);
}

.brand-logo svg {
    width: 32px;
    height: 32px;
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 12px 28px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
    font-weight: 600;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar-toggle:hover span {
    background: var(--primary-light);
}

/* Ajustar el hero section para que no quede debajo de la navbar */
.hero-section {
    padding-top: 90px;
    position: relative;
    z-index: 1;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-container {
        height: 75px;
        padding: 0 25px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-logo svg {
        width: 28px;
        height: 28px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .navbar-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        gap: 0;
        padding: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 16px 20px;
        border-radius: 10px;
        text-align: center;
        font-size: 1.05rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(14, 165, 233, 0.15);
    }

    .nav-link::after {
        display: none;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-section {
        padding-top: 75px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 20px;
    }

    .brand-text {
        display: flex;
        flex-direction: column;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Asegurar que la navbar esté siempre visible */
.landing-navbar {
    will-change: transform;
}

/* Prevenir que otros elementos se superpongan */
.landing-page {
    position: relative;
}

/* Ajuste para el zoom del body */
body.landing-page {
    overflow-x: hidden;
}

/* ==================== LANDING PAGE NAVBAR (RELATIVE POSITION) ==================== */
.landing-navbar {
    position: relative;
    width: 100%;
    z-index: 100;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.landing-navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: var(--transition);
}

.brand-logo svg {
    width: 32px;
    height: 32px;
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 12px 28px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
    font-weight: 600;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar-toggle:hover span {
    background: var(--primary-light);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-container {
        height: 75px;
        padding: 0 25px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-logo svg {
        width: 28px;
        height: 28px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .navbar-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        gap: 0;
        padding: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 16px 20px;
        border-radius: 10px;
        text-align: center;
        font-size: 1.05rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(14, 165, 233, 0.15);
    }

    .nav-link::after {
        display: none;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 20px;
    }

    .brand-text {
        display: flex;
        flex-direction: column;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Asegurar que la navbar esté siempre visible */
.landing-navbar {
    will-change: transform;
}

/* Prevenir que otros elementos se superpongan */
.landing-page {
    position: relative;
}

/* Ajuste para el zoom del body */
body.landing-page {
    overflow-x: hidden;
}
