:root {
    --primary: #679aad;
    --secondary: #abd3d6;
    --accent: #f6bfba;
    --light: #f9f0de;
    --dark: #1e1e2d;
    --success: #00c9a7;
    --warning: #ffc107;
    --danger: #ff3860;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    background: linear-gradient(135deg, #f9f0de 0%, #ffffff 100%);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animaciones clave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    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);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Header */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: white;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: var(--light);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    color: white;
    opacity: 0.8;
}

/* Features */
.features {
    padding: 120px 0;
    position: relative;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--dark);
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(103, 154, 173, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(103, 154, 173, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: #555;
}

/* How it works */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(135deg, #f6bfba 0%, #f9f0de 100%);
    position: relative;
    overflow: hidden;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 40px;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    flex-grow: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(103, 154, 173, 0.1);
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step-content p {
    color: #555;
}

.step-number {
    min-width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mini Download Section */
.mini-download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mini-download-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mini-download-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.mini-download-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    opacity: 0.9;
}

.mini-download-info {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: var(--dark);
    text-align: center;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Background Elements */
.bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.bg-1 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    top: -300px;
    right: -300px;
    opacity: 0.2;
}

.bg-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -200px;
    left: -200px;
    opacity: 0.15;
}

/* Download Menu Styles */
.download-container {
    position: relative;
    display: inline-block;
}

.download-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.download-container.active .download-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.download-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.download-option:last-child {
    border-bottom: none;
}

.download-option:hover {
    background: var(--secondary);
    color: white;
}

.download-option i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.download-option .version-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 10px;
}

.beta-tag {
    background: var(--accent);
    color: #b74d4d;
}

.stable-tag {
    background: var(--success);
    color: white;
}

/* Animaciones solo para elementos visibles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .step, .step:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .step-content {
        text-align: center;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .step-number {
        min-width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .download-container {
        width: 100%;
    }
    
    .download-menu {
        width: 100%;
    }
}