:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --darker-color: #111827;
    --light-color: #f3f4f6;
    --lighter-color: #f9fafb;
    --border-color: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 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);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.btn-login {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-login::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 0.8s ease;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 1.5s;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ============ SECTIONS ============ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
    align-items: stretch;
}

.about-card {
    background: var(--lighter-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.about-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
}

.about-card-link:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.about-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

.about-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-quote {
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}

.quote-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 48px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.quote-author {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-style: normal;
    text-align: right;
    margin-top: 12px;
}

.tech-partner {
    margin-top: 32px;
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    position: relative;
}

.tech-partner-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.tech-partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    height: 60px;
    background: transparent;
}

.awsomeclouds-logo {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0);
    transition: filter 0.3s ease;
    background: transparent;
    mix-blend-mode: multiply;
    /* Elimina el fondo blanco del logo */
    -webkit-filter: contrast(1.1);
    filter: contrast(1.1);
}

.about-card-link:hover .awsomeclouds-logo {
    filter: grayscale(0) brightness(1.1);
}

.tech-partner-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tech-partner-location {
    font-size: 14px;
    color: var(--text-primary);
    opacity: 0.9;
}

/* Estilos para tech-partner en el footer - manteniendo formato original */
.footer .tech-partner-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer .tech-partner-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer .tech-partner {
    margin-top: 0;
    margin-bottom: 0;
    padding: 16px;
    border-top: none;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    text-align: center;
    transition: background 0.3s ease;
}

.footer .tech-partner-link:hover .tech-partner {
    background: rgba(16, 185, 129, 0.4);
}

.footer .tech-partner-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer .tech-partner-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.footer .tech-partner-location {
    font-size: 12px;
    color: white;
    opacity: 0.9;
}

.footer .tech-partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    height: 45px;
    background: transparent;
}

.footer .awsomeclouds-logo {
    max-height: 45px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
    background: transparent;
    opacity: 1;
    display: block;
}

.values-section {
    margin-top: 80px;
}

.values-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-item {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============ ROADMAP SECTION ============ */
.roadmap-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.roadmap-timeline {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 calc(50% - 45%);
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 45%;
    max-width: 45%;
}

/* Items completados a la izquierda */
.timeline-item.timeline-left {
    margin-right: auto;
    margin-left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item.timeline-left .timeline-marker {
    right: -25px;
    left: auto;
}

.timeline-item.timeline-left.completed .timeline-content {
    background: rgba(16, 185, 129, 0.1);
    border-right: 3px solid var(--secondary-color);
    border-left: none;
}

.timeline-item.timeline-left .timeline-marker.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    animation: pulse 2s infinite;
}

.timeline-item.timeline-left .timeline-content {
    text-align: left;
}

.timeline-item.timeline-left.completed .timeline-date {
    color: var(--secondary-color);
}

/* Items no completados a la derecha */
.timeline-item.timeline-right {
    margin-left: auto;
    margin-right: 0;
    padding-left: 50px;
    text-align: left;
}

.timeline-item.timeline-right .timeline-marker {
    left: -25px;
    right: auto;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-marker.completed {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.timeline-marker.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    animation: pulse 2s infinite;
}

.marker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}

.timeline-content {
    background: white;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-item.timeline-left .timeline-content:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-lg);
}

.timeline-item.timeline-right .timeline-content:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ INSTITUTIONS SECTION ============ */
.institutions-section {
    background: var(--white);
}

.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.institution-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.institution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.institution-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--lighter-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.logo-placeholder {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 14px;
}

.institution-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.institution-type {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.institution-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.institution-testimonial {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-top: 24px;
}

.institutions-cta {
    text-align: center;
    padding: 48px;
    background: var(--lighter-color);
    border-radius: 16px;
}

.cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* ============ FEATURES SECTION ============ */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-category {
    background: var(--lighter-color);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-category.clickable {
    cursor: pointer;
}

.feature-category.clickable:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-icon {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============ FEATURE MODALS ============ */
.feature-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.feature-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    margin: 40px auto;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.feature-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 32px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-body .feature-list {
    margin: 0;
    padding: 0;
}

.modal-body .feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-body .feature-list li:last-child {
    border-bottom: none;
}

/* ============ DEMOS SECTION ============ */
.demos-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.videos-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

/* Lista de videos (izquierda) */
.videos-list {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.videos-list-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.video-titles-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-title-item {
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--lighter-color);
    border: 2px solid transparent;
}

.video-title-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.video-title-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.video-title-text {
    font-size: 15px;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
}

.video-title-item:hover .video-title-text,
.video-title-item.active .video-title-text {
    color: white;
}

/* Video display (derecha) */
.video-display {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper-large {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--darker-color);
    overflow: hidden;
}

.video-iframe-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info-large {
    padding: 32px;
}

.video-title-large {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.video-description-large {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--darker-color);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
}

.footer-brand .brand-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1400px) {
    .roadmap-timeline {
        padding: 0 calc(50% - 42%);
    }
    
    .timeline-item {
        width: 42%;
        max-width: 42%;
    }
}

@media (max-width: 1200px) {
    .roadmap-timeline {
        padding: 0 calc(50% - 40%);
    }
    
    .timeline-item {
        width: 40%;
        max-width: 40%;
    }
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
    }
    
    .videos-list {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 16px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .about-grid,
    .values-grid,
    .institutions-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

