:root {
    --card-bg: rgba(30, 30, 30, 0.5); 
    --glass-border: rgba(255, 255, 255, 0.15);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --code-bg: rgba(0, 0, 0, 0.5);
    --success: #4ade80;
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: radial-gradient(circle at top left, #1a202c, #000000);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Background Mesh Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
h2 { font-size: 1.25rem; font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
p { color: var(--text-muted); margin-bottom: 12px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.small-note { font-size: 0.85rem; opacity: 0.7; }

/* Hero & Toggle */
.hero-section {
    text-align: center;
    margin-bottom: 30px;
}

.os-toggle-container {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid var(--glass-border);
}

.os-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.os-btn:hover { color: white; }

.os-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

/* OS Content Logic */
.os-content { display: none; animation: fadeIn 0.3s ease; }
.os-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.card-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card-body { padding: 24px; }

/* Code Blocks */
.code-block {
    background: var(--code-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 20px 0;
}

code {
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: 0.9rem;
    color: #a5d6ff;
    word-break: break-all;
}

kbd {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.85em;
    color: #fff;
}

/* Lists - FIXED ALIGNMENT */
.styled-list {
    margin-left: 20px; /* Indent the whole list */
    margin-bottom: 15px;
    padding-left: 10px; /* Space between bullet and text */
}

.styled-list li {
    padding-left: 5px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* Copy Button */
.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid transparent;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    margin-left: 10px;
    flex-shrink: 0;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255,255,255,0.3); }
.copy-btn.copied { background: var(--success); color: #000; border-color: var(--success); }

/* Steps */
.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 16px; }
.step-item .icon { font-size: 1.5rem; padding-top: 2px; }

.warning-text {
    color: #fbbf24;
    font-size: 0.9rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 5px;
}

/* Troubleshooting */
details {
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}
details:hover { border-color: var(--glass-border); }
details summary { padding: 12px 16px; cursor: pointer; font-weight: 500; outline: none; }
details summary:hover { background: rgba(255, 255, 255, 0.05); }
details[open] p { padding: 12px 16px; border-top: 1px solid var(--glass-border); margin: 0; color: #d4d4d4; background: rgba(0,0,0,0.1); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

/* Mobile */
@media (max-width: 600px) {
    .container { padding: 0 15px; }
    h1 { font-size: 1.8rem; }
    .code-block { flex-direction: column; align-items: stretch; gap: 10px; }
    .copy-btn { margin-left: 0; text-align: center; }
}