:root {
    --bg-primary: #000000;
    --text-primary: #ffffff;
    --accent-blue: #007aff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at center, #1c1c1e 0%, #000000 100%);
    color: var(--text-primary);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.installer-container {
    width: 90%;
    max-width: 600px;
}

.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

header h1 {
    font-size: 28px;
    margin: 20px 0 8px;
    font-weight: 700;
}

header p {
    color: #8e8e93;
    font-size: 16px;
    margin-bottom: 40px;
}

.logo {
    height: 48px;
}

.device-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.device-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.device-card.active {
    background: rgba(0, 122, 255, 0.1);
    border-color: var(--accent-blue);
}

.device-card:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
}

.device-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    grayscale: 1;
}

.device-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.device-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.device-card p {
    font-size: 13px;
    color: #8e8e93;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-blue);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.badge.soon {
    background: #555;
}

button {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

.hidden {
    display: none;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 30px 0 12px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

#statusText {
    font-size: 14px;
    color: #8e8e93;
}