  :root {
    --bg-card: #23133a;
    --accent-cyan: #883CF0;
    --accent-cyan-dim: #1f1232;
    --accent-amber: #883CF0;
    --accent-amber-dim: #1f1232;
    --accent-green: #883CF0;
    --accent-green-dim: #1f1232;
    --accent-red: #883CF0;
    --accent-red-dim: #1f1232;
    --text-primary: #c8d8f0;
    --text-secondary: #babdc3;
    --text-muted: #d6d6d6;
    --border: #3a1c63;
    --border-subtle: #5e309d;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  .delinea-jumpbox-training {
    background: #191127;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    height: 100vh;
    overflow-y: auto;
  }

  /* SCAN LINE OVERLAY */
  .delinea-jumpbox-training::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.04) 2px,
      rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 1;
  }

  /* ─── HEADER ─── */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #180f26;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 60px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-badge {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--accent-cyan);
    border-radius: 6px;
    display: grid;
    place-items: center;
    position: relative;
  }

  .logo-badge::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--accent-cyan);
    border-radius: 2px;
    transform: rotate(45deg);
  }

  .logo-text {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--accent-cyan);
  }

  .logo-sub {
    font-size: 10px;
    color: var(--text-muted);
  }

  .header-meta {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    
    font-size: 11px;
    color: var(--text-secondary);
    
  }

  .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .module-tag {
    
    font-size: 10px;
    background: var(--accent-cyan-dim);
    border: 1px solid var(--border);
    color: var(--accent-cyan);
    padding: 3px 10px;
    border-radius: 3px;
    
  }

  /* ─── HERO ─── */
  .hero {
    position: relative;
    padding: 80px 40px 70px;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(#23133a 1px, transparent 1px),
      linear-gradient(90deg, #23133a 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
  }

  .hero-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, #23133a 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
  }

  .eyebrow {
    
    font-size: 11px;
    
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent-cyan);
  }

  h1 {
    
    font-weight: 900;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 0.95;
    
    text-transform: uppercase;
    margin-bottom: 28px;
  }

  h1 span {
    color: var(--accent-cyan);
    display: block;
  }

  .hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }

  .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .stat-val {
    
    font-weight: 700;
    font-size: 28px;
    color: var(--accent-amber);
  }

  .stat-label {
    
    font-size: 10px;
    color: var(--text-muted);
    
    text-transform: uppercase;
  }

  /* ─── NAV TABS ─── */
  .nav-tabs-wrap {
    position: sticky;
    top: 60px;
    z-index: 1;
    background: #180f26;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-tabs {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-tabs::-webkit-scrollbar { display: none; }

  .tab-btn {
    flex-shrink: 0;
    padding: 18px 24px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    
    font-weight: 600;
    font-size: 13px;
    
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .tab-btn .tab-num {
    
    font-size: 10px;
    color: inherit;
    opacity: 0.5;
  }

  .tab-btn:hover { color: var(--text-secondary); }

  .tab-btn.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
  }

  /* ─── CONTENT AREA ─── */
  .content-area {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 100px;
  }

  .tab-panel { display: none; animation: fadeIn 0.3s ease; }
  .tab-panel.active { display: block; }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ─── SECTION HEADERS ─── */
  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    
    font-weight: 900;
    font-size: 42px;
    text-transform: uppercase;
    
    line-height: 1;
    margin-bottom: 12px;
  }

  .section-header h2 em {
    color: var(--accent-cyan);
    font-style: normal;
  }

  .section-lead {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.8;
  }

  /* ─── CARDS ─── */
  .card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px;
    transition: border-color 0.2s;
  }

  .card:hover { border-color: var(--border); }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
  }

  .card h3 {
    
    font-weight: 700;
    font-size: 18px;
    
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .card-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
  }

  .card-icon.cyan { background: #883cf050; }
  .card-icon.amber { background: #883cf050; }
  .card-icon.green { background: #883cf050; }
  .card-icon.red { background: #883cf050; }

  .card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
  }

  /* ─── CALLOUT ─── */
  .callout {
    border-left: 3px solid;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.75;
  }

  .callout.info {
    border-color: var(--accent-cyan);
    background: var(--accent-cyan-dim);
    color: var(--text-secondary);
  }

  .callout.warning {
    border-color: var(--accent-amber);
    background: var(--accent-amber-dim);
    color: var(--text-secondary);
  }

  .callout.success {
    border-color: var(--accent-green);
    background: var(--accent-green-dim);
    color: var(--text-secondary);
  }

  .callout strong { color: var(--text-primary); }

  /* ─── ARCHITECTURE DIAGRAM ─── */
  .arch-diagram {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
  }

  .arch-diagram::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }

  .arch-label {
    
    font-size: 10px;
    
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
  }

  /* ─── SVG DIAGRAM ─── */
  .diagram-svg {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
  }

  /* ─── STEP LIST ─── */
  .steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
  }

  .step {
    display: flex;
    gap: 20px;
    position: relative;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    width: 1px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    opacity: 0.3;
  }

  .step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--accent-cyan);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--accent-cyan);
    background: var(--bg-card);
    margin-top: 2px;
  }

  .step-body {
    padding-bottom: 28px;
  }

  .step-body h4 {
    
    font-weight: 700;
    font-size: 17px;
    
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .step-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
  }

  /* ─── CODE BLOCK ─── */
  .code-block {
    background: #060c14;
    border: 1px solid #3a1c63;
    border-radius: 6px;
    padding: 20px 24px;
    font-size: 12.5px;
    line-height: 1.9;
    color: #bddde9;
    margin: 16px 0;
    overflow-x: auto;
    position: relative;
  }

  .code-block .comment { color: var(--text-muted); }
  .code-block .key { color: var(--accent-cyan); }
  .code-block .val { color: var(--accent-amber); }
  .code-block .flag { color: var(--accent-green); }

  .code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .code-filename {
    
    font-size: 11px;
    color: var(--text-muted);
    
  }

  .copy-btn {
    
    font-size: 10px;
    
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border-subtle);
    padding: 3px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .copy-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
  }

  /* ─── COMPARISON TABLE ─── */
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-size: 14px;
  }

  .compare-table th {
    
    font-weight: 700;
    font-size: 13px;
    
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .compare-table th:first-child { color: var(--text-muted); }
  .compare-table th:nth-child(2) { color: var(--accent-red); }
  .compare-table th:nth-child(3) { color: var(--accent-green); }

  .compare-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.6;
  }

  .compare-table tr:hover td { background: rgba(255,255,255,0.02); }

  .compare-table td:first-child {
    
    font-weight: 600;
    font-size: 13px;
    
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
  }

  .badge-bad {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-red);
    font-size: 12px;
  }

  .badge-good {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-green);
    font-size: 12px;
  }

  /* ─── ACCORDION ─── */
  .accordion { margin-bottom: 8px; }

  .accordion-header {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
  }

  .accordion-header:hover { border-color: var(--border); }
  .accordion-header.open { border-color: var(--accent-cyan); }

  .accordion-title {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    color:#fff;
  }

  .accordion-title .a-tag {   
    font-size: 10px;
    color: var(--accent-amber);
    background: #291a3e;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    
  }

  .accordion-arrow {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.2s;
  }

  .accordion-header.open .accordion-arrow { transform: rotate(180deg); color: var(--accent-cyan); }

  .accordion-body {
    display: none;
    background: #1f1232;
    border: 1px solid var(--accent-cyan);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 24px;
  }

  .accordion-body.open { display: block; }

  .accordion-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
  }

  /* ─── QUIZ ─── */
  .quiz-wrap { margin-bottom: 40px; }

  .quiz-q {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
  }

  .quiz-q.answered { border-color: var(--border); }

  .quiz-q-text {
    
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 18px;
    line-height: 1.4;
  }

  .quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .quiz-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: var(--text-secondary);
    background: none;
    text-align: left;
    width: 100%;
  }

  .quiz-opt:hover:not(:disabled) { border-color: var(--accent-cyan); color: var(--text-primary); }

  .quiz-opt.correct {
    border-color: #77b255;
    background: #77b25520;
    color: #60c090;
  }

  .quiz-opt.wrong {
    border-color: #dc143c;
    background: #dc143c2b;
    color:#ff7a90;
    opacity: 0.7;
  }

  .opt-indicator {
    width: 20px;
    height: 20px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 11px;
    margin-top: 1px;
  }

  .quiz-feedback {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.7;
  }

  .quiz-feedback.show { display: block; }
  .quiz-feedback.correct { background: #77b25520;
    color: #60c090; }
  .quiz-feedback.wrong { background: #dc143c2b;
    color:#ff7a90; }

  /* ─── PROGRESS BAR ─── */
  .progress-bar-wrap {
    height: 4px;
    background: #282035;
    border-radius: 2px;
    margin-bottom: 60px;
    overflow: hidden;
  }

  .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    border-radius: 2px;
    transition: width 0.5s ease;
  }

  /* ─── SCORE DISPLAY ─── */
  .score-display {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 24px;
  }

  .score-display.show { display: block; }

  .score-num {
    
    font-weight: 900;
    font-size: 72px;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 8px;
  }

  .score-label {
    
    font-size: 12px;
    color: var(--text-muted);
    
    text-transform: uppercase;
  }

  /* ─── FLOW DIAGRAM INTERACTIVE ─── */
  .flow-node {
    transition: all 0.2s;
    cursor: pointer;
  }

  .flow-node:hover rect, .flow-node:hover .node-rect { filter: brightness(1.3); }

  .flow-node.active rect { stroke-width: 2; }

  /* ─── SECURITY TIERS ─── */
  .tier-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    margin-bottom: 8px;
    background: var(--bg-card);
    transition: all 0.2s;
  }

  .tier-row:hover { border-color: var(--border); }

  .tier-icon { font-size: 20px; }

  .tier-info { flex: 1; }

  .tier-name {
    
    font-weight: 700;
    font-size: 15px;
    
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .tier-desc {
    font-size: 13px;
    color: var(--text-muted);
  }

  .tier-badge {
    
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    
    text-transform: uppercase;
    flex-shrink: 0;
  }

  .tier-badge.critical { background: rgba(255,71,87,0.15); color: var(--accent-red); border: 1px solid rgba(255,71,87,0.3); }
  .tier-badge.high { background: rgba(255,179,64,0.15); color: var(--accent-amber); border: 1px solid rgba(255,179,64,0.3); }
  .tier-badge.medium { background: rgba(0,230,118,0.1); color: var(--accent-green); border: 1px solid rgba(0,230,118,0.25); }

  /* ─── TOGGLE DIAGRAM ─── */
  .arch-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
  }

  .arch-toggle-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    
    font-weight: 600;
    font-size: 13px;
    
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
  }

  .arch-toggle-btn.active {
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
  }

  .arch-view { display: none; }
  .arch-view.active { display: block; }

  /* ─── 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; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    .site-header { padding: 20px; 
          flex-direction: column;
    height: auto;
    gap: 10px;

    }
    .hero { padding: 50px 20px 40px; }
    .content-area { padding: 40px 20px 60px; }
    .nav-tabs { padding: 0 20px; }
    h1 { font-size: 44px; }
    .hero-stats { gap: 24px; }
    .compare-table { font-size: 12px; }
    .compare-table th, .compare-table td { padding: 10px 12px; }
  }