:root {
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --bg-start: #0F172A;
    --bg-end: #1E1B4B;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

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

body, html {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    padding: 2rem;
    position: relative;
}

/* Ambient background glow */
.glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.icon-wrapper {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #818CF8 0%, #4F46E5 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.container:hover .icon-wrapper {
    transform: scale(1.05) rotate(-5deg);
}

.icon-wrapper i {
    font-size: 40px;
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #FFFFFF, #C7D2FE);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    font-weight: 400;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 1.125rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.download-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.5), 0 10px 10px -5px rgba(79, 70, 229, 0.3);
}

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

.device-badge {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #A5B4FC;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Decorative background elements */
.sparkle {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.4;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 0.6; transform: scale(1.5); }
}

.brand {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.brand:hover {
    opacity: 1;
}

.brand i {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .container {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        margin-bottom: 3rem; /* Leave room for footer brand */
    }
    .icon-wrapper {
        width: 72px;
        height: 72px;
        margin-bottom: 1.5rem;
    }
    .icon-wrapper i {
        font-size: 32px;
    }
    h1 { 
        font-size: 1.75rem; 
        margin-bottom: 0.75rem;
    }
    p { 
        font-size: 0.95rem; 
        margin-bottom: 2rem;
    }
    .download-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}
