/* ════════════════════════════════════════════════════════════
   RESET Y BASE
   ════════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #050E1A;
    --bg-panel: #0A1A2E;
    --bg-panel-2: #12264F;
    --gold: #FFD54F;
    --gold-dark: #D4AF37;
    --text-primary: #FFFFFF;
    --text-secondary: #90CAF9;
    --text-muted: #64748B;
    --success: #66BB6A;
    --border: rgba(255, 213, 79, 0.15);
    --border-hover: rgba(255, 213, 79, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════
   FONDO CON GRADIENTE
   ════════════════════════════════════════════════════════════ */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 0%, rgba(255, 213, 79, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(144, 202, 249, 0.06) 0%, transparent 50%),
        var(--bg-dark);
}

/* ════════════════════════════════════════════════════════════
   CONTENEDOR PRINCIPAL
   ════════════════════════════════════════════════════════════ */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 20px 32px;
}

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease-out;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 8px 24px rgba(255, 213, 79, 0.25));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 213, 79, 0.1);
    border: 1px solid rgba(255, 213, 79, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════ */
.card {
    background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(5, 14, 26, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.card:hover {
    border-color: var(--border-hover);
}

.card h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: left;
}

/* ════════════════════════════════════════════════════════════
   CARD DE DESCARGA
   ════════════════════════════════════════════════════════════ */
.card-download {
    text-align: center;
    padding-top: 36px;
    padding-bottom: 28px;
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 213, 79, 0.08);
    border: 1px solid rgba(255, 213, 79, 0.25);
    border-radius: 16px;
    color: var(--gold);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #050E1A;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 213, 79, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 213, 79, 0.35);
}

.btn-download:hover::before {
    left: 100%;
}

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

.meta-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.meta-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
}

.meta-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
}

/* ════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════ */
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feature-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 187, 106, 0.15);
    border: 1px solid rgba(102, 187, 106, 0.35);
    border-radius: 6px;
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   INSTRUCCIONES
   ════════════════════════════════════════════════════════════ */
.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.steps-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 213, 79, 0.1);
    border: 1px solid rgba(255, 213, 79, 0.3);
    border-radius: 10px;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
}

.steps-list strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.steps-list p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
    text-align: center;
    padding: 24px 0 8px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════════════════════
   ANIMACIONES
   ════════════════════════════════════════════════════════════ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-download { animation-delay: 0.1s; }
.card-features { animation-delay: 0.2s; }
.card-instructions { animation-delay: 0.3s; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container {
        padding: 32px 16px 24px;
    }

    .title {
        font-size: 30px;
    }

    .logo-image {
        width: 96px;
        height: 96px;
    }

    .card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .btn-download {
        padding: 16px 20px;
        font-size: 15px;
    }
}