  :root {
    --bg: #080c12;
    --surface: #23133a;
    --surface2: #1f1232;
    --border: #3a1c63;
    --accent: #883CF0;
    --accent2: #ff4d6d;
    --gold: #ad3ef2;
    --green: #00e68a;
    --red: #ff3d5a;
    --muted: #d6d6d6;
    --text: #f4f6f9;
    --text-dim: #c8d6e5;
    --delinea: #b33ff3;
    --delinea-glow: #684895;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  .pam-training-guide-4 {
    background: #191127;
    color: var(--text);
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    height: 100vh;
  }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #873cf015; }
  ::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }

  /* ─── HEADER ─── */
  .pam-training-guide-4 header {
    position: sticky; top: 0; z-index: 1;
    background: #180f26;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
  }
  .logo-zone { display: flex; align-items: center; gap: 12px; }
  .logo-badge {
    background: var(--delinea);
    color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 4px;
  }
  .header-title {
    font-size: 15px; font-weight: 600;
    color: var(--text-dim); text-transform: uppercase;
  }
  .progress-bar-wrap {
    display: flex; align-items: center; gap: 10px;
  }
  .progress-track {
    width: 160px; height: 4px; background: #282035; border-radius: 2px; overflow: hidden;
  }
  .progress-fill {
    height: 100%; background: var(--delinea); width: 0%;
    transition: width 0.4s ease; border-radius: 2px;
  }

  /* ─── NAV PILLS ─── */
  .nav-pills {
    display: flex; gap: 0; overflow-x: auto;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 0 2rem;
  }
  .nav-pill {
    font-size: 13px; font-weight: 600;  text-transform: uppercase;
    color: var(--text-dim); cursor: pointer;
    padding: 14px 20px; border: none; background: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s; white-space: nowrap;
  }
  .nav-pill:hover { color: var(--text); }
  .nav-pill.active { color: var(--accent); border-bottom-color: var(--accent); }

  /* ─── SECTIONS ─── */
  .section { display: none; animation: fadeIn 0.4s ease; }
  .section.active { display: block; }
  @keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

  /* ─── HERO ─── */
  .hero {
    position: relative; overflow: hidden;
    padding: 80px 2rem 70px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,153,230,0.08) 0%, transparent 70%);
  }
  .hero-grid-lines {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(0,153,230,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,153,230,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .hero-inner { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
  .hero-eyebrow {
    font-size: 11px; color: var(--delinea);  text-transform: uppercase;
    margin-bottom: 18px;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .hero-eyebrow::before, .hero-eyebrow::after {
    content: ''; display: inline-block; width: 30px; height: 1px; background: var(--delinea); opacity: 0.5;
  }
  .hero h1 {
    font-size: clamp(38px, 6vw, 68px); font-weight: 900;
    line-height: 1; 
    color: #fff; margin-bottom: 16px;
  }
  .hero h1 em { font-style: normal; color: var(--delinea); }
  .hero-sub {
    font-size: 16px; color: var(--text-dim); max-width: 600px; margin: 0 auto 32px;
  }
  .hero-stats {
    display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; margin-top: 40px;
  }
  .stat-chip {
    background: rgba(255,61,90,0.1); border: 1px solid rgba(255,61,90,0.2);
    border-radius: 4px; padding: 8px 16px;
    font-size: 12px;
    color: var(--accent2);
  }

  /* ─── CONTENT WRAP ─── */
  .content-wrap { max-width: 1200px; margin: 0 auto; padding: 50px 2rem; }

  /* ─── SECTION HEADINGS ─── */
  .section-tag {
    font-size: 10px;
    color: var(--delinea); text-transform: uppercase;
    margin-bottom: 8px; display: block;
  }
  h2 {
    font-size: clamp(26px, 4vw, 40px); font-weight: 800;
    color: #fff; line-height: 1.05; margin-bottom: 8px;
  }
  h3 {
    font-size: 20px; font-weight: 700; color: #fff;
    margin-bottom: 10px;
  }
  .lead { font-size: 16px; color: var(--text-dim); margin-bottom: 40px; max-width: 720px; }

  /* ─── TWO-COLUMN INTRO ─── */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
  @media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

  .card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 28px;
  }
  .card.consumer { border-top: 3px solid var(--accent2); }
  .card.enterprise { border-top: 3px solid var(--green); }

  .card-label {
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
  }
  .label-dot { width: 8px; height: 8px; border-radius: 50%; }
  .label-dot.red { background: var(--accent2); }
  .label-dot.green { background: var(--green); }

  .tool-list { list-style: none; margin-top: 14px; }
  .tool-list li {
    padding: 6px 0; border-bottom: 1px solid var(--border);
    font-size: 14px; color: var(--text);
    display: flex; align-items: center; gap: 10px;
  }
  .tool-list li::before { content: '→'; color: var(--muted); font-size: 12px; }

  /* ─── GAP GRID ─── */
  .gap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 30px 0 50px; }

  .gap-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: 24px; position: relative; overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
  }
  .gap-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
  .gap-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent2), transparent);
  }
  .gap-icon {
    font-size: 28px; margin-bottom: 12px;
    display: block;
  }
  .gap-title {
    font-size: 17px; font-weight: 700; color: #fff;
    margin-bottom: 8px;
  }
  .gap-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; }
  .gap-risk {
    margin-top: 12px; padding: 6px 10px;
    background: rgba(255,61,90,0.08); border: 1px solid rgba(255,61,90,0.2);
    border-radius: 4px;
    font-size: 11px; color: var(--accent2);
  }

  /* ─── RISK PANEL ─── */
  .risk-panel {
    background: var(--surface); border: 1px solid rgba(255,61,90,0.3);
    border-radius: 8px; padding: 32px; margin: 40px 0;
    position: relative; overflow: hidden;
  }
  .risk-panel::before {
    content: '⚠'; position: absolute; right: 30px; top: 20px;
    font-size: 80px; opacity: 0.05; line-height: 1;
  }
  .risk-panel h3 { color: var(--accent2); margin-bottom: 16px; }
  .risk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  @media (max-width: 600px) { .risk-list { grid-template-columns: 1fr; } }
  .risk-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 14px; background: rgba(255,61,90,0.05);
    border: 1px solid rgba(255,61,90,0.12); border-radius: 4px;
    font-size: 13px; color: var(--text);
  }
  .risk-item span:first-child { color: var(--accent2); flex-shrink: 0; }

  /* ─── COMPLIANCE BADGES ─── */
  .compliance-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 30px; }
  .comp-badge {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 4px; padding: 6px 14px;
    font-size: 12px;
    color: var(--gold);
    display: flex; align-items: center; gap: 6px;
  }
  .comp-badge::before { content: '✦'; font-size: 10px; }

  /* ─── COMPARISON TABLE ─── */
  .table-controls {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
  }
  .filter-btn {
    font-size: 11px;
    padding: 6px 14px; border-radius: 4px; cursor: pointer;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text-dim); transition: all 0.2s; 
  }
  .filter-btn:hover { border-color: var(--accent); color: var(--accent); }
  .filter-btn.active { background: var(--delinea); border-color: var(--delinea); color: #fff; }

  .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }

  .pam-training-guide-4 table { width: 100%; border-collapse: collapse; min-width: 1100px; }
  thead { position: sticky; top: 60px; z-index: 1; }
  thead tr { background: var(--surface2); }
  th {
    padding: 12px 10px; text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-dim); border-bottom: 1px solid var(--border);
    white-space: nowrap;
  }
  th:first-child { text-align: left; padding-left: 16px; }
  th:last-child { min-width: 160px; }

  .th-delinea {
    background: var(--delinea-glow);
    color: var(--delinea) !important;
    border-bottom: 2px solid var(--delinea) !important;
  }
  .th-feature { color: var(--text-dim) !important; }

  tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
  }
  tbody tr:hover { background: #1f1232; }
  tbody tr.delinea-row {
    background: var(--delinea-glow);
    border-bottom: 2px solid var(--delinea);
  }
  tbody tr.delinea-row:hover { background: #2a1647; }

  td {
    padding: 11px 10px; text-align: center;
    font-size: 13px; color: var(--text);
    vertical-align: middle;
  }
  td:first-child { text-align: left; padding-left: 16px; }

  .tool-name {
    font-size: 15px; font-weight: 700; color: #fff;
  }
  .tool-type {
    font-size: 9px;
    text-transform: uppercase;
    padding: 2px 7px; border-radius: 3px; display: inline-block; margin-top: 3px;
  }
  .type-consumer { background: rgba(255,77,109,0.15); color: var(--accent2); }
  .type-browser { background: rgba(255,165,0,0.12); color: var(--gold); }
  .type-open { background: rgba(100,100,200,0.15); color: #d5dcf8; }
  .type-enterprise-pm { background: rgba(0,198,138,0.12); color: #88ffcc; }
  .type-pam { background: #1f1232; color: var(--delinea); border: 1px solid #3a1c63; white-space: normal; line-height: 1.3; max-width: 160px; text-align: center; }

  .yes { color: var(--green); font-size: 16px; }
  .no { color: var(--red); font-size: 16px; }
  .partial { color: var(--gold); font-size: 13px;  }
  .na { color: var(--muted); font-size: 12px; }

  .delinea-cell {
    color: var(--delinea); font-size: 18px;
    text-shadow: 0 0 10px rgba(0,153,230,0.4);
  }

  .advantage-cell {
    text-align: left !important; padding: 10px 14px 10px 10px;
    font-size: 12px; color: var(--text-dim); line-height: 1.4;
    max-width: 220px;
  }
  .delinea-row .advantage-cell { color: var(--delinea); font-weight: 500; }

  .delinea-row .tool-name { color: var(--delinea); }

  /* hidden row */
  tr.hidden-row { display: none; }

  /* ─── ADVANTAGES SECTION ─── */
  .adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 30px 0; }

  .adv-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: 24px; position: relative; overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
  }
  .adv-card:hover { border-color: var(--delinea); transform: translateY(-2px); }
  .adv-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--delinea), transparent);
  }
  .adv-num {
    font-size: 10px;
    color: var(--delinea); margin-bottom: 10px;
  }
  .adv-title {
    font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px;
  }
  .adv-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

  /* ─── RECOMMENDATION BOX ─── */
  .rec-box {
    background: var(--surface); border: 1px solid var(--delinea);
    border-radius: 8px; padding: 36px; margin: 40px 0;
    position: relative; overflow: hidden;
  }
  .rec-box::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, #68489569 0%, transparent 70%);
  }
  .rec-box-inner { position: relative; }
  .rec-box h3 { font-size: 26px; color: var(--delinea); margin-bottom: 14px; }
  .rec-box p { color: var(--text-dim); font-size: 15px; max-width: 700px; }
  .rec-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
  .rec-step {
    background: #23133a; border: 1px solid #3a1c63;
    border-radius: 6px; padding: 14px;
  }
  .rec-step-num {
    font-size: 22px; font-weight: 600;
    color: var(--delinea); opacity: 0.4; line-height: 1;
  }
  .rec-step-text { font-size: 13px; color: var(--text); margin-top: 4px; line-height: 1.5; }

  /* ─── SUMMARY TABLE ─── */
  .summary-table { margin: 30px 0; }
  .sum-row {
    display: grid; grid-template-columns: 200px 1fr 1fr;
    border-bottom: 1px solid var(--border); align-items: center;
  }
  .sum-row.header-row {
    background: var(--surface2); border-radius: 4px 4px 0 0;
    padding: 10px 0;
     font-size: 10px; color: var(--text-dim);
     text-transform: uppercase;
  }
  .sum-cell { padding: 12px 16px; font-size: 14px; }
  .sum-cell.feature { color: var(--text); font-weight: 500; }
  .sum-cell.consumer-col { color: var(--accent2); font-size: 13px; }
  .sum-cell.delinea-col { color: var(--green); font-size: 13px; }
  .sum-row:last-child { border-bottom: none; }

  /* ─── CTA ─── */
  .cta-bar {
    background: var(--surface); border-top: 1px solid var(--delinea);
    padding: 28px 2rem;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  }
  .cta-text h4 {
    font-size: 20px; font-weight: 700; color: #fff;
  }
  .cta-text p { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
  .cta-btn {
    background: var(--delinea); color: #fff;
    border: none; cursor: pointer; border-radius: 4px;
    padding: 11px 24px;
    font-size: 15px; font-weight: 700;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    display: inline-block; text-decoration: none;
  }
  .cta-btn:hover { background: #883cf050; transform: translateY(-1px); }

  /* ─── FOOTER ─── */
  .pam-training-guide-4 footer {
    background: var(--surface); border-top: 1px solid var(--border);
    padding: 24px 2rem; text-align: center;
    font-size: 11px; color: var(--text-dim);
  }

  /* ─── TOOLTIP ─── */
  [data-tip] { position: relative; cursor: help; }
  [data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    background: #1f1232; border: 1px solid var(--border);
    color: var(--text); font-size: 12px; white-space: nowrap;
    padding: 5px 10px; border-radius: 4px; z-index: 1;
    font-weight: 400;
    pointer-events: none; margin-bottom: 5px;
  }

  /* ─── SCROLL REVEAL ─── */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* divider */
  .divider { border: none; border-top: 1px solid var(--border); margin: 50px 0; }