  :root {
    --bg: #191127;
    --panel: #23133a;
    --accent: #883CF0;
    --accent2: #7c3aed;
    --accent3: #7b61ff;
    --text: #c8d8f0;
    --muted: #d6d6d6;
    --border: #3a1c63;
    --glow: 0 0 20px rgba(127, 0, 245, 0.3);
    --glow2: 0 0 20px rgba(213, 77, 255, 0.3);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Mono', monospace;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  .cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    transition: transform 0.1s, background 0.2s;
    mix-blend-mode: screen;
  }
  .cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%,-50%);
    transition: transform 0.15s ease, width 0.2s, height 0.2s, opacity 0.2s;
    opacity: 0.5;
  }

  /* Grid BG */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(155, 0, 245, 0.043) 1px, transparent 1px),
      linear-gradient(90deg, rgba(151, 0, 245, 0.054) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    overflow: hidden;
    z-index: 1;
  }

  .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 6s ease-in-out infinite;
  }
  .orb1 { width:500px;height:500px;background:rgba(131, 0, 245, 0.07);top:-100px;right:-100px; }
  .orb2 { width:400px;height:400px;background:rgba(176, 97, 255, 0.07);bottom:-100px;left:-50px;animation-delay:-3s; }

  @keyframes pulse {
    0%,100%{transform:scale(1);opacity:0.6}
    50%{transform:scale(1.1);opacity:1}
  }

  .badge {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 18px;
    margin-bottom: 30px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
  }

  .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 7vw, 88px);
    font-weight: 900;
    line-height: 0.95;
    text-align: center;
    animation: fadeUp 1s 0.2s ease forwards;
    opacity: 0;
  }

  .hero-title .line1 { display:block; color: var(--text); }
  .hero-title .line2 { display:block; color: var(--accent); text-shadow: var(--glow); }

  .hero-sub {
    margin-top: 28px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    max-width: 520px;
    line-height: 1.9;
    animation: fadeUp 1s 0.4s ease forwards;
    opacity: 0;
  }

  .hero-metrics {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    animation: fadeUp 1s 0.6s ease forwards;
    opacity: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .metric {
    text-align: center;
  }
  .metric-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    text-shadow: var(--glow);
    display: block;
  }
  .metric-label {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
    margin-top: 4px;
    display: block;
  }

  .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite, fadeUp 1s 1s forwards;
    opacity: 0;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 3px;
    text-align: center;
  }
  .scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    margin: 8px auto 0;
  }
  @keyframes bounce {
    0%,100%{transform:translateX(-50%) translateY(0)}
    50%{transform:translateX(-50%) translateY(8px)}
  }

  @keyframes fadeUp {
    from{opacity:0;transform:translateY(30px)}
    to{opacity:1;transform:translateY(0)}
  }

  /* SECTION BASE */
  section {
    position: relative;
    z-index: 1;
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 9px;
    letter-spacing: 5px;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-label::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
  }

  .section-title span { color: var(--accent); }

  /* THREAT LANDSCAPE - horizontal scroll cards */
  .threats-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    margin-top: 50px;
  }
  .threats-strip::-webkit-scrollbar { display: none; }

  .threat-card {
    flex: 0 0 280px;
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 28px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s;
  }
  .threat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1f1232, transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .threat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--glow);
  }
  .threat-card:hover::before { opacity: 1; }

  .threat-icon {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .threat-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
  }
  .threat-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.8;
  }
  .threat-severity {
    margin-top: 20px;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--accent2);
  }
  .threat-bar {
    height: 2px;
    background: #282035;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
  }
  .threat-bar-fill {
    position: absolute;
    left: 0; top: 0; height: 100%;
    background: var(--accent2);
    box-shadow: 0 0 10px var(--accent2);
    animation: barFill 2s ease forwards;
  }
  @keyframes barFill {
    from{width:0}
  }

  /* PAM PILLARS - hexagon layout */
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    margin-top: 50px;
    background: var(--border);
  }

  .pillar {
    background: var(--bg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: pointer;
  }
  .pillar:hover {
    background: var(--panel);
  }
  .pillar-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 60px;
    font-weight: 900;
    color: #d380e312;
    position: absolute;
    top: 10px;
    right: 16px;
    line-height: 1;
    transition: color 0.3s;
  }
  .pillar:hover .pillar-num { color: #d280e36f; }
  .pillar-icon { font-size: 28px; margin-bottom: 16px; }
  .pillar-title {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
  }
  .pillar-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.9;
  }
  .pillar-tag {
    display: inline-block;
    margin-top: 16px;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
  }

  /* INTERACTIVE TERMINAL */
  .terminal-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
  }

  .terminal-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
    margin-top: 50px;
  }

  @media(max-width:768px){ .terminal-wrap{ grid-template-columns:1fr; } }

  .term-controls {
    background: var(--panel);
    padding: 32px;
  }

  .control-group {
    margin-bottom: 24px;
  }
  .control-label {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
  }
  .control-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ctrl-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--muted);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
  }
  .ctrl-btn:hover, .ctrl-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: #1f1232;
    box-shadow: var(--glow);
  }

  .term-output {
    background: #0f0818;
    padding: 32px;
    font-size: 12px;
    line-height: 2;
    min-height: 400px;
    overflow-y: auto;
    border-left: 1px solid var(--border);
  }
  .term-line { animation: termType 0.1s ease forwards; }
  .t-green { color: var(--accent); }
  .t-red { color: var(--accent2); }
  .t-yellow { color: #f9c74f; }
  .t-muted { color: var(--muted); }
  .t-white { color: #e8f0ff; }
  .t-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
  }
  @keyframes blink { 50%{opacity:0} }

  /* COMPLIANCE RADAR */
  .compliance-section {
    background: var(--panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .compliance-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  @media(max-width:768px){ .compliance-inner{ grid-template-columns:1fr; } }

  .compliance-items { margin-top: 30px; }
  .comp-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #3a1c63;
    cursor: pointer;
    transition: padding-left 0.3s;
  }
  .comp-item:hover { padding-left: 8px; }
  .comp-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .comp-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    color: var(--text);
    flex: 1;
    letter-spacing: 1px;
  }
  .comp-status {
    font-size: 9px;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 0;
  }
  .status-ok { color: var(--accent); border: 1px solid var(--accent); }
  .status-warn { color: var(--accent2); border: 1px solid var(--accent2); }

  /* SVG RADAR CHART */
  .radar-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* BEST PRACTICES - timeline */
  .timeline {
    position: relative;
    margin-top: 60px;
    padding-left: 40px;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
  }

  .tl-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s, transform 0.6s;
  }
  .tl-item.visible { opacity: 1; transform: translateX(0); }
  .tl-dot {
    position: absolute;
    left: -46px; top: 4px;
    width: 12px; height: 12px;
    border: 2px solid var(--accent);
    background: var(--bg);
    transform: rotate(45deg);
    box-shadow: var(--glow);
  }
  .tl-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 6px;
  }
  .tl-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
  }
  .tl-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.9;
    max-width: 600px;
  }

  /* FOOTER CTA */
  .cta-section {
    position: relative;
    overflow: hidden;
    padding: 120px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
  }
  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(127, 0, 245, 0.06) 0%, transparent 70%);
  }

  .cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(24px, 5vw, 56px);
    font-weight: 900;
    color: var(--text);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
  }
  .cta-title span { color: var(--accent); text-shadow: var(--glow); }

  .cta-sub {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
  }

  .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .btn-primary {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    padding: 16px 36px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .btn-primary:hover::after { opacity: 0.15; }
  .btn-primary:hover { box-shadow: var(--glow), 0 0 40px rgba(159, 0, 245, 0.4); }

  .btn-ghost {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    padding: 16px 36px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--muted);
    cursor: pointer;
    transition: all 0.3s;
  }
  .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #180f26;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-shadow: var(--glow);
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  @media(max-width:600px){ .nav-links{display:none} }

  .nav-links a {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  .nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--accent);
  }
  .status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: statusPulse 2s ease-in-out infinite;
  }
  @keyframes statusPulse {
    0%,100%{box-shadow:0 0 0 0 rgba(0,245,196,0.4)}
    50%{box-shadow:0 0 0 6px rgba(0,245,196,0)}
  }

  /* CREDENTIAL TYPES */
  .cred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--border);
    margin-top: 50px;
  }

  .cred-item {
    background: var(--bg);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .cred-item:hover { background: var(--panel); }
  .cred-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.4s;
  }
  .cred-item:hover::after { width: 100%; }

  .cred-icon {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .cred-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 8px;
  }
  .cred-desc {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
  }

  /* FLOATING PARTICLES */
  .particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  .particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float linear infinite;
  }
  @keyframes float {
    0%{opacity:0;transform:translateY(0) translateX(0)}
    10%{opacity:0.6}
    90%{opacity:0.2}
    100%{opacity:0;transform:translateY(-100vh) translateX(20px)}
  }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 4px; height: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--muted); }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

  .divider {
    height: 1px;
    background: var(--border);
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Animated counter */
  .count-up { display: inline; }