/**
 * Setup Pages Styles
 * Includes: Setup hub, device setup guides
 */

/* Setup Device Hero */
.setup-device-hero .device-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-orange-rgb), 0.1);
    border-radius: 20px;
}

.setup-device-hero .device-hero-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-orange);
}

.setup-meta { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }

.setup-difficulty,
.setup-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.setup-difficulty.easy svg { color: var(--accent-green); }

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.requirement-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-orange-rgb), 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.requirement-icon svg { width: 24px; height: 24px; color: var(--accent-orange); }
.requirement-text strong { display: block; margin-bottom: 4px; }
.requirement-text span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) { .requirements-grid { grid-template-columns: 1fr; } }

.no-account-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(var(--accent-orange-rgb), 0.05);
    border: 1px solid rgba(var(--accent-orange-rgb), 0.2);
    border-radius: 12px;
}

.no-account-banner p { margin: 0; color: var(--text-muted); }

/* Setup Steps */
.setup-steps { display: flex; flex-direction: column; gap: 30px; }
.setup-step { display: flex; gap: 25px; }

.setup-step .step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content { flex: 1; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.setup-step:last-child .step-content { border-bottom: none; }
.step-content h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step-content > p { color: var(--text-muted); margin-bottom: 20px; }
.step-substeps { margin: 0; padding-left: 24px; color: var(--text-secondary); }
.step-substeps li { margin-bottom: 10px; line-height: 1.6; }

.step-tip {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(var(--accent-orange-rgb), 0.05);
    border-left: 3px solid var(--accent-orange);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.step-tip svg { width: 20px; height: 20px; color: var(--accent-orange); flex-shrink: 0; }

.step-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.code-label { color: var(--text-muted); font-size: 14px; }

.step-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    color: var(--accent-green);
}

.step-success svg { width: 24px; height: 24px; flex-shrink: 0; }

/* Devices Grid (Setup Hub) */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.device-card {
    position: relative;
    display: block;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.device-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.device-popular { border-color: var(--accent-orange); }

.device-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    background: var(--accent-orange);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.device-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-orange-rgb), 0.1);
    border-radius: 14px;
    margin-bottom: 20px;
}

.device-icon svg { width: 30px; height: 30px; color: var(--accent-orange); }
.device-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.device-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.device-meta { display: flex; gap: 15px; margin-bottom: 15px; }

.device-difficulty {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 12px;
}

.device-difficulty.easy { background: rgba(34, 197, 94, 0.1); color: var(--accent-green); }
.device-difficulty.medium { background: rgba(var(--accent-orange-rgb), 0.1); color: var(--accent-orange); }
.device-time { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); }

.device-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    font-weight: 500;
    font-size: 14px;
}

.device-link svg { width: 18px; height: 18px; transition: transform 0.2s; }
.device-card:hover .device-link svg { transform: translateX(4px); }

/* Setup Help Section */
.setup-help-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.help-text h2 { font-size: 2rem; margin-bottom: 15px; }
.help-text > p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 25px; }
.help-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.help-feature { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.help-feature svg { width: 20px; height: 20px; color: var(--accent-green); }
.help-buttons { display: flex; gap: 15px; }

.help-card {
    padding: 30px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: center;
}

.help-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-orange-rgb), 0.1);
    border-radius: 50%;
}

.help-card-icon svg { width: 28px; height: 28px; color: var(--accent-orange); }
.help-card h4 { font-size: 14px; color: var(--text-muted); margin-bottom: 5px; }
.help-card-value { font-size: 1.5rem; font-weight: 700; color: var(--accent-orange); }

@media (max-width: 768px) {
    .setup-help-content { grid-template-columns: 1fr; text-align: center; }
    .help-features { align-items: center; }
    .help-buttons { justify-content: center; }
}

/* ==========================================================================
   Guide Page Styles
   ========================================================================== */

.guide-devices { display: grid; gap: 24px; margin-top: 30px; }

.guide-device-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.guide-device-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-orange-rgb), 0.15);
}

.guide-device-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }

.guide-device-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--accent-orange-rgb), 0.1), rgba(var(--accent-orange-rgb), 0.05));
    border: 1px solid rgba(var(--accent-orange-rgb), 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.guide-device-icon svg { width: 32px; height: 32px; color: var(--accent-orange); }
.guide-device-title { flex: 1; }
.guide-device-title h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 5px 0; color: var(--text-primary); }

.device-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.device-badge.popular {
    background: rgba(var(--accent-orange-rgb), 0.1);
    border-color: rgba(var(--accent-orange-rgb), 0.3);
    color: var(--accent-orange);
}

.guide-device-content p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

.guide-apps {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.guide-apps h4 { font-size: 1rem; font-weight: 600; margin: 0 0 15px 0; color: var(--text-primary); }
.app-list { list-style: none; padding: 0; margin: 0; }
.app-list li { padding: 8px 0; color: var(--text-muted); line-height: 1.6; }
.app-list li strong { color: var(--accent-orange); font-weight: 600; }

/* App Recommendations */
.app-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.app-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.app-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-orange-rgb), 0.1);
}

.app-card-header { text-align: center; margin-bottom: 20px; }
.app-icon { font-size: 3rem; margin-bottom: 15px; }
.app-card-header h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 10px 0; color: var(--text-primary); }

.app-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge.recommended {
    background: rgba(var(--accent-orange-rgb), 0.1);
    border-color: rgba(var(--accent-orange-rgb), 0.3);
    color: var(--accent-orange);
}

.app-badge.exclusive {
    background: rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

.app-card-content p { color: var(--text-muted); line-height: 1.6; margin-bottom: 15px; }
.app-platforms { display: flex; flex-wrap: wrap; gap: 8px; }

.platform-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .guide-device-header { flex-direction: column; align-items: flex-start; text-align: left; }
    .guide-device-icon { width: 50px; height: 50px; }
    .guide-device-icon svg { width: 28px; height: 28px; }
    .guide-device-title h3 { font-size: 1.25rem; }
    .app-recommendations { grid-template-columns: 1fr; }
}
