@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #080d1a;
    --card-bg: rgba(13, 22, 40, 0.75);
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.4);
    --secondary: #4facfe;
    --accent: #00ff88;
    --danger: #ff4757;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(0, 242, 254, 0.2);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: radial-gradient(circle at center, #0f1c3f 0%, #080d1a 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 242, 254, 0.03) 2px,
        rgba(0, 242, 254, 0.03) 4px
    );
    pointer-events: none;
}

.installer-container {
    width: 100%;
    max-width: 580px;
    padding: 20px;
    z-index: 10;
}

.installer-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.installer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.brand-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.brand-header h1 span {
    color: var(--primary);
}

.brand-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Stepper */
.steps-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    position: relative;
}

.steps-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transform: translateY(-50%);
}

.step-item {
    position: relative;
    z-index: 2;
    background: var(--bg-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-item.active {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    background: #0d1b38;
}

.step-item.completed {
    border-color: var(--accent);
    background: var(--accent);
    color: #000;
}

.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.input-container {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(5, 10, 25, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 8px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(8, 16, 38, 0.95);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.btn-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
    flex: 1;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: none;
}

.alert-danger {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid var(--danger);
    color: #ff6b81;
}

.alert-success {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid var(--accent);
    color: #2ed573;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 0.8s ease-in-out infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
