  :root {
    --bg:        #883CF0;
    --panel:     #1f1232;
    --border:    #3a1c63;
    --border2:   #5e309d;
    --accent:    #883CF0;
    --accent2:   #b33ff3;
    --accent3:   #aa69cc;
    --warn:      #8445dd;
    --danger:    #533f6e;
    --text:      #c8d8e8;
    --text-dim:  #d6d6d6;
    --text-mid:  #d6d6d6;
    --code-bg:   #0f0818;
    --tag-green: #291a3e;
    --tag-blue:  #291a3e;
    --tag-orange:#291a3e;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  .delinea-pcs-linux-guide {
    background: #191127;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
  }

  /* ── GRID TEXTURE ── */
  .delinea-pcs-linux-guide::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(0,200,160,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,200,160,.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }

  /* ── SIDEBAR NAV ── */
  .sidebar {
    position: sticky;
    top: 0; left: 0;
    width: 270px; height: 100vh;
    background:#180f26;
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    z-index: 1;
    overflow-y: auto;
  }

  .sidebar-logo {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-logo .brand {
    
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
  }

  .sidebar-logo .subtitle {
    
    font-size: .65rem;
    color: var(--text-dim);
    margin-top: 4px;
  }

  .nav-section-label {
    
    font-size: .6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    padding: 20px 24px 8px;
  }

  .nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-mid);
    border-left: 3px solid transparent;
    transition: all .2s;
    text-decoration: none;
  }

  .nav-item:hover { color: var(--text); background: #23133a9f; }

  .nav-item.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: #23133a;
  }

  .nav-item .nav-num {
    
    font-size: .6rem;
    color: var(--text-dim);
    min-width: 18px;
  }

  .nav-progress {
    margin-top: auto;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
  }

  .progress-label {
    
    font-size: .62rem;
    color: var(--text-dim);
    margin-bottom: 8px;
    display: flex; justify-content: space-between;
  }

  .progress-bar {
    height: 4px;
    background: var(--border2);
    border-radius: 2px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
    transition: width .4s ease;
    width: 0%;
  }

  /* ── MAIN CONTENT ── */
  .main {
    /* margin-left: 270px; */
    position: relative;
    flex: 1;
    overflow-y: auto;
    height: 100vh;
    overflow-x: hidden;
  }

  /* ── TOP BAR ── */
  .topbar {
    position: sticky; top: 0;
    background: #191127;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 48px;
    display: flex; align-items: center; gap: 16px;
    z-index: 1;
  }

  .breadcrumb {
    
    font-size: .7rem;
    color: var(--text-dim);
    display: flex; align-items: center; gap: 8px;
  }

  .breadcrumb .sep { color: var(--border2); }
  .breadcrumb .current { color: var(--accent); }

  .topbar-badge {
    margin-left: auto;
    background: var(--tag-green);
    border: 1px solid #3a1c63;
    color: var(--accent);
    font-size: .6rem;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
  }

  /* ── PAGE SECTIONS ── */
  .section {
    padding: 64px 48px;
    border-bottom: 1px solid var(--border);
    max-width: 900px;
  }

  .section-header {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 36px;
  }

  .section-num {
    
    font-size: 3rem;
    font-weight: 700;
    color: var(--border2);
    line-height: 1;
    min-width: 60px;
  }


  .section-tag {
    font-size: .62rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
  }

  .section-desc {
    margin-top: 8px;
    font-size: .88rem;
    color: var(--text-mid);
    font-weight: 400;
    line-height: 1.6;
  }

  /* ── CONTENT ELEMENTS ── */
  p {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 16px;
  }

  h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 28px 0 12px;
  }

  h4 {
    font-size: .78rem;
    color: var(--accent);
    text-transform: uppercase;
    margin: 24px 0 10px;
  }

  /* ── CODE BLOCKS ── */
  .code-block {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    margin: 16px 0;
    overflow: hidden;
  }

  .code-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid var(--border);
  }

  .code-label {
    font-size: .65rem;
    color: var(--text-dim);
    text-transform: uppercase;
  }

  .copy-btn {
    font-size: .62rem;
    color: var(--text-dim);
    background: none;
    border: 1px solid var(--border2);
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
    transition: all .2s;
  }

  .copy-btn:hover { color: var(--accent); border-color: var(--accent); }
  .copy-btn.copied { color: var(--accent); border-color: var(--accent); }

  pre {
    padding: 20px;
    
    font-size: .8rem;
    line-height: 1.8;
    color: #9ab5cc;
    overflow-x: auto;
    white-space: pre;
  }

  pre .cmd { color: #e2f0ff; }
  pre .comment { color: var(--text-dim); }
  pre .flag { color: var(--accent2); }
  pre .val { color: var(--accent); }
  pre .warn-text { color: var(--warn); }
  pre .path { color: #b08bff; }

  /* ── INLINE CODE ── */
  code {  
    font-size: .8em;
    background: #1f172f;
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 3px;
  }

  /* ── CALLOUT BOXES ── */
  .callout {
    display: flex; gap: 14px;
    padding: 16px 20px;
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid;
    font-size: .85rem;
    line-height: 1.6;
  }

  .callout-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .callout.info    { background: #23133a; border-color: #3a1c63; color: #dbe7f5; }
  .callout.warn    { background: rgba(255,184,0,.07);  border-color: rgba(255,184,0,.25);  color: #ffd166; }
  .callout.danger  { background: rgba(255,68,68,.07);  border-color: rgba(255,68,68,.25);  color: #ff9999; }
  .callout.success { background: #23133a;  border-color: #3a1c63;  color: #dbe7f5; }

  /* ── STEP CARDS ── */
  .steps { display: flex; flex-direction: column; gap: 0; }

  .step {
    display: flex; gap: 0;
    position: relative;
  }

  .step-left {
    display: flex; flex-direction: column; align-items: center;
    width: 48px; flex-shrink: 0;
  }

  .step-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border2);
    background: var(--panel);
    display: flex; align-items: center; justify-content: center;
    
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: all .3s;
    cursor: pointer;
    z-index: 1;
  }

  .step.completed .step-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
  }

  .step-line {
    width: 2px;
    flex: 1;
    min-height: 20px;
    background: var(--border);
    margin: 4px 0;
  }

  .step:last-child .step-line { display: none; }

  .step-body {
    flex: 1;
    padding: 0 0 32px 20px;
  }

  .step-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
    cursor: pointer;
  }

  .step-content { font-size: .87rem; color: var(--text-mid); line-height: 1.7; }

  /* ── REQUIREMENT TABLE ── */
  .req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
  }

  .req-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 18px;
  }

  .req-card-label {
    
    font-size: .62rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .req-card-value {
    font-size: .88rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
  }

  /* ── CONFIG TABLE ── */
  .config-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: .83rem;
  }

  .config-table th {
    font-size: .62rem;
    color: var(--text-dim);
    text-transform: uppercase;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: var(--code-bg);
  }

  .config-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
    vertical-align: top;
  }

  .config-table tr:hover td { background: #1f1232; }

  .config-table td:first-child {
    
    font-size: .75rem;
    color: var(--accent);
  }

  /* ── TABS ── */
  .tabs {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
  }

  .tab-headers {
    display: flex;
    background: var(--code-bg);
    border-bottom: 1px solid var(--border);
  }

  .tab-btn {
    padding: 12px 20px;
    font-size: .7rem;
    color: var(--text-dim);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all .2s;
    text-transform: uppercase;
  }

  .tab-btn:hover { color: var(--text); }

  .tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }

  .tab-panel { display: none; padding: 24px; }
  .tab-panel.active { display: block; }

  /* ── CHECKLIST ── */
  .checklist { list-style: none; }

  .checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .87rem;
    color: var(--text-mid);
    cursor: pointer;
    transition: color .2s;
  }

  .checklist li:last-child { border: none; }
  .checklist li:hover { color: var(--text); }

  .check-box {
    width: 18px; height: 18px;
    border: 1.5px solid var(--border2);
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
  }

  .checklist li.checked .check-box {
    background: var(--accent);
    border-color: var(--accent);
  }

  .checklist li.checked .check-box::after {
    content: '✓';
    font-size: .65rem;
    color: #fff;
    font-weight: 700;
  }

  .checklist li.checked .check-text { text-decoration: line-through; color: var(--text-dim); }

  /* ── BADGE TAGS ── */
  .tag {
    display: inline-block;
    font-size: .6rem;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
  }

  .tag-green { background: var(--tag-green); color: var(--accent); border: 1px solid rgba(0,200,160,.3); }
  .tag-blue  { background: var(--tag-blue);  color: var(--accent2); border: 1px solid rgba(0,136,255,.3); }
  .tag-orange{ background: var(--tag-orange); color: var(--accent3); border: 1px solid rgba(255,107,53,.3); }
  .tag-warn  { background: rgba(255,184,0,.1); color: var(--warn); border: 1px solid rgba(255,184,0,.3); }

  /* ── FLOW DIAGRAM ── */
  .flow {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 24px 0;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .flow-node {
    background: var(--panel);
    border: 1px solid var(--border2);
    border-radius: 6px;
    padding: 12px 16px;
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
  }

  .flow-node-icon { font-size: 1.4rem; margin-bottom: 6px; }

  .flow-node-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
  }

  .flow-node-sub {
    
    font-size: .58rem;
    color: var(--text-dim);
    margin-top: 3px;
  }

  .flow-node.highlight {
    border-color: var(--accent);
    background: #2a1647;
  }

  .flow-arrow {
    color: var(--text-dim);
    font-size: 1rem;
    padding: 0 8px;
    flex-shrink: 0;
  }

  /* ── HERO ── */
  .hero {
    padding: 72px 48px 56px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, #16131b6b 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-size: .68rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
  }

  .hero-eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--accent);
  }

  .hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    max-width: 680px;
    margin-bottom: 20px;
  }

  .hero h1 span { color: var(--accent); }

  .hero-desc {
    font-size: .95rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .hero-stats {
    display: flex; gap: 32px;
    flex-wrap: wrap;
  }

  .hero-stat-val {
    
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
  }

  .hero-stat-label {
    font-size: .75rem;
    color: var(--text-dim);
    margin-top: 2px;
  }

  /* ── QUIZ ── */
  .quiz-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
  }

  .quiz-question {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
  }

  .quiz-options { display: flex; flex-direction: column; gap: 8px; }

  .quiz-option {
    padding: 12px 16px;
    border: 1px solid var(--border2);
    border-radius: 5px;
    cursor: pointer;
    font-size: .85rem;
    color: var(--text-mid);
    transition: all .2s;
    display: flex; align-items: center; gap: 10px;
  }

  .quiz-option:hover { border-color: var(--accent); color: var(--text); }

  .quiz-option.correct {
    border-color: #77b255;
    background: #77b25520;
    color: #60c090;
  }

  .quiz-option.wrong {
    border-color: #dc143c;
    background: #dc143c2b;
    color:#ff7a90;
  }

  .quiz-feedback {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: .83rem;
    display: none;
  }

  .quiz-feedback.show { display: block; }
  .quiz-feedback.correct { background: #77b25520;
    border: 1px solid #77b255;
    color: #60c090; }
  .quiz-feedback.wrong   { background: #dc143c2b;
    border: 1px solid #dc143c;
    color: #ff7a90; }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: #873cf015; }
  ::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: #873cf015; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .section { animation: fadeUp .5s ease both; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .sidebar { width: 0; overflow: hidden; }
    .main { margin-left: 0; }
    .section { padding: 40px 24px; }
    .hero { padding: 40px 24px; }
    .topbar { padding: 14px 24px; }
    .req-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
  }