  :root {
    --bg: #191127;
    --surface: #23133a;
    --surface2: #1f1232;
    --accent: #883CF0;
    --accent2: #7b2fff;
    --accent3: #b29dce;
    --text: #e2eaf8;
    --muted: #d6d6d6;
    --glow: 0 0 20px #a200ff26;
    --glow2: 0 0 20px #a200ff26;
    --border: #3a1c63;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  .cursor {
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, background 0.2s;
    mix-blend-mode: screen;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, left 0.08s ease, top 0.08s ease;
    opacity: 0.5;
  }

  /* Grid background */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(170, 0, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(179, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* Noise overlay */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: linear-gradient(to bottom, #180f26, transparent);
    backdrop-filter: blur(10px);
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--accent);
    text-shadow: var(--glow);
  }
  .nav-logo span { color: var(--accent2); }
  .nav-links {
    display: flex; gap: 36px;
    list-style: none;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    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);
    padding: 8px 22px;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    cursor: none;
    transition: all 0.2s;
    text-transform: uppercase;
  }
  .nav-cta:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: var(--glow);
  }

  /* HERO */
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 48px 80px;
    z-index: 1;
    overflow: hidden;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeUp 0.8s ease both;
  }
  .hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
  }

  .hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    animation: fadeUp 0.8s 0.1s ease both;
  }
  .hero-title .line1 { display: block; color: var(--text); }
  .hero-title .line2 {
    display: block;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-title .line3 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px var(--muted);
  }

  .hero-desc {
    max-width: 520px;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 48px;
    animation: fadeUp 0.8s 0.2s ease both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeUp 0.8s 0.3s ease both;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--bg);
    border: none;
    padding: 14px 32px;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: none;
    transition: all 0.3s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(162, 0, 255, 0.193);
  }

  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: none;
    padding: 14px 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
  }
  .btn-ghost:hover { color: var(--accent); }
  .btn-ghost::after {
    content: '→';
    transition: transform 0.2s;
  }
  .btn-ghost:hover::after { transform: translateX(4px); }

  /* Floating orbs */
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
  }
  .orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,229,255,0.06), transparent 70%);
    top: -200px; right: -100px;
    animation-delay: 0s;
  }
  .orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(123,47,255,0.08), transparent 70%);
    bottom: 0; left: -100px;
    animation-delay: -3s;
  }

  @keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
  }

  /* STATS TICKER */
  .stats-ticker {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow: hidden;
  }
  .ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
  }
  .ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
    flex-shrink: 0;
  }
  .ticker-item strong { color: var(--accent); }
  .ticker-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent2);
    flex-shrink: 0;
  }
  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* SECTIONS */
  section {
    position: relative;
    z-index: 1;
    padding: 100px 48px;
  }

  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--accent2), transparent);
    max-width: 120px;
  }

  .section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
  }

  /* HOW IT WORKS — Interactive Timeline */
  #how {
    background: var(--surface);
  }
  .timeline-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 60px;
    max-width: 1100px;
  }
  .timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .step-btn {
    background: transparent;
    border: none;
    border-left: 2px solid var(--border);
    padding: 20px 24px;
    text-align: left;
    cursor: none;
    transition: all 0.3s;
    position: relative;
  }
  .step-btn.active {
    border-left-color: var(--accent);
  }
  .step-btn.active::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: var(--glow);
  }
  .step-num {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 6px;
    transition: color 0.2s;
  }
  .step-btn.active .step-num { color: var(--accent); }
  .step-label {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--muted);
    transition: color 0.2s;
  }
  .step-btn.active .step-label { color: var(--text); }

  .step-panel {
    display: none;
    animation: fadeIn 0.4s ease;
  }
  .step-panel.active { display: block; }
  .panel-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
  }
  .panel-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text);
  }
  .panel-body {
    font-size: 0.88rem;
    line-height: 2;
    color: var(--muted);
    margin-bottom: 28px;
  }

  /* Terminal card */
  .terminal {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.78rem;
  }
  .terminal-bar {
    background: var(--surface2);
    padding: 10px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }
  .t-dot { width: 10px; height: 10px; border-radius: 50%; }
  .t-dot.r { background: #ff5f57; }
  .t-dot.y { background: #ffbd2e; }
  .t-dot.g { background: #28c840; }
  .terminal-title { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.1em; margin-left: 8px; }
  .terminal-body { padding: 20px; line-height: 2.2; }
  .t-line { color: var(--muted); }
  .t-cmd { color: var(--accent); }
  .t-ok { color: #28c840; }
  .t-warn { color: #ffbd2e; }
  .t-err { color: var(--accent3); }
  .t-prompt { color: var(--accent2); }

  /* FEATURES GRID */
  #features { background: var(--bg); }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
    max-width: 1100px;
  }
  .feature-card {
    background: var(--surface);
    padding: 36px 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: none;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1f123274, transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .feature-card:hover::before { opacity: 1; }
  .feature-card:hover { transform: translateY(-4px); }
  .feature-card:nth-child(2) { background: var(--surface2); }
  .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(132, 0, 255, 0.3));
  }
  .feature-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text);
  }
  .feature-desc {
    font-size: 0.8rem;
    line-height: 1.9;
    color: var(--muted);
  }
  .feature-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 10px;
    background: #cf6cf60a;
    border: 1px solid #3a1c63;
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  /* INTERACTIVE ACCESS REQUEST DEMO */
  #demo {
    background: var(--surface);
  }
  .demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    max-width: 1100px;
    align-items: start;
  }
  .demo-form-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 28px;
    color: var(--text);
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .form-input, .form-select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 16px;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    cursor: none;
  }
  .form-input:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.07);
  }
  .privilege-slider-wrap {
    margin-bottom: 20px;
  }
  .slider-track {
    display: flex;
    gap: 4px;
    margin-top: 10px;
  }
  .slider-segment {
    flex: 1;
    height: 6px;
    background: var(--surface2);
    transition: background 0.2s;
    cursor: none;
  }
  .slider-segment.filled { background: var(--accent); }
  .slider-segment.filled.high { background: var(--accent3); }
  .slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: 0.1em;
  }

  .risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 700;
    transition: all 0.3s;
  }
  .risk-badge.low { background: rgba(40,200,64,0.12); color: #28c840; border: 1px solid rgba(40,200,64,0.3); }
  .risk-badge.medium { background: rgba(255,189,46,0.12); color: #ffbd2e; border: 1px solid rgba(255,189,46,0.3); }
  .risk-badge.high { background: rgba(255,45,107,0.12); color: var(--accent3); border: 1px solid rgba(255,45,107,0.3); }
  .risk-badge::before { content: '●'; font-size: 0.5rem; }

  .demo-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border: none;
    color: var(--bg);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: none;
    margin-top: 10px;
    transition: all 0.3s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .demo-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,229,255,0.25);
  }

  /* Activity log */
  .activity-log {
    background: var(--bg);
    border: 1px solid var(--border);
  }
  .log-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .log-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: #28c840;
  }
  .live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #28c840;
    animation: blink 1.5s ease-in-out infinite;
  }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }
  .log-entries {
    padding: 16px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .log-entry {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    background: var(--surface);
    border-left: 2px solid transparent;
    font-size: 0.75rem;
    animation: slideIn 0.4s ease;
  }
  .log-entry.approve { border-left-color: #28c840; }
  .log-entry.deny { border-left-color: var(--accent3); }
  .log-entry.pending { border-left-color: #ffbd2e; }
  .log-time { color: var(--muted); font-size: 0.68rem; white-space: nowrap; }
  .log-msg { color: var(--text); }
  .log-status { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
  .log-entry.approve .log-status { color: #28c840; }
  .log-entry.deny .log-status { color: var(--accent3); }
  .log-entry.pending .log-status { color: #ffbd2e; }

  @keyframes slideIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
  }

  /* STATS */
  #stats { background: var(--bg); }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 60px;
    max-width: 1100px;
  }
  .stat-card {
    background: var(--surface);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
  }
  .stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
  }
  .stat-card:hover::after { transform: scaleX(1); }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
  }
  .stat-num span { color: var(--accent); }
  .stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* COMPARISON TABLE */
  #compare { background: var(--surface); }
  .compare-wrap {
    max-width: 900px;
    margin-top: 60px;
    overflow-x: auto;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
  }
  th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
  }
  th:not(:first-child) { text-align: center; }
  td {
    padding: 14px 20px;
    border-bottom: 1px solid #3a1c63;
    color: var(--text);
    transition: background 0.2s;
  }
  td:not(:first-child) { text-align: center; }
  tr:hover td { background: #1f1232; }
  .check { color: #28c840; font-size: 1rem; }
  .cross { color: var(--accent3); font-size: 1rem; }
  .partial { color: #ffbd2e; }
  th.highlight, td.highlight {
    background: #3a1c6320;
    border-left: 1px solid #3a1c63;
    border-right: 1px solid #3a1c63;
  }
  th.highlight { color: var(--accent); }

  /* CTA */
  #cta {
    background: var(--bg);
    text-align: center;
    padding: 120px 48px;
  }
  .cta-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
  }
  .cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 200px;
    background: radial-gradient(ellipse, rgba(153, 0, 255, 0.06), transparent 70%);
    pointer-events: none;
  }
  .cta-title {
    font-family: 'Syne', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 24px;
    position: relative;
  }
  .cta-sub {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 48px;
  }
  .cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* FOOTER */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
  }

  /* Utility animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 2px; }

  /* Mobile */
  @media (max-width: 900px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    section { padding: 70px 24px; }
    #hero { padding: 120px 24px 60px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .demo-layout { grid-template-columns: 1fr; }
    .timeline-container { grid-template-columns: 1fr; }
    .compare-wrap { overflow-x: scroll; }
    table { min-width: 650px; }
    footer { flex-direction: column; gap: 12px; text-align: center; }
  }