/* index.css - Versión 100% Responsive con Gotham y esquema de colores actualizado */
/* Colores principales: Oro #a57f2c (primario) y Verde #009c86 (complementario) */

/* Importación de fuentes Gotham */
@font-face {
    font-family: 'Gotham Black';
    src: url('../fonts/Gotham-Black.woff2') format('woff2'),
         url('../fonts/Gotham-Black.woff') format('woff'),
         url('../fonts/Gotham-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Medium';
    src: url('../fonts/Gotham-Medium.woff2') format('woff2'),
         url('../fonts/Gotham-Medium.woff') format('woff'),
         url('../fonts/Gotham-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Book';
    src: url('../fonts/Gotham-Book.woff2') format('woff2'),
         url('../fonts/Gotham-Book.woff') format('woff'),
         url('../fonts/Gotham-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gotham Book', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fdf9f3 0%, #faf6ee 50%, #f8f3e8 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Partículas sutiles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(165, 127, 44, 0.3);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.particle:nth-child(2) { top: 45%; left: 15%; animation-delay: 2s; }
.particle:nth-child(3) { top: 70%; right: 12%; animation-delay: 4s; }
.particle:nth-child(4) { bottom: 25%; right: 20%; animation-delay: 6s; }

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.2; 
    }
    50% { 
        transform: translateY(-15px) scale(1.3); 
        opacity: 0.6; 
    }
}

/* Formas geométricas minimalistas */
.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: rotateShape 20s linear infinite;
}

.shape-1 {
    top: 20%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #a57f2c, #c99a4a);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 8%;
    width: 25px;
    height: 25px;
    background: #009c86;
    transform: rotate(45deg);
    animation-delay: 5s;
}

.shape-3 {
    bottom: 30%;
    left: 10%;
    width: 30px;
    height: 30px;
    border: 2px solid #a57f2c;
    border-radius: 50%;
    animation-delay: 10s;
}

@keyframes rotateShape {
    0% { 
        transform: rotate(0deg) translateX(10px) rotate(0deg);
        opacity: 0.08;
    }
    50% { 
        transform: rotate(180deg) translateX(15px) rotate(-180deg);
        opacity: 0.15;
    }
    100% { 
        transform: rotate(360deg) translateX(10px) rotate(-360deg);
        opacity: 0.08;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInLeft 1s ease-out;
}

.logo-img {
    height: 80px;
    width: auto;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(1deg); }
}

.university-info h1 {
    font-family: 'Gotham Black', 'Segoe UI', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.875rem);
    margin: 0;
    color: #083a2e;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.university-info p {
    font-family: 'Gotham Medium', 'Segoe UI', sans-serif;
    margin: 0;
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    color: #343230;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.state-indicator {
    font-family: 'Gotham Medium', 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 1s ease-out;
    font-weight: 600;
    color: #083a2e;
}

.state-icon-img {
    height: 50px;
    width: auto;
    animation: bounceGentle 4s ease-in-out infinite;
}

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

/* Main container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 160px;
}

/* Content container centrado */
.content-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    box-shadow: 
        0 25px 40px rgba(165, 127, 44, 0.12),
        0 10px 20px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a57f2c, #c99a4a, #d4a960);
    border-radius: 24px 24px 0 0;
}

/* Left content */
.left-content {
    z-index: 10;
    width: 100%;
}

.welcome-badge {
    font-family: 'Gotham Black', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #c99a4a, #a57f2c);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(165, 127, 44, 0.4);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(165, 127, 44, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(165, 127, 44, 0.5);
        transform: scale(1.02);
    }
}

.main-title {
    font-family: 'Gotham Black', 'Segoe UI', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.8rem);
    font-weight: 900;
    color: #083a2e;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.main-title .highlight {
    color: #a57f2c;
    position: relative;
    animation: highlightGlow 4s ease-in-out infinite;
}

@keyframes highlightGlow {
    0%, 100% { 
        text-shadow: 0 0 0 rgba(165, 127, 44, 0);
    }
    50% { 
        text-shadow: 0 0 20px rgba(165, 127, 44, 0.3);
    }
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #a57f2c, #c99a4a);
    border-radius: 2px;
    animation: underlineExpand 2s ease-out 1s forwards;
}

@keyframes underlineExpand {
    to { width: 100%; }
}

.subtitle {
    font-family: 'Gotham Book', 'Segoe UI', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.features-list {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    font-family: 'Gotham Medium', 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #2d3748;
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
    padding: 1.25rem 1.5rem;
    background: rgba(165, 127, 44, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(165, 127, 44, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(165, 127, 44, 0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(165, 127, 44, 0.15);
}

.feature-item:nth-child(1) { animation-delay: 1.2s; }
.feature-item:nth-child(2) { animation-delay: 1.4s; }

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

.feature-icon {
    width: 24px;
    height: 24px;
    background: #a57f2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconRotate 8s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

.feature-icon-img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 2s both;
}

.btn-primary,
.btn-secondary {
    font-family: 'Gotham Black', 'Segoe UI', sans-serif;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #c99a4a, #a57f2c);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(165, 127, 44, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.8s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(165, 127, 44, 0.45);
}

.btn-secondary {
    background: white;
    color: #009c86;
    border: 2px solid #009c86;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #009c86;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 156, 134, 0.3);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.parallax-element {
    transition: transform 0.1s ease-out;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablets grandes y laptops pequeñas (1024px) */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 1.5rem;
    }

    .container {
        padding-top: 140px;
        padding-bottom: 2rem;
    }

    .content-container {
        padding: 2.5rem 2rem;
        margin: 1.5rem 0;
    }

    .logo-img {
        height: 70px;
    }

    .state-icon-img {
        height: 45px;
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-img {
        height: 60px;
    }

    .state-indicator {
        margin: 0;
    }

    .state-icon-img {
        height: 40px;
    }

    .container {
        min-height: auto;
        padding: 1.5rem 1rem;
        padding-top: 200px;
        padding-bottom: 2rem;
    }

    .content-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin: 1rem 0;
    }

    .welcome-badge {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .features-list {
        gap: 0.75rem;
        max-width: 100%;
    }

    .feature-item {
        padding: 0.875rem 1rem;
        gap: 0.875rem;
    }

    .feature-icon {
        width: 22px;
        height: 22px;
    }

    .feature-icon-img {
        width: 11px;
        height: 11px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.875rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 350px;
        padding: 0.875rem 1.5rem;
    }

    /* Reducir animaciones en tablet para mejor performance */
    .shape {
        animation-duration: 30s;
    }

    .particle {
        animation-duration: 12s;
    }
}

/* Móviles grandes (600px) */
@media (max-width: 600px) {
    .header-content {
        padding: 0 0.75rem;
    }

    .logo-img {
        height: 55px;
    }

    .state-icon-img {
        height: 35px;
    }

    .container {
        padding: 1rem 0.75rem;
        padding-top: 190px;
        padding-bottom: 1.5rem;
    }

    .content-container {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
        margin: 0.75rem 0;
    }

    .welcome-badge {
        margin-bottom: 1.25rem;
    }

    .features-list {
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 100%;
        min-width: 0;
    }
}

/* Móviles pequeños (480px) */
@media (max-width: 480px) {
    .header {
        padding: 0.625rem 0;
    }

    .header-content {
        gap: 0.5rem;
        padding: 0 0.625rem;
    }

    .logo-container {
        gap: 0.375rem;
    }

    .logo-img {
        height: 50px;
    }

    .state-indicator {
        font-size: 0.875rem;
    }

    .state-icon-img {
        height: 32px;
    }

    .container {
        padding: 0.875rem 0.625rem;
        padding-top: 180px;
        padding-bottom: 1.5rem;
    }

    .content-container {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        margin: 0.5rem 0;
    }

    .welcome-badge {
        padding: 0.4rem 0.875rem;
        margin-bottom: 1rem;
    }

    .main-title {
        margin-bottom: 1rem;
    }

    .subtitle {
        margin-bottom: 1.5rem;
    }

    .features-list {
        gap: 0.625rem;
        margin-bottom: 1.75rem;
    }

    .feature-item {
        padding: 0.625rem 0.75rem;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
    }

    .feature-icon-img {
        width: 10px;
        height: 10px;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
    }

    /* Ocultar algunas formas decorativas en móviles muy pequeños */
    .shape-2,
    .shape-3 {
        display: none;
    }

    .particle:nth-child(3),
    .particle:nth-child(4) {
        display: none;
    }
}

/* Móviles extra pequeños (360px y menos) */
@media (max-width: 360px) {
    .logo-img {
        height: 45px;
    }

    .state-icon-img {
        height: 28px;
    }

    .container {
        padding-top: 170px;
        padding-bottom: 1.25rem;
    }

    .content-container {
        padding: 1.25rem 0.875rem;
        margin: 0.5rem 0;
    }

    .welcome-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .feature-item {
        padding: 0.5rem 0.625rem;
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
}

/* Landscape mode para móviles */
@media (max-height: 600px) and (orientation: landscape) {
    .container {
        padding-top: 100px;
        padding-bottom: 1rem;
    }

    .content-container {
        padding: 1.5rem 1.25rem;
    }

    .welcome-badge {
        margin-bottom: 0.75rem;
    }

    .main-title {
        margin-bottom: 0.75rem;
    }

    .subtitle {
        margin-bottom: 1rem;
    }

    .features-list {
        margin-bottom: 1.5rem;
    }

    .feature-item {
        padding: 0.5rem 0.75rem;
    }
}