:root {
    --surface: #101417;
    --surface-lowest: #0B0F12;
    --surface-high: #222B31;
    --on-surface: #E8EEF0;
    --on-surface-variant: #BCC8CD;
    --primary: #63D3C9;
    --primary-dark: #1FB7AA;
    --on-primary: #04211E;
    --outline-variant: #3D4A52;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Manchas de Fondo Animadas */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(99, 211, 201, 0.25);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(31, 183, 170, 0.2);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 80vh;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--surface-high), var(--surface));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--outline-variant);
    margin-bottom: 1rem;
    position: relative;
    animation: bounceIn 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.slogan {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--primary);
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

p.description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--on-surface-variant);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
}

.btn svg {
    width: 28px;
    height: 28px;
}

.btn-play {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--on-primary);
    box-shadow: 0 8px 24px rgba(99, 211, 201, 0.3);
    cursor: pointer;
}

.btn-play:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(99, 211, 201, 0.5);
}

.btn-play:active {
    transform: translateY(0);
}

.btn-ios {
    background: var(--surface-high);
    color: var(--on-surface-variant);
    border-color: var(--outline-variant);
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

.btn-ios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
}

.btn-ios:hover::before {
    transform: translateX(100%);
    transition: transform 1.5s ease-in-out;
}

.btn-ios .badge {
    font-size: 0.75rem;
    background: var(--outline-variant);
    color: var(--on-surface);
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Simulación Gráfica de Interfaces Abstractas (Mockup) */
.mockup-container {
    margin-top: 4rem;
    width: 100%;
    max-width: 800px;
    height: 300px;
    background: linear-gradient(180deg, rgba(34, 43, 49, 0.4) 0%, transparent 100%);
    border: 1px solid rgba(61, 74, 82, 0.5);
    border-bottom: none;
    border-radius: 32px 32px 0 0;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.mockup-inner {
    width: 80%;
    height: 100%;
    background: var(--surface-lowest);
    border-radius: 24px 24px 0 0;
    border: 1px solid var(--outline-variant);
    border-bottom: none;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

/* Elementos UI Abstractos dentro del Mockup */
.ui-header {
    width: 40%;
    height: 24px;
    background: var(--surface-high);
    border-radius: 12px;
}

.ui-card {
    width: 100%;
    height: 80px;
    background: var(--surface-high);
    border-radius: 16px;
    opacity: 0.8;
}

.ui-card-2 {
    width: 100%;
    height: 60px;
    background: var(--surface-high);
    border-radius: 16px;
    opacity: 0.6;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

footer {
    padding: 2rem;
    text-align: center;
    color: var(--outline-variant);
    font-size: 0.9rem;
    z-index: 1;
    position: relative;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 10px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .buttons-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .mockup-container {
        height: 200px;
    }

    h1 {
        font-size: 3rem;
    }
}