:root {
    --background: #080809;
    --surface: #121214;
    --accent: #2D1B45;
    --accent-light: #3D2857;
    --accent-glow: rgba(61, 40, 87, 0.15);
    --text: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        var(--surface) 100%
    );
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.has-gradient::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/noise.png');
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
}

.main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    min-height: 100vh;
}

.text-content {
    text-align: center;
    -webkit-backdrop-filter: blur(20px); /* Prefijo para iOS Safari */
    backdrop-filter: blur(20px);
    background: var(--glass);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.app-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.app-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 4rem;
    background: linear-gradient(
        135deg,
        #fff 0%,
        rgba(255, 255, 255, 0.8) 50%,
        var(--accent-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        var(--accent-glow) 0%,
        rgba(110, 74, 153, 0.15) 30%,
        transparent 70%
    );
    opacity: 0.5;
    filter: blur(10px);
    z-index: -1;
    mix-blend-mode: screen;
}

.title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    filter: blur(5px);
    z-index: 1;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'Inter';
    font-weight: 500;
}

.store-buttons {
    margin-top: 2rem;
}

.coming-soon-badge {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.coming-soon-badge:hover {
    transform: translateY(-5px);
}

.coming-soon-badge span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.store-icons {
    display: flex;
    gap: 1.5rem;
    height: 38px;
    margin-top: 1rem;
}

.store-icon {
    height: 100%;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.store-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.screenshots-container {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1000px;
}

.screenshot-item {
    position: absolute;
    /* border-radius: 32px; */
    overflow: hidden;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); */
    /* transition: all 0.5s ease; */
}

.screenshot-item.main {
    width: 280px;
    height: 560px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.screenshot-item.secondary {
    width: 240px;
    height: 480px;
    opacity: 0.7;
}

.screenshot-item.top {
    left: 20%;
    top: 40%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 2;
}

.screenshot-item.bottom {
    left: 80%;
    top: 60%;
    transform: translate(-50%, -50%) rotate(15deg);
    z-index: 1;
}

/* .screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.screenshot-item:hover {
    transform: scale(1.05) translateY(-10px);
    z-index: 4;
    opacity: 1;
}

.screenshot-item.top:hover {
    transform: translate(-50%, -50%) rotate(-15deg) scale(1.05) translateY(-10px);
}

.screenshot-item.bottom:hover {
    transform: translate(-50%, -50%) rotate(15deg) scale(1.05) translateY(-10px);
}

@media (min-width: 768px) {
    .content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        padding: 4rem;
    }
    
    .text-content {
        text-align: left;
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .title {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        padding: 2rem 1rem;
        min-height: auto;
        gap: 2rem;
    }
    
    .text-content {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .app-icon {
        width: 64px;
        height: 64px;
    }
    
    .screenshot-container {
        width: 240px;
        margin: 0 auto;
    }
    
    .coming-soon-badge {
        width: 100%;
        padding: 1.5rem;
    }
    
    .store-icons {
        height: 32px;
    }
}

@media (max-width: 360px) {
    .screenshot-container {
        width: 200px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

.device-showcase {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.screenshot-container {
    position: relative;
    width: 280px;
    max-width: 90%;
    aspect-ratio: 9/19.5;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    border-radius: 32px;
    overflow: hidden;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    /* box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px var(--accent-glow); */
}

/* Estilos para screenshots adicionales (comentados por ahora) */

/* .screenshot-container.secondary {
    width: 240px;
    margin: 0 -20px;
    opacity: 0.7;
}

.screenshot-container.secondary:hover {
    opacity: 1;
    z-index: 2;
} */

.device-showcase {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}