:root {
    --bg-black: #050505;
    --primary-red: #ff3b30;
    --primary-red-hover: #e03126;
    --primary-blue: #007aff;
    --accent-blue: #5856d6;
    --text-white: #ffffff;
    --text-muted: #a1a1a6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 59, 48, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 122, 255, 0.05) 0%, transparent 40%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    position: relative;
    box-shadow: 0 8px 16px rgba(255, 59, 48, 0.2);
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 14px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a1a1a6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    color: var(--primary-red);
    -webkit-text-fill-color: var(--primary-red);
}

/* Language Switcher */
.lang-switcher {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4px;
    display: flex;
    backdrop-filter: blur(10px);
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.lang-switcher button.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

h1 {
    font-size: clamp(40px, 8vw, 68px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
}

h1 span {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    color: var(--text-muted);
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* Download Card */
.download-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 40px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.input-group {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

input[type="text"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 24px;
    color: white;
    font-size: 16px;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="text"]:focus {
    outline: none;
    border-color: rgba(255, 59, 48, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.1);
}

#downloadBtn {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
    color: white;
    border: none;
    border-radius: 16px;
    padding: 0 36px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

#downloadBtn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

#downloadBtn:hover::after {
    left: 100%;
}

#downloadBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 59, 48, 0.3);
}

#downloadBtn:active {
    transform: translateY(0);
}

.status-box {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Section */
.info-section {
    padding: 100px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    transition: var(--transition-smooth);
    text-align: left;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-card i {
    font-size: 32px;
    margin-bottom: 24px;
    display: block;
}

.info-card i.flash {
    color: var(--primary-red);
}

.info-card i.silver {
    color: var(--primary-blue);
}

.info-card i.indigo {
    color: #5ac8fa;
}

.info-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* How It Works */
.how-to {
    padding: 80px 0 120px;
    text-align: center;
}

.how-to h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    position: relative;
    padding: 20px;
}

.step-num {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 24px;
    color: var(--primary-red);
    transition: var(--transition-smooth);
}

.step:hover .step-num {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.3);
}

.step p {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .download-card {
        padding: 24px;
        border-radius: 24px;
    }

    .input-group {
        flex-direction: column;
    }

    #downloadBtn {
        padding: 18px;
        justify-content: center;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 20px;
    }
}