  :root {
    --bg: #191127;
    --surface: #23133a;
    --border: #3a1c63;
    --green: #883CF0;
    --green-dim: #7c3aed;
    --green-mid: #b29dce;
    --amber: #af62c8;
    --red: #8d52e0d7;
    --text: #c8d8e8;
    --muted: #d6d6d6;
    --white: #f0f8ff;
    --mono: 'Share Tech Mono', monospace;
    --display: 'Bebas Neue', cursive;
    --body: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    overflow-x: hidden;
    cursor: none;
  }

  /* CUSTOM CURSOR */
  #cursor {
    position: fixed; width: 12px; height: 12px;
    background: var(--green); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    transition: transform 0.08s, background 0.2s;
    mix-blend-mode: screen;
  }
  #cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1px solid var(--green); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%,-50%);
    transition: all 0.15s ease;
    opacity: 0.5;
  }

  /* SCANLINES overlay */
  body::before {
    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: 1000;
  }

  /* GRID background */
  body::after {
    content: '';
    position: fixed; inset: 0;
    background-image:
      linear-gradient(#b300ff12 1px, transparent 1px),
      linear-gradient(90deg, #b300ff12 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none; z-index: 0;
    opacity: 0.4;
  }

  /* ===== NAV ===== */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 48px;
    background: #180f26;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    font-family: var(--display);
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--green);
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 32px; }
  .nav-links a {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--green); }
  .nav-cta {
    font-family: var(--mono);
    font-size: 0.7rem;
    padding: 8px 20px;
    border: 1px solid var(--green);
    color: var(--green);
    background: transparent;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: none;
    transition: background 0.2s, color 0.2s;
  }
  .nav-cta:hover { background: var(--green); color: var(--bg); }

  /* ===== HERO ===== */
  #hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 140px 80px 80px;
    z-index: 1;
    overflow: hidden;
  }

  .hero-badge {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--green);
    border: 1px solid var(--border);
    padding: 5px 14px;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s ease both;
  }
  .hero-title {
    font-family: var(--display);
    font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.9;
    color: var(--white);
    letter-spacing: 2px;
    animation: fadeSlideUp 0.9s 0.1s ease both;
    max-width: 900px;
  }
  .hero-title span { color: var(--green); }
  .hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 28px;
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeSlideUp 1s 0.2s ease both;
  }
  .hero-actions {
    display: flex; gap: 20px; margin-top: 44px;
    animation: fadeSlideUp 1.1s 0.3s ease both;
  }
  .btn-primary {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding: 14px 32px;
    background: var(--green);
    color: var(--bg);
    text-decoration: none;
    text-transform: uppercase;
    cursor: none;
    transition: opacity 0.2s, transform 0.2s;
    font-weight: 700;
  }
  .btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
  .btn-ghost {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding: 14px 32px;
    border: 1px solid var(--muted);
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    cursor: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-ghost:hover { border-color: var(--green); color: var(--green); }

  /* HERO terminal block */
  .hero-terminal {
    position: absolute; right: 80px; top: 50%;
    transform: translateY(-50%);
    width: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    animation: fadeSlideUp 1.2s 0.4s ease both;
  }
  .term-bar {
    background: #2a1647;
    padding: 10px 16px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .term-dot { width: 10px; height: 10px; border-radius: 50%; }
  .term-title {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--muted);
    margin-left: auto;
    letter-spacing: 2px;
  }
  .term-body { padding: 20px; min-height: 200px; }
  .term-line {
    font-family: var(--mono);
    font-size: 0.72rem;
    line-height: 1.8;
    color: var(--text);
  }
  .term-line .prompt { color: var(--green); }
  .term-line .cmd { color: var(--amber); }
  .term-line .ok { color: var(--green); }
  .term-line .warn { color: var(--red); }
  .cursor-blink {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--green);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

  /* hero stats strip */
  .hero-stats {
    display: flex; gap: 0;
    margin-top: 60px;
    border-top: 1px solid var(--border);
    animation: fadeSlideUp 1.3s 0.5s ease both;
  }
  .stat-item {
    padding: 24px 40px 0 0;
    margin-right: 40px;
    border-right: 1px solid var(--border);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: var(--display);
    font-size: 2.8rem;
    color: var(--green);
    line-height: 1;
  }
  .stat-label {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* ===== SECTIONS ===== */
  section { position: relative; z-index: 1; }

  .section-header {
    display: flex; align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px;
  }
  .section-kicker {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .section-title {
    font-family: var(--display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
  }
  .section-line {
    width: 60px; height: 2px;
    background: var(--green);
    margin-top: 12px;
  }

  /* ===== SERVICES ===== */
  #services {
    padding: 120px 80px;
    background: linear-gradient(180deg, var(--bg) 0%, #180f26 100%);
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
  .service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: border-color 0.3s;
  }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .service-card:hover { border-color: var(--green-mid); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num {
    font-family: var(--display);
    font-size: 5rem;
    color: var(--green-dim);
    position: absolute;
    top: 10px; right: 20px;
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
  }
  .service-card:hover .service-num { color: rgba(133, 0, 210, 0.12); }
  .service-icon {
    width: 44px; height: 44px;
    border: 1px solid var(--green-mid);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    font-size: 1.1rem;
  }
  .service-name {
    font-family: var(--display);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 14px;
  }
  .service-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
  }
  .service-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 24px;
  }
  .tag {
    font-family: var(--mono);
    font-size: 0.58rem;
    padding: 4px 10px;
    border: 1px solid var(--border);
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .service-card:hover .tag { border-color: var(--green-mid); color: var(--green); }

  /* ===== VAULT INTERACTIVE ===== */
  #vault {
    padding: 120px 80px;
    background: #180f26;
  }
  .vault-layout {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: start;
  }
  .vault-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .vault-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
  }
  .vault-tab {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 14px 24px;
    color: var(--muted);
    border: none;
    background: none;
    cursor: none;
    border-right: 1px solid var(--border);
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
  }
  .vault-tab.active { color: var(--green); background: #2a1647; }
  .vault-tab:hover:not(.active) { color: var(--text); }
  .vault-content { padding: 32px; min-height: 340px; }
  .vault-pane { display: none; }
  .vault-pane.active { display: block; }

  /* vault items */
  .vault-item {
    display: flex; align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #3a1c63;
    cursor: none;
    transition: background 0.2s;
  }
  .vault-item:last-child { border-bottom: none; }
  .vi-icon {
    width: 36px; height: 36px; border-radius: 2px;
    background: var(--green-dim);
    border: 1px solid var(--green-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0;
  }
  .vi-name {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text);
    flex: 1;
  }
  .vi-sub {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 2px;
  }
  .vi-badge {
    font-family: var(--mono);
    font-size: 0.58rem;
    padding: 3px 10px;
    letter-spacing: 1px;
  }
  .badge-ok { background: rgba(133, 0, 210, 0.12); color: var(--green); }
  .badge-warn { background: rgba(245,166,35,0.12); color: var(--amber); }
  .badge-danger { background: rgba(255,74,74,0.12); color: var(--red); }

  /* process steps */
  .process-steps { display: flex; flex-direction: column; gap: 0; }
  .ps {
    display: flex; gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    cursor: none;
  }
  .ps:last-child { border-bottom: none; }
  .ps-num {
    font-family: var(--display);
    font-size: 2.5rem;
    color: var(--green);
    line-height: 1;
    width: 40px; flex-shrink: 0;
  }
  .ps-title {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .ps-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
  }

  /* ===== THREAT METER ===== */
  #threat {
    padding: 120px 80px;
    background: var(--bg);
  }
  .threat-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .threat-meter-wrap {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
  }
  .threat-arc {
    width: 300px; height: 300px;
    position: relative;
  }
  #threatCanvas { width: 100%; height: 100%; }
  .threat-level-label {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .tl-num {
    font-family: var(--display);
    font-size: 4rem;
    color: var(--white);
    line-height: 1;
  }
  .tl-text {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
  }
  .threat-sliders { display: flex; flex-direction: column; gap: 28px; }

  .slider-header {
    display: flex; justify-content: space-between;
    margin-bottom: 8px;
  }
  .slider-name {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .slider-val {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--green);
  }
  input[type=range] {
    /* -webkit-appearance: none; */
    width: 100%; height: 4px;
    background: var(--border);
    outline: none;
    border-radius: 0;
    cursor: none;
  }
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; height: 16px;
    background: var(--green);
    border-radius: 0;
    cursor: none;
  }
  input[type=range]::-moz-range-thumb {
    width: 16px; height: 16px;
    background: var(--green);
    border-radius: 0;
    border: none;
    cursor: none;
  }
  .threat-result {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.8;
    min-height: 80px;
  }
  .threat-result .highlight { color: var(--green); }
  .threat-result .danger { color: var(--red); }

  /* ===== COMPLIANCE ===== */
  #compliance {
    padding: 120px 80px;
    background: #191127;
  }
  .compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 60px;
  }
  .compliance-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px 28px;
    text-align: center;
    cursor: none;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
  }
  .compliance-card::after {
    content: '';
    position: absolute; inset: 0;
    background: #1f1232;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .compliance-card:hover { border-color: var(--green-mid); }
  .compliance-card:hover::after { opacity: 1; }
  .cc-logo {
    font-family: var(--display);
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 12px;
    position: relative; z-index: 1;
  }
  .cc-name {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    position: relative; z-index: 1;
  }
  .cc-desc {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
    position: relative; z-index: 1;
  }
  .cc-bar {
    margin-top: 20px;
    height: 3px;
    background: var(--border);
    position: relative; z-index: 1;
  }
  .cc-fill {
    height: 100%;
    background: var(--green);
    transition: width 1s ease;
  }

  /* ===== CTA STRIP ===== */
  #cta {
    padding: 100px 80px;
    background: linear-gradient(135deg, #23133a 0%, #210a40 50%, #23133a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  #cta::before {
    content: 'SECURE';
    position: absolute;
    font-family: var(--display);
    font-size: 20rem;
    color: rgba(225, 215, 228, 0.03);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    letter-spacing: 20px;
    white-space: nowrap;
  }
  .cta-kicker {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--green);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .cta-title {
    font-family: var(--display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 32px;
  }
  .cta-title span { color: var(--green); }

  /* ===== FOOTER ===== */
  footer {
    padding: 40px 80px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    position: relative; z-index: 1;
  }
  .foot-logo {
    font-family: var(--display);
    font-size: 1rem;
    color: var(--green);
    letter-spacing: 3px;
  }
  .foot-copy {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 2px;
  }
  .foot-links { display: flex; gap: 24px; }
  .foot-links a {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
  }
  .foot-links a:hover { color: var(--green); }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* pulse rings behind hero */
  .pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--green-mid);
    animation: pulse-expand 4s ease-out infinite;
    pointer-events: none;
  }
  @keyframes pulse-expand {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
  }

  /* fade-in on scroll */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 1100px) {
    .hero-terminal { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .vault-layout { grid-template-columns: 1fr; }
    .compliance-grid { grid-template-columns: repeat(2,1fr); }
    nav { padding: 18px 24px; }
    .nav-links { display: none; }
    #hero, #services, #vault, #threat, #compliance, #cta { padding-left: 24px; padding-right: 24px; }
    footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
    .threat-layout { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .compliance-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  }