/* Front Page Styles */
:root {
    --color-primary: #00d0ff;
    --color-dark: #020c1b;
    --color-darker: #0b1d30;
    --color-text: #FFFFFF;
    --color-text-secondary: #CFCFCF;
    --color-button: #003D3E;
    --color-button-hover: #005D5E;
}

/* Fondo de la página */
body {
    background: transparent !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

canvas[data-waves] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 0;
    display: block;
    pointer-events: none;
    /* background: linear-gradient(120deg, var(--color-bg-dark) 0%, var(--color-bg-gradient) 100%) !important; */
    background: linear-gradient(180deg, #00080F 2%, #00101E 48%, #002F4B 100%) !important;
}

.front-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: var(--color-text);
    font-family: 'Darker Grotesque', sans-serif;
    position: relative;
    z-index: 2;
    background: transparent !important;
    min-height: 100vh;
}

.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-top: 80px;
    margin-bottom: 80px;
    min-height: calc(100vh - 160px); /* Altura total menos header y footer */
}

/* Hero Content Styles */
.hero-content {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width:1200px) {
    .hero-content {
        max-width: 90%;
    }
}

.hero-title {
    font-size: clamp(4.5rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: 'Darker Grotesque', sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 208, 255, 0.2);
}

@media (max-width:575px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 208, 255, 0.1);
    max-width: 65%;
    color: var(--color-white);
    font-weight: 600;
}

.cta-button {
    background: var(--color-button);
    color: var(--color-text);
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--color-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 208, 255, 0.3);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(0, 208, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.cta-button:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-container {
        margin-top: 64px;
        margin-bottom: 64px;
        padding: 0.5rem;
        min-height: calc(100vh - 128px); /* Altura total menos header y footer en móvil */
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
        max-width: 80%;
    }

    .cta-button {
        margin-top: 1rem;
    }
}

/* Ajustes para pantallas pequeñas en altura */
@media (max-height: 800px) {
    .hero-container {
        padding: 2rem 1rem;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        max-width: 90%;
    }

    .cta-button {
        margin-top: 0.75rem;
        padding: 0.6rem 1.2rem;
    }
}