/* --- VARIABLES (System Based Dark/Light) --- */
:root {
    --primary: #0056b3;
    --primary-hover: #004494;
    --bg-body: #f4f7f6;
    --bg-card: #ffffff;
    --text-main: #2c3e50;
    --text-sub: #666;
    --border: #ddd;
    --shadow: rgba(0, 0, 0, 0.1);
    --header-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #339af0;
        --primary-hover: #1c7ed6;
        --bg-body: #121212;
        --bg-card: #1e1e1e;
        --text-main: #e0e0e0;
        --text-sub: #a0a0a0;
        --border: #333;
        --shadow: rgba(0, 0, 0, 0.4);
        --header-bg: #1e1e1e;
    }
}

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

body {
    background: var(--bg-body);
    color: var(--text-main);
    transition: 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HEADER --- */
.header {
    background: var(--header-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.logo:hover {
    color: var(--primary);
}

.brand {
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

/* --- HERO SECTION --- */
.app-hero {
    padding: 40px 0;
    text-align: center;
}

.app-card {
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border);
    animation: fadeIn 0.8s ease;
}

.app-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 22px;
    margin: 0 auto 20px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-sub);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.meta-info {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- DOWNLOAD BUTTON --- */
.btn-download-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.btn-download-large:hover {
    transform: translateY(-3px);
    background: var(--primary-hover);
}

.btn-download-large:active {
    transform: scale(0.98);
}

/* Shine Effect */
.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

.safe-text {
    margin-top: 15px;
    color: #2ecc71;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- INSTALL GUIDE --- */
.install-guide {
    padding: 40px 0;
}

.install-guide h2 {
    text-align: center;
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
}

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid var(--bg-body);
}

.step-card i {
    font-size: 2rem;
    color: var(--text-sub);
    margin: 15px 0;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-sub);
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-sub);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

.footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    100% {
        left: 200%;
    }
}