  :root {
    --bg: #191127;
    --surface: #23133a;
    --surface2: #1f1232;
    --accent: #883CF0;
    --accent2: #7c3aed;
    --accent3: #b29dce;
    --text: #e8f4f8;
    --muted: #d6d6d6;
    --border: #3a1c63;
    --glow: 0 0 30px rgba(115, 0, 255, 0.25);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    overflow-x: hidden;
    cursor: crosshair;
  }

  /* GRID BACKGROUND */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(149, 0, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(149, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
  }

  /* SCANLINE OVERLAY */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    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;
    z-index: 1;
  }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #180f26;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .nav-logo span { color: var(--accent2); }

  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  .nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .nav-cta:hover { background: var(--accent); color: var(--bg); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 80px;
    gap: 4rem;
  }

  .hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--accent3);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--accent3);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
  }

  .hero h1 .line-accent { color: var(--accent); display: block; }
  .hero h1 .line-dim { color: var(--muted); font-weight: 400; display: block; font-size: 0.55em; font-family: 'Space Mono', monospace; margin-top: 0.5rem; }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #e5eaeb;
    max-width: 480px;
    margin-bottom: 2.5rem;
  }

  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 0.9rem 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .btn-primary:hover { background: var(--accent3); transform: translateY(-2px); }

  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.9rem 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  /* RADAR VISUAL */
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .radar-wrap {
    position: relative;
    width: 380px;
    height: 380px;
  }

  .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: 380px; height: 380px; }
  .radar-ring:nth-child(2) { width: 280px; height: 280px; border-color: #451c63e3; }
  .radar-ring:nth-child(3) { width: 180px; height: 180px; border-color: #451c63ba; }
  .radar-ring:nth-child(4) { width: 80px; height: 80px; background: #451c6348; border-color: #3a1c63; }

  .radar-sweep {
    position: absolute;
    width: 190px;
    height: 190px;
    top: 50%; left: 50%;
    transform-origin: 0 0;
    animation: sweep 4s linear infinite;
  }
  .radar-sweep::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 190px; height: 190px;
    border-radius: 0 100% 0 0;
    background: conic-gradient(from 270deg, rgba(128, 0, 255, 0.35) 0deg, transparent 70deg);
  }

  @keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

  .radar-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent2);
    box-shadow: 0 0 10px var(--accent2);
    animation: blink 2s ease-in-out infinite;
  }
  .radar-dot:nth-child(6) { top: 28%; left: 62%; animation-delay: 0.3s; }
  .radar-dot:nth-child(7) { top: 55%; left: 75%; animation-delay: 0.9s; background: var(--accent3); box-shadow: 0 0 10px var(--accent3); }
  .radar-dot:nth-child(8) { top: 70%; left: 40%; animation-delay: 1.5s; }
  .radar-dot:nth-child(9) { top: 35%; left: 35%; animation-delay: 0.6s; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

  @keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.6); }
  }

  .radar-cross {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 380px; height: 380px;
  }
  .radar-cross::before, .radar-cross::after {
    content: '';
    position: absolute;
    background: rgba(166, 0, 255, 0.1);
  }
  .radar-cross::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
  .radar-cross::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }

  /* ── STATS BAR ── */
  .stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 6rem;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 1.5rem 2rem;
    border-right: 1px solid var(--border);
    text-align: center;
  }
  .stat-item:last-child { border-right: none; }

  .stat-num {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .stat-num .unit { font-size: 1rem; color: var(--muted); }

  .stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
  }

  /* ── SECTION TITLES ── */
  .section { margin-bottom: 7rem; }

  .section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--accent2);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .section-title em { color: var(--accent); font-style: normal; }

  .section-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 3rem;
  }

  /* ── PAM ASPECTS — TERMINAL CARDS ── */
  .aspects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .aspect-card {
    background: var(--surface);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: default;
  }

  .aspect-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .aspect-card:hover { background: var(--surface2); }
  .aspect-card:hover::before { transform: scaleX(1); }

  .aspect-num {
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #2a1647c2;
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s;
  }

  .aspect-card:hover .aspect-num { color: #2a1647e7; }

  .aspect-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
  }

  .aspect-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: 0.03em;
  }

  .aspect-desc {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
  }

  /* ── 7 PRACTICES — ACCORDION ── */
  .practices-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
  }

  .practices-sidebar {
    position: sticky;
    top: 100px;
  }

  .practice-item {
    border: 1px solid var(--border);
    margin-bottom: -1px;
    overflow: hidden;
  }

  .practice-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
  }

  .practice-btn:hover { background: #1f1232; }

  .practice-btn.active { background: #1f1232; }

  .practice-btn-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .practice-index {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--accent);
    width: 24px;
    flex-shrink: 0;
  }

  .practice-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
  }

  .practice-arrow {
    font-size: 0.7rem;
    color: var(--muted);
    transition: transform 0.3s;
    flex-shrink: 0;
  }

  .practice-btn.active .practice-arrow { transform: rotate(90deg); color: var(--accent); }

  .practice-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .practice-body.open { max-height: 200px; }

  .practice-body-inner {
    padding: 0 1.5rem 1.5rem 3.5rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
  }

  /* DETAIL PANEL */
  .detail-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    position: sticky;
    top: 100px;
    min-height: 300px;
  }

  .detail-panel-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--accent3);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .detail-panel-tag::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--accent3);
    border-radius: 50%;
    animation: blink 1.5s infinite;
  }

  .detail-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.2;
  }

  .detail-content {
    font-size: 0.9rem;
    color: #8aacb8;
    line-height: 1.8;
  }

  .detail-badge {
    display: inline-block;
    background: #2a1647;
    border: 1px solid #3a1c63;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }

  .detail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--muted);
    font-size: 0.8rem;
    font-family: 'Space Mono', monospace;
    text-align: center;
    gap: 1rem;
  }

  .detail-placeholder .big-icon { font-size: 3rem; opacity: 0.3; }

  /* ── SESSION MONITORING ── */
  .monitoring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .monitoring-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
  }

  .terminal-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .dot-r { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
  .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #febc2e; }
  .dot-g { width: 10px; height: 10px; border-radius: 50%; background: var(--accent3); }

  .terminal-title {
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-left: auto;
  }

  .log-line {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,229,255,0.04);
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    opacity: 0;
    animation: fadeInLine 0.4s forwards;
  }

  .log-line:nth-child(2) { animation-delay: 0.2s; }
  .log-line:nth-child(3) { animation-delay: 0.5s; }
  .log-line:nth-child(4) { animation-delay: 0.8s; }
  .log-line:nth-child(5) { animation-delay: 1.1s; }
  .log-line:nth-child(6) { animation-delay: 1.4s; }
  .log-line:nth-child(7) { animation-delay: 1.7s; }

  @keyframes fadeInLine {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .log-time { color: var(--muted); flex-shrink: 0; }
  .log-event { color: var(--text); flex: 1; }
  .log-status { flex-shrink: 0; }
  .log-ok { color: var(--accent3); }
  .log-warn { color: #febc2e; }
  .log-danger { color: var(--accent2); }
  .log-info { color: var(--accent); }

  .monitoring-checklist { display: flex; flex-direction: column; gap: 1rem; }

  .check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
  }

  .check-item:hover { border-color: #5e309d; }

  .check-icon {
    width: 32px; height: 32px;
    border-radius: 4px;
    background: #2a1647;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .check-text h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.25rem; }
  .check-text p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

  /* ── THREAT MATRIX ── */
  .matrix-section {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    margin-bottom: 7rem;
  }

  .matrix-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .matrix-title {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .matrix-live {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--accent3);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .matrix-live::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent3);
    animation: blink 1s infinite;
  }

  .threat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }

  .threat-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    padding: 0.5rem;
  }

  .threat-cell:hover { transform: scale(1.08); filter: brightness(1.3); }

  .threat-cell .cell-icon { font-size: 1.4rem; }
  .threat-cell .cell-label { color: rgba(255,255,255,0.6); font-size: 0.55rem; line-height: 1.3; }

  .tc-safe { background: rgba(57,255,20,0.1); border: 1px solid rgba(57,255,20,0.2); color: var(--accent3); }
  .tc-low { background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.2); color: var(--accent); }
  .tc-med { background: rgba(254,188,46,0.1); border: 1px solid rgba(254,188,46,0.2); color: #febc2e; }
  .tc-high { background: rgba(255,61,113,0.1); border: 1px solid rgba(255,61,113,0.2); color: var(--accent2); }
  .tc-crit { background: rgba(255,61,113,0.2); border: 1px solid rgba(255,61,113,0.5); color: var(--accent2); animation: pulse-cell 1.5s infinite; }

  @keyframes pulse-cell {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,61,113,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(255,61,113,0); }
  }

  /* ── CONTACT ── */
  .contact-section {
    border-top: 1px solid var(--border);
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .contact-heading { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; }
  .contact-heading em { color: var(--accent); font-style: normal; display: block; }

  .contact-sub {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1.5rem;
    max-width: 420px;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.2s;
    text-decoration: none;
  }

  .contact-item:hover { border-color: #5e309d; }

  .contact-item-icon {
    width: 44px; height: 44px;
    background: #23133a;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .contact-item-text .label {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
  }

  .contact-item-text .value {
    font-size: 0.9rem;
    color: var(--text);
  }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.08em;
  }

  footer a { color: var(--accent); text-decoration: none; }

  /* ── ANIMATIONS ── */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 100px; }
    .radar-wrap { width: 280px; height: 280px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .aspects-grid { grid-template-columns: 1fr 1fr; }
    .practices-layout { grid-template-columns: 1fr; }
    .monitoring-grid { grid-template-columns: 1fr; }
    .threat-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-section { grid-template-columns: 1fr; gap: 3rem; }
    .nav-links { display: none; }
  }