  :root {
    --green: #7c3aed;
    --cyan: #883CF0;
    --red: #af62c8;
    --orange: #d279f0;
    --dim: #180f26;
    --mid: #1f1232;
    --panel: rgba(0,229,255,0.04);
    --border: #3a1c63;
    --text: #c8e8f0;
    --muted: #d6d6d6;
  }

  * { margin:0; padding:0; box-sizing:border-box; }
  
  html { scroll-behavior: smooth; }

  body {
    background: #191127;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    cursor: crosshair;
  }

  /* ---- GRID BACKGROUND ---- */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image:
      linear-gradient(#7300ff13 1px, transparent 1px),
      linear-gradient(90deg, #7300ff13 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  /* ---- SCANLINE OVERLAY ---- */
  body::after {
    content: '';
    position: fixed; inset: 0; z-index: 1;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.08) 2px,
      rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
  }

  /* ---- WRAPPER ---- */
  .page { position: relative; z-index: 2; }

  /* ============ NAV ============ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 40px;
    background: #180f26;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 13px; font-weight: 700;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
  }
  .nav-logo span { color: var(--green); }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px; color: var(--muted);
    text-decoration: none; letter-spacing: 2px;
    text-transform: uppercase;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--cyan); }
  .nav-status {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px; color: var(--green);
  }
  .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    animation: pulse 1.5s infinite;
  }
  @keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.3; transform:scale(1.5); }
  }

  /* ============ HERO ============ */
  #hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 100px 60px 60px;
    position: relative; overflow: hidden;
  }
  .hero-left { flex: 1; max-width: 620px; }
  .hero-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px; letter-spacing: 4px;
    color: var(--orange); text-transform: uppercase;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
  }
  .hero-tag::before {
    content: ''; width: 24px; height: 1px;
    background: var(--orange);
  }
  h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900; line-height: 1;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
  }
  h1 em {
    display: block; font-style: normal;
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(136, 0, 255, 0.5);
  }
  .hero-sub {
    font-size: 17px; font-weight: 300;
    color: var(--muted); line-height: 1.7;
    margin: 24px 0 40px;
    max-width: 480px;
  }
  .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn {
    padding: 13px 32px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; text-decoration: none;
    border: none; cursor: pointer;
    transition: all .25s;
  }
  .btn-primary {
    background: var(--cyan); color: #040d18;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  }
  .btn-primary:hover {
    background: var(--green);
    box-shadow: 0 0 24px rgba(174, 0, 255, 0.4);
  }
  .btn-ghost {
    background: transparent; color: var(--cyan);
    border: 1px solid var(--border);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  }
  .btn-ghost:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 16px rgba(166, 0, 255, 0.2);
    color: #fff;
  }

  /* --- HERO RIGHT: RADAR --- */
  .hero-right {
    flex: 1; display: flex; align-items: center; justify-content: center;
    position: relative; min-height: 420px;
  }
  .radar-container {
    position: relative; width: 360px; height: 360px;
  }
  .radar-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid #3a1c63;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
  }
  .radar-ring:nth-child(1) { width:100%; height:100%; }
  .radar-ring:nth-child(2) { width:75%; height:75%; }
  .radar-ring:nth-child(3) { width:50%; height:50%; }
  .radar-ring:nth-child(4) { width:25%; height:25%; }
  .radar-cross {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .radar-cross::before, .radar-cross::after {
    content: ''; position: absolute;
    background: #2a164784;
  }
  .radar-cross::before { width: 100%; height: 1px; }
  .radar-cross::after { width: 1px; height: 100%; }

  .radar-sweep {
    position: absolute; inset: 0; border-radius: 50%;
    overflow: hidden;
  }
  .radar-sweep::after {
    content: '';
    position: absolute;
    width: 50%; height: 50%;
    bottom: 50%; right: 50%;
    transform-origin: 100% 100%;
    background: conic-gradient(
      from 0deg,
      transparent 80%,
      rgba(115, 0, 255, 0.06) 95%,
      rgba(132, 0, 255, 0.3) 100%
    );
    animation: sweep 3s linear infinite;
  }
  @keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .radar-blip {
    position: absolute; border-radius: 50%;
    width: 8px; height: 8px;
    transform: translate(-50%,-50%);
    animation: blip 3s ease-in-out infinite;
  }
  .blip-red { background: var(--red); box-shadow: 0 0 12px var(--red); animation-delay: .8s; }
  .blip-orange { background: var(--orange); box-shadow: 0 0 12px var(--orange); animation-delay: 1.6s; }
  .blip-green { background: var(--green); box-shadow: 0 0 12px var(--green); animation-delay: .3s; }
  @keyframes blip {
    0%,100% { opacity:1; }
    50% { opacity:.2; }
  }

  .radar-label {
    position: absolute; bottom: -44px; left: 50%;
    transform: translateX(-50%);
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 3px; color: var(--muted);
    text-transform: uppercase;
  }

  /* ---- STAT STRIP ---- */
  .stat-strip {
    display: flex; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-item {
    flex: 1; padding: 28px 40px;
    border-right: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  .stat-item:last-child { border-right: none; }
  .stat-item::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform: scaleX(0);
    transition: transform .4s;
  }
  .stat-item:hover::before { transform: scaleX(1); }
  .stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 38px; font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(128, 0, 255, 0.4);
  }
  .stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px; letter-spacing: 2px;
    color: var(--muted); margin-top: 4px;
    text-transform: uppercase;
  }

  /* ============ SECTIONS ============ */
  section { padding: 80px 60px; }
  .section-header {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 50px;
  }
  .section-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 4px;
    color: var(--orange); text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
  }
  .section-tag::before {
    content: '['; color: var(--muted);
  }
  .section-tag::after {
    content: ']'; color: var(--muted);
  }
  .section-line { flex: 1; height: 1px; background: var(--border); }
  h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700; color: #fff;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  /* ============ PAM PILLARS ============ */
  #pillars { background: var(--dim); }
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
  }
  .pillar-card {
    background: #23133a;
    padding: 36px 32px;
    position: relative;
    cursor: pointer;
    transition: background .3s;
    overflow: hidden;
  }
  .pillar-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent, var(--cyan));
    transform: scaleX(0);
    transition: transform .35s;
    transform-origin: left;
  }
  .pillar-card:hover { background: var(--mid); }
  .pillar-card:hover::before { transform: scaleX(1); }
  .pillar-card.active {
    background: rgba(157, 0, 255, 0.05);
  }
  .pillar-card.active::before { transform: scaleX(1); }
  .pillar-icon {
    font-size: 32px; margin-bottom: 16px;
    filter: drop-shadow(0 0 8px currentColor);
  }
  .pillar-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px; font-weight: 700;
    color: #fff; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 10px;
  }
  .pillar-desc {
    font-size: 14px; color: var(--muted); line-height: 1.6;
  }
  .pillar-num {
    position: absolute; bottom: 20px; right: 24px;
    font-family: 'Orbitron', monospace;
    font-size: 40px; font-weight: 900;
    color: #432b66;
    line-height: 1;
    transition: color .3s;
  }
  .pillar-card:hover .pillar-num { color: #563f77; }

  /* ============ ACCESS SIMULATOR ============ */
  #simulator { background: #191127; }
  .sim-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px; background: var(--border);
    border: 1px solid var(--border);
  }
  .sim-panel {
    background: #23133a;
    padding: 32px;
  }
  .sim-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px; letter-spacing: 3px;
    color: var(--orange); text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }

  /* Access Form */
  .form-group { margin-bottom: 18px; }
  .form-label {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 2px;
    color: var(--muted); text-transform: uppercase;
    margin-bottom: 6px;
  }
  .form-control {
    width: 100%; padding: 10px 14px;
    background: #1f1232;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px rgba(119, 0, 255, 0.1);
  }
  select.form-control option { background: #1f12325c; }
  
  .btn-sim {
    width: 100%; padding: 14px;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px; letter-spacing: 3px;
    text-transform: uppercase; cursor: pointer;
    transition: all .25s;
    margin-top: 8px;
  }
  .btn-sim:hover {
    background: var(--cyan); color: #040d18;
    box-shadow: 0 0 20px rgba(200, 0, 255, 0.3);
  }

  /* Log Panel */
  .log-terminal {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    min-height: 300px;
    background: rgba(0,0,0,.4);
    border: 1px solid var(--border);
    padding: 16px;
    overflow-y: auto;
    max-height: 400px;
    line-height: 1.8;
  }
  .log-line { display: flex; gap: 10px; }
  .log-time { color: var(--muted); white-space: nowrap; }

  .log-info { color: var(--cyan); }
  .log-warn { color: var(--orange); }
  .log-err { color: var(--red); }
  .log-ok { color: var(--green); }

  .access-result {
    margin-top: 20px; padding: 16px 20px;
    border-left: 3px solid transparent;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    display: none;
  }
  .access-result.granted {
    display: block;
    border-color: var(--green);
    background: rgba(0,255,157,.06);
    color: var(--green);
  }
  .access-result.denied {
    display: block;
    border-color: var(--red);
    background: rgba(255,45,85,.06);
    color: var(--red);
  }

  /* ============ THREAT MAP ============ */
  #threats { background: var(--dim); }
  .threat-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
  }
  .threat-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); }
  .threat-item {
    background: #23133a;
    padding: 20px 24px;
    display: flex; align-items: center; gap: 16px;
    cursor: pointer;
    transition: background .2s;
  }
  .threat-item:hover, .threat-item.active { background: var(--mid); }
  .threat-severity {
    width: 10px; height: 10px; border-radius: 50%;
    flex-shrink: 0;
  }
  .sev-critical { background: var(--red); box-shadow: 0 0 8px var(--red); }
  .sev-high { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
  .sev-medium { background: #ffd600; box-shadow: 0 0 8px #ffd600; }
  .sev-low { background: var(--green); box-shadow: 0 0 8px var(--green); }
  .threat-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px; font-weight: 600; color: #fff;
    flex: 1;
  }
  .threat-badge {
    padding: 3px 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 1px;
    text-transform: uppercase;
  }
  .badge-critical { background: rgba(255,45,85,.15); color: var(--red); border: 1px solid rgba(255,45,85,.3); }
  .badge-high { background: rgba(255,107,43,.15); color: var(--orange); border: 1px solid rgba(255,107,43,.3); }
  .badge-medium { background: rgba(255,214,0,.1); color: #ffd600; border: 1px solid rgba(255,214,0,.25); }
  .badge-low { background: rgba(149, 0, 255, 0.1); color: var(--green); border: 1px solid rgba(157, 0, 255, 0.25); }

  .threat-detail {
    background: #1f1232;
    border: 1px solid var(--border);
    padding: 28px;
    min-height: 360px;
    position: sticky; top: 80px;
  }
  .detail-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 3px;
    color: var(--orange); text-transform: uppercase;
    margin-bottom: 12px;
  }
  .detail-title {
    font-family: 'Orbitron', monospace;
    font-size: 16px; font-weight: 700; color: #fff;
    text-transform: uppercase; margin-bottom: 16px;
  }
  .detail-body {
    font-size: 14px; color: var(--muted);
    line-height: 1.7; margin-bottom: 20px;
  }
  .detail-mitigation {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
  }
  .mitigation-line {
    padding: 8px 0;
    border-bottom: 1px solid #3a1c63;
    color: var(--text);
    display: flex; align-items: center; gap: 8px;
  }
  .mitigation-line::before {
    content: '>';
    color: var(--cyan);
  }

  /* ============ ZERO TRUST ============ */
  #zerotrust { background: #191127; }
  .zt-pipeline {
    display: flex; align-items: stretch;
    gap: 0; position: relative;
    overflow-x: auto; padding-bottom: 8px;
  }
  .zt-stage {
    flex: 1; min-width: 160px;
    background: #23133a;
    border: 1px solid var(--border);
    border-right: none;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: background .2s;
  }
  .zt-stage:last-child { border-right: 1px solid var(--border); }
  .zt-stage:hover { background: #1f1232; }
  .zt-stage.active { background: #1f1232; }
  .zt-stage.passed { background: rgba(0,255,157,.04); }
  .zt-stage.failed { background: rgba(255,45,85,.06); }
  .zt-arrow {
    position: absolute; right: -13px; top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 24px;
    z-index: 5;
    display: flex; align-items: center; justify-content: center;
    background: #040d18;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 12px; color: var(--muted);
  }
  .zt-stage.passed .zt-arrow { color: var(--green); border-color: var(--green); }
  .zt-stage.failed .zt-arrow { color: var(--red); border-color: var(--red); }
  .zt-icon { font-size: 28px; margin-bottom: 10px; }
  .zt-stage-name {
    font-family: 'Orbitron', monospace;
    font-size: 11px; font-weight: 700;
    color: #fff; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 6px;
  }
  .zt-stage-desc {
    font-size: 12px; color: var(--muted);
    line-height: 1.5;
  }
  .zt-status {
    position: absolute; top: 10px; right: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; letter-spacing: 1px;
    padding: 2px 7px;
  }
  .status-pass { color: var(--green); border: 1px solid rgba(0,255,157,.3); }
  .status-fail { color: var(--red); border: 1px solid rgba(255,45,85,.3); }
  .status-pending { color: var(--muted); border: 1px solid var(--border); }

  .zt-controls { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

  /* ============ ABOUT ============ */
  #about { background: var(--dim); }
  .about-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px; align-items: start;
  }
  .about-card {
    background: #23133a;
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    overflow: hidden;
  }
  .about-card::after {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at top right, #1f1232, transparent 70%);
  }
  .about-avatar-ring {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 20px rgba(144, 0, 255, 0.2);
    font-size: 32px;
  }
  .about-name {
    font-family: 'Orbitron', monospace;
    font-size: 18px; font-weight: 700;
    color: #fff; text-transform: uppercase;
    margin-bottom: 4px;
  }
  .about-role {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px; color: var(--cyan);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 20px;
  }
  .cert-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .cert-badge {
    padding: 4px 10px;
    background: #291a3e;
    border: 1px solid #5e309d;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px; color: var(--cyan);
    letter-spacing: 1px;
  }
  .contact-links { display: flex; flex-direction: column; gap: 8px; }
  .contact-link {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px; color: var(--muted);
    text-decoration: none;
    transition: color .2s;
  }
  .contact-link:hover { color: var(--cyan); }
  .contact-link::before {
    content: '//'; color: var(--orange); font-size: 11px;
  }
  .about-bio {
    font-size: 15px; color: var(--muted); line-height: 1.8;
  }
  .about-bio p { margin-bottom: 16px; }
  .highlight { color: var(--cyan); }

  /* ============ FOOTER ============ */
  footer {
    padding: 32px 60px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px; color: var(--muted);
    letter-spacing: 1px;
  }
  .footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 12px; color: var(--cyan);
    letter-spacing: 3px;
  }

  /* ============ PROGRESS BAR ============ */
  .progress-bar {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: transparent; z-index: 200;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    width: 0%; transition: width .1s;
    box-shadow: 0 0 10px var(--cyan);
  }

  /* ============ TYPING EFFECT ============ */
  .typed::after {
    content: '|'; animation: blink .7s infinite;
    color: var(--cyan);
  }
  @keyframes blink { 50% { opacity: 0; } }

  /* ============ MOBILE ============ */
  @media (max-width: 900px) {
    nav { padding: 12px 20px; }
    .nav-links { display: none; }
    #hero { flex-direction: column; padding: 90px 24px 40px; }
    .hero-right { margin-top: 40px; }
    section { padding: 60px 24px; }
    .stat-strip { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .sim-layout { grid-template-columns: 1fr; }
    .threat-grid { grid-template-columns: 1fr; }
    .threat-detail { position: static; }
    .about-layout { grid-template-columns: 1fr; }
    .zt-pipeline { gap: 8px; }
    .zt-stage { border-right: 1px solid var(--border); }
    .zt-arrow { display: none; }
    footer { flex-direction: column; gap: 12px; text-align: center; }
  }