:root {
    --primary: #E57900;
    --orange: #E57900;
    --blue: #00578c;
    --cyan: #00b2fc;
    --primary-light: #fed7aa;
    --primary-dark: #c2410c;
    --white: #ffffff;
    --gray-light: #f8fafc;
    /* Softer gray */
    --gray-medium: #64748b;
    /* Softer, blue-ish slate gray */
    --gray-dark: #0f172a;
    /* Deeper navy-slate */
    --success: #10b981;
    --warning: #f59e0b;

    --font-primary: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;

    /* Sistema de tipografía unificado */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */

    /* Espaciados consistentes */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 0.75rem;
    /* 12px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */
    --space-4xl: 5rem;
    /* 80px */
    --space-5xl: 6rem;
    /* 96px */
    --space-6xl: 8rem;
    /* 128px */

    /* Radios de bordes */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

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

/* Clases utilitarias de tipografía */
.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-base {
    font-size: var(--text-base);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

.text-5xl {
    font-size: var(--text-5xl);
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Clases de espaciado */
.space-xs {
    margin: var(--space-xs);
}

.space-sm {
    margin: var(--space-sm);
}

.space-md {
    margin: var(--space-md);
}

.space-lg {
    margin: var(--space-lg);
}

.space-xl {
    margin: var(--space-xl);
}

.space-2xl {
    margin: var(--space-2xl);
}

.space-3xl {
    margin: var(--space-3xl);
}

.mb-xs {
    margin-bottom: var(--space-xs);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

.mb-3xl {
    margin-bottom: var(--space-3xl);
}

/* Logo component */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    object-fit: cover;
    font-family: var(--font-code);
    font-weight: 600;
    color: white;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--gray-dark);
}

/* Header - CORREGIDO */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    margin-left: 1rem;
    white-space: nowrap;
}

/* Hamburger Menu - CORREGIDO PARA SAMSUNG/ANDROID */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    /* Área más grande para tocar */
    gap: 0.3rem;
    /* Más espacio entre líneas */
    z-index: 1001;
    position: relative;
    min-width: 44px;
    /* Mínimo recomendado para mobile */
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    width: 28px;
    /* Más ancho para mejor visibilidad */
    height: 4px;
    /* Más grueso */
    background: var(--gray-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    /* Asegurar que se muestre */
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Status Banner */
.status-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 0.4rem 0.5rem;
    font-family: var(--font-code);
    font-size: 0.75rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden;
}

.status-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.status-text {
    position: relative;
    z-index: 2;
}

.status-emoji {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--gray-light) 0%, white 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background {
    display: none;
    /* Hide the giant code block */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    width: 500px;
    margin-bottom: var(--space-xl);
}

.hero h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--gray-dark);
    line-height: 1.2;
}

.hero-tagline {
    font-size: var(--text-xl);
    color: var(--blue);
    /* More professional than orange here */
    font-weight: 500;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-medium);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    padding: var(--space-5xl) 0;
    background: white;
}

.problem-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pain-points {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.problem-section h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
    color: var(--gray-dark);
    font-weight: 700;
    line-height: 1.3;
}

.problem-text {
    font-size: var(--text-xl);
    color: var(--gray-medium);
    margin-bottom: var(--space-4xl);
    line-height: 1.6;
}



.pain-point {
    background: white;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.pain-point h4 {
    color: #b91c1c;
    /* Slightly softer red */
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.pain-point p {
    color: var(--gray-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Solution Section */
.solution-section {
    padding: var(--space-5xl) 0;
    background: var(--gray-light);
}

.solution-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-props {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.solution-section h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
    color: var(--gray-dark);
    font-weight: 700;
    line-height: 1.3;
}

.solution-text {
    font-size: var(--text-xl);
    color: var(--gray-medium);
    margin-bottom: var(--space-4xl);
    line-height: 1.6;
}



.value-prop {
    background: white;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    flex: 1 1 300px;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.value-prop-icon {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 140px;
    line-height: 1;
    opacity: 0.04;
    /* Watermark opacity */
    transform: rotate(-10deg);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.5s ease;
    background: transparent;
}

.value-prop h4 {
    color: var(--gray-dark);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.value-prop p {
    color: var(--gray-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.value-prop:hover .value-prop-icon {
    transform: scale(1.1) rotate(0deg);
    /* Slight pop on hover */
}

.value-prop:hover,
.pain-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Development Section */
.development-section {
    padding: var(--space-xl) 0 var(--space-5xl) 0;
    background: white;
}

.development-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.construction-notice,
.early-access {
    width: 100%;
}

/* Construction Notice */
.construction-notice {
    background: white;
    border: 1px solid rgba(229, 121, 0, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: 0 8px 30px rgba(229, 121, 0, 0.08);
    /* Softer shadow */
}

.construction-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.construction-icon {
    width: 48px;
    height: 48px;
    background: var(--warning);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.construction-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-dark);
}

.construction-message {
    color: var(--gray-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    font-size: var(--text-base);
}

.progress-section {
    background: var(--gray-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.progress-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
    font-family: var(--font-code);
}

.progress-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    /* Make sure FA icons are white */
}

.status-completed {
    background: var(--success);
    color: white;
}

.status-progress {
    background: var(--warning);
    color: white;
    animation: pulse 1.5s infinite;
}

.status-pending {
    background: var(--gray-medium);
    color: white;
}

/* Early Access CTA */
.early-access {
    background: linear-gradient(135deg, var(--orange) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.early-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.early-access h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.early-access p {
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    font-size: var(--text-base);
    line-height: 1.6;
}

.email-signup {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
    align-items: center;
}

.email-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid transparent;
    /* Prepare for focus state */
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.email-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 178, 252, 0.2);
}

.email-input::placeholder {
    color: var(--gray-medium);
}

.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    line-height: 1.4;
}

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

.btn-white:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

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

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

/* Footer */
footer {
    background: var(--gray-dark);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-code);
    color: var(--primary-light);
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: white;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-size: var(--text-xl);
    transition: all 0.3s ease;
    border: 2px solid var(--orange);
}

.social-link:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(251, 140, 9, 0.4);
}

/* Responsive - CORREGIDO ESPECÍFICAMENTE PARA SAMSUNG S23 */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

    .btn-nav {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

/* Dispositivos Móviles */
@media (max-width: 768px) {
    /* Ocultar banner en móviles */
    .status-banner {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-portal-btn {
        display: none !important;
    }

    header {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        top: 0;
        padding: 0.75rem 0;
        border-bottom: 2px solid var(--gray-light);
    }

    .nav-links {
        position: fixed;
        top: 60px !important;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border-top: 2px solid var(--gray-light);
        transform: translateY(-120%) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        min-height: 50vh;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem !important;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        min-width: 200px;
    }

    .nav-links a:hover {
        background: var(--primary-light);
        color: var(--primary-dark);
    }

    .nav-links.active .nav-portal-btn {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid var(--primary-light);
    }

    .btn-nav {
        margin-left: 0 !important;
        text-align: center;
        width: 250px !important;
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
        font-weight: 600;
    }

    body {
        padding-top: 0;
    }

    .pain-points {
        display: flex !important;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .pain-point {
        background: var(--gray-light) !important;
        padding: 0.875rem 1rem !important;
        border-radius: 8px;
        border-left: 3px solid #dc2626;
        margin-bottom: 0.75rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        min-height: auto !important;
    }

    .pain-point h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.25 !important;
    }

    .pain-point h4 i {
        font-size: 0.85rem !important;
    }

    .pain-point p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .value-props {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .value-prop {
        background: white !important;
        padding: 0.875rem 1rem !important;
        border-radius: 8px;
        border-left: 3px solid var(--primary);
        text-align: left !important;
        margin-bottom: 0.75rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        min-height: auto !important;
    }

    .value-prop h4 {
        text-align: left !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.25 !important;
    }

    .value-prop p {
        text-align: left !important;
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .value-prop-icon {
        display: none !important;
    }
}

/* MÓVILES ESTÁNDAR */
@media (max-width: 768px) {
    .status-banner {
        display: none !important;
    }

    .nav-portal-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        top: 0;
        padding: 0.75rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem 1rem;
        gap: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--gray-light);
        transform: translateY(-100%);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active .nav-portal-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-light);
    }

    .btn-nav {
        margin-left: 0 !important;
        text-align: center;
        width: 200px;
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    body {
        padding-top: 0;
    }

    .hero h1 {
        font-size: var(--text-3xl);
    }

    .hero-logo {
        width: 280px;
        margin-bottom: var(--space-lg);
    }

    .hero-tagline {
        font-size: var(--text-lg);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-lg);
    }

    .email-signup {
        flex-direction: column;
    }

    .pain-points,
    .value-props {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .problem-section h2,
    .solution-section h2 {
        font-size: var(--text-3xl);
    }

    .problem-text,
    .solution-text {
        font-size: var(--text-lg);
    }

    .problem-section,
    .solution-section {
        padding: var(--space-4xl) 0;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Ocultar banner en móviles pequeños */
    .status-banner {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        padding: 1rem;
        /* Área más grande para tocar */
    }

    .hamburger span {
        width: 30px;
        height: 4px;
        background: var(--gray-dark) !important;
    }

    header {
        padding: 0.75rem 0;
        background: rgba(255, 255, 255, 0.98) !important;
        top: 0;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .nav-links {
        top: 60px !important;
        padding: 2rem 1rem;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .nav-links.active .nav-portal-btn {
        display: block !important;
    }

    .hero h1 {
        font-size: var(--text-2xl);
        line-height: 1.2;
    }

    .hero-logo {
        width: 220px;
        margin-bottom: var(--space-md);
    }

    .hero-tagline {
        font-size: var(--text-base);
    }

    .hero-subtitle {
        font-size: var(--text-sm);
        padding: 0 var(--space-md);
    }

    .construction-notice {
        padding: 0.875rem !important;
        margin: 0 0.75rem 1rem !important;
    }

    .construction-header {
        margin-bottom: 0.75rem !important;
    }

    .construction-title {
        font-size: 0.95rem !important;
    }

    .construction-message {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
    }

    .progress-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .progress-item {
        font-size: 0.7rem !important;
        margin-bottom: 0.375rem !important;
        gap: 0.375rem !important;
    }

    .progress-status {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.6rem !important;
    }

    .early-access {
        padding: var(--space-lg);
        margin: 0 var(--space-md) var(--space-md);
    }

    .early-access h3 {
        font-size: var(--text-xl);
    }

    body {
        padding-top: 0;
    }

    /* Corrección específica para secciones problemáticas en móviles pequeños */
    .pain-points {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
    }

    .pain-point {
        background: var(--gray-light) !important;
        padding: 0.5rem 0.75rem !important;
        margin-bottom: 0.5rem !important;
        border-radius: 4px;
        border-left: 2px solid #dc2626;
        max-width: 100% !important;
        min-height: auto !important;
    }

    .pain-point h4 {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
    }

    .pain-point h4 i {
        display: none !important;
    }

    .pain-point p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    .value-props {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
    }

    .value-prop {
        background: white !important;
        padding: 0.5rem 0.75rem !important;
        margin-bottom: 0.5rem !important;
        border-radius: 4px;
        border-left: 2px solid var(--primary);
        text-align: left !important;
        max-width: 100% !important;
        min-height: auto !important;
        position: relative !important;
        overflow: visible !important;
    }

    .value-prop h4 {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
        text-align: left !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
    }

    .value-prop p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        text-align: left !important;
        margin: 0 !important;
    }

    .value-prop-icon {
        display: none !important;
    }

    /* Asegurar que las secciones se muestren correctamente */
    .problem-section,
    .solution-section {
        padding: 1.5rem 0 2rem 0 !important;
        min-height: auto !important;
    }

    .problem-content,
    .solution-content {
        padding: 0 1rem !important;
    }

    .problem-content h2,
    .solution-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .problem-text,
    .solution-text {
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.5 !important;
    }

    .value-props,
    .pain-points {
        gap: 0.5rem !important;
        padding: 0 !important;
        margin-top: 0.5rem !important;
    }
}

/* Landscape tablet fix */
@media (max-width: 1024px) and (orientation: landscape) {
    .nav-links {
        gap: 0.8rem;
    }

    .btn-nav {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    header {
        padding: 0.5rem 0;
    }
}

/* Development Info Styles */
.dev-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 2px solid var(--warning);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dev-info h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.dev-info-content {
    text-align: left;
}

.dev-info-content p {
    margin-bottom: 0.75rem;
    color: var(--gray-dark);
}

.dev-urls {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--warning);
}

.dev-urls ul {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.dev-urls li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 3px solid var(--primary);
}

.dev-urls a {
    color: var(--primary-dark);
    text-decoration: none;
    font-family: var(--font-code);
    font-size: 0.9rem;
}

.dev-urls a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dev-info {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .dev-info h3 {
        font-size: 1.25rem;
    }

    .dev-urls a {
        font-size: 0.8rem;
        word-break: break-all;
    }
}

/* System Status Section */
.system-status-section {
    background: linear-gradient(135deg, #f6f9fc 0%, #e8f4f8 100%);
    padding: 4rem 0;
    margin-top: 2rem;
}

.system-status-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.system-status-content h2 {
    font-size: 2.5rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Stats Grid */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    width: 100%;
    max-width: 1000px;
}

.stat-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 87, 140, 0.08);
    border: 1px solid rgba(0, 87, 140, 0.12);
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
    flex: 1 1 200px;
    max-width: 250px;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 87, 140, 0.12);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    gap: var(--space-xs);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: white;
}

.stat-icon.institutions {
    background: #00578c;
}

.stat-icon.active {
    background: #10b981;
}

.stat-icon.students {
    background: #00b2fc;
}

.stat-icon.uptime {
    background: #FB8C09;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.status-online {
    background-color: #10b981;
}

.status-degraded {
    background-color: #f59e0b;
}

.status-offline {
    background-color: #ef4444;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.stat-label {
    color: var(--gray-medium);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.2;
}

/* Overall Status */
.overall-status {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 87, 140, 0.1);
    border: 1px solid rgba(0, 87, 140, 0.1);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.status-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-dark);
}

.status-subtext {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-top: 0.5rem;
}

/* Portal Access */
.portal-access {
    background: linear-gradient(135deg, #00578c 0%, #00b2fc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.portal-access h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.portal-access p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.portal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.portal-buttons .btn {
    background: white;
    color: #00578c;
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.portal-buttons .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.stat-card.loading,
.status-indicator.loading {
    pointer-events: none;
}

.stat-icon-placeholder,
.stat-number-placeholder,
.stat-label-placeholder,
.status-dot-placeholder,
.status-text-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.stat-icon-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.stat-number-placeholder {
    height: 32px;
    width: 80px;
    margin: 1rem 0 0.5rem 0;
}

.stat-label-placeholder {
    height: 16px;
    width: 120px;
}

.status-dot-placeholder {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-text-placeholder {
    height: 20px;
    width: 200px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Error State */
.error-state {
    color: #ef4444;
    text-align: center;
    padding: 2rem;
}

.error-state .error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-state .error-message {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.error-state .error-details {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Responsive adjustments for System Status */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }

    .stat-card {
        padding: var(--space-lg);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    .portal-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .system-status-content h2 {
        font-size: var(--text-3xl);
    }

    .system-status-section {
        padding: var(--space-3xl) 0;
    }

    .portal-access {
        padding: var(--space-xl);
        margin: 0 var(--space-md);
    }

    .portal-access h3 {
        font-size: var(--text-xl);
    }

    .portal-access p {
        font-size: var(--text-base);
    }

    .section-subtitle {
        font-size: var(--text-lg);
        margin-bottom: var(--space-xl);
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: white;
    color: var(--gray-dark);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-success i {
    color: var(--success);
}

.toast-error {
    border-left: 4px solid #dc2626;
}

.toast-error i {
    color: #dc2626;
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        width: calc(100% - 2rem);
        margin: 0 auto;
        justify-content: flex-start;
    }
}